From 6343a869a207aa22e0c66b77221a0ce7d3db7e65 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 21 Dec 2008 22:26:50 -0600 Subject: *Fix a bug that healing bonus is not added to spells. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3