diff options
author | megamage <none@none> | 2008-12-21 22:26:50 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-21 22:26:50 -0600 |
commit | 6343a869a207aa22e0c66b77221a0ce7d3db7e65 (patch) | |
tree | 3172a5b20efef1bd9a467595275e450ba94041b9 /src/game/Unit.cpp | |
parent | 7b207e821de7756af778db9ebbec1637767da695 (diff) |
*Fix a bug that healing bonus is not added to spells.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 85d9b3d5252..6541a098922 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9219,7 +9219,7 @@ uint32 Unit::SpellHealingBonus(SpellEntry const *spellProto, uint32 healamount, CoefficientPtc /= 100.0f; //ActualBenefit = (float)AdvertisedBenefit * ((float)CastingTime / 3500.0f) * DotFactor * SpellModSpellDamage * LvlPenalty; - float ActualBenefit = (float)AdvertisedBenefit * CoefficientPtc * LvlPenalty; + ActualBenefit = (float)AdvertisedBenefit * CoefficientPtc * LvlPenalty; } // use float as more appropriate for negative values and percent applying |