[7635] Spell hit chance cap change to 100% in 3.0.x

(cherry picked from commit cd17dac8d43312751123ee689c314d510b05c6e8)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Tassader 2009-03-13 16:37:15 +01:00 committed by VladimirMangos
parent 3226a22e29
commit 45438a602f
2 changed files with 2 additions and 2 deletions

View file

@ -2528,7 +2528,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;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7634"
#define REVISION_NR "7635"
#endif // __REVISION_NR_H__