Core/Spells: Fix Glyph of Icy Veins haste debuff removal.

This commit is contained in:
kaelima
2011-05-26 03:43:07 +02:00
parent 51e7b92487
commit 60585941f6
+3 -1
View File
@@ -5759,14 +5759,16 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
{ {
// Glyph of Polymorph // Glyph of Polymorph
case 56375: case 56375:
{
target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE, 0, target->GetAura(32409)); // SW:D shall not be removed. 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_DAMAGE_PERCENT);
target->RemoveAurasByType(SPELL_AURA_PERIODIC_LEECH); target->RemoveAurasByType(SPELL_AURA_PERIODIC_LEECH);
return true; return true;
}
// Glyph of Icy Veins // Glyph of Icy Veins
case 56374: case 56374:
{ {
RemoveAurasByType(SPELL_AURA_MOD_MELEE_HASTE, 0, 0, true, false); RemoveAurasByType(SPELL_AURA_HASTE_SPELLS);
RemoveAurasByType(SPELL_AURA_MOD_DECREASE_SPEED); RemoveAurasByType(SPELL_AURA_MOD_DECREASE_SPEED);
return true; return true;
} }