aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkaelima <jeppo_meyer@msn.com>2011-05-26 03:43:07 +0200
committerkaelima <jeppo_meyer@msn.com>2011-05-26 03:43:07 +0200
commit60585941f682cf6d001223d240a3565cffb12d38 (patch)
tree5196bed57a8604b05b328512d53b5582cb469e56 /src
parent51e7b92487d7a4ef373d8bc136e0f67d86a5031d (diff)
Core/Spells: Fix Glyph of Icy Veins haste debuff removal.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Entities/Unit/Unit.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
index 492e7af8b18..632c5c22904 100755
--- a/src/server/game/Entities/Unit/Unit.cpp
+++ b/src/server/game/Entities/Unit/Unit.cpp
@@ -5759,14 +5759,16 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
{
// Glyph of Polymorph
case 56375:
+ {
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;
+ }
// Glyph of Icy Veins
case 56374:
{
- RemoveAurasByType(SPELL_AURA_MOD_MELEE_HASTE, 0, 0, true, false);
+ RemoveAurasByType(SPELL_AURA_HASTE_SPELLS);
RemoveAurasByType(SPELL_AURA_MOD_DECREASE_SPEED);
return true;
}