mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-18 20:50:12 +08:00
chore(lint): 改进代码样式 (#986)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
c008214be4
commit
fbadd8924f
@ -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))
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user