Core/Spells: removed Death and Decay hack and updated spellscript for proper handling

This commit is contained in:
Ovahlord committed 2018-07-05 14:03:32 +02:00
1 parent ee9933a766
commit 35a57a3b3b
2 files changed
+4 -14

No files matched your search

-11
View File
@@ -2983,17 +2983,6 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_20_YARDS);
});
// Death and Decay
ApplySpellFix({ 43265 }, [](SpellInfo* spellInfo)
{
// We need access to the targets of the dynaura to correctly apply the damage spell
// Currently EFFECT_1 has PERIODIC_DUMMY aura but TARGET_UNIT_CASTER set
// This will leave the spell in the same state as it was in 335 DBC
spellInfo->Effects[EFFECT_0].ApplyAuraName = SPELL_AURA_PERIODIC_DUMMY;
spellInfo->Effects[EFFECT_0].Amplitude = spellInfo->Effects[EFFECT_1].Amplitude;
spellInfo->Effects[EFFECT_1].Effect = 0; // might as well save a few cpu cycles
});
ApplySpellFix({
31347, // Doom
36327, // Shoot Arcane Explosion Arrow