diff options
| author | ariel- <ariel-@users.noreply.github.com> | 2017-04-23 20:38:14 -0300 |
|---|---|---|
| committer | funjoker <funjoker109@gmail.com> | 2020-04-28 12:35:16 +0200 |
| commit | 5e32e96278757aa52ef87cb122dd99825e6c8de9 (patch) | |
| tree | 7f081255e18b6d125d95d71407caf0862ab766ae /src/server/game | |
| parent | 9c53ee0fe8ec98b3a192f065bd1ac30fc111f73c (diff) | |
Core/Spell: define channels without movement interrupt flags as allowed move
- Remove script hacks no longer needed
(cherry picked from commit 3a0cb90ea994e82dd8c70888fb847082f738d5dc)
Diffstat (limited to 'src/server/game')
| -rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index eb37c3da5d7..bec8a653fee 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -1675,7 +1675,7 @@ bool SpellInfo::IsChanneled() const bool SpellInfo::IsMoveAllowedChannel() const { - return IsChanneled() && HasAttribute(SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING); + return IsChanneled() && (HasAttribute(SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING) || (!(ChannelInterruptFlags[0] & (AURA_INTERRUPT_FLAG_MOVE | AURA_INTERRUPT_FLAG_TURNING)))); } bool SpellInfo::NeedsComboPoints() const |
