其他国战技能无法被封印修复

This commit is contained in:
lieren2023 2024-05-01 14:39:53 +08:00 committed by GitHub
parent 0806372288
commit ae7ae7e825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -2075,6 +2075,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
); );
}, },
forced: true, forced: true,
locked: false,
async content(event, trigger, player) { async content(event, trigger, player) {
if (trigger.name == "phaseZhunbei") { if (trigger.name == "phaseZhunbei") {
const num = player.getStorage("fakeshilu").length; const num = player.getStorage("fakeshilu").length;
@ -2225,6 +2226,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
return !goon && groups.includes(event.source.identity); return !goon && groups.includes(event.source.identity);
}, },
forced: true, forced: true,
locked: false,
logTarget(event, player) { logTarget(event, player) {
return event.source == player ? event.player : event.source; return event.source == player ? event.player : event.source;
}, },
@ -4766,6 +4768,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
); );
}, },
forced: true, forced: true,
locked: false,
popup: false, popup: false,
preHidden: ["xijue_tuxi", "fakexijue_xiaoguo"], preHidden: ["xijue_tuxi", "fakexijue_xiaoguo"],
content() { content() {
@ -6502,6 +6505,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
gzrehuaiyi: { gzrehuaiyi: {
audio: "gzhuaiyi", audio: "gzhuaiyi",
enable: "phaseUse", enable: "phaseUse",
locked: false,
filter: function (event, player) { filter: function (event, player) {
return player.countCards("h") > 0; return player.countCards("h") > 0;
}, },
@ -10025,6 +10029,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
trigger: { player: "phaseDrawBegin2" }, trigger: { player: "phaseDrawBegin2" },
forced: true, forced: true,
locked: false,
filter: (event, player) => !event.numFixed && player.isMaxHandcard(), filter: (event, player) => !event.numFixed && player.isMaxHandcard(),
preHidden: true, preHidden: true,
content: function () { content: function () {