Remove Chaos mode option from Realm of Legends#10224
Open
MostCromulent wants to merge 1 commit intoCard-Forge:masterfrom
Open
Remove Chaos mode option from Realm of Legends#10224MostCromulent wants to merge 1 commit intoCard-Forge:masterfrom
MostCromulent wants to merge 1 commit intoCard-Forge:masterfrom
Conversation
Chaos mode generates random 60-card preconstructed decks, which is incompatible with Realm of Legends' 98-card minimum deck size requirement. Add an allowChaos config flag (default true) so individual adventures can opt out. Set it to false for Realm of Legends. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
Looks good to me |
Agetian
approved these changes
Mar 31, 2026
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.
Summary
Closes #10214
Addresses @VigilantSera request in #10214 — Chaos mode generates random 60-card preconstructed decks, incompatible with Realm of Legends' 98-card minimum deck size.
allowChaosconfig flag toConfigData(defaulttrue), consistent with the existingenableGeneticAIflag patternNewGameScenebehind this flag, matching how Precon/CommanderPrecon modes are conditionally addedallowChaos: falsein Realm of Legends'config.jsonNotes
true, so all other adventures are unaffected. Existing Realm of Legends saves are also unaffected — the flag only controls the new game screen mode picker, not gameplay or save loading.allowChaosfollows the same pattern asenableGeneticAI— a public boolean onConfigDatawith a default value, read directly inNewGameScene.🤖 Generated with Claude Code