Replace other intentions with idle for players only.
This commit is contained in:
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -277,8 +277,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -276,8 +276,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -277,8 +277,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
@@ -277,8 +277,11 @@ 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())
|
||||
{
|
||||
caster.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce talisman mana on skill use
|
||||
if ((_skill.getReferenceItemId() > 0) && (ItemTable.getInstance().getTemplate(_skill.getReferenceItemId()).getBodyPart() == Item.SLOT_DECO))
|
||||
|
Reference in New Issue
Block a user