aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-02-02 20:11:21 +0100
committerQAston <none@none>2009-02-02 20:11:21 +0100
commitcc69f94c402c00309f788c3ec0329e677fa9121f (patch)
treea3cf7054d9887ee75ce540952eeff49e5d0daf58 /src/game/Unit.cpp
parent55829e81f7a670e3c915b5ed08affcc8295074f9 (diff)
*Fix spell 53590 and it's other ranks.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index b4b25bc2e03..374cdbb42e3 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -8289,7 +8289,6 @@ uint32 Unit::SpellCriticalHealingBonus(SpellEntry const *spellProto, uint32 dama
break;
}
- crit_bonus = int32(crit_bonus * GetTotalAuraMultiplier(SPELL_AURA_MOD_CRITICAL_HEALING_BONUS));
if(pVictim)
{
@@ -8300,6 +8299,8 @@ uint32 Unit::SpellCriticalHealingBonus(SpellEntry const *spellProto, uint32 dama
if(crit_bonus > 0)
damage += crit_bonus;
+ damage = int32(damage * GetTotalAuraMultiplier(SPELL_AURA_MOD_CRITICAL_HEALING_AMOUNT));
+
return damage;
}