Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Future proofing mana base for 4 color generated decks #6730

Closed
wants to merge 4 commits into from

Conversation

GroundThing
Copy link
Contributor

When generating 4 color decks, the code did not generate any dual lands for the color combo of index 2 and 3 in the colors array. While there are currently no enemies that generate 4 color decks, this change would future proof such decks, in case any 4 color deck templates are added.

When generating 4 color decks, the code did not generate any dual lands for the color combo of index 2 and 3 in the colors array. While there are currently no enemies that generate 4 color decks, this change would future proof such decks, in case any 4 color deck templates are added.
@tehdiplomat
Copy link
Contributor

Error: COMPILATION ERROR :
[INFO] -------------------------------------------------------------
Error: /home/runner/work/forge/forge/forge-gui-mobile/src/forge/adventure/util/CardUtil.java:[610,17] cannot find symbol


base.subTypes = new String[]{landName.get(0),landName.get(1)};
sub1.subTypes = new String[]{landName.get(0),landName.get(2)};
sub2.subTypes = new String[]{landName.get(0),landName.get(3)};
sub3.subTypes = new String[]{landName.get(1),landName.get(2)};
sub4.subTypes = new String[]{landName.get(1),landName.get(3)};
rewards.addAll(Arrays.asList(sub1,sub2,sub3,sub4));
sub5.subtypes = new String[]{landName.get(2),landName.get(3)};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test this? The tests fail, and there's a typo here (the t in subtypes isn't capitalized)

Copy link

This PR has not been updated in a while nad has been marked on stale. Stale PRs will be auto closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants