Propertly update combat ratings fields, by VladimirMangos.

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2010-01-16 19:05:27 +03:00
parent e21e0ce95b
commit e031df23fc
3 changed files with 45 additions and 18 deletions

View File

@@ -148,6 +148,7 @@ bool Player::UpdateAllStats()
for (int i = POWER_MANA; i < MAX_POWERS; ++i)
UpdateMaxPower(Powers(i));
UpdateAllRatings();
UpdateAllCritPercentages();
UpdateAllSpellCritChances();
UpdateDefenseBonusesMod();