Skip to content

バトルの比較基準・勝敗反転を timedEffect の内容 compareBy/invertBattleWinner で書く - #120

Merged
imachan7 merged 2 commits into
mainfrom
chore/timed-battle-compare
Sep 24, 2026
Merged

imachan7 merged 2 commits into
mainfrom
chore/timed-battle-compare

Conversation

@imachan7

@imachan7 imachan7 commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

目的

REFACTOR_PLAN §2.2 の M8(期間つき継続効果)の続き。「このバトルの間、BPの代わりに Lv/コアの数/コストを比べる」「BPの高い方が破壊される」を timedEffect の内容で書く。

変わる挙動

  • 挙動は変えない。次の4種(6か所)を移し、旧 type を消す
    旧 type カード 新しい書き方
    battleCompareByLevel エンジェルボイス・エンジェドール・ペンタン帝国:帝都アンプルール compareBy { by: "level" }
    battleCompareByCores イマジンフィールド compareBy { by: "cores" }
    battleCompareByCost ノックアウト compareBy { by: "cost" }
    battleInvertBpWinner カオティック・リクゴー invertBattleWinner
  • 期間は battle、置き場は今の state.battle.compareBy*/invertBpWinner のまま。バトル外は不発

テスト

  • typecheck && validate:cards && validate:notes && validate:gaps && smoke:quiet && build:client 全緑(smoke 12847件・❌0)
  • 新規 part376:移した6か所のカードデータを直接解決し、正しい印だけが立つこと・バトル外で不発になること
  • part12・129・254・350 はコメントの旧名だけ修正(カードデータ経由なのでそのまま通る)

未決・既知の制限

  • なし(§A の残りは「として扱う」・効果の借用など)

imachan7 and others added 2 commits September 25, 2026 00:10
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
旧 battleCompareByLevel/Cores/Cost・battleInvertBpWinner(6か所)を移して消す。挙動は変えない。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@imachan7
imachan7 merged commit 7483ae4 into main Sep 24, 2026
2 checks passed
@imachan7
imachan7 deleted the chore/timed-battle-compare branch September 24, 2026 15:20
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.

1 participant