pixels fix

This commit is contained in:
Spmario233 2023-09-28 13:39:29 +08:00
parent d1cf082131
commit 2599f5725c
2 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var len=[1,2,3,4,5].reduce((p,c)=>p+target.countEmptySlot(c),0);hp=target.getHp();
var forced=false;
if(len==0) forced=true;
if(hp==0){
if(hp==0||target.countCards('h')<hp){
if(forced) event.finish();
else event._result={bool:false};
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB