mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 00:08:01 +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))
|
if (!(eventInfo.GetTypeMask() & PROC_FLAG_DONE_TRAP_ACTIVATION))
|
||||||
return false;
|
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();
|
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;
|
return false;
|
||||||
|
|
||||||
// immune to Frost Trap slow (bosses) in WotLK patch 3.2.0
|
// immune to Frost Trap slow (bosses) in WotLK patch 3.2.0
|
||||||
|
|||||||
Reference in New Issue
Block a user