Core/Spells: Fixed logic related to movement while channeling

This commit is contained in:
hondacrx
2018-02-12 23:16:54 -05:00
parent da5fd47650
commit 13dcfddc83
4 changed files with 12 additions and 6 deletions
@@ -86,7 +86,7 @@ namespace Game.Movement
public void _setRandomLocation(T creature)
{
if (creature.HasUnitState(UnitState.Casting) && !creature.CanMoveDuringChannel())
if (creature.IsMovementPreventedByCasting())
{
creature.CastStop();
return;