aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-09 09:15:05 -0600
committermegamage <none@none>2009-01-09 09:15:05 -0600
commitcd4b875fd41ca4569875db51362f7cd1b4d03e95 (patch)
treed3f29b4a26047dfa3f170c78dce1705b69e13dbe /src/game/SpellEffects.cpp
parentea0421919a86e3d803a86d78c102c1a2567630a1 (diff)
*Deal damage in power burn.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 4c2c28e64e4..33cdd325545 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -2310,7 +2310,9 @@ void Spell::EffectPowerBurn(uint32 i)
new_damage = int32(new_damage*multiplier);
//m_damage+=new_damage; should not apply spell bonus
//TODO: no log
- unitTarget->ModifyHealth(-new_damage);
+ //unitTarget->ModifyHealth(-new_damage);
+ if(m_originalCaster)
+ m_originalCaster->DealDamage(unitTarget, new_damage);
}
void Spell::EffectHeal( uint32 /*i*/ )