Package l2p.gameserver.ai

Examples of l2p.gameserver.ai.CtrlIntention


  @Override
  public final void methodInvoked(MethodEvent e)
  {
    AbstractAISetIntention event = (AbstractAISetIntention) e;
    AbstractAI ai = event.getOwner();
    CtrlIntention evt = (CtrlIntention) event.getArgs()[0];
    Object arg0 = event.getArgs()[1];
    Object arg1 = event.getArgs()[2];
    SetIntention(ai, evt, arg0, arg1);
  }
View Full Code Here


  }

  @Override
  public void checkAggression(L2Character target)
  {
    CtrlIntention curIntention = getIntention();
    super.checkAggression(target);
    if(curIntention != CtrlIntention.AI_INTENTION_ACTIVE || getIntention() != CtrlIntention.AI_INTENTION_ATTACK)
    {
      return;
    }
View Full Code Here

TOP

Related Classes of l2p.gameserver.ai.CtrlIntention

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.