pixels fix
This commit is contained in:
parent
d1cf082131
commit
2599f5725c
|
@ -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 len=[1,2,3,4,5].reduce((p,c)=>p+target.countEmptySlot(c),0);hp=target.getHp();
|
||||||
var forced=false;
|
var forced=false;
|
||||||
if(len==0) forced=true;
|
if(len==0) forced=true;
|
||||||
if(hp==0){
|
if(hp==0||target.countCards('h')<hp){
|
||||||
if(forced) event.finish();
|
if(forced) event.finish();
|
||||||
else event._result={bool:false};
|
else event._result={bool:false};
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Loading…
Reference in New Issue