Check for PreventMovement flag in BattleNpcController

Fix typos in some effect scripts
This commit is contained in:
Yogurt 2019-06-01 03:39:46 -07:00
parent 905cbf7d3c
commit a92ece58c1
4 changed files with 4 additions and 4 deletions

View file

@ -223,7 +223,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.controllers
protected virtual void Move()
{
if (!owner.aiContainer.CanFollowPath())
if (!owner.aiContainer.CanFollowPath() || owner.statusEffects.HasStatusEffectsByFlag(StatusEffectFlags.PreventMovement))
{
return;
}