From a58363fcfbd544ff046adaf7a0ca00e52cfb21ff Mon Sep 17 00:00:00 2001 From: 157 <144450955+PZ157@users.noreply.github.com> Date: Mon, 9 Oct 2023 16:27:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AD=94=E8=9E=8D=E3=80=90?= =?UTF-8?q?=E5=90=8D=E5=A3=AB=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/offline.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/character/offline.js b/character/offline.js index 0b0164d47..1955c0bf0 100644 --- a/character/offline.js +++ b/character/offline.js @@ -944,6 +944,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, content:function(){ trigger.cancel(); + }, + ai:{ + effect:{ + target:function(card,player,target){ + if(card.name==='sha'&&!game.hasNature(card)&&target.hasEmptySlot(2)) return 'zeroplayertarget'; + if(get.subtype(card)=='equip2'&&target.isEmpty(2)) return [0.6,-0.8]; + } + } } }, //战役篇蒋钦