From f3428a983e100128fdb010bae36745b426835e73 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Tue, 30 Jan 2024 16:44:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E8=A2=AB=E3=80=90=E5=8A=AB=E8=90=A5?= =?UTF-8?q?=E3=80=91=E7=9B=AE=E6=A0=87=E5=8A=A0=E4=B8=80=E4=B8=AA=E9=BC=93?= =?UTF-8?q?=E5=8A=B1=E5=87=BA=E7=89=8C=E7=9A=84ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/extra.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/character/extra.js b/character/extra.js index 6514ba2d3..afccdfdb7 100755 --- a/character/extra.js +++ b/character/extra.js @@ -7558,6 +7558,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return current.hasSkill('drlt_jieying'); }); }, + aiOrder(player,card,num){ + if(player.hasMark('drlt_jieying_mark')&&game.hasPlayer(current=>{ + return current.hasSkill('drlt_jieying')&&get.attitude(player,current)<=0; + })) return Math.max(num,0)+1; + } }, audio:'drlt_jieying', trigger:{ @@ -7577,8 +7582,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ nokeep:true, skillTagFilter(player){ - if(!player.hasMark('drlt_jieying_mark')) return false; - }, + return player.hasMark('drlt_jieying_mark')&&game.hasPlayer(current=>{ + return current.hasSkill('drlt_jieying')&&get.attitude(player,current)<=0; + }); + } }, }, 'drlt_jieying':{