aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 0052efe95ce..37c393fd393 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -3402,6 +3402,9 @@ SpellMissInfo Unit::SpellHitResult(Unit *pVictim, SpellEntry const *spell, bool
if (pVictim->IsImmunedToDamage(GetSpellSchoolMask(spell),true))
return SPELL_MISS_IMMUNE;
+ if(this == pVictim)
+ return SPELL_MISS_NONE;
+
// Try victim reflect spell
if (CanReflect)
{