From 99acfde192a163c97320b4a25528c7e41fc52cba Mon Sep 17 00:00:00 2001 From: 157 <144450955+PZ157@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:32:40 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=A3=B8=E8=A1=A3=E3=80=91=E5=8A=A0?= =?UTF-8?q?=E4=BC=A4=E6=A0=87=E7=AD=BE=E7=AD=9B=E9=80=89=EF=BC=9B=E3=80=90?= =?UTF-8?q?=E6=B8=90=E8=90=A5=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/refresh.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/character/refresh.js b/character/refresh.js index 58431918f..cdcb486f9 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -2931,7 +2931,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.attitude(player,target)>0&&target.hp>1){ return 0; } - if(get.attitude(player,target)<0&&!player.hasSkillTag('damageBonus')){ + if(get.attitude(player,target)<0&&!player.hasSkillTag('damageBonus','e',{ + target:target, + card:card + })){ if(card.name=='sha') return; var sha=false; player._shibei_tmp=true; @@ -12605,7 +12608,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger.num++; }, ai:{ - damageBonus:true + damageBonus:true, + skillTagFilter:function(player,tag,arg){ + if(tag==='damageBonus') return arg&&arg.card&&(arg.card.name==='sha'||arg.card.name==='juedou'); + } } }, reganglie:{