fix(Core/Spells): Fix Avenging Wrath not greying out Divine Protection/Shield (#24778)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-02-20 18:48:23 -06:00
committed by GitHub
parent 5e1fd50776
commit b01e202244
2 changed files with 6 additions and 5 deletions

View File

@@ -3201,6 +3201,10 @@ void Spell::DoTriggersOnSpellHit(Unit* unit, uint8 effMask)
/// @todo: move this code to scripts
if (m_preCastSpell)
{
// Avenging Wrath - also apply Immune Shield Marker
if (m_preCastSpell == 61987)
m_caster->CastSpell(unit, 61988, true);
// Fearie Fire (Feral) - damage
if (m_preCastSpell == 60089)
m_caster->CastSpell(unit, m_preCastSpell, true);