Examples of changeIntention()


Examples of lineage2.gameserver.ai.DefaultAI.changeIntention()

        if (hated != null)
        {
          guard.getAggroList().addDamageHate(hated, 0, Rnd.get(1, 100));
          ai.setAttackTimeout(getMaxAttackTimeout() + System.currentTimeMillis());
          ai.setAttackTarget(hated);
          ai.changeIntention(CtrlIntention.AI_INTENTION_ATTACK, hated, null);
          ai.addTaskAttack(hated);
        }
      }
      catch (Exception e)
      {
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.