优化机器人日志
This commit is contained in:
parent
8446807d62
commit
a0792dcbd5
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user