diff options
| author | Nevan <none@none> | 2009-08-03 19:19:58 +0200 |
|---|---|---|
| committer | Nevan <none@none> | 2009-08-03 19:19:58 +0200 |
| commit | 044b8b44a3efc5332f22be9d34ebdeee1ea49634 (patch) | |
| tree | b8b4e63649efe87d8caab89e87121f530bcec23b /src/game/Unit.cpp | |
| parent | 7569bb343a532ca6d080ad48bcb8275b3a182ddb (diff) | |
*Moved Glyph of Polymorph in Unit::HandleDummyAuraProc
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
| -rw-r--r-- | src/game/Unit.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 581adc7664f..f36685b53c6 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5447,11 +5447,20 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger } switch(dummySpell->Id) { + // Glyph of Polymorph + case 56375: + { + target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE); + target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT); + return true; + } // Glyph of Icy Veins case 56374: + { RemoveAurasByType(SPELL_AURA_MOD_HASTE, 0, 0, true, false); RemoveAurasByType(SPELL_AURA_MOD_DECREASE_SPEED); - return true; + return true; + } // Ignite case 11119: case 11120: |
