Skip to content

Commit

Permalink
v1.10.11.3 metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Spmario233 committed Apr 19, 2024
1 parent 6c9b018 commit d5edc2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions game/update.js
Original file line number Diff line number Diff line change
@@ -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: [],
Expand Down
4 changes: 2 additions & 2 deletions noname/library/element/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -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--;
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit d5edc2b

Please sign in to comment.