gameserver/ai/L2CharacterAI.java (+19 -8) diffs
80 -
80 +
81 + protected void saveNextIntention(CtrlIntention intention, Object arg0, Object arg1)
82 + {
83 + }
84 +
221 - if (_actor.isAllSkillsDisabled() || _actor.isCastingNow() || _actor.isAfraid())
225 + if (_actor.isAllSkillsDisabled() || _actor.isCastingNow() || _actor.isAttackingNow() || _actor.isAfraid())
229 + saveNextIntention(AI_INTENTION_ATTACK, target, null);
331 - if (_actor.isAllSkillsDisabled() || _actor.isCastingNow())
336 + if (_actor.isAllSkillsDisabled() || _actor.isCastingNow() || _actor.isAttackingNow())
340 + saveNextIntention(AI_INTENTION_MOVE_TO, pos, null);
398 - if (_actor.isAllSkillsDisabled() || _actor.isCastingNow())
405 + if (_actor.isAllSkillsDisabled() || _actor.isCastingNow() || _actor.isAttackingNow())
409 + saveNextIntention(AI_INTENTION_MOVE_TO_IN_AIR_SHIP, destination, origin);
- if (_actor.isAllSkillsDisabled() || _actor.isCastingNow())
446 + if (_actor.isAllSkillsDisabled() || _actor.isCastingNow() || _actor.isAttackingNow())
450 + saveNextIntention(AI_INTENTION_FOLLOW, target, null);
- if (_actor.isAllSkillsDisabled() || _actor.isCastingNow())
504 + if (_actor.isAllSkillsDisabled() || _actor.isCastingNow() || _actor.isAttackingNow())
508 + saveNextIntention(AI_INTENTION_PICK_UP, object, null);
- if (_actor.isAllSkillsDisabled() || _actor.isCastingNow())
554 + if (_actor.isAllSkillsDisabled() || _actor.isCastingNow() || _actor.isAttackingNow())
558 + saveNextIntention(AI_INTENTION_INTERACT, object, null);