From 25863e521e7d1cd3396eee86ab24568b243f65a0 Mon Sep 17 00:00:00 2001 From: copcap Date: Mon, 16 Oct 2023 01:50:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A5=9E=E8=B4=BE=E8=AF=A9?= =?UTF-8?q?=E3=80=96=E7=82=BC=E9=AD=84=E3=80=97=E5=9C=A8=E4=B8=BB=E5=BF=A0?= =?UTF-8?q?=E9=98=B5=E8=90=A5=E4=BA=BA=E6=95=B0=E6=9C=80=E5=A4=9A=E6=97=B6?= =?UTF-8?q?=E8=B0=81=E4=B9=9F=E4=B8=8D=E8=83=BD=E7=94=A8=E6=A1=83=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/extra.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/character/extra.js b/character/extra.js index 40a9f6c78..6decf2b73 100755 --- a/character/extra.js +++ b/character/extra.js @@ -266,15 +266,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return current.hasSkill('jxlianpo'); }); }, - cardSavable:function(card,player){ + cardSavable:function(card,player,target){ if(card.name=='tao'){ if(!lib.skill.jxlianpo.getMax().includes('zhu')) return; + if(player==target) return; return false; } }, - cardEnabled:function(card,player){ + playerEnabled:function(card,player,target){ if(card.name=='tao'){ if(!lib.skill.jxlianpo.getMax().includes('zhu')) return; + if(player==target) return; return false; } } @@ -366,6 +368,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.markAuto('jxzhaoluan_hit',target); }, ai:{ + order:9, result:{ player:function(player){ var bodies=player.getStorage('jxzhaoluan_effect').filter(i=>i.isIn());