From d804bba958c8446338a0f7a28af5c98f8a7d8575 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Tue, 9 Jan 2024 20:11:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BC=93=E5=8A=B1ai=E4=BC=98=E5=85=88=E3=80=90?= =?UTF-8?q?=E7=83=88=E5=BC=93=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/shenhua.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/character/shenhua.js b/character/shenhua.js index 7ad46db23..34750ef38 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -3222,6 +3222,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ xinliegong:{ shaRelated:true, mod:{ + aiOrder:function(player,card,num){ + if(num>0&&(card.name==='sha'||get.tag(card,'draw'))) return num+6; + }, targetInRange:function(card,player,target){ if(card.name=='sha'&&typeof get.number(card)=='number'){ if(get.distance(player,target)<=get.number(card)) return true;