v1.10.11.3 metadata

This commit is contained in:
Spmario233 2024-04-19 22:58:44 +08:00
parent 6c9b0186ef
commit d5edc2b9b1
2 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,7 @@
window.noname_update = {
version: "1.10.11.2",
version: "1.10.11.3",
update: "NULL", //新版本更新文件较多,直接强制进行全量更新
changeLog: [
"整合@Rintim @nonameShijian @copcap @PZ157 @mengxinzxz @lieren2023 的Pull Request",
"bug修复",
],
files: [],

View File

@ -4524,7 +4524,7 @@ export class Player extends HTMLDivElement {
if (typeof this.selectCard == "function") return false;
if (this.complexCard || this.complexSelect || this.filterOk) return false;
var cards = this.player.getCards(this.position);
if (cards.some(card => !this.filterCard(card, this.player))) return false;
if (cards.some(card => !this.filterCard(card, this.player, this))) return false;
var num = cards.length;
for (var i = 0; i < cards.length; i++) {
if (!lib.filter.cardDiscardable(cards[i], this.player, this)) num--;
@ -4783,7 +4783,7 @@ export class Player extends HTMLDivElement {
if (typeof this.selectCard == "function") return false;
if (this.complexCard || this.complexSelect || this.filterOk) return false;
var cards = this.player.getCards(this.position);
if (cards.some(card => !this.filterCard(card, this.player))) return false;
if (cards.some(card => !this.filterCard(card, this.player, this))) return false;
return get.select(this.selectCard)[0] >= this.player.countCards(this.position);
};
next.setContent("chooseCard");