Examples of ActiveFriendTargets()


Examples of l2p.gameserver.model.instances.L2NpcInstance.ActiveFriendTargets()

        return;
      }
      try
      {
        String faction_id = npc.getFactionId();
        for(L2NpcInstance friend : npc.ActiveFriendTargets(false))
        {
          if(friend != null && faction_id.equalsIgnoreCase(friend.getFactionId()))
          {
            friend.onClanAttacked(npc, attacker, _damage);
          }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.