aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-16 11:23:12 -0500
committermegamage <none@none>2009-06-16 11:23:12 -0500
commitf614d0e50629b288ec595d0e2809bbbb1f9243a8 (patch)
treeb59482ee252dc8edf35d8cf5dcfb6d1d3f743907 /src
parent3cf2be604275ec1ae7321b78dc6b62e559a5d7c7 (diff)
*Check procSpell for SPELL_AURA_MOD_SPELL_CRIT_CHANCE in ProcDamageAndSpellFor. By Author: Tanatos
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index d6e75153915..4cef59a9037 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -12731,6 +12731,10 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag
if (triggeredByAura->GetCasterGUID() != pTarget->GetGUID())
continue;
break;
+ case SPELL_AURA_MOD_SPELL_CRIT_CHANCE:
+ if (!procSpell)
+ continue;
+ break;
/*case SPELL_AURA_ADD_FLAT_MODIFIER:
case SPELL_AURA_ADD_PCT_MODIFIER:
// HandleSpellModAuraProc