Replace other intentions with idle for non bad skills.

Contributed by Trance.
This commit is contained in:
MobiusDevelopment 2021-03-17 21:04:01 +00:00
parent 565c791c6f
commit 13d12fe0ef
19 changed files with 19 additions and 19 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}