From f78ab9510a784c49a138b846b22c5b01fa70c6d5 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 1 May 2024 14:55:32 +0800 Subject: [PATCH] =?UTF-8?q?halfneg=E6=A0=87=E7=AD=BE=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/huicui.js | 3 +++ character/jsrg.js | 1 + character/mobile.js | 4 ++++ character/sb.js | 3 +++ character/sp2.js | 1 + 5 files changed, 12 insertions(+) diff --git a/character/huicui.js b/character/huicui.js index b5023c25d..70bb922cb 100644 --- a/character/huicui.js +++ b/character/huicui.js @@ -1284,6 +1284,9 @@ game.import("character", function () { await player.draw(2); await player.loseHp(); }, + ai: { + halfneg: true + }, }, dckuizhen: { audio: 2, diff --git a/character/jsrg.js b/character/jsrg.js index c5ee62229..60cbb4a57 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -6102,6 +6102,7 @@ game.import("character", function () { }, }, ai: { + halfneg: true, effect: { player_use: function (card, player, target) { if (card.name == "jiu") return [1, 1]; diff --git a/character/mobile.js b/character/mobile.js index cd31a94bd..574b41aa8 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -16746,6 +16746,7 @@ game.import("character", function () { player.loseMaxHp(); }, ai: { + halfneg: true, filterDamage: true, skillTagFilter: function (player, tag, arg) { if (arg && arg.card && arg.card.name == "sha") return true; @@ -18831,6 +18832,9 @@ game.import("character", function () { "step 1"; player.draw(event.num); }, + ai: { + halfneg: true + }, }, yixiang: { audio: 2, diff --git a/character/sb.js b/character/sb.js index 5644e9ea0..629399ccc 100644 --- a/character/sb.js +++ b/character/sb.js @@ -1859,6 +1859,9 @@ game.import("character", function () { player.markAuto("sbyijue", [trigger.player]); player.markAuto("sbyijue_effect", [trigger.player]); }, + ai: { + halfneg: true + }, marktext: "绝", intro: { content: "已放$一马" }, subSkill: { diff --git a/character/sp2.js b/character/sp2.js index 74882642a..84d00450c 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -3209,6 +3209,7 @@ game.import("character", function () { player.loseMaxHp(); }, ai: { + halfneg: true, filterDamage: true, skillTagFilter: function (player, tag, arg) { if (arg && arg.card && arg.card.name == "sha") return true;