feat(Scripts/Spells): Move to spell scripts - Brittle Armor & Mercurial Shield (#11116)

* .

* Update SpellEffects.cpp
This commit is contained in:
IntelligentQuantum
2022-04-01 14:32:06 +04:30
committed by GitHub
parent bd248a82d0
commit b680ea3dae
3 changed files with 50 additions and 8 deletions

View File

@@ -3782,14 +3782,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
{
switch (m_spellInfo->Id)
{
// Brittle Armor - need remove one 24575 Brittle Armor aura
case 24590:
unitTarget->RemoveAuraFromStack(24575);
return;
// Mercurial Shield - need remove one 26464 Mercurial Shield aura
case 26465:
unitTarget->RemoveAuraFromStack(26464);
return;
// Shadow Flame (All script effects, not just end ones to prevent player from dodging the last triggered spell)
case 22539:
case 22972: