fixed # 补全梦三怪物、卡牌

fixed # 修复天书乱斗中,过关技能不会重置次数的问题
This commit is contained in:
2026-10-03 04:42:19 +08:00
parent b005a7ff15
commit c448da39c2
131 changed files with 5021 additions and 246 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ export function createHandOverlays(document, cardCost) {
const cost = String(cardCost(card));
setData(entry.cost, "mengsanCost", cost);
entry.cost.setAttribute("aria-label", `费用 ${cost}`);
if (entry.cost.parentNode !== card) card.appendChild(entry.cost);
if (card.name === "mengsan_dazed_shuying") entry.cost.remove();
else if (entry.cost.parentNode !== card) card.appendChild(entry.cost);
const level = cardUpgradeLevel(card);
if (level) {
setData(entry.upgrade, "mengsanUpgrade", String(level));