phase针对翻面的history添加Skipped参数
This commit is contained in:
parent
3b5be746aa
commit
509be4489f
|
@ -2484,6 +2484,12 @@ export const Content = {
|
||||||
event.cancel();
|
event.cancel();
|
||||||
player.turnOver();
|
player.turnOver();
|
||||||
player.phaseSkipped = true;
|
player.phaseSkipped = true;
|
||||||
|
var players = game.players.slice(0).concat(game.dead);
|
||||||
|
for (var i = 0; i < players.length; i++) {
|
||||||
|
var current = players[i];
|
||||||
|
current.getHistory().isSkipped = true;
|
||||||
|
current.getStat().isSkipped = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
player.phaseSkipped = false;
|
player.phaseSkipped = false;
|
||||||
|
|
Loading…
Reference in New Issue