aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNevan <none@none>2009-08-23 21:51:14 +0200
committerNevan <none@none>2009-08-23 21:51:14 +0200
commitfd448f94918d560c919deebbf8bf4547804c38d8 (patch)
tree870f2c2dd420ed36e50c8d1924801ca373444cc1 /src
parent08539ec0a4eabc903d8fbaf34aba465f20e0b698 (diff)
*Fix Glyph of Innervate
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index d55395bce52..567741cfad9 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5799,6 +5799,18 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
{
switch(dummySpell->Id)
{
+ // Glyph of Innervate
+ case 54832:
+ {
+ if (procSpell->SpellIconID != 62)
+ return false;
+
+ int32 mana_perc = triggeredByAura->GetSpellProto()->EffectBasePoints[triggeredByAura->GetEffIndex()]+1;
+ basepoints0 = uint32((GetPower(POWER_MANA) * mana_perc / 100) / 10);
+ triggered_spell_id = 54833;
+ target = this;
+ break;
+ }
// Glyph of Starfire
case 54845:
{