Core/Spell: do not fail triggered Charge effects in case a root is present.
Fixes Master's call when pet is rooted
This commit is contained in:
1 parent
66fb271921
commit
ad927acae4
1 file changed
+1
-1
@@ -5250,7 +5250,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
||||
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())
|
||||
|
||||
Reference in new issue
Block a user