mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 07:37:05 +00:00
[12721] Fixed comment
* reverted little change for last commit (forgot to save before commiting)
This commit is contained in:
parent
69cb04b8a8
commit
88e0b63682
3 changed files with 3 additions and 3 deletions
|
|
@ -8429,7 +8429,7 @@ void Aura::PeriodicDummyTick()
|
|||
return;
|
||||
|
||||
// Search SPELL_AURA_MOD_POWER_REGEN aura for this spell and add bonus
|
||||
if (Aura* aura = GetHolder()->GetAuraByEffectIndex(SpellEffectIndex(GetEffIndex(EFFECT_INDEX_0))))
|
||||
if (Aura* aura = GetHolder()->GetAuraByEffectIndex(SpellEffectIndex(GetEffIndex()-1)))
|
||||
{
|
||||
aura->GetModifier()->m_amount = m_modifier.m_amount;
|
||||
((Player*)target)->UpdateManaRegen();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue