diff options
author | QAston <none@none> | 2009-04-15 21:06:22 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-04-15 21:06:22 +0200 |
commit | 49b5e021caea81914cdf1dd68dfda4529e2914c1 (patch) | |
tree | fcf3f9506622757e26787edf189d041442cf232b /src/game/StatSystem.cpp | |
parent | 74725802350690813a4364ae94af466a19aa0bff (diff) |
*Correct formula for mana regen from items during 5SR.
--HG--
branch : trunk
Diffstat (limited to 'src/game/StatSystem.cpp')
-rw-r--r-- | src/game/StatSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/StatSystem.cpp b/src/game/StatSystem.cpp index f9d237b9d5e..c24999e8fe5 100644 --- a/src/game/StatSystem.cpp +++ b/src/game/StatSystem.cpp @@ -701,7 +701,7 @@ void Player::UpdateManaRegen() int32 modManaRegenInterrupt = GetTotalAuraModifier(SPELL_AURA_MOD_MANA_REGEN_INTERRUPT); if (modManaRegenInterrupt > 100) modManaRegenInterrupt = 100; - SetStatFloatValue(UNIT_FIELD_POWER_REGEN_INTERRUPTED_FLAT_MODIFIER, (power_regen_mp5 + power_regen) * modManaRegenInterrupt / 100.0f); + SetStatFloatValue(UNIT_FIELD_POWER_REGEN_INTERRUPTED_FLAT_MODIFIER, power_regen_mp5 + power_regen * modManaRegenInterrupt / 100.0f); SetStatFloatValue(UNIT_FIELD_POWER_REGEN_FLAT_MODIFIER, power_regen_mp5 + power_regen); } |