Commit graph

325 commits

Author SHA1 Message Date
Alex W. Jackson
ae481f09a6 [NEO] Add preliminary booster generation 2022-03-09 09:09:27 -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
f5177097cd Implement collation for Throne of Eldraine 2021-10-08 03:10:35 -04:00
Alex W. Jackson
384051d9eb
Make BoosterCollator not share state between tables on a server (#8312) 2021-09-23 08:06:08 -04:00
Alex W. Jackson
468bc22950
Fix Kaldheim collation (#8191)
* Fix Kaldheim common print run ratios

* Add missing cards to Kaldheim rare and land print runs
2021-09-05 01:25:37 +04:00
Evan Kranzler
073ec1cdb9 changed collation to strings to allow non-int collector numbers 2021-02-13 09:03:52 -05:00
Evan Kranzler
8a16eda062
Implement new way to generate boosters using box mapping info (WIP) (#7529)
* [THB] added initial common/uncommon collation mechanism

* [THB] added rare/mythic and lands to pack generation

* fixed some card names

* broke out collation into its own separate classes

* built collation into ExpansionSet

* added note about collation information

* [KHM] added collation info

* updated collation to use collector number rather than name

* added shuffle to set constructor

* added some notes on collation methods
2021-02-12 17:35:28 -05:00
Evan Kranzler
5b02430837 updated ZNR and KHM boosters to use new mythic rare likelihood 2021-02-08 18:44:47 -05:00
Evan Kranzler
a90e9923f5 [KHM] fixed issues with booster collation, added test (fixes #7521) 2021-02-08 14:04:10 -05:00
Evan Kranzler
fb447d7740 [KHM] fixed some issues with pack collation (fixes #7492) 2021-02-03 09:09:30 -05:00
Evan Kranzler
4df7bc157c fixed some test failures 2021-01-30 13:21:49 -05:00
Evan Kranzler
2181eacb85 [KHM] added all printings and fixed text 2021-01-30 11:29:05 -05:00
jeffwadsworth
bc25c3d60a - [KHM] Added Cosmos Charger and Dream Devourer. Refactored ForetellAbility to work with Dream Devourer. Text fixes are required in some cases. Ignored a test for foretell. 2021-01-29 20:35:35 -06:00
Evan Kranzler
d056f6cec2 [KHM] Implemented Cosima, God of the Voyage 2021-01-28 10:50:14 -05:00
Evan Kranzler
ecd2ba588c [KHM] added snow land collation 2021-01-27 12:45:05 -05:00
Evan Kranzler
11b8078d96 [KHM] Implemented Mystic Reflection 2021-01-27 09:59:01 -05:00
Evan Kranzler
69ebe96786 [KHM] Implemented Kardur, Doomscourge 2021-01-27 09:15:21 -05:00
Jozsef Kerekes
f1bb76b40d
[KHM] Implemented King Narfi's Betrayal (#7446)
* [KHM] Implemented King Narfi's Betrayal

* [KHM] Corrected rules text for King Narfi's Betrayal

* [KHM] Allow adventure cards to go on adventures when exiled with King Narfi's Betrayal

* CanPlayCardControllerEffect - Fixed handling of Adventure/Split Cards

* [KHM] King Narfi's Betrayal - Added null check and fixed rules text

Co-authored-by: Daniel Bomar <dbdaniel42@gmail.com>
2021-01-27 06:40:55 -06:00
Evan Kranzler
a535cb5adc
Refactoring methods which add counters to track which player adds the counters (ready for review) (#7448)
* added parameter for player adding counters to players

* added parameter for player adding counters to cards/permanents

* updated methods to use new parameter

* fixed a few initial errors

* refactored instances of cards that add counters by a player other than the controller

* fixed some instances of incorrect arguments

* refactored abilities that trigger off of a particular player adding counters

* a few more cards that were missed

* [KHM] Implemented Vorinclex, Monstrous Raider

* added test for Vorinclex, Monstrous Raider

* fixed a test failure
2021-01-26 19:06:13 -05:00
Jozsef Kerekes
c5cc99144d
[KHM] Implemented Giant Ox (#7447)
* [KHM] Implemented Giant Ox

* [KHM] Giant Ox rework after review
2021-01-26 15:31:52 -05:00
Evan Kranzler
a3b012bdf8 [KHM] Implemented Niko Defies Destiny 2021-01-26 15:17:58 -05:00
Daniel Bomar
69b78031a3
[KHM] Implemented Haunting Voyage 2021-01-26 13:59:52 -06:00
Daniel Bomar
fe84e4122a
[KHM] Implemented Starnheim Unleashed 2021-01-26 12:01:54 -06:00
jeffwadsworth
68f2a3d032 - Added ForetoldWatcher, ForetoldCondition. Added card from
weirddan455 [KHM] Poison the Cup that uses it.
2021-01-26 10:59:46 -06:00
Jozsef Kerekes
c0cb978d19
[KHM] Implemented Glimpse the Cosmos (#7444) 2021-01-25 15:06:17 -06:00
Evan Kranzler
565bb373f2 [KHM] Implemented Ascent of the Worthy 2021-01-24 19:59:21 -05:00
Daniel Bomar
2ce3ece87e
[KHM] Implemented Burning-Rune Demon (#7412) 2021-01-24 19:41:47 -05:00
Daniel Bomar
5baf2bfc60
[KHM] Implemented The Three Seasons (#7424)
Co-authored-by: Evan Kranzler <theelk801@gmail.com>
2021-01-24 19:40:29 -05:00
Evan Kranzler
d26cf5753a [KHM] Implemented Reidane, God of the Worthy 2021-01-24 19:32:13 -05:00
Evan Kranzler
f60cc6b485 [KHM] Implemented Draugr Necromancer 2021-01-24 18:56:13 -05:00
Evan Kranzler
83c103f17f [KHM] Implemented Karfell Harbinger 2021-01-24 15:44:03 -05:00
Jeff
79a2815aef - [KHM} - Added Alrund, God of the Cosmos 2021-01-23 21:26:37 -06:00
Evan Kranzler
a00f3db62a [KHM] Implemented Quakebringer 2021-01-23 19:43:36 -05:00
Evan Kranzler
5b8b89e39d [KHM] Implemented Runed Crown 2021-01-23 19:29:21 -05:00
Evan Kranzler
210c4ab576 [KHM] Implemented Glorious Protector 2021-01-23 19:18:38 -05:00
Evan Kranzler
3348231399 [KHM] foretell cards re-added 2021-01-23 16:13:27 -05:00
Evan Kranzler
d0696a2890 [KHM] Implemented Runeforge Champion 2021-01-22 16:04:58 -05:00
Evan Kranzler
7e7078b0ae [KHM] Implemented Littjara Mirrorlake 2021-01-22 15:55:03 -05:00
Daniel Bomar
c3a862d336
[KHM] Implemented Blood on the Snow (#7428)
* [KHM] Implemented Blood on the Snow

* [KHM] Blood on the Snow - Changed target text

* [KHM] Blood on the Snow - Fixed rule text
2021-01-22 13:43:33 -05:00
Daniel Bomar
a26d9b2fd0
[KHM] Implemented The Raven's Warning (#7425) 2021-01-22 13:13:20 -05:00
Evan Kranzler
ca05fb9253 [KHM] Implemented Codespell Cleric 2021-01-22 12:52:54 -05:00
Evan Kranzler
623ff23762 [KHM] Implemented Open the Omenpaths 2021-01-22 12:41:57 -05:00
Evan Kranzler
221681eaf0 [KHM] Implemented Orvar, the All-Form 2021-01-22 11:15:13 -05:00
Evan Kranzler
6d3ccfc8fa [KHM] Implemented Moritte of the Frost 2021-01-22 10:53:51 -05:00
Evan Kranzler
5654af91db [KHM] Implemented Blessing of Frost 2021-01-22 10:44:52 -05:00
Evan Kranzler
6e88c745a8 [KHM] Implemented Berg Strider 2021-01-21 19:24:09 -05:00
Evan Kranzler
567059ea82 [KHM] Implemented Boreal Outrider 2021-01-21 19:16:04 -05:00
Evan Kranzler
241ef4c6eb [KHM] Implemented Graven Lore 2021-01-21 18:45:12 -05:00
Evan Kranzler
80412ffd6e [KHM] Implemented Tundra Fumarole 2021-01-21 18:34:16 -05:00
Evan Kranzler
ede616d233 [KHM] Implemented The Bears of Littjara 2021-01-21 18:14:27 -05:00