Skip to content

Commit

Permalink
Removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie-Zheng committed Oct 10, 2023
1 parent b32a76f commit 9d59780
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions internal/characters/neuvillette/charge.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package neuvillette

import (
"cmp"
"fmt"

"github.com/genshinsim/gcsim/internal/frames"
Expand Down Expand Up @@ -54,16 +53,6 @@ func init() {
earlyCancelEndLag[action.ActionJump] = 0
}

func min[T cmp.Ordered](x T, y ...T) T {
m := x
for _, val := range y {
if m > val {
m = val
}
}
return m
}

func (c *char) ChargeAttack(p map[string]int) (action.Info, error) {
if c.chargeEarlyCancelled {
return action.Info{}, fmt.Errorf("%v: Cannot early cancel Charged Attack: Equitable Judgement with Charged Attack", c.CharWrapper.Base.Key)
Expand Down

0 comments on commit 9d59780

Please sign in to comment.