fix(Core/Spells): Fix Chimera Shot Viper Sting mana cap (#25078)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
parent
e2c966a414
commit
844b34dcd7
1 changed files with 1 additions and 1 deletions
|
|
@ -492,7 +492,7 @@ class spell_hun_chimera_shot : public SpellScript
|
|||
|
||||
// Amount of one aura tick
|
||||
basePoint = int32(CalculatePct(unitTarget->GetMaxPower(POWER_MANA), aurEff->GetAmount()));
|
||||
int32 casterBasePoint = aurEff->GetAmount() * unitTarget->GetMaxPower(POWER_MANA) / 50; /// @todo: Caster uses unitTarget?
|
||||
int32 casterBasePoint = aurEff->GetAmount() * caster->GetMaxPower(POWER_MANA) / 50;
|
||||
if (basePoint > casterBasePoint)
|
||||
basePoint = casterBasePoint;
|
||||
ApplyPct(basePoint, TickCount * 60);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue