*Fix Glyph of Innervate

--HG--
branch : trunk
This commit is contained in:
Nevan
2009-08-23 21:51:14 +02:00
parent 08539ec0a4
commit fd448f9491
3 changed files with 17 additions and 1 deletions
+12
View File
@@ -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:
{