fix(Core/Scripts): Allow Lock and Load to proc from fire school traps (#24784)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
parent
85071c01cc
commit
69bccd0a56
1 changed files with 1 additions and 2 deletions
|
|
@ -1193,9 +1193,8 @@ class spell_hun_lock_and_load : public AuraScript
|
|||
if (!(eventInfo.GetTypeMask() & PROC_FLAG_DONE_TRAP_ACTIVATION))
|
||||
return false;
|
||||
|
||||
// Do not proc on traps for immolation/explosive trap
|
||||
SpellInfo const* spellInfo = eventInfo.GetSpellInfo();
|
||||
if (!spellInfo || !(spellInfo->GetSchoolMask() & SPELL_SCHOOL_MASK_FROST))
|
||||
if (!spellInfo || !(spellInfo->GetSchoolMask() & (SPELL_SCHOOL_MASK_FROST | SPELL_SCHOOL_MASK_FIRE)))
|
||||
return false;
|
||||
|
||||
return roll_chance_i(aurEff->GetAmount());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue