bugfix
This commit is contained in:
parent
9218ac1769
commit
43010c74a4
|
@ -1048,7 +1048,7 @@ game.import("character", function () {
|
||||||
return evt.getParent(4)==event;
|
return evt.getParent(4)==event;
|
||||||
}).reduce((sum,evt)=>sum+evt.num,0);
|
}).reduce((sum,evt)=>sum+evt.num,0);
|
||||||
if(num) await player.draw(num);
|
if(num) await player.draw(num);
|
||||||
if(!game.hasPlayer(current=>{
|
if(!game.hasPlayer2(current=>{
|
||||||
return current.getHistory('damage',evt=>{
|
return current.getHistory('damage',evt=>{
|
||||||
return evt.getParent(4)==event;
|
return evt.getParent(4)==event;
|
||||||
}).length;
|
}).length;
|
||||||
|
|
Loading…
Reference in New Issue