修复界顾雍【秉壹】

This commit is contained in:
157 2024-05-02 20:10:09 +08:00
parent 1eee5903c1
commit 6353e7dc2d
1 changed files with 3 additions and 3 deletions

View File

@ -6678,7 +6678,7 @@ game.import("character", function () {
const num = player.countCards("h"); const num = player.countCards("h");
const result = await player const result = await player
.chooseTarget( .chooseTarget(
get.prompt("xinbingyi"), get.prompt("rebingyi"),
`展示所有手牌,并选择至多${get.cnNumber(num)}名角色各摸一张牌${ `展示所有手牌,并选择至多${get.cnNumber(num)}名角色各摸一张牌${
selfDraw ? "" : ",然后你摸一张牌" selfDraw ? "" : ",然后你摸一张牌"
}`, }`,
@ -6700,7 +6700,7 @@ game.import("character", function () {
} else { } else {
event.result = await player event.result = await player
.chooseBool( .chooseBool(
get.prompt("bingyi"), get.prompt("rebingyi"),
`展示所有手牌${selfDraw ? "" : ",然后你摸一张牌"}` `展示所有手牌${selfDraw ? "" : ",然后你摸一张牌"}`
) )
.set("choice", selfDraw) .set("choice", selfDraw)
@ -6714,7 +6714,7 @@ game.import("character", function () {
const data = event.cost_data; const data = event.cost_data;
if (data.asyncDraw && data.targets && data.targets.length) { if (data.asyncDraw && data.targets && data.targets.length) {
const targets = data.targets.sortBySeat(); const targets = data.targets.sortBySeat();
game.asyncDraw(targets); await game.asyncDraw(targets);
} }
if (data.selfDraw) { if (data.selfDraw) {
player.draw(); player.draw();