From 7ad6eca3803d9e94a69ec145eeefd6c84cf074aa Mon Sep 17 00:00:00 2001 From: soloxcx Date: Thu, 16 Jan 2025 23:46:51 -0600 Subject: [PATCH] lyney prop stack function doesnt need param anymore --- internal/characters/lyney/aimed.go | 6 +++--- internal/characters/lyney/burst.go | 2 +- internal/characters/lyney/cons.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/characters/lyney/aimed.go b/internal/characters/lyney/aimed.go index be16dc693..ef89b62a7 100644 --- a/internal/characters/lyney/aimed.go +++ b/internal/characters/lyney/aimed.go @@ -202,12 +202,12 @@ func (c *char) propSurplus() bool { Amount: hpdrain, }) - c.increasePropSurplusStacks(1) + c.increasePropSurplusStacks() return true } -func (c *char) increasePropSurplusStacks(increase int) { - c.propSurplusStacks += increase +func (c *char) increasePropSurplusStacks() { + c.propSurplusStacks++ if c.propSurplusStacks > 5 { c.propSurplusStacks = 5 } diff --git a/internal/characters/lyney/burst.go b/internal/characters/lyney/burst.go index cc8816ff3..359eb06ed 100644 --- a/internal/characters/lyney/burst.go +++ b/internal/characters/lyney/burst.go @@ -117,5 +117,5 @@ func (c *char) explosiveFirework() { c.hats = append(c.hats, g) c.Core.Combat.AddGadget(g) - c.increasePropSurplusStacks(1) + c.increasePropSurplusStacks() } diff --git a/internal/characters/lyney/cons.go b/internal/characters/lyney/cons.go index b8ec9eab0..02a7f7244 100644 --- a/internal/characters/lyney/cons.go +++ b/internal/characters/lyney/cons.go @@ -32,7 +32,7 @@ func (c *char) addC1PropStack() func() { if c.Base.Cons < 1 || c.StatusIsActive(c1ICDKey) { return } - c.increasePropSurplusStacks(1) + c.increasePropSurplusStacks() } }