Merge pull request #4195 from kandera/fix_GlyphsofSuccubus

Core/Spells: Fix Glyph of Succubus (wasn't working at all before)
This commit is contained in:
Shocker
2011-12-08 09:54:56 -08:00
+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;
}