Core/Spells: Fix Vampiric Touch double damage on dispel

This commit is contained in:
Shocker
2011-05-11 12:25:46 +03:00
parent 1064a7c3d0
commit 00cd513722
@@ -5991,7 +5991,7 @@ void AuraEffect::HandleAuraDummy(AuraApplication const * aurApp, uint8 mode, boo
break;
case SPELLFAMILY_PRIEST:
// Vampiric Touch
if (m_spellProto->SpellFamilyFlags[1] & 0x0400 && aurApp->GetRemoveMode() == AURA_REMOVE_BY_ENEMY_SPELL)
if (m_spellProto->SpellFamilyFlags[1] & 0x0400 && aurApp->GetRemoveMode() == AURA_REMOVE_BY_ENEMY_SPELL && GetEffIndex() == 0)
{
if (AuraEffect const * aurEff = GetBase()->GetEffect(1))
{