feat(Scripts/Spells): Move to spell scripts Deathbolt (#11100)

* .

* Update zone_sholazar_basin.cpp

* Update SpellEffects.cpp
This commit is contained in:
IntelligentQuantum
2022-04-01 14:30:45 +04:30
committed by GitHub
parent 43709f0120
commit 395eed4045
3 changed files with 38 additions and 26 deletions

View File

@@ -3923,19 +3923,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
m_caster->TextEmote(buf);
break;
}
// Deathbolt from Thalgran Blightbringer
// reflected by Freya's Ward
// Retribution by Sevenfold Retribution
case 51854:
{
if (!unitTarget)
return;
if (unitTarget->HasAura(51845))
unitTarget->CastSpell(m_caster, 51856, true);
else
m_caster->CastSpell(unitTarget, 51855, true);
break;
}
case 52173: // Coyote Spirit Despawn
case 60243: // Blood Parrot Despawn
if (unitTarget->GetTypeId() == TYPEID_UNIT && unitTarget->ToCreature()->IsSummon())