[7963] Fixed energize value for 20186 proc.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-06-05 13:58:03 +02:00
parent dd09e6fdf7
commit 5848ada3eb
2 changed files with 6 additions and 2 deletions

View file

@ -5507,7 +5507,11 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
case 20186:
{
if (pVictim->getPowerType() == POWER_MANA)
pVictim->CastSpell(pVictim, 20268, true, 0, triggeredByAura);
{
// 2% of maximum mana
basepoints0 = int32(pVictim->GetMaxPower(POWER_MANA) * 2 / 100);
pVictim->CastCustomSpell(pVictim, 20268, &basepoints0, NULL, NULL, true, 0, triggeredByAura);
}
return true;
}
// Holy Power (Redemption Armor set)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7962"
#define REVISION_NR "7963"
#endif // __REVISION_NR_H__