Core/SAI: Fix SMART_ACTION_SET_MOVEMENT_SPEED behavior
Port From (https://github.com/TrinityCore/TrinityCore/commit/aa81d8979f72ad093e8bf7ef0966852236a717d5)
This commit is contained in:
@@ -2417,7 +2417,7 @@ namespace Game.AI
|
||||
|
||||
foreach (var target in targets)
|
||||
if (IsCreature(target))
|
||||
_me.SetSpeed((UnitMoveType)e.Action.movementSpeed.movementType, speed);
|
||||
target.ToCreature().SetSpeed((UnitMoveType)e.Action.movementSpeed.movementType, speed);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user