Skip to content

收口 Smash Up Card Resolution Order 与基地计分时序#6

Open
deathcats4 wants to merge 14 commits into
mainfrom
codex/smashup-extra-play-timing
Open

收口 Smash Up Card Resolution Order 与基地计分时序#6
deathcats4 wants to merge 14 commits into
mainfrom
codex/smashup-extra-play-timing

Conversation

@deathcats4

Copy link
Copy Markdown
Owner

变更摘要

  • 收口 Smash Up Card Resolution Order 主线,统一 smashupReactionSession / smashup_reaction_choose 的规则裁决
  • 修正基地计分链中的 �eforeScoring / meFirst / afterScoring 时序、mandatory 优先和 optional 顺时针轮询
  • 修正 afterScoring deferred post-scoring 事件重复补发问题,并补齐相关回归
  • 清理本轮涉及文件的 UTF-8 编码问题,移除 BOM 和 replacement-char 乱码

主要覆盖

  • 基地计分与多基地结算
  • meFirst / afterScoring 响应窗口与统一交互入口
  • 触发快照、LKI、base replace 后的已入队触发
  • onMinionPlayed / onTurnStart / onTurnEnd / onActionPlayed 的统一反应顺序

已验证

pm run check:encoding:strict

pm run typecheck

px vitest run src/games/smashup/tests/afterScoring-rescoring.test.ts src/games/smashup/tests/response-window-skip.test.ts src/games/smashup/tests/commandsValidation.test.ts src/games/smashup/tests/afterscoring-response-window-execution.test.ts

px vitest run src/games/smashup/tests/commandsValidation.test.ts src/games/smashup/tests/afterscoring-response-window-execution.test.ts src/games/smashup/tests/afterscoring-window-skip-base-clear.test.ts src/games/smashup/tests/meFirst.test.ts src/games/smashup/tests/reactionQueueBaseAbilities.test.ts src/games/smashup/tests/reactionQueueBaseOptionalClockwise.test.ts src/games/smashup/tests/reactionQueueBaseReplaceLki.test.ts src/games/smashup/tests/reactionQueueOnBaseRevealed.test.ts src/games/smashup/tests/reactionQueueOnMinionDiscardedFromBase.test.ts src/games/smashup/tests/reactionQueueOnMinionPlayed.test.ts src/games/smashup/tests/reactionQueueOnTurnStart.test.ts src/games/smashup/tests/reactionQueueOrdering.test.ts src/games/smashup/tests/newFactionAbilities.test.ts src/games/smashup/tests/ninja-hidden-ninja-no-minions.test.ts src/games/smashup/tests/pirate-cove-chain-fix.test.ts

说明

  • 本分支只推送已提交历史,不包含本地工作区其他未提交改动。

@deathcats4 deathcats4 force-pushed the codex/smashup-extra-play-timing branch from d79dfa4 to f24fb72 Compare April 12, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants