From 49ba956ae7cdd9e460433bfc5cd1d0cfc7e77b05 Mon Sep 17 00:00:00 2001 From: 157 <144450955+PZ157@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:04:00 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=85=92=E5=8A=A0?= =?UTF-8?q?=E4=BC=A4=E6=A0=87=E7=AD=BE=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/extra.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/card/extra.js b/card/extra.js index f1dc21b7a..0de6c53ad 100644 --- a/card/extra.js +++ b/card/extra.js @@ -689,7 +689,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){ delete player.storage.jiu; }, ai:{ - damageBonus:true + damageBonus:true, + skillTagFilter:function(player,tag,arg){ + if(tag==='damageBonus') return arg&&arg.card&&arg.card.name==='sha'; + } }, group:'jiu2' }, From 501d13ea5576bd756f7d9179bebebe3890ffc8c7 Mon Sep 17 00:00:00 2001 From: 157 <144450955+PZ157@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:19:32 +0800 Subject: [PATCH 2/3] =?UTF-8?q?linyun4=E6=94=B9=E4=B8=BAobject?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/swd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/swd.js b/character/swd.js index c30446dc6..9ed7ccc0e 100644 --- a/character/swd.js +++ b/character/swd.js @@ -3247,7 +3247,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.addTempSkill('linyun4','shaAfter') } }, - linyun4:[], + linyun4:{}, bofeng:{ mod:{ targetInRange:function(card,player,target){ 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 3/3] =?UTF-8?q?=E3=80=90=E8=A3=B8=E8=A1=A3=E3=80=91?= =?UTF-8?q?=E5=8A=A0=E4=BC=A4=E6=A0=87=E7=AD=BE=E7=AD=9B=E9=80=89=EF=BC=9B?= =?UTF-8?q?=E3=80=90=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:{