Core/Spells: do not allow movement with SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING and AURA_INTERRUPT_FLAG_MOVE
This commit is contained in:
1 parent
c66cbfbde4
commit
29c0dbd43c
1 file changed
+1
-1
@@ -1395,7 +1395,7 @@ bool SpellInfo::IsChanneled() const
|
||||
|
||||
bool SpellInfo::IsMoveAllowedChannel() const
|
||||
{
|
||||
return IsChanneled() && (HasAttribute(SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING) || (!(ChannelInterruptFlags & (AURA_INTERRUPT_FLAG_MOVE | AURA_INTERRUPT_FLAG_TURNING))));
|
||||
return IsChanneled() && ((HasAttribute(SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING) && !(ChannelInterruptFlags & AURA_INTERRUPT_FLAG_MOVE)) || (!(ChannelInterruptFlags & (AURA_INTERRUPT_FLAG_MOVE | AURA_INTERRUPT_FLAG_TURNING))));
|
||||
}
|
||||
|
||||
bool SpellInfo::NeedsComboPoints() const
|
||||
|
||||
Reference in new issue
Block a user