From b1871ecd71c0e9b9b2ccb55b00c4ace14eb788b8 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Tue, 30 Apr 2024 01:52:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=B8=E9=A9=AC=E6=87=BF=E3=80=90=E6=9D=83?= =?UTF-8?q?=E8=B0=8B=E3=80=91bugfix=EF=BC=8C=E3=80=90X=E8=B0=8B=E3=80=91?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0ai=E5=8F=91=E5=8A=A8=E6=A6=82=E7=8E=87?= =?UTF-8?q?=EF=BC=8850%=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/xianding.js | 45 ++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/character/xianding.js b/character/xianding.js index a806716a1..02f50b006 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -1122,28 +1122,6 @@ game.import("character", function () { target.addAdditionalSkill(`${key}_${player.playerid}`, `${key}_mark`); } }, - group: "dcsbquanmou_change", - subSkill: { - change: { - audio: "dcsbquanmou", - audioname: ["dc_sb_simayi_shadow"], - trigger: { - global: "phaseBefore", - player: "enterGame", - }, - filter(event, player) { - return event.name != "phase" || game.phaseNumber == 0; - }, - prompt2(event, player) { - //无名杀先阳后阴,不要问为什么 - return "切换【权谋】为状态" + (player.storage.dcsbquanmou ? "阳" : "阴"); - }, - content() { - player.changeZhuanhuanji("dcsbquanmou"); - player.changeSkin("dcsbquanmou", "dc_sb_simayi" + (player.storage.dcsbquanmou ? "_shadow" : "")); - }, - }, - }, ai: { order: 9, result: { @@ -1166,7 +1144,28 @@ game.import("character", function () { return "转换技。出牌阶段每名角色限一次,你可以令一名攻击范围内的其他角色交给你一张牌。当你于本阶段内下次对其造成伤害时,取消之。"; }, }, + group: "dcsbquanmou_change", subSkill: { + change: { + audio: "dcsbquanmou", + audioname: ["dc_sb_simayi_shadow"], + trigger: { + global: "phaseBefore", + player: "enterGame", + }, + filter(event, player) { + return event.name != "phase" || game.phaseNumber == 0; + }, + prompt2(event, player) { + //无名杀先阳后阴,不要问为什么 + return "切换【权谋】为状态" + (player.storage.dcsbquanmou ? "阳" : "阴"); + }, + check: () => Math.random() > 0.5, + content() { + player.changeZhuanhuanji("dcsbquanmou"); + player.changeSkin("dcsbquanmou", "dc_sb_simayi" + (player.storage.dcsbquanmou ? "_shadow" : "")); + }, + }, true: { charlotte: true, audio: "dcsbquanmou", @@ -2407,6 +2406,7 @@ game.import("character", function () { //无名杀先阳后阴,不要问为什么 return "切换【英谋】为状态" + (player.storage.dcsbyingmou ? "阳" : "阴"); }, + check: () => Math.random() > 0.5, content() { player.changeZhuanhuanji("dcsbyingmou"); player.changeSkin("dcsbyingmou", "dc_sb_zhouyu" + (player.storage.dcsbyingmou ? "_shadow" : "")); @@ -2654,6 +2654,7 @@ game.import("character", function () { //无名杀先阳后阴,不要问为什么 return "切换【盟谋】为状态" + (player.storage.dcsbmengmou ? "阳" : "阴"); }, + check: () => Math.random() > 0.5, content() { player.changeZhuanhuanji("dcsbmengmou"); //鲁肃暂时没有另一张原画(悲