Removal of MoveToLocation archer check after latest changes.
This commit is contained in:
parent
fc38fff8d8
commit
0667ad1f10
@ -5380,16 +5380,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
|
|||||||
getActingPlayer().sendPacket(ActionFailed.STATIC_PACKET);
|
getActingPlayer().sendPacket(ActionFailed.STATIC_PACKET);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix archer bug with movement/hittask
|
|
||||||
if (isAttackingNow())
|
|
||||||
{
|
|
||||||
final ItemInstance rhand = getActingPlayer().getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND);
|
|
||||||
if (((rhand != null) && (rhand.getItemType() == WeaponType.BOW)))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the Move Speed of the Creature
|
// Get the Move Speed of the Creature
|
||||||
|
@ -5428,16 +5428,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
|
|||||||
getActingPlayer().sendPacket(ActionFailed.STATIC_PACKET);
|
getActingPlayer().sendPacket(ActionFailed.STATIC_PACKET);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix archer bug with movement/hittask
|
|
||||||
if (isAttackingNow())
|
|
||||||
{
|
|
||||||
final ItemInstance rhand = getActingPlayer().getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND);
|
|
||||||
if (((rhand != null) && (rhand.getItemType() == WeaponType.BOW)))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the Move Speed of the Creature
|
// Get the Move Speed of the Creature
|
||||||
|
Loading…
Reference in New Issue
Block a user