From 1a3bbd67424e5923eee2b9a2ef4ec6c0d35a9f45 Mon Sep 17 00:00:00 2001 From: Howard-Zhou-77 <67568722+Howard-Zhou-77@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:22:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=A7=E6=80=A5=E4=BF=AE=E6=AD=A3=EF=BC=9A?= =?UTF-8?q?=E6=8A=8Alosehp=E5=86=99=E6=88=90=E4=BA=86loseHp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/yongjian.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/card/yongjian.js b/card/yongjian.js index db556028a..f37ec87f7 100644 --- a/card/yongjian.js +++ b/card/yongjian.js @@ -562,12 +562,12 @@ game.import('card',function(lib,game,ui,get,ai,_status){ prompt2:'将本次获得的【毒】交给其他角色', ai1:function(card){ var player = _status.event.player; - if(player.hasSkillTag("usedu")||get.effect(player,{name: "loseHp"}, player, player)>0) return 0; + if(player.hasSkillTag("usedu")||get.effect(player,{name: "losehp"}, player, player)>0) return 0; if(!ui.selected.cards.length) return 1; return 0; }, ai2:function(target){ - if (target.hasSkillTag("usedu")) return get.attitude(_status.event.player,target)-0.01; + if (target.hasSkillTag("usedu")) return get.attitude(_status.event.player,target)-0.01; return -get.attitude(_status.event.player,target)+0.01; }, });