diff options
author | megamage <none@none> | 2009-04-15 17:20:54 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-15 17:20:54 -0500 |
commit | 02003cc338bb9ea5a8428ee068d618af5940b145 (patch) | |
tree | d6c3425180e032405d5ac591c21c4109d5dd739c /src/game/StatSystem.cpp | |
parent | b76e8cfa5cf4791a9227b266569e9478d8a8298a (diff) | |
parent | e3bd7fed4e06827ed1337dd80f85e83304ba28fe (diff) |
*Merge.
--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); } |