Replace other intentions with idle for players only.
This commit is contained in:
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -277,7 +277,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -276,7 +276,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -277,7 +277,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
@@ -277,7 +277,10 @@ public class SkillCaster implements Runnable
|
|||||||
caster.getAI().clientStopMoving(null);
|
caster.getAI().clientStopMoving(null);
|
||||||
|
|
||||||
// Also replace other intentions with idle. (Mainly done for AI_INTENTION_MOVE_TO).
|
// 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
|
// Reduce talisman mana on skill use
|
||||||
|
Reference in New Issue
Block a user