From 0cef911e51a11cb846e29b339e2e51a6af935845 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Tue, 28 May 2024 00:43:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=83=A8=E5=88=86halfneg=E6=94=B9neg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/offline/skill.js | 2 +- character/sp/skill.js | 3 +++ character/standard/skill.js | 2 +- character/yijiang/skill.js | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/character/offline/skill.js b/character/offline/skill.js index 3a62a7cbf..28c5942d4 100644 --- a/character/offline/skill.js +++ b/character/offline/skill.js @@ -5592,7 +5592,7 @@ const skills = { if (event.lose && event.lose.loseHp) player.draw(); }, ai: { - halfneg: true, + neg: true, filterDamage: true, skillTagFilter: function (player, tag, arg) { if (tag === "filterDamage" && arg && arg.player) { diff --git a/character/sp/skill.js b/character/sp/skill.js index 4422c1a27..400b6c2dc 100644 --- a/character/sp/skill.js +++ b/character/sp/skill.js @@ -24761,6 +24761,9 @@ const skills = { return event.targets.includes(player) && player != event.player && event.card.name == "sha" && player.hp < player.countCards("h"); }, content: function () {}, + ai: { + neg: true + }, unique: true, gainable: true, subSkill: { diff --git a/character/standard/skill.js b/character/standard/skill.js index 60a4ca291..e697b08fa 100644 --- a/character/standard/skill.js +++ b/character/standard/skill.js @@ -3125,7 +3125,7 @@ const skills = { trigger.source.chooseDrawRecover(true); }, ai: { - halfneg: true, + neg: true, effect: { target(card, player, target, current) { if (card.name == "sha" && get.color(card) == "red") { diff --git a/character/yijiang/skill.js b/character/yijiang/skill.js index c6036ad36..729d32cfa 100644 --- a/character/yijiang/skill.js +++ b/character/yijiang/skill.js @@ -8776,7 +8776,7 @@ const skills = { if (player.hp != 1) return false; }, respondSha: true, - halfneg: true, + neg: true, }, audio: 2, audioname: ["xin_zhangyi"], From 27c2cb7a6b400560642db19f76d4f05824272e70 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Tue, 28 May 2024 21:16:44 +0800 Subject: [PATCH 2/2] =?UTF-8?q?combo=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/extra/skill.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/character/extra/skill.js b/character/extra/skill.js index 77bbbf2b0..8c8c51d2e 100644 --- a/character/extra/skill.js +++ b/character/extra/skill.js @@ -3757,6 +3757,9 @@ const skills = { }, }, }, + ai: { + combo: "yuheng" + }, }, yuheng: { audio: 2,