Core/Spells: Fix Glyph of Succubus (wasn't working at all before)

This commit is contained in:
kandera
2011-12-05 06:18:25 -05:00
parent 978f31bad6
commit 2e116cf217
+10
View File
@@ -6054,6 +6054,16 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
triggered_spell_id = 37378;
break;
}
// Glyph of Succubus
case 56250:
{
if(!target)
return false;
target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE, 0, target->GetAura(32409)); // SW:D shall not be removed.
target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT);
target->RemoveAurasByType(SPELL_AURA_PERIODIC_LEECH);
return true;
}
}
break;
}