Package net.sf.l2j.gameserver.model.actor.instance

Examples of net.sf.l2j.gameserver.model.actor.instance.L2SiegeGuardInstance.stopHating()


        // never attack defenders
        if(_attackTarget instanceof L2PcInstance && sGuard.getCastle().getSiege().checkIsDefender(((L2PcInstance)_attackTarget).getClan()))
        {
          // Cancel the target
          sGuard.stopHating(_attackTarget);
          _actor.setTarget(null);
          setIntention(AI_INTENTION_IDLE, null, null);
          return;
        }
View Full Code Here


        if (!GeoData.getInstance().canSeeTarget(_actor, _attackTarget))
      {
          // Siege guards differ from normal mobs currently:
          // If target cannot seen, don't attack any more
          sGuard.stopHating(_attackTarget);
          _actor.setTarget(null);
          setIntention(AI_INTENTION_IDLE, null, null);
          return;
      }
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.