aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-08 16:35:37 -0500
committermegamage <none@none>2009-04-08 16:35:37 -0500
commit70d0ca7f310b7876c83430b7c3894385b8bfe151 (patch)
tree4babe3caf332b5e8685b584a0b8f295605703d0d /src
parentfa0492ccce16411d20edb8928a0038e2b4e68427 (diff)
[7635] Spell hit chance cap change to 100% in 3.0.x Author: Tassader
--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 a9e8066c048..442b6e2c4ec 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -2842,7 +2842,7 @@ SpellMissInfo Unit::MagicSpellHitResult(Unit *pVictim, SpellEntry const *spell)
HitChance -= int32(((Player*)pVictim)->GetRatingBonusValue(CR_HIT_TAKEN_SPELL)*100.0f);
if (HitChance < 100) HitChance = 100;
- if (HitChance > 9900) HitChance = 9900;
+ if (HitChance > 10000) HitChance = 10000;
int32 tmp = 10000 - HitChance;