diff options
| author | ariel- <ariel-@users.noreply.github.com> | 2016-11-13 23:20:45 -0300 |
|---|---|---|
| committer | ariel- <ariel-@users.noreply.github.com> | 2016-11-14 02:12:35 -0300 |
| commit | 5daabe303e9132c3b398eca44b9d0f4e9fb694ec (patch) | |
| tree | 30882297926ec6c1927855b6a14349f33c91f199 | |
| parent | 5aa0228df9c8659b44c688d5e8e7e967c463a620 (diff) | |
Core/Spell: do not fail triggered Charge effects in case a root is present.
Fixes Master's call when pet is rooted
| -rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index ca1a96437b6..a35f36f5e81 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -5273,7 +5273,7 @@ SpellCastResult Spell::CheckCast(bool strict, uint32* param1 /*= nullptr*/, uint m_caster->RemoveMovementImpairingAuras(); } - if (m_caster->HasUnitState(UNIT_STATE_ROOT)) + if (!(_triggeredCastFlags & TRIGGERED_IGNORE_CASTER_AURAS) && m_caster->HasUnitState(UNIT_STATE_ROOT)) return SPELL_FAILED_ROOTED; if (GetSpellInfo()->NeedsExplicitUnitTarget()) |
