mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-27 22:16:11 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user