diff options
author | Xanadu <none@none> | 2010-01-27 00:02:21 +0100 |
---|---|---|
committer | Xanadu <none@none> | 2010-01-27 00:02:21 +0100 |
commit | 2c81241bef8f47bc1845d880b872065139804ab9 (patch) | |
tree | 3ef5d70236b52ced575d36143adf9186252d305a /src/game/Unit.cpp | |
parent | b233a12c86af3f9d9bcd38756289665e2a506029 (diff) |
Fixed hunter trap procs - Entrapment and Lock and Load shall be henceforth proced only by the correct traps.
Closes issue #110.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 1c9afc1538a..d9c1179823c 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -8377,8 +8377,8 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig // Lock and Load case 56453: { - // Proc only from trap activation (from periodic proc another aura of this spell) - if (!(procFlags & PROC_FLAG_ON_TRAP_ACTIVATION) || !roll_chance_i(triggerAmount)) + // Proc only from Frost/Freezing trap activation or from Freezing Arrow (the periodic dmg proc handled elsewhere) + if (!(procFlags & PROC_FLAG_ON_TRAP_ACTIVATION) || !procSpell || !(procSpell->SchoolMask & SPELL_SCHOOL_MASK_FROST) || !roll_chance_i(triggerAmount)) return false; break; } |