Skip to content

Commit 8b4d5ab

Browse files
Fix how the BurstEnergy event emits consumed energy when IgnoreBurstEnergy flag is on (#2453)
1 parent d1d1fa1 commit 8b4d5ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/core/player/character/energy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
func (c *CharWrapper) ConsumeEnergy(delay int) {
10-
c.ConsumeEnergyPartial(delay, c.Energy)
10+
c.ConsumeEnergyPartial(delay, c.EnergyMax)
1111
}
1212

1313
func (c *CharWrapper) ConsumeEnergyPartial(delay int, amount float64) {

0 commit comments

Comments
 (0)