Created
December 24, 2011 16:24
-
-
Save tobmaps/1517711 to your computer and use it in GitHub Desktop.
Glyph of Succubus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp | |
index 86362bf..2c3aaa8 100755 | |
--- a/src/server/game/Spells/Auras/SpellAuras.cpp | |
+++ b/src/server/game/Spells/Auras/SpellAuras.cpp | |
@@ -1062,6 +1062,17 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster, | |
case SPELLFAMILY_WARLOCK: | |
switch(GetId()) | |
{ | |
+ case 6358: // Seduction | |
+ if (!caster) | |
+ break; | |
+ if (Unit *owner = caster->GetOwner()) | |
+ if (owner->HasAura(56250)) // Glyph of Succubus | |
+ { | |
+ 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); | |
+ } | |
+ break; | |
case 48020: // Demonic Circle | |
if (target->GetTypeId() == TYPEID_PLAYER) | |
if (GameObject* obj = target->GetGameObject(48018)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment