From 2a32ec306787754f545cf215df80339237b272ca Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Thu, 7 Sep 2023 12:56:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E6=97=8F=E7=9B=B4=E6=8E=A5=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E8=B4=BE=E9=80=B5=E6=8C=BD=E6=BE=9Ccheck?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/clan.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/character/clan.js b/character/clan.js index 1919aa53d..3212222d3 100644 --- a/character/clan.js +++ b/character/clan.js @@ -806,18 +806,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, logTarget:'player', check:function(event,player){ - if(get.attitude(player,event.player)<4) return false; - if(player.countCards('h',function(card){ - var mod2=game.checkMod(card,player,'unchanged','cardEnabled2',player); - if(mod2!='unchanged') return mod2; - var mod=game.checkMod(card,player,event.player,'unchanged','cardSavable',player); - if(mod!='unchanged') return mod; - var savable=get.info(card).savable; - if(typeof savable=='function') savable=savable(card,player,event.player); - return savable; - })>=1-event.player.hp) return false; - if(event.player==player||event.player==get.zhu(player)) return true; - return !player.hasUnknown(); + return lib.skill.wanlan.check(event,player); }, content:function(){ 'step 0'