Skip to content

Commit

Permalink
chore(lint): 改进代码样式 (#986)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Oct 1, 2024
1 parent c008214 commit fbadd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/niuniu/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func calculateWinProbability(heightA, heightB float64) float64 {
// applySkill 应用击剑技巧并生成结果
func applySkill(myLength, oppoLength float64, increaseLength1 bool) (string, float64, float64) {
reduce := fence(oppoLength)
//兜底操作
// 兜底操作
if reduce == 0 {
reduce = rand.Float64() + float64(rand.Intn(3))
}
Expand Down

0 comments on commit fbadd89

Please sign in to comment.