Commit graph

42 commits

Author SHA1 Message Date
LevelX2
8957128b13 * Renamed "Historical Standard" format to "Historical Type 2" and "Super Standard" to "Super Type 2". Added Chronicles to the set lists. 2015-11-25 17:29:23 +01:00
Neil Gentleman
a90d0e5597 reuse shared code for picking basic land sets 2015-11-22 18:00:10 -08:00
Simown
1bdc54556a Fixed a bug in random deck generation where generating a deck from a set
with too few cards caused an exception. Minor formatting fixes.
2015-09-03 21:30:15 +01:00
Simown
14148b25db Fixed a bug in random generation where selecting a set which had no basic lands caused an error. Partially fixes #1242 2015-09-03 19:40:12 +01:00
Simown
a6bab84c85 Generated deck name/path is now a timestamp.
Changed deck generator to use a timestamp of the current time to the millisecond as the generated deck name.
This gets rid of the random UUID filling up the deck path and generated deck name.
2015-07-19 13:39:38 +01:00
Simown
cedf16806e Fix to #1128 Deck generation throws IndexOutOfBoundsException.
Reserve cards now counted correctly.
Fixed reserve card adding algorithm to stop trying to add cards out of range.
2015-07-19 12:12:10 +01:00
Simown
6a5eb8ff83 Small fixes to constants, added header and standardised spelling 2015-07-09 01:58:45 +01:00
Simown
a1fd4e91f0 Overhaul and fix of random deck generation. 2015-07-08 23:13:21 +01:00
Nathaniel Brandes
2f476b7c53 Cleanup sets.
This is an extensive renaming of sets to their correct names. "Duel
Decks" and "Not Standard Legal" have been merged into a "Supplemental"
set type. MTGO-only sets have been put into their own set type, just
like magiccards.info. Supplemental sets now have a "block" which is the
block that they have under magiccards.info, for easier organization. The
deck builder on the client now relies on an autogenerated list instead
of a hardcoded one.
2015-05-03 20:07:13 -07:00
LevelX2
6646aaf5b2 Client memory need - Removed some unneeded references. 2014-02-13 17:12:02 +01:00
LevelX2
825277bad9 Load and save setting of deck generator. 2013-09-23 14:57:50 +02:00
LevelX2
78dc712944 Allow to generate 40 or 60 cars decks. 2013-07-30 13:42:20 +02:00
LevelX2
178b4cb158 Fixed random set for basic land definition. (Fixed issue #274) 2013-07-15 13:27:12 +02:00
LevelX2
c4f6d95f5a Fixed deck generator for client decoupling. 2013-07-10 20:07:33 +02:00
North
1b3a51484e replaced Card instances in client with MockCard 2013-06-19 22:53:53 +03:00
North
0166975e83 refactored getSetCodes to be used from ExpansionReposiitory 2013-06-18 22:46:09 +03:00
North
0bb110be45 [refactor] moved enums from Constants class 2013-06-16 12:28:10 +03:00
LevelX2
cc96a55523 Some changes to logging. 2013-03-04 00:01:12 +01:00
LevelX2
5f3a8eb360 Changed logic of adding basic lands in deck generation and the add land function in limited deck editor to use lands from the sets of the cards in the decks. Added missing attributes to set definitions. 2013-02-03 16:54:03 +01:00
North
cc306b2119 Removed CardsStorage. 2012-11-05 20:09:09 +02:00
North
25cd490be3 [CardRepository] moved Sets, DeckImporter and CardRepository to Mage Framework 2012-11-04 12:52:02 +02:00
North
08815ffb88 [CardRepository] Replaced findCard methods from Sets and ExpansionSet 2012-10-22 23:48:52 +03:00
North
ca912d4e03 Used CardRepository for DeckGenerator
Rewritten the getRandomColors method
2012-10-21 18:15:38 +03:00
LevelX2
cf88bb5ac3 Updated selected sets for "Standard" and "Selected". Added blocks to selectable Formats. Made all formats selectable in card selector, mage book and automated deck generation. 2012-10-14 10:08:16 +02:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
magenoxx
7740143e07 Added Innistrad block option to deck generator 2012-05-07 08:41:12 +04:00
magenoxx
4ab62efc38 Now it is possible to choose game format in deck generator. 2012-03-28 11:52:38 +04:00
magenoxx
446c1517cf Added random colors to deck generator. Fixed Issue 267. 2011-10-13 17:18:05 +04:00
magenoxx
f8c853fe4e Test that reproduces Issue 266. Fixed Issue 266. 2011-09-28 09:00:44 +04:00
magenoxx
935bf45c57 Enhanced deck generator: monocolor decks, card pool 3 times bigger, bonus for multicolored cards, no duplicate cards. 2011-05-20 16:40:16 +04:00
magenoxx
7edffebb5d Separated DeckGenerator and DeckBuilder. Moved DeckBuilder to mage.common (will be used by ai to construct draft decks). 2011-01-13 19:53:24 +03:00
BetaSteward
f74df18cc9 still more Deck Editor changes 2011-01-11 15:51:57 -05:00
magenoxx
d1ca72d0e7 New Deck Generator that builds stronger random decks + better mana fixing. 2010-12-30 00:46:38 +03:00
magenoxx
7bc6a97a44 [deck.generator] Added Set.findCard(name, random). Now decks contain random basic lands (against previous M11 only). 2010-12-26 22:38:22 +03:00
BetaSteward
ba8532ea86 deck format change 2010-12-15 23:50:52 -05:00
magenoxx
168c8dc294 Fixed DeckGenerator that included rated cards that didn't fit chosen colors. 2010-12-09 09:08:09 +00:00
magenoxx
b20b572f60 Fixed Deck generator that put very high rated cards even if they didn't fit the selected colors. Fixed bug in grouping attachments. 2010-12-05 14:08:55 +00:00
magenoxx
881f162056 Setting "Limited" deck type as default. 2010-12-05 09:02:26 +00:00
magenoxx
50df25489e DeckGenerator started to use card ratings to build more strong decks. 2010-12-05 08:42:15 +00:00
magenoxx
770e5673f5 Now random decks contain non basic lands. 2010-12-01 21:55:37 +00:00
magenoxx
6d589abe6d Removed MessageBox displayed after deck was generated. removed splash screen closing (caused exception time to time). updated plugin. 2010-11-30 21:04:53 +00:00
magenoxx
2987d15b4e Aded Random deck generation to Mage.Client start up dialog. Also now all cards on client can be fetched using CardsStorage.getAllCards() method. 2010-11-30 16:16:54 +00:00