Replace other intentions with idle for players only.

This commit is contained in:
MobiusDevelopment 2021-03-17 17:10:46 +00:00
parent 3c9e84dcd3
commit 565c791c6f
19 changed files with 76 additions and 19 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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