aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-15 12:03:09 -0600
committermegamage <none@none>2009-02-15 12:03:09 -0600
commitc261065f2886f60899d2d48a182a1fcb0ddbd8d2 (patch)
tree3f723bae002de68c06ac2dfb53ede1e7dcd7873f /src
parent8cf512b59a2178f995c2f2c49ff1c7d27f3d3efa (diff)
Fix chance calc added by SPELL_AURA_MOD_COMBAT_RESULT_CHANCE Author: DiSlord
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 39c2c8ba758..d2ebe0cc575 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -2663,7 +2663,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;
dodgeChance = int32 (float (dodgeChance) * GetTotalAuraMultiplier(SPELL_AURA_MOD_ENEMY_DODGE));
// Reduce dodge chance by attacker expertise rating
if (GetTypeId() == TYPEID_PLAYER)