v1.10.11.3 metadata
This commit is contained in:
parent
6c9b0186ef
commit
d5edc2b9b1
|
@ -1,8 +1,7 @@
|
||||||
window.noname_update = {
|
window.noname_update = {
|
||||||
version: "1.10.11.2",
|
version: "1.10.11.3",
|
||||||
update: "NULL", //新版本更新文件较多,直接强制进行全量更新
|
update: "NULL", //新版本更新文件较多,直接强制进行全量更新
|
||||||
changeLog: [
|
changeLog: [
|
||||||
"整合@Rintim @nonameShijian @copcap @PZ157 @mengxinzxz @lieren2023 的Pull Request",
|
|
||||||
"bug修复",
|
"bug修复",
|
||||||
],
|
],
|
||||||
files: [],
|
files: [],
|
||||||
|
|
|
@ -4524,7 +4524,7 @@ export class Player extends HTMLDivElement {
|
||||||
if (typeof this.selectCard == "function") return false;
|
if (typeof this.selectCard == "function") return false;
|
||||||
if (this.complexCard || this.complexSelect || this.filterOk) return false;
|
if (this.complexCard || this.complexSelect || this.filterOk) return false;
|
||||||
var cards = this.player.getCards(this.position);
|
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;
|
var num = cards.length;
|
||||||
for (var i = 0; i < cards.length; i++) {
|
for (var i = 0; i < cards.length; i++) {
|
||||||
if (!lib.filter.cardDiscardable(cards[i], this.player, this)) num--;
|
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 (typeof this.selectCard == "function") return false;
|
||||||
if (this.complexCard || this.complexSelect || this.filterOk) return false;
|
if (this.complexCard || this.complexSelect || this.filterOk) return false;
|
||||||
var cards = this.player.getCards(this.position);
|
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);
|
return get.select(this.selectCard)[0] >= this.player.countCards(this.position);
|
||||||
};
|
};
|
||||||
next.setContent("chooseCard");
|
next.setContent("chooseCard");
|
||||||
|
|
Loading…
Reference in New Issue