mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Fix typo (now power gain % log correctly)
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
c97f8a675c
commit
5378d766f0
1 changed files with 1 additions and 1 deletions
|
|
@ -2821,7 +2821,7 @@ void Spell::EffectEnergisePct(uint32 i)
|
||||||
|
|
||||||
uint32 gain = damage * maxPower / 100;
|
uint32 gain = damage * maxPower / 100;
|
||||||
unitTarget->ModifyPower(power, gain);
|
unitTarget->ModifyPower(power, gain);
|
||||||
m_caster->SendEnergizeSpellLog(unitTarget, m_spellInfo->Id, damage, power);
|
m_caster->SendEnergizeSpellLog(unitTarget, m_spellInfo->Id, gain, power);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Spell::SendLoot(uint64 guid, LootType loottype)
|
void Spell::SendLoot(uint64 guid, LootType loottype)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue