aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorTrazom62 <none@none>2010-04-12 15:57:20 +0200
committerTrazom62 <none@none>2010-04-12 15:57:20 +0200
commit3fe3d3e4ab4e8b2983d31317194e23caa1d76936 (patch)
tree6cb936db97a2a7c2c593744c9b72b7cc964f043c /src/game
parent1427f76a8c95373c419a1e3b10d85c45604c5bb6 (diff)
Fix Glyph of Polymorph. Thanks Proof.
See issue #1322. --HG-- branch : trunk
Diffstat (limited to 'src/game')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index c5994617a2a..a8bee4ecca5 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5696,11 +5696,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
{
// Glyph of Polymorph
case 56375:
- {
- target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE);
+ target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE, 0, target->GetAura(32409)); // SW:D shall not be removed.
target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT);
return true;
- }
// Glyph of Icy Veins
case 56374:
{