feat(Spell/Scripts): Move Spell gen remove impairing auras to spell scripts (#11104)

This commit is contained in:
IntelligentQuantum
2022-04-18 22:05:07 +04:30
committed by GitHub
parent cb5c045a24
commit c93a84e821
3 changed files with 24 additions and 7 deletions

View File

@@ -3808,13 +3808,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
m_caster->CastSpell(unitTarget, 22682, true);
return;
}
case 20589: // Escape artist
case 30918: // Improved Sprint
{
// Removes snares and roots.
unitTarget->RemoveMovementImpairingAuras(true);
break;
}
// Plant Warmaul Ogre Banner
case 32307:
if (Player* caster = m_caster->ToPlayer())