🎨 改进代码样式

This commit is contained in:
github-actions[bot]
2022-03-26 14:03:46 +00:00
parent 82768fff59
commit 901e680fa4
2 changed files with 3 additions and 3 deletions

View File

@@ -168,10 +168,10 @@ func randnums(nums int, store storage) (rgba *image.RGBA, err error) {
switch rand.Intn(2) {
case 0:
fourN++
fours = append(fours, filetree["four"][rand.Intn(fourlen)]) //随机角色
fours = append(fours, filetree["four"][rand.Intn(fourlen)]) // 随机角色
case 1:
fourN2++
fourArms = append(fourArms, filetree["four2"][rand.Intn(four2len)]) //随机武器
fourArms = append(fourArms, filetree["four2"][rand.Intn(four2len)]) // 随机武器
}
}
_ = atomic.AddUint64(&totl, 1)