Replace other intentions with idle for non bad skills.
Contributed by Trance.
This commit is contained in:
parent
565c791c6f
commit
13d12fe0ef
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -277,7 +277,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -277,7 +277,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
@ -277,7 +277,7 @@ public class SkillCaster implements Runnable
|
||||
caster.getAI().clientStopMoving(null);
|
||||
|
||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
||||
if (caster.isPlayer())
|
||||
if (caster.isPlayer() && !_skill.isBad())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user