Package l2p.gameserver.model.instances

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


        if(actor.getRealDistance(temp_attack_target) <= actor.getPhysicalAttackRange() + 40 && GeoEngine.canSeeTarget(actor, temp_attack_target, false))
        {
          clientStopMoving();
          _pathfind_fails = 0;
          actor.setAttackTimeout(getMaxAttackTimeout() + System.currentTimeMillis());
          actor.doAttack(temp_attack_target);
          return maybeNextTask(currentTask);
        }
        if(actor.isMovementDisabled() || !getIsMobile())
        {
          return true;
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.