[8537] Implement SPELL_AURA_MOD_CRIT_CHANCE for spell 31858

Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
Shendor 2009-09-25 20:19:03 +03:00 committed by Ambal
parent 19e28af2f0
commit f8047e9da0
5 changed files with 12 additions and 3 deletions

View file

@ -340,7 +340,7 @@ pAuraHandler AuraHandler[TOTAL_AURAS]=
&Aura::HandleNoImmediateEffect, //287 SPELL_AURA_DEFLECT_SPELLS implemented in Unit::MagicSpellHitResult and Unit::MeleeSpellHitResult
&Aura::HandleUnused, //288 not used by any spells (3.09) except 1 test spell.
&Aura::HandleUnused, //289 unused
&Aura::HandleUnused, //290 unused
&Aura::HandleAuraModAllCritChance, //290 SPELL_AURA_MOD_ALL_CRIT_CHANCE
&Aura::HandleUnused, //291 unused
&Aura::HandleNULL, //292 call stabled pet
&Aura::HandleNULL, //293 2 test spells
@ -7405,3 +7405,9 @@ void Aura::HandleModTargetArmorPct(bool apply, bool Real)
((Player*)m_target)->UpdateArmorPenetration();
}
void Aura::HandleAuraModAllCritChance(bool apply, bool Real)
{
this->HandleAuraModCritPercent(apply, Real);
this->HandleModSpellCritChance(apply, Real);
}