Commit graph

21808 commits

Author SHA1 Message Date
Oleg Agafonov
10ac8ab86f Fixed toLowerCase usage 2021-02-02 19:38:54 +04:00
Oleg Agafonov
b6f6bac5e0 Refactor: overflow method naming 2021-02-02 19:26:50 +04:00
Oleg Agafonov
2393485320 * Mana increase effects - fixed that some infinite mana combos gives 0 mana on too much permanents/effects (example: Nyxbloom Ancient); 2021-02-02 19:26:49 +04:00
Evan Kranzler
cda79866ad [ZNR] a few text fixes 2021-02-02 10:24:54 -05:00
Evan Kranzler
16450f9952 [ZNC] some text fixes 2021-02-02 10:14:44 -05:00
Evan Kranzler
6ed259941a [KHC] more text fixes 2021-02-01 22:47:36 -05:00
Evan Kranzler
599309c980 [KHM] a few more text fixes 2021-02-01 22:47:36 -05:00
Oleg Agafonov
50e5809a79 New commander types support:
* [KHM] fixed legendary status of mdf cards (closes #7370, #7404, #7465, #7481);
* Game: added support of split cards as commander (signature spell);
* Game: added support of adventure cards as commander;
* Game: added support of modal double faces cards as commander;
2021-02-02 06:40:49 +04:00
Oleg Agafonov
e941ce108b [KHM] fixed Old-Growth Troll - correct addAbility usage for permanents; 2021-02-02 04:05:38 +04:00
jeffwadsworth
03979f77bb - little refactor of Hero of Bretagard condition 2021-02-01 17:40:33 -06:00
jeffwadsworth
3b8e67c670 - [KHC] Added Cosmic Intervention, Ethereal Valkyrie, Hero of Bretagard, and Ranar, the Ever-Watchful. 2021-01-31 23:23:55 -06:00
Evan Kranzler
14f7c02b1f [KHM] fixed Codespell Cleric not triggering correctly 2021-01-31 21:26:27 -05:00
Evan Kranzler
b45c176a84 [KHM] fixed an issue with Arni Brokenbrow not counting all other creatures on the battlefield 2021-01-31 20:41:59 -05:00
Evan Kranzler
950f1c9731 [KHM] fixed missing Raven Wings ability 2021-01-31 20:37:27 -05:00
Evan Kranzler
df38d7213e [KHC] text fixes 2021-01-31 15:01:02 -05:00
Oleg Agafonov
2d96d36ec8 AsThough effects improves and fixes:
* AsThough: added documentation about code usage and restrictions;
* AsThough: added additional checks for correct usage;
* AsThough: simplified some code;
* PlayFromNotOwnHandZoneTargetEffect - added permanents support as targets;
* Release to the Wind - fixed that it can't cast exiled cards (#7415, #7416);
* Test framework: fixed that checkExileCount checking card's owner;
* GUI: fixed typo in Trample card icons;
2021-01-31 22:32:23 +04:00
Evan Kranzler
9d84a22412 [KHM] fixed Doomskar Titan giving noncreature permanents haste 2021-01-31 12:06:29 -05:00
Evan Kranzler
ec888cb21c [FUT] fixed Keldon Megaliths not tapping as a cost (fixes #7458) 2021-01-31 12:01:31 -05:00
Evan Kranzler
f9dfb56d4e [KHM] more text fixes 2021-01-31 11:28:44 -05:00
Oleg Agafonov
8f4d3d9673 [KHM] improved Tergrid, God of Fright: ask steps info, AI support; 2021-01-31 06:59:29 +04:00
Oleg Agafonov
e5863eb99f [KHM] fixed GreatestSharedCreatureTypeCount's rollback errors; 2021-01-31 06:19:25 +04:00
Oleg Agafonov
f3aefffbe8 [KHM] fixed Ascent of the Worthy - wrong damage event type; 2021-01-31 06:12:55 +04: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
Evan Kranzler
20d8b97941 [KHC] added reprints 2021-01-30 11:26:03 -05:00
Evan Kranzler
bcdaebf3ee fixed some more text 2021-01-30 11:08:35 -05:00
Evan Kranzler
b33bf171f8 changed library searching text to be in line with more cards 2021-01-30 10:28:08 -05:00
Evan Kranzler
caeac0bf3c [KHM] more text fixes 2021-01-30 09:36:34 -05:00
Evan Kranzler
ed662a335b [KHM] some additional text fixes 2021-01-30 08:54:14 -05: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
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
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
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
dca4900233 [KHM] fixed Toralf's Hammer not working correctly (fixes #7441) 2021-01-24 16:38:05 -05:00
Evan Kranzler
a3133089e7 [CMR] fixed Sakashima of a Thousand Faces error (fixes #7440) (fixes #7420) (fixes #7403) 2021-01-24 16:10:06 -05:00
Evan Kranzler
83c103f17f [KHM] Implemented Karfell Harbinger 2021-01-24 15:44:03 -05:00
Oleg Agafonov
2e3271316a Fixed test 2021-01-24 11:08:03 +04:00
Oleg Agafonov
2c00c38504 * Bend or Break - fixed that pile choosing can be skipped; 2021-01-24 10:52:14 +04:00
Jeff
799acb0fcd - removed test code 2021-01-23 21:30:35 -06:00
Jeff
79a2815aef - [KHM} - Added Alrund, God of the Cosmos 2021-01-23 21:26:37 -06:00
Evan Kranzler
9f87839ca6 [KHC] Implemented Stoic Farmer 2021-01-23 19:59:29 -05:00
Evan Kranzler
d0a0061915 [KHC] Implemented Pact of the Serpent 2021-01-23 19:51:43 -05: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
Evan Kranzler
f826bb1aa5 [KHM] Implemented Sage of the Beyond 2021-01-22 13:26:54 -05:00
Evan Kranzler
92bddc1565 [KHC] Implemented Ruthless Winnower 2021-01-22 13:17:48 -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
jeffwadsworth
08da78d184 - fixed Szat's Will. 2021-01-22 10:49:14 -06: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
2556fc242d [KHC] Implemented Crown of Skemfar 2021-01-22 10:33:17 -05:00
Evan Kranzler
747c1c096c [KHC] Implemented Lathril, Blade of the Elves 2021-01-22 10:13:22 -05:00
Evan Kranzler
7eff63d68e [KHC] Implemented Spectral Deluge 2021-01-22 10:02:38 -05:00
Evan Kranzler
36c52c0ece [KHC] Implemented Elderfang Venom 2021-01-22 09:51:46 -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
Evan Kranzler
e4387ad76d [KHM] Implemented Icebreaker Kraken 2021-01-21 18:14:27 -05:00
Evan Kranzler
e5344b7a96
Refactoring snow mana to allow tracking how much is spent (Ready for Review) (#7406)
* refactored mana methods to WUBRG order

* more WUBRG refactoring

* added new mana tracking object

* fixed code error

* fixed missing mana count

* fixed null pointer exception in tests

* fixed issue with equality

* more equality fixes

* some cosmetic changes to ManaTest

* added copy method to setToMana

* fixed some initialization issues

* fixed serialization issue

* [KHM] Implemented Search for Glory

* updated mana handling to track snow

* added tests for snow mana tracking

* updated implementation of setter methods

* updated paramater to use copy methods

* fixed snow mana test to ensure proper mana tapping

* replaced instances of getPayment with getUsedManaToPay

* updated tracking of snow mana

* reverted snow mana tracking removal

* finished reverting change
2021-01-21 18:13:51 -05:00
Evan Kranzler
68807ff34f [KHM] fixed Battershield Warrior missing P/T (fixes #7423) 2021-01-21 12:48:08 -05:00
Evan Kranzler
9a8eed0446 [KHM] Implemented Struggle for Skemfar 2021-01-21 10:44:56 -05:00
Evan Kranzler
8d0d2d8c61 [KHM] Implemented Depart the Realm 2021-01-21 10:41:35 -05:00
Evan Kranzler
dea6d84ab8 [KHM] Implemented Mistwalker 2021-01-21 10:41:34 -05:00
Daniel Bomar
edfbfac5e6
[KHM] Implemented Righteous Valkyrie (#7414) 2021-01-21 10:41:07 -05:00
Daniel Bomar
30b3e2e658
[KHM] Implemented Resplendent Marshal (#7419) 2021-01-21 10:40:31 -05:00
Daniel Bomar
0099887a80
[KHM] Implemented Draugr Recruiter 2021-01-21 09:13:19 -06:00
Evan Kranzler
b399043fe8 [KHM] Implemented Dragonkin Berserker 2021-01-21 10:02:13 -05:00
Evan Kranzler
fc4bc0bf92 [KHM] Implemented Icebind Pillar 2021-01-21 09:49:25 -05:00
Evan Kranzler
4b80e9db19 [KHC] updated spoiler 2021-01-21 09:37:58 -05:00
Evan Kranzler
3eff39996f [KHC] added set 2021-01-20 20:50:28 -05:00
Evan Kranzler
e6b9b9bdf0 [KHM] updated spoiler 2021-01-20 20:36:44 -05:00
jeffwadsworth
14c5bf9a62 - [KHM} Added Valor of the Worthy 2021-01-20 14:49:59 -06:00
Daniel Bomar
91003b79dd
[KHM] Implemented Great Hall of Starnheim 2021-01-20 09:52:01 -06:00
Daniel Bomar
5f3a433e41
[KHM] Implemented Bind the Monster 2021-01-20 09:52:01 -06:00
jeffwadsworth
fa33561dda - refactored Tergrid, God of Fright to allow the controller to choose the order of the cards entering the battlefield from the graveyard. 2021-01-20 08:46:48 -06:00
Evan Kranzler
0247f101af [KHM] Implemented Rune of Speed 2021-01-19 21:10:52 -05:00
Evan Kranzler
c908ba5d0e [KHM] Implemented Rune of Sustenance 2021-01-19 21:06:28 -05:00
Evan Kranzler
4d56c41842 [KHM] Implemented Rune of Mortality 2021-01-19 21:01:31 -05:00
Evan Kranzler
0d598c7383 [KHM] Implemented Rune of Might 2021-01-19 20:58:50 -05:00
Evan Kranzler
4153133d65 [KHM] Implemented Vengeful Reaper 2021-01-19 20:43:50 -05:00
Evan Kranzler
9979839720 [KHM] Implemented Priest of the Haunted Edge 2021-01-19 20:41:39 -05:00
Evan Kranzler
a135e1c5fe [KHM] Implemented Mists of Littjara 2021-01-19 20:33:26 -05:00
Evan Kranzler
afa13f2cc4 [KHM] Implemented Elven Bow 2021-01-19 20:28:22 -05:00
Daniel Bomar
b5495a6465
[KHM] Tergrid, God of Fright - Fixed mana cost 2021-01-19 18:40:00 -06:00
Evan Kranzler
17b455426e [KHM] updated spoiler 2021-01-19 19:28:30 -05:00
jeffwadsworth
b6ff2bb01d - removed testing code from Tergrid, God of Fright 2021-01-19 17:36:27 -06:00
jeffwadsworth
61db3d22bb - [KHM] Added Tergrid, God of Fright 2021-01-19 17:34:09 -06:00
Daniel Bomar
99558dfc22
[JUD] Implemented Grip of Amnesia 2021-01-19 10:01:25 -06:00
jeffwadsworth
2a23e81e9c - refactor a few parts of Valki, God of Lies and its emblem 2021-01-19 09:28:00 -06:00
Evan Kranzler
2efa8e4356 [KHM] Implemented Svella, Ice Shaper 2021-01-19 09:30:04 -05:00
Evan Kranzler
11f8a0d3b1 [KHM] Implemented Battle Mammoth 2021-01-19 09:08:09 -05:00
Evan Kranzler
080ea2268c [KHM] Implemented Surtland Frostpyre 2021-01-19 09:01:21 -05:00
Evan Kranzler
63c3664629 [KHM] Implemented Crippling Fear 2021-01-19 08:55:34 -05:00
Evan Kranzler
2dc53bba18 [KHM] Implemented Reflections of Littjara 2021-01-19 08:48:43 -05:00
Evan Kranzler
6837a02518 [KHM] Implemented Birgi, God of Storytelling 2021-01-19 08:42:36 -05:00
Evan Kranzler
8e47f00716 [KHM] Implemented Starnheim Courser 2021-01-19 08:16:54 -05:00
Evan Kranzler
58f1232b31 [KHM] Implemented Shackles of Treachery 2021-01-18 21:29:21 -05:00
Daniel Bomar
da84120304
[KHM] Implemented Tibalt's Trickery (#7408)
* [KHM] Implemented Tibalt's Trickery

* [KHM] Tibalt's Trickery - Exile all cards at once
2021-01-18 21:28:52 -05:00