*Fix a bug that healing bonus is not added to spells.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-21 22:26:50 -06:00
parent 7b207e821d
commit 6343a869a2
+1 -1
View File
@@ -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