From 6bfe7802608091a3ccf1d855b3b9bae57135ca8c Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Tue, 30 Apr 2024 01:19:54 +0800 Subject: [PATCH] minor fix --- character/clan.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/character/clan.js b/character/clan.js index 59009361f..d32c7b0c8 100644 --- a/character/clan.js +++ b/character/clan.js @@ -117,7 +117,7 @@ game.import("character", function () { }; }, 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: { @@ -245,6 +245,11 @@ game.import("character", function () { } game.updateRoundNumber(); 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 { const content = ['###诫厉###
' + get.translation(target) + "牌名字数最多的手牌
", cards];