[9033] Fixed percent mana regneration from spell 53228 and ranks buff.

This commit is contained in:
VladimirMangos 2009-12-20 01:13:21 +03:00
parent 54caf1129d
commit 49bfec94e4
2 changed files with 9 additions and 1 deletions

View file

@ -2191,6 +2191,14 @@ void Aura::TriggerSpell()
// original caster must be target (beacon)
target->CastSpell(target, trigger_spell_id, true, NULL, this, target->GetGUID());
return;
// Rapid Recuperation (triggered energize have baspioints == 0)
case 56654:
case 58882:
{
int32 mana = m_target->GetMaxPower(POWER_MANA) * m_modifier.m_amount / 100;
target->CastCustomSpell(target, trigger_spell_id, &mana, NULL, NULL, true, NULL, this);
return;
}
}
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9032"
#define REVISION_NR "9033"
#endif // __REVISION_NR_H__