Fix typo (now power gain % log correctly)

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
DiSlord 2009-01-14 01:54:06 +03:00
parent c97f8a675c
commit 5378d766f0

View file

@ -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)