From 9b567914fd474d5458b9dbebe615d484a4e52c7b Mon Sep 17 00:00:00 2001 From: hadeszoro <160452158+hadeszoro@users.noreply.github.com> Date: Thu, 22 Feb 2024 12:37:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=AE=E5=8A=9B=E5=90=8C?= =?UTF-8?q?=E5=BF=83=E6=97=A0=E6=87=88ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/guozhan.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/card/guozhan.js b/card/guozhan.js index 4e30590b4..3ccc90664 100644 --- a/card/guozhan.js +++ b/card/guozhan.js @@ -622,8 +622,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){ order:7.5, value:4, useful:2, - wuxie:function(){ - return 0; + wuxie:function(target,card,player,viewer){ + if(get.mode()=='guozhan'){ + if(viewer.isFriendOf(player)&&viewer.identity!='ye') return 0; + } }, result:{ target:function(player,target){