From 7de2c74e4bcb8056d41e9cfc222c7a4da12be184 Mon Sep 17 00:00:00 2001 From: copcap Date: Wed, 25 Oct 2023 04:26:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=A8=E4=B8=8D=E7=96=91fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/mobile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/mobile.js b/character/mobile.js index 86f4cba9f..a1157a539 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -1068,7 +1068,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.finish(); } else{ - target.draw([1,2,3,4].reduce((p,c)=>p+target.countEmptySlot(c),0)); + target.draw(Math.max(1,[1,2,3,4].reduce((p,c)=>p+target.countEmptySlot(c),0))); } 'step 3' target.link(false);