minor fix
This commit is contained in:
parent
a924faaa8a
commit
6bfe780260
|
@ -117,7 +117,7 @@ game.import("character", function () {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
prompt(links, player) {
|
prompt(links, player) {
|
||||||
return "将至少两张牌当作" + get.translation(links[0][3] || "") + "【" + get.translation(links[0][2]) + "】使用";
|
return "将至少两张手牌当作" + get.translation(links[0][3] || "") + "【" + get.translation(links[0][2]) + "】使用";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ai: {
|
ai: {
|
||||||
|
@ -245,6 +245,11 @@ game.import("character", function () {
|
||||||
}
|
}
|
||||||
game.updateRoundNumber();
|
game.updateRoundNumber();
|
||||||
if (gain.length) await target.gain(gain, "draw");
|
if (gain.length) await target.gain(gain, "draw");
|
||||||
|
} else {
|
||||||
|
for (let i = topCards.length - 1; i--; i >= 0) {
|
||||||
|
ui.cardPile.insertBefore(topCards[i], ui.cardPile.firstChild);
|
||||||
|
}
|
||||||
|
game.updateRoundNumber();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const content = ['###诫厉###<div class="text center">' + get.translation(target) + "牌名字数最多的手牌</div>", cards];
|
const content = ['###诫厉###<div class="text center">' + get.translation(target) + "牌名字数最多的手牌</div>", cards];
|
||||||
|
|
Loading…
Reference in New Issue