Package l2p.gameserver.model.instances

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


    L2NpcInstance actor = getActor();
    if(actor == null)
    {
      return false;
    }
    if(!actor.followToCharacter(target, actor.getPhysicalAttackRange(), true))
    {
      _pathfind_fails++;
    }
    if(_pathfind_fails >= getMaxPathfindFails() && System.currentTimeMillis() - (actor.getAttackTimeout() - getMaxAttackTimeout()) < getTeleportTimeout() && actor.isInRange(target, 2000))
    {
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.