*Fix a bug that rogue dodges self's spells and retains combo points.
--HG-- branch : trunk
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user