diff options
author | ariel- <ariel-@users.noreply.github.com> | 2017-01-21 23:48:04 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2017-01-21 23:48:04 -0300 |
commit | a8c2d5986411b5027a8716bc7f96e57c2ec4f70a (patch) | |
tree | 741cf6e27964bcd34b1af230c72a28cb31691c96 /src | |
parent | c3474f57bc053c67448169a4c7bb83e10bb25015 (diff) |
Core/Scripts: Fix Lock and Load proc with Frost trap
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_hunter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp index a5f5b1de1d7..55178271540 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -687,8 +687,8 @@ class spell_hun_lock_and_load : public SpellScriptLoader return false; // Do not proc on traps for immolation/explosive trap - DamageInfo* damageInfo = eventInfo.GetDamageInfo(); - if (!damageInfo || !(damageInfo->GetSchoolMask() & SPELL_SCHOOL_MASK_FROST)) + SpellInfo const* spellInfo = eventInfo.GetSpellInfo(); + if (!spellInfo || !(spellInfo->GetSchoolMask() & SPELL_SCHOOL_MASK_FROST)) return false; return roll_chance_i(aurEff->GetAmount()); |