phase针对翻面的history添加Skipped参数

This commit is contained in:
mengxinzxz 2024-01-13 01:03:28 +08:00
parent 3b5be746aa
commit 509be4489f
1 changed files with 6 additions and 0 deletions

View File

@ -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;