fix(Scripts/Spell): properly script collapsing cave aura (#10092)

* cherry-pick commit (8d1a5fa126)

Co-authored-by: Sorikoff <46191832+Sorikoff@users.noreply.github.com>
This commit is contained in:
Kitzunu
2022-01-25 01:18:47 +01:00
committed by GitHub
parent 9a16d321ce
commit 1c0019ec18
3 changed files with 26 additions and 8 deletions

View File

@@ -3806,11 +3806,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
{
switch (m_spellInfo->Id)
{
case 55693: // Remove Collapsing Cave Aura
if (!unitTarget)
return;
unitTarget->RemoveAurasDueToSpell(m_spellInfo->Effects[effIndex].CalcValue());
break;
// Bending Shinbone
case 8856:
{