*Check procSpell for SPELL_AURA_MOD_SPELL_CRIT_CHANCE in ProcDamageAndSpellFor. By Author: Tanatos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-16 11:23:12 -05:00
parent 3cf2be6042
commit f614d0e506

View File

@@ -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