Core/Spell: define channels without movement interrupt flags as allowed move

Port From (https://github.com/TrinityCore/TrinityCore/commit/5e32e96278757aa52ef87cb122dd99825e6c8de9)
This commit is contained in:
hondacrx
2020-05-18 22:52:07 -04:00
parent d97c8ceaf6
commit 0cee55d94f
+1 -1
View File
@@ -602,7 +602,7 @@ namespace Game.Spells
public bool IsMoveAllowedChannel()
{
return IsChanneled() && HasAttribute(SpellAttr5.CanChannelWhenMoving);
return IsChanneled() && (HasAttribute(SpellAttr5.CanChannelWhenMoving) || !ChannelInterruptFlags[0].HasAnyFlag((uint)(SpellAuraInterruptFlags.Move | SpellAuraInterruptFlags.Turning)));
}
public bool NeedsComboPoints()