From 7c0701b41b2fc41de19ac761760fe99c3071dfed Mon Sep 17 00:00:00 2001 From: blinkysc <37940565+blinkysc@users.noreply.github.com> Date: Sun, 22 Feb 2026 18:44:05 -0600 Subject: [PATCH] fix(Core/Spells): Lock and Load proc on immune (#24818) --- src/server/scripts/Spells/spell_hunter.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp index 74ffa2b77..9512644dc 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -1199,12 +1199,11 @@ class spell_hun_lock_and_load : public AuraScript if (!spellInfo || !(spellInfo->GetSchoolMask() & (SPELL_SCHOOL_MASK_FROST | SPELL_SCHOOL_MASK_FIRE))) return false; - // TODO: Research whether Lock and Load should proc on targets - // immune to Frost Trap slow (bosses) in WotLK 3.3.5a. - // if (Spell const* procSpell = eventInfo.GetProcSpell()) - // if (Unit* target = procSpell->GetOriginalTarget()) - // if (target->IsImmunedToSpell(sSpellMgr->GetSpellInfo(SPELL_FROST_TRAP_SLOW))) - // return false; + // immune to Frost Trap slow (bosses) in WotLK patch 3.2.0 + if (Spell const* procSpell = eventInfo.GetProcSpell()) + if (Unit* target = procSpell->GetOriginalTarget()) + if (target->IsImmunedToSpell(sSpellMgr->GetSpellInfo(SPELL_FROST_TRAP_SLOW))) + return false; return roll_chance_i(aurEff->GetAmount()); }