From 7d64a0629d508531d211014c2dfb655d8c635c13 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Wed, 6 Dec 2023 23:00:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=83=A8=E5=88=86=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/standard.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/character/standard.js b/character/standard.js index ed9023aaf..2afcae560 100755 --- a/character/standard.js +++ b/character/standard.js @@ -586,17 +586,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'damageEnd'}, frequent:true, filter:function(event){ - return (event.num>0) + return event.num>0; }, async content(event, trigger, player) { event.count = trigger.num; + // event.goto -> while while (event.count > 0) { event.count--; const { cards } = await game.cardsGotoOrdering(get.cards(2)).toPromise(); if (_status.connectMode) game.broadcastAll(function () { _status.noclearcountdown = true }); event.given_map = {}; - if (!cards.length) return; + // event.goto -> do while do { const { result: { bool, links } } = cards.length == 1 ?