Core/Scripts: add missing check removed in 746b838870

This commit is contained in:
ariel-
2016-09-04 04:56:05 -03:00
parent 746b838870
commit 7cc91dc45b

View File

@@ -512,6 +512,12 @@ class spell_hun_lock_and_load : public SpellScriptLoader
if (!(eventInfo.GetTypeMask() & mask))
return;
// Additional check: do not proc on traps for immolation/explosive trap
// (But still do it for the periodic damage part)
if (mask == PROC_FLAG_DONE_TRAP_ACTIVATION)
if (!(eventInfo.GetDamageInfo()->GetSchoolMask() & SPELL_SCHOOL_MASK_FROST))
return;
if (!roll_chance_i(aurEff->GetAmount()))
return;