Package l2p.gameserver.model.L2ObjectTasks

Examples of l2p.gameserver.model.L2ObjectTasks.NotifyFactionTask


      L2Character attacker = L2ObjectsStorage.getAsCharacter(_attacker);
      if(attacker != null)
      {
        Functions.npcSay(actor, flood2[Rnd.get(flood2.length)]);
        actor.callFriends(attacker, 100);
        ThreadPoolManager.getInstance().executeAi(new NotifyFactionTask(actor, attacker, 100), false);
      }
      isSearching = false;
      notifyEvent(CtrlEvent.EVT_AGGRESSION, attacker, 100);
    }
    else
View Full Code Here


                }
            }
            if (getFactionId() != null && !getFactionId().isEmpty())
            // call friend's
            {
                ThreadPoolManager.getInstance().scheduleAi(new NotifyFactionTask(this, attacker, damage), 100, false);
            }
            _lastFactionNotifyTime = System.currentTimeMillis();
        }
    }
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.L2ObjectTasks.NotifyFactionTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.