Merge pull request #1299 from lieren2023/lieren2023-patch-8
fix:技能无法被封印修复
This commit is contained in:
commit
ccf99c998e
|
@ -917,6 +917,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
kuangchan: {
|
kuangchan: {
|
||||||
|
locked: true,
|
||||||
ai: {
|
ai: {
|
||||||
neg: true,
|
neg: true,
|
||||||
},
|
},
|
||||||
|
@ -2500,7 +2501,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
nvquan: {
|
nvquan: {
|
||||||
locked: true,
|
locked: false,
|
||||||
group: ["nvquan1", "nvquan2", "nvquan3"],
|
group: ["nvquan1", "nvquan2", "nvquan3"],
|
||||||
},
|
},
|
||||||
nvquan1: {
|
nvquan1: {
|
||||||
|
|
|
@ -9148,6 +9148,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
fanghua: {
|
fanghua: {
|
||||||
trigger: { player: "phaseJieshuBegin" },
|
trigger: { player: "phaseJieshuBegin" },
|
||||||
forced: true,
|
forced: true,
|
||||||
|
locked: false,
|
||||||
unique: true,
|
unique: true,
|
||||||
filter: function () {
|
filter: function () {
|
||||||
return game.hasPlayer(function (current) {
|
return game.hasPlayer(function (current) {
|
||||||
|
|
|
@ -2034,6 +2034,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;
|
||||||
|
@ -2184,6 +2185,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;
|
||||||
},
|
},
|
||||||
|
@ -4725,6 +4727,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() {
|
||||||
|
@ -6464,6 +6467,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;
|
||||||
},
|
},
|
||||||
|
@ -9987,6 +9991,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 () {
|
||||||
|
@ -11051,7 +11056,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
trigger: { player: "phaseJieshuBegin" },
|
trigger: { player: "phaseJieshuBegin" },
|
||||||
zhenfa: "siege",
|
zhenfa: "siege",
|
||||||
direct: true,
|
direct: true,
|
||||||
locked: true,
|
locked: false,
|
||||||
filter: function (event, player) {
|
filter: function (event, player) {
|
||||||
return (
|
return (
|
||||||
game.countPlayer() > 4 &&
|
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);
|
return player.siege(event.target) && event.player.siege(event.target);
|
||||||
},
|
},
|
||||||
forced: true,
|
forced: true,
|
||||||
|
locked: false,
|
||||||
forceaudio: true,
|
forceaudio: true,
|
||||||
logTarget: "target",
|
logTarget: "target",
|
||||||
content: function () {
|
content: function () {
|
||||||
|
|
|
@ -6232,6 +6232,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
boss_xiaorui: {
|
boss_xiaorui: {
|
||||||
trigger: { global: "damageSource" },
|
trigger: { global: "damageSource" },
|
||||||
forced: true,
|
forced: true,
|
||||||
|
locked: false,
|
||||||
logTarget: "source",
|
logTarget: "source",
|
||||||
filter: function (event, player) {
|
filter: function (event, player) {
|
||||||
var target = event.source;
|
var target = event.source;
|
||||||
|
@ -6281,6 +6282,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
boss_fengjian: {
|
boss_fengjian: {
|
||||||
trigger: { source: "damageSource" },
|
trigger: { source: "damageSource" },
|
||||||
forced: true,
|
forced: true,
|
||||||
|
locked: false,
|
||||||
filter: function (event, player) {
|
filter: function (event, player) {
|
||||||
return event.player.isAlive();
|
return event.player.isAlive();
|
||||||
},
|
},
|
||||||
|
@ -6767,6 +6769,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
return num >= 0;
|
return num >= 0;
|
||||||
},
|
},
|
||||||
forced: true,
|
forced: true,
|
||||||
|
locked: false,
|
||||||
content: function () {
|
content: function () {
|
||||||
"step 0";
|
"step 0";
|
||||||
var targets = game.filterPlayer(function (current) {
|
var targets = game.filterPlayer(function (current) {
|
||||||
|
|
Loading…
Reference in New Issue