[7972] Fixed 20186 to use base max mana instead of max current mana.

Thx. to Ambient who pointed it out.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-06-07 02:13:50 +02:00
parent 5ac6b2f34b
commit ffad65fe01
2 changed files with 3 additions and 3 deletions

View file

@ -5508,8 +5508,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
{
if (pVictim->getPowerType() == POWER_MANA)
{
// 2% of maximum mana
basepoints0 = int32(pVictim->GetMaxPower(POWER_MANA) * 2 / 100);
// 2% of maximum base mana
basepoints0 = int32(pVictim->GetCreateMana() * 2 / 100);
pVictim->CastCustomSpell(pVictim, 20268, &basepoints0, NULL, NULL, true, NULL, triggeredByAura);
}
return true;