Skip to content

Warn when selecting undersized Adventure decks - #11707

Open
Nerdslayer wants to merge 1 commit into
Card-Forge:masterfrom
Nerdslayer:adventure-minimum-deck-back-warning
Open

Warn when selecting undersized Adventure decks#11707
Nerdslayer wants to merge 1 commit into
Card-Forge:masterfrom
Nerdslayer:adventure-minimum-deck-back-warning

Conversation

@Nerdslayer

Copy link
Copy Markdown

Description

Several times when I have been playing in Adventure Mode I have opened up my deck list to update an incomplete deck and then accidentally left the incomplete deck selected. This has caused me to bring an unusable deck into combat several times, resulting in a loss. I think it is very unlikely someone would want to bring an incomplete deck into combat on purpose, so I added a warning when leaving the Adventure Mode deck-selection screen with an undersized deck selected.

The warning explains that Wastes will be added during battle to meet the minimum deck size. Players can continue leaving the screen or cancel and select/edit another deck.

The check:

  • Includes empty decks.
  • Uses Adventure Mode's configured minimum deck size.
  • Accounts for Commander Mode deck sizing.
  • Automatically wraps the warning text for portrait and landscape layouts.

Testing

  • Confirmed the warning appears for empty and undersized decks.
  • Confirmed Cancel remains on the deck-selection screen.
  • Confirmed Continue leaves the screen.
  • Compiled forge-gui-mobile and its dependencies successfully.
  • Checkstyle passed with zero violations.

AI assisted in development

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