fix(Core/Spells): Fix Lock and Load proccing from Explosive Trap activation (#24821)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-02-22 19:11:21 -06:00
committed by GitHub
parent 3d23a63c7e
commit beca6fef53

View File

@@ -1195,8 +1195,10 @@ class spell_hun_lock_and_load : public AuraScript
if (!(eventInfo.GetTypeMask() & PROC_FLAG_DONE_TRAP_ACTIVATION))
return false;
// Patch 3.3.3: Lock and Load no longer triggers from Explosive Trap activation,
// only from frost trap activation. Fire traps proc via CheckPeriodicProc instead.
SpellInfo const* spellInfo = eventInfo.GetSpellInfo();
if (!spellInfo || !(spellInfo->GetSchoolMask() & (SPELL_SCHOOL_MASK_FROST | SPELL_SCHOOL_MASK_FIRE)))
if (!spellInfo || !(spellInfo->GetSchoolMask() & SPELL_SCHOOL_MASK_FROST))
return false;
// immune to Frost Trap slow (bosses) in WotLK patch 3.2.0