aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index d997955710f..845c816e986 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -1058,7 +1058,11 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)
else if (missInfo == SPELL_MISS_REFLECT) // In case spell reflect from target, do all effect on caster (if hit)
{
if (target->reflectResult == SPELL_MISS_NONE) // If reflected spell hit caster -> do all effect on him
+ {
spellHitTarget = m_caster;
+ if(m_caster->GetTypeId() == TYPEID_UNIT)
+ ((Creature*)m_caster)->LowerPlayerDamageReq(target->damage);
+ }
}
if(spellHitTarget)