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

Port From (https://github.com/TrinityCore/TrinityCore/commit/f331bd1a28ec24e5a03544d929263ed3aaeef725)
This commit is contained in:
Hondacrx
2024-08-05 14:35:05 -04:00
parent 84323daa5d
commit 0bb2df4f0d
+10
View File
@@ -3679,6 +3679,16 @@ namespace Game.Entities
spellInfo.RangeEntry = CliDB.SpellRangeStorage.LookupByKey(6); // 100yd
});
// Inescapable Torment
ApplySpellFix([373427], spellInfo =>
{
// Remove self-damage from passive aura on learn
ApplySpellEffectFix(spellInfo, 3, spellEffectInfo =>
{
spellEffectInfo.Effect = SpellEffectName.Dummy;
});
});
//
// VIOLET HOLD SPELLS
//