Commit graph

33179 commits

Author SHA1 Message Date
Oleg Agafonov
bf7306bee2
Merge pull request #7467 from magefree/card-icons-and-reworked-gui
* GUI: new reworked GUI and card render engine, card icons and other
2021-01-30 14:46:17 +01:00
Oleg Agafonov
2fe2f05b60 GUI: added preferences settings for card icons (enable abilities icons and playable icon); 2021-01-30 17:34:10 +04:00
Oleg Agafonov
a1da5ef437 * GUI: new reworked GUI and card render engine, card icons and dozens of other fixes (see full list in related PR); 2021-01-30 16:38:55 +04:00
Oleg Agafonov
df98cc3e62 [KHM] foretell improves (related to bc25c3d60a):
* reverted code format of AsThoughEffectType;
 * fixed disabled test;
 * added test for Dream Devourer;
 * simplified some code;
2021-01-30 11:21:51 +04: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
d5822a7246 [KHM] various text fixes 2021-01-29 17:37:56 -05:00
Evan Kranzler
7c68284173 [KHC] fixed Spectral Deluge looking at power rather than toughness (fixes #7464) 2021-01-29 12:06:11 -05:00
Evan Kranzler
47f289fb34 [MIR] Implemented Unerring Sling (#7459) 2021-01-29 09:23:42 -05:00
Oleg Agafonov
91bac931b7 [KHM] fixed Vorinclex, Monstrous Raider - can't double counters on planeswalkers (#7463); 2021-01-29 17:41:49 +04:00
Oleg Agafonov
6f2ce47885 Tests: added verify test for wrong mdash usage and fixed related cards (#7457), added tests for (#7460); 2021-01-29 11:35:13 +04:00
Evan Kranzler
bed690cc12 [KHM] fixed an issue with Lathril, Blade of the Elves (fixes #7461) 2021-01-28 22:51:06 -05:00
Evan Kranzler
633a192e20 [KHM] fixed The Omenkeel not exiling cards 2021-01-28 16:28:12 -05:00
Evan Kranzler
88b8efefe5 [MIR] Implemented Meddle 2021-01-28 15:03:13 -05:00
Evan Kranzler
8a4bc80fa8 [MIR] Implemented Dream Fighter 2021-01-28 14:43:37 -05:00
Evan Kranzler
9d5ffd541e [KHM] a few small changes to Cosima, God of the Voyage 2021-01-28 13:06:50 -05:00
Evan Kranzler
d056f6cec2 [KHM] Implemented Cosima, God of the Voyage 2021-01-28 10:50:14 -05:00
Evan Kranzler
af5331a9e4 [KHM] small change to Vorinclex, Monstrous Raider to prevent modifying counters on cards not on the battlefield 2021-01-28 09:43:07 -05:00
Evan Kranzler
ecd2ba588c [KHM] added snow land collation 2021-01-27 12:45:05 -05:00
Evan Kranzler
6155efe830 [KHC] Implemented Serpent's Soul-Jar 2021-01-27 12:02:33 -05:00
Evan Kranzler
08090ee7aa [KHC] Implemented Bounty of Skemfar 2021-01-27 12:01:51 -05:00
Evan Kranzler
af8ae39f77 [KHC] Implemented Tales of the Ancestors 2021-01-27 11:26:00 -05:00
Daniel Bomar
ed6b7aeb19
[KLD] Gonti, Lord of Luxury - Add "Look at" effect to ETB and remove
static ability
2021-01-27 09:34:39 -06:00
Evan Kranzler
826e509ee6 [KHM] Implemented Wolverine Riders 2021-01-27 10:12:08 -05:00
Evan Kranzler
11b8078d96 [KHM] Implemented Mystic Reflection 2021-01-27 09:59:01 -05:00
Evan Kranzler
b21e3e36a2 [KHM] fixed Draugr Necromancer exiling controller's cards rather than opponent's (fixes #7452) 2021-01-27 09:23:41 -05:00
Evan Kranzler
c1719d06d1 [KHM] fixed Old-Growth Troll rollback error (fixes #7453) 2021-01-27 09:20:38 -05:00
Evan Kranzler
a373d326e5 [KHM] fixed Masked Vandal not working correctly (fixes #7454) 2021-01-27 09:19:10 -05:00
Evan Kranzler
69ebe96786 [KHM] Implemented Kardur, Doomscourge 2021-01-27 09:15:21 -05:00
Daniel Bomar
bb1a63ea48
Gonti & Thief of Sanity - Do not allow to play land half of MDFCs 2021-01-27 07:52:56 -06:00
Daniel Bomar
eae954d0c5
Merge pull request #7451 from varaghar/adventure-cards-from-exile
Allow 'Gonti, Lord of Luxury', 'Nightveil Specter' and 'Thief of Sanity' to cast adventures from exile
2021-01-27 06:47:09 -06: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
Jozsef.Kerekes
e747b12659 Allow 'Gonti, Lord of Luxury', 'Nightveil Specter' and 'Thief of Sanity' to cast adventures from exile 2021-01-27 11:15:36 +02:00
Oleg Agafonov
e3db50f111 * Double faces and adventure cards: improved support with some "exile and cast" effects like Hostage Taker (#7446); 2021-01-27 10:13:10 +04:00
Daniel Bomar
43014f7f5e
[KHM] Haunting Voyage - Fixed missing @Override 2021-01-26 20:48:11 -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
Evan Kranzler
4db79ae3c1 [MIR] fixed Jungle Wurm calculating incorrectly (fixes #7449) 2021-01-26 17:05:32 -05:00
Evan Kranzler
3d8d85fbbd [MIR] fixed Wall of Resistance not triggering correctly (fixes #7450) 2021-01-26 17:01:03 -05:00
Evan Kranzler
13ce938fd0 [KHM] added test for Giant Ox 2021-01-26 15:51:35 -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
Evan Kranzler
dacf30f4b9
Refactoring subtypes to make Maskwood Nexus work (ready for review) (#7432)
* removed and renamed SubTypeList

* updated subtype test

* refactored Changeling to be an ability that actually does something

* moved isAllCreatureTypes into SubTypes class

* renamed copyTo method to copyFrom

* added removeAllCreatureTypes where usable

* replaced some subtype methods

* replaced some more subtype methods

* replaced subtype mass add/remove methods

* updated more subtype methods

* fixed some errors

* made common shared creature type predicate

* refactored another card involving subtypes

* Added usage of object attribute in subTypes's write operations;

* Refactor: use same param styles in subtype methods

* Refactor: simplified usage of copy appliers;

* Refactor: fixed code usage in CopyApplier

Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2021-01-26 08:52:35 -05:00
Jeff
6f42b90305 - Added another sanity check for Foretell keyword. 2021-01-25 21:32:43 -06:00
Jeff
dbf0789238 - Fixed test 2021-01-25 19:13:46 -06:00
Jozsef Kerekes
c0cb978d19
[KHM] Implemented Glimpse the Cosmos (#7444) 2021-01-25 15:06:17 -06:00
jeffwadsworth
3f42d24e2c - Fixed Foretell keyword. #7439 #7442 2021-01-25 14:37:48 -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