aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorAnubisss <none@none>2010-05-14 18:02:31 +0200
committerAnubisss <none@none>2010-05-14 18:02:31 +0200
commita7295810e3d2f35468ab4c222342ba7ae7e182f8 (patch)
treea300296fc0d3597f729b8858edcc91a776a06c41 /src/game/Unit.cpp
parent3c9fc9b9e366111acc306ea2669312807a1a3ae2 (diff)
Fix Glyph of Life Tap.
SpellMgr.cpp part of the code by Karolis.Rudzevicius, thanks for it. Fixes issue #1440. --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 1bb63a9212b..221e4f2b859 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5638,6 +5638,12 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
pVictim->RemoveAurasWithMechanic(1<<MECHANIC_STUN, AURA_REMOVE_BY_ENEMY_SPELL);
return true;
}
+ // Glyph of Life Tap
+ case 63320:
+ {
+ triggered_spell_id = 63321; // Life Tap
+ break;
+ }
}
break;
}
@@ -5963,12 +5969,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
triggered_spell_id = 63311;
break;
}
- // Glyph of Life Tap
- case 63320:
- {
- triggered_spell_id = 63321;
- break;
- }
// Nightfall
case 18094:
case 18095: