From 6a6c7de0947b4718327e8e1d3e5ff9b846cf4028 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Sun, 7 Jan 2024 14:41:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BD=E6=88=98=E3=80=90?= =?UTF-8?q?=E5=BE=81=E8=8D=A3=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/guozhan.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mode/guozhan.js b/mode/guozhan.js index e4c89babf..fc126be4f 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -1557,9 +1557,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }); return !player.wontYe('wei')||!game.hasPlayer(current=>current.identity=='wei') }, - check:function(event,player,name){ - return name!='damageBegin1'; - }, + check:function(event,player){ + return !event.player.hasSkillTag('filterDamage',null,{ + player:event.source, + card:event.card, + })&&get.damageEffect(event.player,event.source,player,_status.event.player)>0; + }, content:function(){ trigger.num++; },