Skip to content

Commit

Permalink
lyney prop stack function doesnt need param anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
soloxcx committed Jan 17, 2025
1 parent 9ee7f74 commit 7ad6eca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions internal/characters/lyney/aimed.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion internal/characters/lyney/burst.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,5 @@ func (c *char) explosiveFirework() {
c.hats = append(c.hats, g)
c.Core.Combat.AddGadget(g)

c.increasePropSurplusStacks(1)
c.increasePropSurplusStacks()
}
2 changes: 1 addition & 1 deletion internal/characters/lyney/cons.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (c *char) addC1PropStack() func() {
if c.Base.Cons < 1 || c.StatusIsActive(c1ICDKey) {
return
}
c.increasePropSurplusStacks(1)
c.increasePropSurplusStacks()
}
}

Expand Down

0 comments on commit 7ad6eca

Please sign in to comment.