aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-21 22:26:50 -0600
committermegamage <none@none>2008-12-21 22:26:50 -0600
commit6343a869a207aa22e0c66b77221a0ce7d3db7e65 (patch)
tree3172a5b20efef1bd9a467595275e450ba94041b9 /src
parent7b207e821de7756af778db9ebbec1637767da695 (diff)
*Fix a bug that healing bonus is not added to spells.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
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