mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9033] Fixed percent mana regneration from spell 53228 and ranks buff.
This commit is contained in:
parent
54caf1129d
commit
49bfec94e4
2 changed files with 9 additions and 1 deletions
|
|
@ -2191,6 +2191,14 @@ void Aura::TriggerSpell()
|
||||||
// original caster must be target (beacon)
|
// original caster must be target (beacon)
|
||||||
target->CastSpell(target, trigger_spell_id, true, NULL, this, target->GetGUID());
|
target->CastSpell(target, trigger_spell_id, true, NULL, this, target->GetGUID());
|
||||||
return;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9032"
|
#define REVISION_NR "9033"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue