Commit graph

26 commits

Author SHA1 Message Date
Alex W. Jackson
f67a847123 Implement collation for AKH and HOU 2021-12-30 02:41:21 -05:00
Alex W. Jackson
a323118c2e Implement collation for BFZ, OGW, KLD and AER. KLD not enabled yet since the print run data contains an apparent error 2021-12-24 16:16:34 -05:00
Alex W. Jackson
881fdcaa08 Remove no longer needed CardCriteria workaround 2021-12-24 03:05:28 -05:00
Alex W. Jackson
7926193e34
Refactor ExpansionSet and its subclasses (#8382)
* Don't purge cards-by-rarity cache between tournaments

* Move DOM and WAR specific checks out of base ExpansionSet class

* Move Battlebond specific methods out of base ExpansionSet class

* Refactor ExpansionSet and subclasses

* Zendikar boosters also only have full-art basic lands

* Fix Eldritch Moon (#8171)
2021-10-13 11:47:23 -04:00
Alex W. Jackson
7dd0ba5ce1
Fixed #8173 and #8357 (#8358) 2021-10-02 13:07:09 -04:00
Oleg Agafonov
f3e38f1026 * Images: fixed images download for some sets (ANA*, OGW, see #8082); 2021-08-06 23:56:00 +04:00
Oleg Agafonov
b6cb5cef9c Refactor: removed default comment headers 2021-02-21 08:15:16 +04:00
Mike Simons
8d08f005af Fix various hints and warnings on many set & block classes (via IntelliJ IDEA linting):
- replacing hard coded strings of set codes with reference to 'mage.sets.<set>.getInstance().getCode()' allows for set class names to no longer show as unreferenced & adds for more consistence between other block units
- various protected variables were able to be changed to private to clean up additional warnings
- some JavaDoc comments were generating warnings due to missing documentation
- removed some unused imports and unused variables
- there were multiple conditional logic checks for 'rarity != Rarity.LAND' within an if block where the outer condition was 'if rarity == Rarity.COMMON' rendering the inner condition always true and thus redundant
- a few ExpansionSet.buildDate parameters wer using octal values (eg. '03' instead of '3') which triggered some warnings
- added a booster generation test for WarOfTheSparks to make sure every booster contains a planeswalker
- added a booster generation test for ModernHorizons to make sure every booster contains a snow land
- booster generation test for Battlbond set referenced the Coldsnap set class instead of Battlebond
2019-07-18 23:28:48 -04:00
Oleg Agafonov
f594245d86 * Fixed Oath of the Gatewatch lands download from scryfall 2019-05-28 18:59:19 +04:00
Oleg Agafonov
ac8540216f Refactor: source cleanup at imports 2018-10-03 13:26:37 +04:00
Oleg Agafonov
434044eb0f * Fixed missing lands from some sets in lands/decks generation; 2018-10-03 00:54:32 +04:00
Evan Kranzler
92a6bd4748 Changed all set classes to final 2018-05-21 11:20:15 -04:00
Oleg Agafonov
3632d7afe3 Fixed 27 wrong land types (can't see or too many in boosters):
* e.g. Urza's lands counts as basic;
 * Arabian Nights: x1
 * Coldsnap: x5
 * Ice Age: x5
 * Masters Edition IV: x12
 * Oath of the Gatewatch: x4
2018-01-11 20:46:39 +04:00
igoudt
6336f82845 remove redundant cardgraphicinfo instances 2017-08-06 17:23:03 +02:00
LevelX2
cd6c7623ed * Added missing imports, imports reorg. 2017-07-23 16:29:29 +02:00
Thomas Winwood
473403d464 Add fullart/regular Wastes
As with BFZ, "a" denotes the regular-art land while "b" denotes the full-art.
2017-04-13 21:48:32 +01:00
fireshoes
55b433ae36 [AKH] Added 3/27 spoilers to mtg-cards-data.txt. Implemented several of the new cards. 2017-03-28 22:25:29 -05:00
ingmargoudt
234cfe9519 rewrote singleton to enum where applicable 2017-03-14 16:32:47 +01:00
LevelX2
3525e46514 XMage 1.4.21V2 2017-02-05 11:39:43 +01:00
JOAC69
8191a9cba0 Basic lands with multiple art not showing up #2430 2016-10-28 21:01:35 -05:00
fireshoes
89dd981075 Merge 2016-10-17 23:45:47 -05:00
JOAC69
59f88047e4 Modify cards 2016-10-04 20:06:28 -05:00
fireshoes
a2c56d821c Added a bunch of promo cards and the new sets that were announced today. 2016-05-16 23:05:31 -05:00
Quercitron
37db757c4b Fix Zendikar Expeditions lands in boostes - BFZ booster should contain only expeditions 1-25, OTG only 26-45 2016-01-22 13:07:10 +03:00
fireshoes
4bc4968716 Fixed that no BFZ basic lands were in OGW boosters. Fixed Captain's Claws to point to the BFZ Kor Ally token image. 2016-01-12 23:28:06 -06:00
fireshoes
62e0d5eeeb Added Oath of the Gatewatch and Zendikar Expeditions sets. Updated BFZ tokens and took V15 and DDP off of ignore for image download. Corrected translated named of Beastcaller Savant. Implemented Sire of Stagnation. 2015-09-17 15:34:11 -05:00