From b049b4ee5452015eab3369d40cfc25e661f01a1d Mon Sep 17 00:00:00 2001 From: DiSlord Date: Sat, 14 Feb 2009 18:59:22 +0300 Subject: [PATCH] Fix chance calc added by SPELL_AURA_MOD_COMBAT_RESULT_CHANCE Signed-off-by: DiSlord --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 7fbb2d83d..a6d8b4f86 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -2432,7 +2432,7 @@ SpellMissInfo Unit::MeleeSpellHitResult(Unit *pVictim, SpellEntry const *spell) // Roll dodge int32 dodgeChance = int32(pVictim->GetUnitDodgeChance()*100.0f) - skillDiff * 4; // Reduce enemy dodge chance by SPELL_AURA_MOD_COMBAT_RESULT_CHANCE - dodgeChance+= GetTotalAuraModifierByMiscValue(SPELL_AURA_MOD_COMBAT_RESULT_CHANCE, VICTIMSTATE_DODGE); + dodgeChance+= GetTotalAuraModifierByMiscValue(SPELL_AURA_MOD_COMBAT_RESULT_CHANCE, VICTIMSTATE_DODGE)*100; // Reduce dodge chance by attacker expertise rating if (GetTypeId() == TYPEID_PLAYER) dodgeChance-=int32(((Player*)this)->GetExpertiseDodgeOrParryReduction(attType) * 100.0f);