From b8d89eaa7a18e0f611192129f85b07f58c031ee4 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Sun, 28 Jan 2024 11:42:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A5=9E=E5=8F=B8=E9=A9=AC?= =?UTF-8?q?=E6=87=BFai=E8=A7=89=E9=86=92=E5=89=8D=E4=B8=8D=E5=87=BA?= =?UTF-8?q?=E9=97=AA=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/extra.js | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/character/extra.js b/character/extra.js index 54c253ab6..6a9d1f66a 100755 --- a/character/extra.js +++ b/character/extra.js @@ -5664,17 +5664,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } return 0.7; } - }, - player(card,player){ - if(_status.currentPhase!=player) return; - if(_status.event.name!='chooseToUse'||_status.event.player!=player) return; - if(get.type(card)=='basic') return; - if(get.tag(card,'gain')) return; - if(get.value(card,player,'raw')>=7) return; - if(player.hp<=2) return; - if(!player.hasSkill('jilue')||player.storage.renjie==0){ - return 'zeroplayertarget'; - } } } } @@ -5683,7 +5672,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, mod:{ aiOrder:(player,card,num)=>{ - if(num<=0||typeof card!=='object'||!player.isPhaseUsing()) return 0; + if(num<=0||typeof card!=='object'||!player.isPhaseUsing()) return num; if(player.awakenedSkills.includes('sbaiyin')){ if(player.countMark('renjie')<3&&player.getUseValue(card){ + player(card,player,target){ if(target&&player.hasSkill('rewansha')&&target.hp<=1&&get.tag(card,'damage')) return [1,0,1.5,-1.5]; } }