「可能ならば必ずアタックする」を timedEffect の内容 mustAttack で書く - #121
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
forceAttackThisTurn(7か所)を移し、mustAttackByCost/ByInstance を消す。「好きなだけ指定」の BS12-079 だけ旧 type に残す。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
imachan7
added a commit
that referenced
this pull request
Sep 24, 2026
## 目的
REFACTOR_PLAN §2.2 の M8(期間つき継続効果)の続き。「このターンの間、〜の『〜時』効果は発揮されない」を
`timedEffect` の内容 `suppressTrigger` で書く。
## 変わる挙動
- 次の2種(2か所)を移し、旧 type を消した
| 旧 type | カード | 新しい書き方 |
| :-- | :-- | :-- |
| `suppressTriggerThisTurn` | ユーサネイジア(相手の『破壊時』) | `suppressTrigger {
trigger: "onDestroy" }`・`all: true` |
| `markSuppressTriggerThisTurn` | 月光姫マーニ Lv2(相手1体の『アタック時』) |
`suppressTrigger { trigger: "onAttack" }`・`count: 1` |
- 置き場は今のまま(1体は個体の `suppressedTriggersThisTurn`、すべては
`state.triggerSuppressionThisTurn`)
- **小さな変化1つ**(#121
と同じ):月光姫マーニで1体を指定するとき、既に同じトリガーを止められている相手のスピリットは候補から外れる
- `validate:cards` の trigger 名の検査を `timedEffect` の内容に向け直した
## テスト
- `typecheck && validate:cards && validate:notes && validate:gaps &&
smoke:quiet && build:client` 全緑(smoke 12872件・❌0)
- 新規 part378:移した2か所のカードデータを直接解決し、相手側の指定トリガーだけが止まる・実効BP最大の1体に付く・2回目は別の1体
- part316 を新しい形に
## 未決・既知の制限
- `all: true` の絞り込み(`filter`)は未対応(書くカードが無い)
---------
imachan7
added a commit
that referenced
this pull request
Sep 25, 2026
## 目的 #121・#122 で入れた「既に掛かっている相手のスピリットを候補から外す」を戻す(2026-09-25 ユーザー確認)。 ## 変わる挙動 - 1体を指定する「可能ならば必ずアタックする」(セイ・ドリガン・月光龍ストライク・ジークヴルム・白き楯の長城・スノーフレイクン・プロボケイション・機械神の加護の6枚)と、「〜の効果は発揮されない」(月光姫マーニ)で、既に同じ効果が掛かっているスピリットも選べる - 自動選択(AI・テスト)では、2回目も実効BP最大の同じ1体に掛かる(#121 以前と同じ) - 「アタック/ブロックできない」など、ほかの内容の「既に持つ個体は候補にしない」は変えない ## テスト - `typecheck && validate:cards && validate:notes && validate:gaps && smoke:quiet && build:client` 全緑(smoke 12887件・❌0) - part377・part378:自動選択では2回目も同じ1体、対話では既に掛かっている個体も候補に出る ## 未決・既知の制限 - なし
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
REFACTOR_PLAN §2.2 の M8(期間つき継続効果)の続き。「このターンの間、可能ならば必ずアタックする」を
timedEffectの内容mustAttackで書く。変わる挙動
forceAttackThisTurnの7か所を移したmustAttack・count: 1mustAttack・count: 1・filter.combined: falsemustAttack・all: true・filter.cost.max: 3mustAttackThisTurn(ターン終了で消える)、「すべて」はtimedRule。判定のshared/rules.tsのmustAttackThisTurnが両方を見る。ターン制約mustAttackByCost/mustAttackByInstanceは消したforceAttackThisTurnに残した(印は個体に書くように変更)テスト
typecheck && validate:cards && validate:notes && validate:gaps && smoke:quiet && build:client全緑(smoke 12861件・❌0)、audit:parity合格未決・既知の制限