Core/Spells: "Fixed" Inescapable Torment talent dealing damage to priest when learning (and somtimes killing on login)

This commit is contained in:
Shauren
2024-04-08 10:58:19 +02:00
parent 8daa3f735d
commit f331bd1a28

View File

@@ -3997,6 +3997,16 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(6); // 100yd
});
// Inescapable Torment
ApplySpellFix({ 373427 }, [](SpellInfo* spellInfo)
{
// Remove self-damage from passive aura on learn
ApplySpellEffectFix(spellInfo, EFFECT_3, [](SpellEffectInfo* spellEffectInfo)
{
spellEffectInfo->Effect = SPELL_EFFECT_DUMMY;
});
});
//
// VIOLET HOLD SPELLS
//