Commit Graph

1353 Commits

Author SHA1 Message Date
austinio7116
68ad165fb1 Updated tooltip on filter to show additional cards in format
Updated restricted and banned lists from new historic formats to use semicolons instead of commas as required
2018-04-10 09:26:40 +01:00
austinio7116
a5d964a334 Updated formats to include subtype enum and made a first batch attempt to set the value
Now sorting formats by type, subtype then name
Added new "additional" property to gameformats to allow additional non printed but legal cards to be included e.g. dual lands in extended 1999
2018-04-10 07:28:31 +01:00
austinio7116
00a2a1ef4d Enabled historic/casual formats as starting pools for quest mode on desktop 2018-04-09 23:35:08 +01:00
austinio7116
49dd3c0659 Modified format filter selection options to support large numbers of historic formats in the menu - uses a similar UI to the set selector 2018-04-09 23:35:08 +01:00
austinio7116
def7ba5faf Updates to UI to separate out format filters 2018-04-09 23:35:08 +01:00
austinio7116
0636695052 Just use sanctioned formats where relevant, exclude historic formats where needed - may add these back later via new UI elements 2018-04-09 23:35:08 +01:00
austinio7116
a73667610b Added MoJhoSto variant 2018-04-02 07:19:09 +01:00
Jamin W. Collins
35d0e73901 handle null response from getPhase()
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-03-30 08:20:34 -06:00
Jamin W. Collins
434573a5f8 reflow the PhaseIndicator switch statement
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-03-30 08:11:50 -06:00
Michael Kamensky
70eec78416 Merge branch 'BrawlFormat' into 'master'
Brawl format

See merge request core-developers/forge!324
2018-03-30 06:35:07 +00:00
Jamin W. Collins
e9773e57b7 make dual list dialog sizing dynamic, like single
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-03-29 09:26:53 -06:00
austinio7116
ed564b904f Random brawl deck generator working on Desktop 2018-03-28 23:41:57 +01:00
maustin
b9aef9b317 Merge branch 'master' into BrawlFormat 2018-03-28 06:44:42 +01:00
austinio7116
ba41a27981 Corrected name of brawl deck builder button 2018-03-27 23:53:27 +01:00
KrazyTheFox
2d23ce0084 Use double quotes to prevent users with apostrophes from causing issues.
Pesky users.
2018-03-26 21:40:31 -04:00
austinio7116
5b8342188c Fixed adding planeswalker commanders from pool in android brawl deck editor 2018-03-26 22:59:16 +01:00
austinio7116
756c272821 Fixed brawl deck editor and deckformat rules for brawl 2018-03-26 20:39:34 +01:00
austinio7116
364bf3724f Added UI elements required for Brawl variant 2018-03-26 06:57:15 +01:00
Alexei Svitkine
f436fa895b Support playing against Net Decks through the Test Deck function
on mobile Forge.
2018-03-21 00:04:14 -04:00
Jamin W. Collins
a564f49381 allow human players to make mass select, sometimes
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-03-14 20:32:25 -06:00
Hanmac
e9c02edfae DamageMap: use DamageMap for RepeatEach cards and similar 2018-03-14 07:15:02 +01:00
austinio7116
b0d5834396 Improved human/AI deck switching to remember and reload selected deck if still available 2018-03-11 20:22:36 +00:00
austinio7116
9ca0d7244e Fixes to ensure deckchooser AI status is set correctly before decks are generated and that the list of card-based decks is updated to show only AI playable cards as required. 2018-03-11 07:25:43 +00:00
austinio7116
4dd52e6f82 Fixes to ensure deckchooser AI status is set correctly before decks are generated and that the list of card-based decks is updated to show only AI playable cards as required. 2018-03-11 07:20:03 +00:00
austinio7116
13ad244be1 Fixes to ensure deckchooser AI status is set correctly before decks are generated and that the list of card-based decks is updated to show only AI playable cards as required. 2018-03-10 20:23:34 +00:00
Jamin W. Collins
7615f333e1 disclose and enforce DEV_MODE state in network play
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-03-07 17:25:15 -07:00
Hans Mackowiak
83b1965733 Merge branch 'master' into 'fixes' 2018-03-07 13:59:49 +00:00
Sol
090d4dc2c5 Merge branch 'assorted-fixes' into 'master'
Attempting to fix "Copy to Clipboard" not copying e.g. dual partner commanders.

See merge request core-developers/forge!274
2018-03-07 04:02:00 +00:00
Sol
a5db48c719 Merge branch 'deckgenimprovements' into 'master'
Card-based deck generation improvements and refactoring

See merge request core-developers/forge!260
2018-03-07 03:52:05 +00:00
Hanmac
58bba637ca SimulateMatch: fixed simulateSingleMatch 2018-03-06 22:10:11 +01:00
Agetian
4ddb73e8d2 - When copying deck to clipboard, do not attempt to check the validity of zone sizes to avoid situations when exceptional, but legal deck compositions (such as two partner Commanders) are not allowed / not fully copied. 2018-03-06 22:13:04 +03:00
austinio7116
30048e7a82 Moved repeated AI slot check logic into single boolean 2018-03-05 08:26:06 +00:00
Jamin W. Collins
d8405e2fc8 move foil option to be available in all sections
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-03-03 12:08:41 -07:00
Jamin W. Collins
ed16e6f4e9 option to fully reset the OnlineLobby
Closes core-developers/forge#161

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-03-02 18:58:34 -07:00
austinio7116
edc921bf98 Fixed bug with not counting keycards as lands in the land count causing various issues. Fixed final keyword issue causing build warnings. 2018-03-02 20:09:06 +00:00
maustin
cb5791276a Fixed AI commander and tiny leader decks not being passed correct forAI boolean so including non AI playable cards. Also allowed more lands in generated decks if required. 2018-03-02 19:28:05 +00:00
Jamin W. Collins
81af09d86f ensure variants are only disabled for network play
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-03-01 04:41:30 -07:00
Jamin W. Collins
193f1f8b23 network play: enable Vanguard
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 20:03:53 -07:00
Jamin W. Collins
a5b9512fdb network play: allow readying if Momir is selected
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 20:03:53 -07:00
Jamin W. Collins
26c0df6e05 network play: fix for Commander and Tiny Leaders variants
This method is called numerous times, many before the Commander data has
been populated on the PlayerView objects.  This is reflected a few lines
above where similar logic is applied to the current PlayerView.  This
simply applies similar logic to the player's opponents.

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 18:24:19 -07:00
Jamin W. Collins
2b704e16c7 disable all network play variants
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 17:48:45 -07:00
austinio7116
aaf27f2d60 Added options to disable card based deck generation and to ensure it fails gracefully if .dat data and/or decks folder is missing 2018-02-26 23:54:27 +00:00
austinio7116
9cb1f2787c Assigning lstDecks.getGameType().getDeckFormat() to a variable so we don't have to write it out each conditional 2018-02-26 23:49:47 +00:00
austinio7116
2b54468923 Increased basic land count in random commander decks.
Fixed lobby update on variant change
2018-02-26 23:49:47 +00:00
austinio7116
e8f257d2cf Completed random commander deck generation refactoring to work on Desktop, to support partner commanders and corrected a number of bugs found during testing. Full support on android and desktop for saving of selected deck states for the new features added. 2018-02-26 23:49:47 +00:00
austinio7116
66763e537d Addition of new new random commander deck generation - both fully random decks based on a selected commander and matrix-based synergistic deck generation using a model learned from thousands of commander decks. This also includes support for commander net-decks on desktop. 2018-02-26 23:49:47 +00:00
austinio7116
6231775997 Increased basic land count in random commander decks.
Fixed lobby update on variant change
2018-02-26 23:49:47 +00:00
austinio7116
61ff4d50fd Completed random commander deck generation refactoring to work on Desktop, to support partner commanders and corrected a number of bugs found during testing. Full support on android and desktop for saving of selected deck states for the new features added. 2018-02-26 23:49:47 +00:00
austinio7116
13560e3b53 Error handling and thread timeout added to simulated matches to allow large AI tournaments without infinite length games due to loops. AI tournaments should now always finish - if the matches take too long they are scored as a draw. 2018-02-26 23:49:47 +00:00
austinio7116
52ae852953 Addition of new new random commander deck generation - both fully random decks based on a selected commander and matrix-based synergistic deck generation using a model learned from thousands of commander decks. This also includes support for commander net-decks on desktop. 2018-02-26 23:49:47 +00:00