Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2ControllableMobInstance


    if(target == null)
      return;
   
    _actor.setTarget(target);
    // as a response, we put the target in a forced attack mode
    L2ControllableMobInstance theTarget = (L2ControllableMobInstance) target;
    L2ControllableMobAI ctrlAi = (L2ControllableMobAI) theTarget.getAI();
    ctrlAi.forceAttack(_actor);
   
    L2Skill[] skills = _actor.getAllSkills();
    double dist2 = _actor.getPlanDistanceSq(target.getX(), target.getY());
    int range = _actor.getPhysicalAttackRange() + _actor.getTemplate().collisionRadius + target.getTemplate().collisionRadius;
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.actor.instance.L2ControllableMobInstance

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.