From 3256b75ac56cea5f88b8b190041e3289de8bb756 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 28 Mar 2009 17:45:00 -0600 Subject: [PATCH] [7569] Fix typo in spell damage/healing default bonus for staked spell Author: pasdVn --HG-- branch : trunk --- src/game/Unit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 91e2338e4f..c3b5a4a8f3 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9269,8 +9269,8 @@ uint32 Unit::SpellHealingBonus(Unit *pVictim, SpellEntry const *spellProto, uint DotTicks = DotDuration / spellProto->EffectAmplitude[x]; if(DotTicks) { - DoneAdvertisedBenefit /= DotTicks*int32(stack); - TakenAdvertisedBenefit /= DotTicks*int32(stack); + DoneAdvertisedBenefit = DoneAdvertisedBenefit * int32(stack) / DotTicks; + TakenAdvertisedBenefit = TakenAdvertisedBenefit * int32(stack) / DotTicks; } } }