Package l2p.gameserver.model.L2Character

Examples of l2p.gameserver.model.L2Character.HateInfo


      _pathfind_fails++;
    }
    if(_pathfind_fails >= getMaxPathfindFails() && System.currentTimeMillis() - (actor.getAttackTimeout() - getMaxAttackTimeout()) < getTeleportTimeout() && actor.isInRange(target, 2000))
    {
      _pathfind_fails = 0;
      HateInfo hate = target.getHateList().get(actor);
      if(hate == null || hate.damage < 100 && hate.hate < 100)
      {
        returnHome(true);
        return false;
      }
View Full Code Here


          continue;
        }
        L2Player player_target = (L2Player) target;
        for(L2NpcInstance npc : L2World.getAroundNpc(activeChar, getSkillRadius(), 200))
        {
          HateInfo hateInfo = playable.getHateList().get(npc);
          if(hateInfo == null || hateInfo.hate <= 0)
          {
            continue;
          }
          player_target.addDamageHate(npc, 0, hateInfo.hate + 100);
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.L2Character.HateInfo

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.