优化机器人日志

This commit is contained in:
zhl 2021-03-19 16:15:30 +08:00
parent 8446807d62
commit a0792dcbd5

View File

@ -242,7 +242,7 @@ let assistantUtil = {
eatSecs, eatSecs,
normalSecs normalSecs
} = this.checkDiscard({cardArr, eatCard}) } = this.checkDiscard({cardArr, eatCard})
robotLog(`[discard] check: ${cardArr.map(o=>o.number)} selfEat: ${selfEat}, otherEat: ${otherEat}`) robotLog(`[discard] check: eatself: ${selfEat}, eatother: ${otherEat}, self: ${cardArr.map(o=>o.number)}, target: ${eatCard?.number}`)
let results: Card[] = [] let results: Card[] = []
let random = getRandom(0, 100) let random = getRandom(0, 100)
if (otherEat && random <= noEatRate) { if (otherEat && random <= noEatRate) {