chore(lint): 改进代码样式 (#986)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-10-01 14:50:41 +09:00 committed by GitHub
parent c008214be4
commit fbadd8924f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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))
}