This commit is contained in:
parent
6befe305b9
commit
433764a6b7
|
@ -20230,7 +20230,7 @@
|
||||||
if((player==_status.roundStart||_status.roundSkipped)&&!trigger.skill){
|
if((player==_status.roundStart||_status.roundSkipped)&&!trigger.skill){
|
||||||
delete _status.roundSkipped;
|
delete _status.roundSkipped;
|
||||||
game.roundNumber++;
|
game.roundNumber++;
|
||||||
ui.cardPileNumber.innerHTML=game.roundNumber+'轮 剩余牌: '+ui.cardPile.childNodes.length;
|
if(ui.cardPileNumber) ui.cardPileNumber.innerHTML=game.roundNumber+'轮 剩余牌: '+ui.cardPile.childNodes.length;
|
||||||
for(var i=0;i<game.players.length;i++){
|
for(var i=0;i<game.players.length;i++){
|
||||||
if(game.players[i].isOut()&&game.players[i].outCount>0){
|
if(game.players[i].isOut()&&game.players[i].outCount>0){
|
||||||
game.players[i].outCount--;
|
game.players[i].outCount--;
|
||||||
|
@ -37045,7 +37045,7 @@
|
||||||
ui.create.card(ui.cardPile).init(lib.card.list[i]);
|
ui.create.card(ui.cardPile).init(lib.card.list[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ui.cardPileNumber.innerHTML='0轮 剩余牌: '+ui.cardPile.childNodes.length;
|
if(ui.cardPileNumber) ui.cardPileNumber.innerHTML='0轮 剩余牌: '+ui.cardPile.childNodes.length;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
click:{
|
click:{
|
||||||
|
@ -41944,7 +41944,7 @@
|
||||||
}
|
}
|
||||||
list.push(ui.cardPile.removeChild(ui.cardPile.firstChild));
|
list.push(ui.cardPile.removeChild(ui.cardPile.firstChild));
|
||||||
}
|
}
|
||||||
ui.cardPileNumber.innerHTML=game.roundNumber+'轮 剩余牌: '+ui.cardPile.childNodes.length;
|
if(ui.cardPileNumber) ui.cardPileNumber.innerHTML=game.roundNumber+'轮 剩余牌: '+ui.cardPile.childNodes.length;
|
||||||
if(card) return list[0];
|
if(card) return list[0];
|
||||||
return list;
|
return list;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue