Replace other intentions with idle when casting triggers stopMove.

This commit is contained in:
MobiusDevelopment 2021-03-09 10:05:07 +00:00
parent 2713d25370
commit 8ce59ca662
19 changed files with 57 additions and 0 deletions

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -275,6 +275,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -274,6 +274,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -275,6 +275,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use

View File

@ -275,6 +275,9 @@ public class SkillCaster implements Runnable
if (!instantCast)
{
caster.getAI().clientStopMoving(null);
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Reduce talisman mana on skill use