diff --git a/character/yxs.js b/character/yxs.js index e9b5e5e34..f08f705b5 100644 --- a/character/yxs.js +++ b/character/yxs.js @@ -917,6 +917,7 @@ game.import("character", function () { }, }, kuangchan: { + locked: true, ai: { neg: true, }, @@ -2500,7 +2501,7 @@ game.import("character", function () { }, }, nvquan: { - locked: true, + locked: false, group: ["nvquan1", "nvquan2", "nvquan3"], }, nvquan1: { diff --git a/mode/boss.js b/mode/boss.js index d3e54fa1c..df936e6ea 100644 --- a/mode/boss.js +++ b/mode/boss.js @@ -9148,6 +9148,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { fanghua: { trigger: { player: "phaseJieshuBegin" }, forced: true, + locked: false, unique: true, filter: function () { return game.hasPlayer(function (current) { diff --git a/mode/guozhan.js b/mode/guozhan.js index b92ec9eeb..9c1cd194b 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -2034,6 +2034,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { ); }, forced: true, + locked: false, async content(event, trigger, player) { if (trigger.name == "phaseZhunbei") { const num = player.getStorage("fakeshilu").length; @@ -2184,6 +2185,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { return !goon && groups.includes(event.source.identity); }, forced: true, + locked: false, logTarget(event, player) { return event.source == player ? event.player : event.source; }, @@ -4725,6 +4727,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { ); }, forced: true, + locked: false, popup: false, preHidden: ["xijue_tuxi", "fakexijue_xiaoguo"], content() { @@ -6464,6 +6467,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { gzrehuaiyi: { audio: "gzhuaiyi", enable: "phaseUse", + locked: false, filter: function (event, player) { return player.countCards("h") > 0; }, @@ -9987,6 +9991,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { }, trigger: { player: "phaseDrawBegin2" }, forced: true, + locked: false, filter: (event, player) => !event.numFixed && player.isMaxHandcard(), preHidden: true, content: function () { @@ -11051,7 +11056,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { trigger: { player: "phaseJieshuBegin" }, zhenfa: "siege", direct: true, - locked: true, + locked: false, filter: function (event, player) { return ( game.countPlayer() > 4 && @@ -20566,6 +20571,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { return player.siege(event.target) && event.player.siege(event.target); }, forced: true, + locked: false, forceaudio: true, logTarget: "target", content: function () { diff --git a/mode/versus.js b/mode/versus.js index 0d95398bc..653cedf28 100644 --- a/mode/versus.js +++ b/mode/versus.js @@ -6232,6 +6232,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { boss_xiaorui: { trigger: { global: "damageSource" }, forced: true, + locked: false, logTarget: "source", filter: function (event, player) { var target = event.source; @@ -6281,6 +6282,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { boss_fengjian: { trigger: { source: "damageSource" }, forced: true, + locked: false, filter: function (event, player) { return event.player.isAlive(); }, @@ -6767,6 +6769,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { return num >= 0; }, forced: true, + locked: false, content: function () { "step 0"; var targets = game.filterPlayer(function (current) {