*Fix a bug that rogue dodges self's spells and retains combo points.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-01 10:37:51 -06:00
parent 77228c0abb
commit 52e3010b49
+3
View File
@@ -3402,6 +3402,9 @@ SpellMissInfo Unit::SpellHitResult(Unit *pVictim, SpellEntry const *spell, bool
if (pVictim->IsImmunedToDamage(GetSpellSchoolMask(spell),true)) if (pVictim->IsImmunedToDamage(GetSpellSchoolMask(spell),true))
return SPELL_MISS_IMMUNE; return SPELL_MISS_IMMUNE;
if(this == pVictim)
return SPELL_MISS_NONE;
// Try victim reflect spell // Try victim reflect spell
if (CanReflect) if (CanReflect)
{ {