diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Unit.cpp | 12 |
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: { |