Oleg Agafonov
9268281c4b
Tests: fixed random gen deck
2018-01-27 15:49:24 +04:00
Oleg Agafonov
9d131f6bde
Random generated decks improvements and fixes for AI:
...
* added generation of only basic lands decks;
* fixed wrong color cards selection;
2018-01-27 13:19:03 +04:00
ingmargoudt
234cfe9519
rewrote singleton to enum where applicable
2017-03-14 16:32:47 +01:00
vraskulin
0557b5e89c
list.size > 0 changed to !list.isEmpty
...
We care about if it's empty or not, not about it's size
2017-02-06 14:32:51 +03:00
vraskulin
f60ebfbb1f
All 1-character strings converted to primitives
...
"b" + "r" now changed to 'b' + 'w'. It's more straight-forward, and may cause perfomance improvements - character primitives allocation is faster and less expensive than string creation.
2017-02-06 14:32:51 +03:00
vraskulin
c526306c5b
Refactoring
...
See github line by line comments in 'File changed'
2016-12-29 15:26:19 +03:00
JOAC69
e8230946af
Remove use of card classes for duplicate cards. Remove set related information from being tied to card classes.
2016-10-04 19:58:48 -05:00
LevelX2
7c4b40073c
Fixed some exception problems (deck layout, mana symbols).
2016-10-04 23:57:11 +02:00
Mark Langen
f6d50ce04f
Various new Drag & Drop deck editor improvements
...
* Shift-Click / Shift-Drag now work as expected as far as multi-selection
* Deck editor saves split pane split positions
* Card layout and sort settings are now saved along side the a deck when saving to the .dck format, so that you have back the exact same deck layout when you re-load the deck.
* Fixed the symbol image downloader to work around some of the large-size symbol images being missing on gatherer. Falls back to the medium sized images currently for those symbols.
2016-10-04 00:09:51 -06:00
Lymia Aluysia
e5af2b843b
Move the custom set flag to setType.
2016-09-24 17:03:04 -05:00
Lymia Aluysia
74a017586a
Exclude custom sets from constructed formats.
2016-09-24 14:15:47 -05:00
Lymia Aluysia
3c2dd8d335
Made ClassScanner classloader aware.
2016-09-24 11:31:26 -05:00
LevelX2
d7dd635bca
Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…"
2016-09-16 23:55:54 +02:00
ingmargoudt
f1cf9e7adb
introduced StringUtil class with .isEmpty(String input) and .isNotEmpty(String input), to replace str != null && str.length()>0 statements
2016-09-16 21:23:31 +02:00
ingmargoudt
e2a479255a
refactor : removed all instances of new Random() and replaced with RandomUtil for a ThreadLocal randomizer
2016-09-05 15:03:47 +02:00
fwannmacher
10778cdd6b
- Converted CardImpl.cardNumber from int to String
...
- Fixed Issue #1953
- Fixed Issue #1914
- Fixed Issue #739
2016-07-24 15:18:54 -03:00
poixen
46eb6c0525
Restructured Mage module
2015-11-29 21:56:49 +01:00