Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Playable.doCast()


    L2Character attack_target = getAttackTarget();
    if(_skill.getSkillType() == SkillType.CRAFT || _skill.isToggle())
    {
      if(_skill.checkCondition(actor, attack_target, _forceUse, _dontMove, true))
      {
        actor.doCast(_skill, attack_target, _forceUse);
      }
      return;
    }
    if(attack_target == null || attack_target.isDead() != _skill.getCorpse() && !_skill.isNotTargetAoE())
    {
View Full Code Here


        clearNextAction();
      }
      clientStopMoving();
      if(_skill.checkCondition(actor, attack_target, _forceUse, _dontMove, true))
      {
        actor.doCast(_skill, attack_target, _forceUse);
      }
      else
      {
        setNextIntention();
        if(getIntention() == CtrlIntention.AI_INTENTION_ATTACK)
View Full Code Here

        clearNextAction();
      }
      if(_skill.checkCondition(actor, attack_target, _forceUse, _dontMove, true))
      {
        clientStopMoving(false);
        actor.doCast(_skill, attack_target, _forceUse);
      }
      else
      {
        setNextIntention();
        if(getIntention() == CtrlIntention.AI_INTENTION_ATTACK)
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.