mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
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:
@@ -1193,9 +1193,8 @@ 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;
|
||||||
|
|
||||||
// Do not proc on traps for immolation/explosive trap
|
|
||||||
SpellInfo const* spellInfo = eventInfo.GetSpellInfo();
|
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 false;
|
||||||
|
|
||||||
return roll_chance_i(aurEff->GetAmount());
|
return roll_chance_i(aurEff->GetAmount());
|
||||||
|
|||||||
Reference in New Issue
Block a user