mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[7963] Fixed energize value for 20186 proc.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
dd09e6fdf7
commit
5848ada3eb
2 changed files with 6 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7962"
|
||||
#define REVISION_NR "7963"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue