diff --git a/noname/library/element/contents.js b/noname/library/element/contents.js index ec9d5f332..d322eab06 100644 --- a/noname/library/element/contents.js +++ b/noname/library/element/contents.js @@ -8,6 +8,11 @@ import { GNC as gnc } from '../../gnc/index.js'; export const Contents = { phase: [ + async (event) => { + //规则集中的“回合开始后③(处理“游戏开始时”的时机)” + //提前phaseBefore时机解决“游戏开始时”时机和“一轮开始时”先后 + event.trigger('phaseBefore'); + }, async (event, _trigger, player) => { // 初始化阶段列表 if (!event.phaseList) { @@ -82,10 +87,6 @@ export const Contents = { //规则集中的“回合开始后②(1v1武将登场专用)” event.trigger('phaseBeforeStart'); }, - async (event) => { - //规则集中的“回合开始后③(处理“游戏开始时”的时机)” - event.trigger('phaseBefore'); - }, async (event) => { //规则集中的“回合开始后④(卑弥呼〖纵傀〗的时机)” event.trigger('phaseBeforeEnd'); @@ -96,6 +97,12 @@ export const Contents = { event.cancel(); player.turnOver(); 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 { player.phaseSkipped = false;