Commit 312d28d
committed
fix(draft): conspiracy cards work in custom cube drafts
- CustomLimited.parse(): merge DeckSection.Conspiracy into the card pool
so cards like Backup Plan appear in packs alongside regular cards.
- GauntletMini.startRound(): call assignConspiracies() on each player
before starting the match (LoadDraftScreen already did this; Gauntlet
mode was the missing path).
- FDeckEditor CatalogPage: pass forceCreateIfAbsent=true to
getPageForSection() in onCardActivated() and buildMenu() so the
Conspiracy tab is created on demand when a conspiracy card is drafted.
- BackupPlanService.initializeExtraHands(): guard each extra-hand draw
with a library-size check to prevent a turn-0 game loss when a player
holds multiple Backup Plans. Use getMaxHandSize() instead of hardcoded 7.1 parent be880ac commit 312d28d
2 files changed
Lines changed: 15 additions & 1 deletion
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
124 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
142 | 146 | | |
143 | 147 | | |
144 | 148 | | |
| |||
0 commit comments