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

Examples of net.sf.l2j.gameserver.model.actor.instance.L2ControllableMobInstance


    int range = 0;
    int max_range = 0;

    _actor.setTarget(target);
    // as a response, we put the target in a forcedattack mode
    L2ControllableMobInstance theTarget = (L2ControllableMobInstance)target;
    L2ControllableMobAI ctrlAi = (L2ControllableMobAI)theTarget.getAI();
    ctrlAi.forceAttack(_actor);

    try {
      skills = _actor.getAllSkills();
      dist2 = _actor.getPlanDistanceSq(target.getX(), target.getY());
View Full Code Here

TOP

Related Classes of net.sf.l2j.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.