aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston@qaston-pc <none@none>2009-03-01 14:38:26 +0100
committerQAston@qaston-pc <none@none>2009-03-01 14:38:26 +0100
commitef500cc204c29f85125486f45f0ca82e4c3ac0ed (patch)
tree2c66ea546dc2760e6e6205c70f2abd9d4b392c0c /src/game/Unit.cpp
parent9e9708f5b7885e30580e3685f7c5971dd1d0b571 (diff)
*Fix mana burn.
*Fix glyph of dispel Magic (by Lightguard). *Add missing sql from latest rev. --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index a6287c07a9c..625cc148baf 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5463,6 +5463,16 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
triggered_spell_id = 56160;
break;
}
+ // Glyph of Dispel Magic
+ case 55677:
+ {
+ if(!target->IsFriendlyTo(this))
+ return false;
+
+ basepoints0 = int32(target->GetMaxHealth() * triggerAmount / 100);
+ triggered_spell_id = 56131;
+ break;
+ }
// Oracle Healing Bonus ("Garments of the Oracle" set)
case 26169:
{