Commit graph

22274 commits

Author SHA1 Message Date
Evan Kranzler
02fd895900 [STX] Implemented Quandrix Campus 2021-03-31 07:15:37 -04:00
Evan Kranzler
530854dd57 [STX] Implemented Sudden Breakthrough 2021-03-30 21:59:07 -04:00
Evan Kranzler
0b6d2c8984 [STX] Implemented Resculpt 2021-03-30 21:56:16 -04:00
Evan Kranzler
4f1b0a4b90 [STX] Implemented Multiple Choice 2021-03-30 21:53:37 -04:00
Evan Kranzler
c43dd6a1a9 [STX] Implemented Prismari Pledgemage 2021-03-30 21:42:21 -04:00
Evan Kranzler
f6dabece21 [STX] Implemented Culmination of Studies 2021-03-30 21:08:06 -04:00
Evan Kranzler
a929b86a59 [STX] Implemented Igneous Inspiration 2021-03-30 20:57:32 -04:00
Evan Kranzler
c5feb3ba23 [STX] Implemented Mage Hunter 2021-03-30 20:53:03 -04:00
Evan Kranzler
1adde04352 [STX] Implemented Solve the Equation 2021-03-30 20:41:42 -04:00
Evan Kranzler
8dc0bbc35c [STX] Implemented Prismari Campus 2021-03-30 20:36:37 -04:00
Evan Kranzler
b79787f624 [STX] updated spoiler 2021-03-30 20:35:28 -04:00
Evan Kranzler
2567e56db8 [STX] Implemented Thunderous Orator 2021-03-30 20:34:32 -04:00
Evan Kranzler
5d9317586f [STX] Implemented Campus Guide 2021-03-30 19:39:32 -04:00
Evan Kranzler
f8f9ee6973 [STX] Implemented Lorehold Excavation 2021-03-30 19:35:07 -04:00
Evan Kranzler
f831eac6fc [STX] Implemented Magma Opus 2021-03-30 19:34:16 -04:00
Evan Kranzler
8f37428518 [ELD] fixed issues with Robber of the Rich 2021-03-30 17:48:46 -04:00
Evan Kranzler
c842fd271c [NPH] fixed Phyrexian Unlife not adding poison counters (fixes #7696) 2021-03-30 17:45:49 -04:00
Evan Kranzler
4cd50cf4e8 [STX] Implemented Bury in Books 2021-03-30 09:37:20 -04:00
Evan Kranzler
fa6fbf1b78 [STX] Implemented Dueling Coach 2021-03-30 09:21:53 -04:00
Evan Kranzler
b128a38f56 [STX] Implemented Reduce to Memory 2021-03-30 09:06:47 -04:00
Evan Kranzler
f224629c4f [STX] Implemented Reconstruct History 2021-03-30 09:04:37 -04:00
Evan Kranzler
0d8a358ea4 [STX] Implemented Combat Professor 2021-03-30 08:39:05 -04:00
Evan Kranzler
3e51a60d0d [STX] Implemented Illuminate History 2021-03-30 08:31:51 -04:00
Evan Kranzler
329990d75e [STX] Implemented Quintorius, Field Historian 2021-03-30 08:14:58 -04:00
Evan Kranzler
63c7c52d92 [STX] Implemented Stonebound Mentor 2021-03-30 08:08:53 -04:00
Evan Kranzler
0461c77d9b [STX] Implemented Returned Pastcaller 2021-03-30 08:00:54 -04:00
Evan Kranzler
3fcc996cff [STX] Implemented Thrilling Discovery 2021-03-30 07:53:30 -04:00
Evan Kranzler
f24cfab51b [STX] Implemented Spirit Summoning 2021-03-30 07:49:44 -04:00
Evan Kranzler
96946dcc07 [STX] Implemented Relic Sloth 2021-03-30 07:48:58 -04:00
Evan Kranzler
72a5c032e8 [STX] Implemented Lorehold Campus 2021-03-30 07:47:54 -04:00
Evan Kranzler
a3008b9710 [STX] Implemented Lorehold Pledgemage 2021-03-30 07:45:22 -04:00
Evan Kranzler
b8c83b4b51 [STX] Implemented Illustrious Historian 2021-03-30 07:44:14 -04:00
Evan Kranzler
14248b02f0 [STX] Implemented Heated Debate 2021-03-30 07:40:09 -04:00
Evan Kranzler
5cb7885174 [STX] Implemented Go Blank 2021-03-30 07:37:28 -04:00
Evan Kranzler
8edf9914a8 [STX] Implemented Blade Historian 2021-03-30 07:35:15 -04:00
Evan Kranzler
9b12408c5d [STX] Implemented Beaming Defiance 2021-03-30 07:32:10 -04:00
Evan Kranzler
c6c64fc0dc [STX] Implemented Ageless Guardian 2021-03-30 07:30:15 -04:00
Evan Kranzler
d571b8c85c [STX] updated spoiler and reprints 2021-03-30 07:29:19 -04:00
Evan Kranzler
97af948932 simplified and condensed various effects which discard variable amounts of cards 2021-03-29 21:35:27 -04:00
Evan Kranzler
37ebbef9f5 [STX] added Lesson slot to booster generation 2021-03-29 09:00:50 -04:00
Evan Kranzler
ce548747b2 [STX] Implemented Venerable Warsinger 2021-03-28 21:57:22 -04:00
Evan Kranzler
b414ac828f [STX] Implemented Rip Apart 2021-03-28 21:47:09 -04:00
Evan Kranzler
07871637b6 fixed Memory Jar and Magus of the Jar not returning exiled cards to hand 2021-03-28 20:56:18 -04:00
Evan Kranzler
e03dad7a8c [STX] added STA to booster generation 2021-03-28 19:06:36 -04:00
Evan Kranzler
5132dbb616 [STA] fixed rarities 2021-03-28 19:05:52 -04:00
Evan Kranzler
2a5d298480 [STX] Implemented Rise of Extus 2021-03-28 17:44:25 -04:00
Evan Kranzler
5ab84d5a3b [STX] Implemented Valentin, Dean of the Vein / Lisette, Dean of the Root 2021-03-28 17:40:39 -04:00
Evan Kranzler
6d2eb26a9e [STX] Implemented Kianne, Dean of Substance / Imbraham, Dean of Theory 2021-03-28 11:43:19 -04:00
Evan Kranzler
a34e4ee227 [STA] added set 2021-03-28 09:16:56 -04:00
Evan Kranzler
da6acafef2 [TSR] fixed Muraganda Petroglyphs not appearing in CardRespository 2021-03-27 20:10:52 -04:00
Evan Kranzler
2e01f30b91 [TSR] added booster collation and missing split cards 2021-03-27 13:40:52 -04:00
Evan Kranzler
9c0bfc0250 [STX] Implemented Start Pupil 2021-03-27 11:48:05 -04:00
Evan Kranzler
a55ed17beb [STX] Implemented Torrent Sculptor / Flamethrower Sonata 2021-03-27 11:33:08 -04:00
Evan Kranzler
5918838ccc fixed another test failure 2021-03-27 09:21:17 -04:00
Evan Kranzler
d85359de3c [STX] Implemented Quandrix Apprentice 2021-03-27 08:51:03 -04:00
Evan Kranzler
cb4cd3ba87 [STX] Implemented Lorehold Apprentice 2021-03-27 08:35:59 -04:00
Evan Kranzler
728b58b480 [STX] Implemented Introduction to Annihilation 2021-03-27 08:20:26 -04:00
Evan Kranzler
730ac37930 [STX] Implemented Prismari Apprentice 2021-03-27 08:06:26 -04:00
Evan Kranzler
cc9e52e316 fixed test failure 2021-03-27 07:59:47 -04:00
Evan Kranzler
9e28a900c0 [STX] Implemented Enthusiastic Study 2021-03-27 07:54:28 -04:00
Evan Kranzler
45d7063065 [STX] Implemented Field Trip 2021-03-27 07:46:36 -04:00
Evan Kranzler
6c33d381a2 [STX] Implemented Study Break 2021-03-27 07:40:56 -04:00
Evan Kranzler
9a15cdb9bd [STX] Implemented Environmental Sciences 2021-03-27 07:38:52 -04:00
Evan Kranzler
7f5d367d4d [STX] updated spoiler and reprints 2021-03-27 07:36:00 -04:00
Evan Kranzler
9e06282c00 [STX] Implemented Expanded Anatomy 2021-03-26 08:11:54 -04:00
Evan Kranzler
a325153539 [STX] Implemented Witherbloom Apprentice 2021-03-26 08:05:49 -04:00
Evan Kranzler
97541eeeab [MH2] Implemented Abundant Harvest 2021-03-26 07:38:58 -04:00
Evan Kranzler
c774d29be8 [STX] Implemented Introduction to Prophecy 2021-03-26 07:05:56 -04:00
Evan Kranzler
7dc8133eec [STX] Implemented Waterfall Aerialist 2021-03-26 07:01:14 -04:00
Evan Kranzler
aa271876d0 [STX] Implemented Dragonsguard Elite 2021-03-25 20:43:30 -04:00
Evan Kranzler
072401243f [STX] Implemented Vineglimmer Snarl 2021-03-25 20:31:27 -04:00
Evan Kranzler
5f5e7bbc51 [STX] Implemented Furycalm Snarl 2021-03-25 20:29:24 -04:00
Evan Kranzler
3bb96b1b32 [STX] Implemented Necroblossom Snarl 2021-03-25 20:27:17 -04:00
Evan Kranzler
1d16dbe642 [STX] Implemented Frostboil Snarl 2021-03-25 20:25:03 -04:00
Evan Kranzler
1e6709f737 [STX] Implemented Shineshadow Snarl 2021-03-25 20:22:25 -04:00
Evan Kranzler
69e38a84ce [STX] Implemented Pest Summoning 2021-03-25 20:12:43 -04:00
Evan Kranzler
c4f65177e3 [STX] Implemented Storm-Kiln Artist 2021-03-25 20:05:07 -04:00
Evan Kranzler
094941adef [STX] Implemented Professor of Symbology 2021-03-25 19:57:05 -04:00
Evan Kranzler
6d99f28bef [STX] Implemented Pop Quiz 2021-03-25 19:55:55 -04:00
Evan Kranzler
4e4bc6de7a [STX] Implemented Silverquill Apprentice 2021-03-25 19:44:23 -04:00
Evan Kranzler
d1b3d8b778 [STX] Implemented Archmage Emeritus 2021-03-25 19:41:42 -04:00
Evan Kranzler
73888133eb [STX] implemented Eager First-Year 2021-03-25 19:40:35 -04:00
Evan Kranzler
677eba3b26 [C21] added set and spoiler 2021-03-25 19:23:28 -04:00
Evan Kranzler
31c1337445 [MOR] fixed Shared Animosity not correctly counting other creatures (fixes #7692) 2021-03-25 08:34:40 -04:00
Evan Kranzler
83993500e0 [EMN] fixed Imprisoned in the Moon not correctly removing subtypes 2021-03-25 08:25:00 -04:00
Evan Kranzler
b74ff4a2f8 [ZNR] fixed Kaza, Roil Chaser not correctly counting spells 2021-03-24 18:05:38 -04:00
Evan Kranzler
7484b520e5 [KHM] fixed Invasion of the Giants not correctly counting spells for its third chapter (fixes #7664) 2021-03-24 18:04:28 -04:00
Evan Kranzler
2775d6e74a fixed another test failure 2021-03-23 21:01:26 -04:00
Evan Kranzler
897e41bc94 refactored adjustTargets that were missed previously 2021-03-23 20:43:05 -04:00
Evan Kranzler
bfd1a76bda finished refactoring cost adjuster methods 2021-03-23 20:23:58 -04:00
Evan Kranzler
238509552c fixed a test failure 2021-03-23 19:57:09 -04:00
Evan Kranzler
043aae6dff updated phrasing on player choice messages 2021-03-23 19:46:47 -04:00
Evan Kranzler
d54e1c6eac [DTK] updated implementation of spells which reveal dragon cards as a cost 2021-03-23 19:44:45 -04:00
Evan Kranzler
2a42bec1f2 simplified various cards to use isInstantOrSorcery method 2021-03-22 20:01:20 -04:00
Evan Kranzler
df866f858e [STX] Implemented Professor Onyx 2021-03-22 19:25:55 -04:00
Evan Kranzler
aa527ea8b2 [STX] Implemented Kasmina, Enigma Sage 2021-03-22 19:23:02 -04:00
Evan Kranzler
9f9cb3327f [IKO] fixed Kaheera, the Orphanguard not correctly counting changelings 2021-03-22 08:53:40 -04:00
Evan Kranzler
e615b31221 [SLD] added a card 2021-03-21 11:53:23 -04:00
Evan Kranzler
9c8c10dc3d [HA4] added Historic Anthology 4 2021-03-21 11:49:36 -04:00
Evan Kranzler
71487aa37c [ELD] fixed Workshop Elders targeting incorrectly 2021-03-21 11:35:41 -04:00
Evan Kranzler
583475dfd2 [ORI] fixed Chief of the Foundry text (fixes #7681) 2021-03-21 11:34:26 -04:00
Oleg Agafonov
8a06be7e28 Merge fix 2021-03-20 18:40:22 +04:00
Evan Kranzler
1cbbcddcc6
Improving implementation of cards which use voting (WIP) (#7566)
* created interface for handling voting

* created class for two choice votes, refactored a card to use it

* refactored all cards which use two choice votes

* updated VoteHandler to an abstract class to encapsulate more of its functions

* refactored cards which vote for more than two things

* [CNS] Implemented Brago's Representative

* [CN2] Implemented Ballot Broker

* [CN2] Implemented Illusion of Choice

* [CNS] Implemented Grudge Keeper

* added vote outcomes

* updated implementation of Illusion of Choice to work correctly in multiples

* added test for voting

* updated implementation of extra votes

* simplified vote message handling

* Improved names, additional comments

* Votes: fixed not working getMostVoted

* Votes: added final vote results to game logs;

* Votes: added additional info for the vote choices;

* Votes: added vote step info in choose dialogs, added AI support example for Tyrant's Choice;

Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2021-03-20 18:32:54 +04:00
Evan Kranzler
f9571398b5 [ELD] added possible fix for Once Upon a Time intermittently failing (#6954) 2021-03-15 09:51:49 -04:00
Evan Kranzler
8400127de1 fixed Twincast targeting any spell (fixes #7674) 2021-03-15 09:35:33 -04:00
Evan Kranzler
5e2738aab9 [IKO] fixed issue with Zirda, the Dawnwaker static ability not working when reanimated 2021-03-14 18:49:32 -04:00
Evan Kranzler
d4792e3665 reworked/simplified/consolidated effects which exchange life totals, added test (fixes #7668) 2021-03-14 15:56:48 -04:00
Evan Kranzler
1abeec9595 [M11] fixed Hoarding Dragon not returning card to hand (fixes #7670) 2021-03-14 14:39:28 -04:00
Evan Kranzler
c03571d743 fixed a test failure 2021-03-14 12:28:10 -04:00
Evan Kranzler
163c3277ea [DTK] reimplemented Hedonist's Trove 2021-03-14 12:09:33 -04:00
Evan Kranzler
13ac8f2c01 [IKO] added test for Zirda, the Dawnwaker 2021-03-14 11:40:08 -04:00
Evan Kranzler
45094a82d5 [TSR] fixed Pallid Mycoderm text 2021-03-12 15:16:11 -05:00
Evan Kranzler
19ec3e399e fixed text on wish effects 2021-03-12 15:05:37 -05:00
Evan Kranzler
9c56a98dc9
Refactor implementation of spell copies for cards like Twinning Staff as well as refactor handling of target changing (WIP) (#7662)
* refactored createCopyOnStack to be void

* added new interface for modifying copied spellsspells

* update implementation of Fork to use new applier

* reworked epic effect

* add applier to spell copy code

* updated implementation of Beamsplitter Mage

* updated cards which copy for each possible target

* added support for additional copies having targets changed

* fixed/ignored failing tests

* updated target changing to prevent unnecessary choosing

* added test for Twinning Staff

* updated implementation of spell copy applier

* added new method for choosing order of copies on stack

* fixed test failures

* [TSR] various text fixes

* fixed a test failure

* [SLD] fixed Rick, Steadfast Leader only counting Human creatures

* updated test framework to handle skips without affecting starting player choice

* fixed another test failure

* updated copy messaging for consistency

* added copy messaging to stack abilities
2021-03-12 12:47:49 -05:00
Evan Kranzler
b51915f6e8 [SLD] fixed Rick, Steadfast Leader only counting Human creatures 2021-03-09 20:29:49 -05:00
Evan Kranzler
1dfde6d622 [TSR] various text fixes 2021-03-09 20:01:32 -05:00
Evan Kranzler
2c168856c5 [2XM] added booster collation including foils 2021-03-08 10:18:55 -05:00
Evan Kranzler
a1ab427654 [SLD] fixed Rick, Steadfast Leader boosting non-Human creatures 2021-03-07 18:31:23 -05:00
Oleg Agafonov
53a2021a12 * Caller of the Hunt - fixed rollback error on usage, added AI support for the card; 2021-03-07 23:41:52 +04:00
Oleg Agafonov
2906f86324 Test framework: simplified AI logic and tests, added usage comments. Devs recommendations:
* in card's code use player.isComputer instead player.isHuman (it help to split Human/AI logic and test both by unit tests);
* usage example: AI hint to skip or auto-calculate choices instead call of real choose dialogs;
* unit tests for Human logic: call normal commands;
* unit tests for AI logic: call aiXXX commands;
2021-03-07 23:38:10 +04:00
Oleg Agafonov
00c7b3753c * Bronzehide Lion - fixed rollback error on usage (fixes #7564); 2021-03-07 18:36:02 +04:00
Oleg Agafonov
6e661e6d97 * Halvar, God of Battle - fixed rollback error on attached permanent die; 2021-03-07 18:28:19 +04:00
Oleg Agafonov
bde6222ea6 * The First Sliver - fixed too long rules text; 2021-03-07 03:12:20 +04:00
Oleg Agafonov
ccc85c1acb [TSR] added tokens 2021-03-07 03:08:17 +04:00
Evan Kranzler
f54145ad42 [LRW] reworked abilities which trigger off of clashing 2021-03-06 14:49:55 -05:00
Evan Kranzler
02f04e541c a few small text fixes 2021-03-06 14:35:01 -05:00
Oleg Agafonov
b36f915d74 * Copy spell - improved support, now all copied spells are independent (bug example: Seasons Past fizzled after copy resolve, see #7634, 10f8022043); 2021-03-06 19:32:17 +04:00
Evan Kranzler
8704b9cb9b [VIS] fixed Vision Charm effect duration (fixes #7652) 2021-03-06 07:56:42 -05:00
Evan Kranzler
6894ad96bc [TSR] various text fixes 2021-03-05 19:10:29 -05:00
Evan Kranzler
bb2e0922ab [TSR] fixed a test failure 2021-03-05 18:34:28 -05:00
Evan Kranzler
425c1eda26 [TSR] added set 2021-03-05 18:17:01 -05:00
Evan Kranzler
b55e3d52c6 [AKH] fixed Throne of the God-Pharaoh text (fixes #7647) 2021-03-05 17:26:40 -05:00
Evan Kranzler
622d13484f fixed some outdated token text 2021-03-05 10:54:15 -05:00
Oleg Agafonov
654c0be1ac Additional fixes for 4a3679285e (#7645) 2021-03-04 23:49:00 +04:00
Evan Kranzler
b1da4d4d79 [MOR] fixed Knowledge Exploitation not working (fixes #7646) 2021-03-04 14:20:33 -05:00
Evan Kranzler
87c272bf06 [KHM] fixed Battle for Bretagard allowing controller to copy tokens they don't control (fixes #7642) 2021-03-03 22:14:42 -05:00
Evan Kranzler
afcdc0f23a simplified and consolidated werewolf triggered abilities 2021-03-03 22:13:16 -05:00
Evan Kranzler
378d596e3c [ULG] reimplemented Damping Engine, fixed text 2021-03-03 20:49:39 -05:00
Evan Kranzler
29be124725 refactored card.moveToExile for M-N
reworked Mindreaver
2021-03-03 10:04:15 -05:00
Evan Kranzler
4c3de17006 refactored card.moveToExile for I-J
reworked Inverter of Truth and Luminate Primordial
2021-03-03 09:22:29 -05:00
Evan Kranzler
b9d5e34f8b [USG] fixed text and implementation of Wizard Mentor 2021-03-02 14:59:09 -05:00
Evan Kranzler
c552234e9c refactored card.moveToExile usage for G-H
heavily reworked Haunting Echoes and Hypnox
2021-03-01 18:03:00 -05:00
Evan Kranzler
852aa562d2 [LRW] fixed Vigor applying to opponent's creatures 2021-02-28 21:03:46 -05:00
Evan Kranzler
9567b19b01 refactored card.moveToExile usages E-F 2021-02-28 17:09:37 -05:00
Evan Kranzler
4a09654743 refactored card.moveToExile usages A through D
heavily reworked Dark Impostor and Dimensional Breach
2021-02-28 17:06:13 -05:00
Oleg Agafonov
098796f86e * Commander: fixed that non hand abilities are castable from command zone (example: Escape, Jumpstart, see #7632); 2021-03-01 01:14:00 +04:00
Evan Kranzler
2daf1945e7 [RTR] reworked Nivmagus Elemental and added test 2021-02-27 15:35:04 -05:00
Daniel Bomar
cd4b93a71a
[KHM] Fixed Battle Mammoth triggering too many times 2021-02-27 12:39:04 -06:00
Daniel Bomar
58fda68117
[KHM] Fixed Draugr Necromancer being able to play lands from MDFCs 2021-02-27 11:34:24 -06:00
Oleg Agafonov
dda69cd009 * AI: improved support of "as though mana" abilities (now computer can choose correct mana ability to pay, example: Draugr Necromancer);
* Dev: added card's LKI support of multi part cards (mdf/split/adventure);
* Dev: improved support of adding/removing counters from mdf cards;
* Draugr Necromancer - fixed support of mdf/split/adventure cards (#7620);
2021-02-27 20:14:12 +04:00
Evan Kranzler
bb04962144 finished the last few refactors for card.moveToZone 2021-02-27 09:57:45 -05:00
Evan Kranzler
ffd5f68220 refactored zone changes, letters M through P
most cards are minor refactors except for Puppet Master which was heavily reworked
2021-02-27 09:24:31 -05:00
Evan Kranzler
d4311916a4 [ATQ] fixed implementation of Goblin Artisans (fixes #7629) 2021-02-27 09:04:26 -05:00
Evan Kranzler
50071b59a0 refactored zone changes, letters I through L
fixed some issues with Immortal Coil, simplified Increasing Ambition, reworked Induced Amnesia and Legion's Initiative, corrected Khalni Gem targeting on trigger
2021-02-26 20:46:34 -05:00
Daniel Bomar
73f594583f
[KHM] Fixed Draugr Necromancer being unable to cast Adventures 2021-02-26 16:10:46 -06:00
Daniel Bomar
87b3511ee2
[M20] Fixed Leyline of Combustion triggering too many times 2021-02-26 13:31:15 -06:00
Daniel Bomar
27c0f75302
Fixed Archfiend's Vessel not moving to exile (fixes #7622) 2021-02-25 16:39:20 -06:00
Evan Kranzler
35be23537f simplified and consolidated effects which check cards put into graveyards from the battlefield 2021-02-25 10:45:26 -05:00
Evan Kranzler
5f23ccf24c fixed a test failure 2021-02-24 16:32:30 -05:00
jeffwadsworth
27b85bca88 - S cards: A player now moves the card/permanent to a zone. 2021-02-24 15:25:08 -06:00
Evan Kranzler
16306eb428 refactored zone changes, letters G and H
reworked Gift of the Gargantuan to allow cleaner choice
2021-02-24 15:57:57 -05:00
Evan Kranzler
756ca46718 refactored zone changes, letters E and F
simplified Enduring Renewal and Firemind's Foresight, fixed Faith's Reward and Fell Shepherd counting cards which had left and re-entered graveyards
2021-02-24 15:41:20 -05:00
Evan Kranzler
746d5eef3b refactored more zone changes, letters C and D (#7572)
Decaying Soil has been heavily reworked
2021-02-24 14:37:22 -05:00
Jeff
47dc1d8d61 - T, V, U cards: A player now moves the card/permanent to a zone. 2021-02-24 11:07:36 -06:00
Evan Kranzler
ae3ff96e11 refactored some zone change handling 2021-02-24 09:24:11 -05:00
jeffwadsworth
1ac7112b5d - W cards: A player now moves the card/permanent to a zone. 2021-02-23 19:45:47 -06:00
Evan Kranzler
f5f7638216 [KHM] updated Draugr Necromancer, added test (#7620) 2021-02-23 19:11:21 -05:00
Evan Kranzler
bac2585d83 [KHM] fixed Draugr Necromancer not allowing snow mana to be used for exiled cards 2021-02-23 13:47:23 -05:00
Evan Kranzler
5736b00f0f combined "enchanted player's upkeep" triggers into one class 2021-02-23 09:44:26 -05:00
Evan Kranzler
2ffa719278 fixed issue with Kruphix, God of Horizons and Horizon Stone causing endless replacement effect loop 2021-02-23 08:41:54 -05:00
Evan Kranzler
5e43c79f11 [KHM] fixed King Harald's Revenge requiring all creatures to block rather than just one 2021-02-22 18:09:52 -05:00
Evan Kranzler
5390963d38
Fix handling of damage to permanents (WIP) (#7592)
* initial refactor of damage events

* cleaned up some instances of classes that need to be removed

* removed old damage event classes

* removed outdated imports

* temporarily refactor Everlasting Torment (this will need to be changed more)

* updated damage handling to use new changes

* some reworking of lethal/excess damage plus a test

* updated damage marking to handle planeswalkers

* updated implementation of Phyrexian Unlife

* updated implementation of Everlasting Torment

* added some more excess damage tests

* small change to wither check
2021-02-22 17:11:24 -05:00
Oleg Agafonov
39f6b69391
Merge pull request #7584 from weirddan455/cascade
Implemented updated Cascade ruling 702.84a
2021-02-22 23:03:56 +01:00
Oleg Agafonov
91f4d78992 Changes related to Cascade ability (#7583):
* Cascade: added correct spell ability choose for forced cast of mdf and adventure cards (can contains one or both sides);
* Cascade: added tests from latest oracle changes;
* AI: improved spell ability choose for forced cast (example: cast target card without mana cost);
* GUI: improved spell ability choose for forced cast (now you can see only castable spells to choose);
* Other: fixed wrong PlayFromNotOwnHandZone in some cards, fixed NPE;
2021-02-23 02:00:38 +04:00
Evan Kranzler
bd3777997e
updated various cards to improve how they handle exiling with info (#7615) 2021-02-22 15:26:58 -05:00
Daniel Bomar
bb0a995541
Tibalt, Cosmic Impostor - fixed that emblem can't cast not owned cards (#7598)
* Fixed ability.canChooseTarget not using correct playerId

* Fixed Necrotic Plague

* Revert "Fixed Necrotic Plague"

This reverts commit 7659039670293ce1ea428dad042511d9d75f9da6.

* Set target controller on Necrotic Plague and add check in canChooseTarget

* Add test for Tibalt + Ephemerate interaction

* Tests improved

Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2021-02-22 23:06:43 +04:00
Oleg Agafonov
b94af941df Fixed test 2021-02-22 22:01:13 +04:00
Oleg Agafonov
4050577d6b Tests: added tests for Moritte of the Frost (related to #7546); 2021-02-22 21:55:17 +04:00
Oleg Agafonov
2accab79c5 * Spark Double - fixed duplicated counters on copying of another Spark Double (#7553); 2021-02-22 21:22:31 +04:00
Oleg Agafonov
f6c0f4c712 * Geode Golem - fixed duplicated commander tax on damage trigger (#7593); 2021-02-22 16:11:13 +04:00
Oleg Agafonov
a377999f57 * Desertion - fixed rollback error on fizzled counter spell (#7613); 2021-02-22 08:51:07 +04:00
Oleg Agafonov
4f7631f0f0 * Haldan, Avid Arcanist - fixed rollback error on usage without partner; 2021-02-22 08:03:27 +04:00
Oleg Agafonov
b6cb5cef9c Refactor: removed default comment headers 2021-02-21 08:15:16 +04:00
Oleg Agafonov
2dfde7f41a Refactor: correct predicate packages 2021-02-21 08:00:21 +04:00
Oleg Agafonov
d343511d73 * Elsha of the Infinite - fixed that it gives flash ability to cards in the hand instead library's top card (closes #7605); 2021-02-21 07:43:29 +04:00
Evan Kranzler
b968637e20 [KHM] fixed Rune of Might giving flying instead of trample through an equipment 2021-02-20 21:41:31 -05:00
Oleg Agafonov
48e9cc3e07 PlayTheTopCard improves: added correct usage check, fixed outdated rule texts, Bolas's Citadel simplified (related to #7605); 2021-02-21 05:48:09 +04:00
Daniel Bomar
238ab4fcc8
Fixed clones not triggering death ability of Old-Growth Troll (fixes #7601) 2021-02-19 15:49:25 -06:00
Evan Kranzler
a8bda04daf [GTC] updated implementation of Bane Alley Broker 2021-02-19 14:47:47 -05:00
Evan Kranzler
22ac79c325 [STX] fixed second mode on Lorehold Command 2021-02-19 09:41:36 -05:00
Evan Kranzler
09d3cee8fc [STX] Implemented Lorehold Command 2021-02-19 09:38:59 -05:00
Evan Kranzler
eec6b4986d [STX] Implemented Witherbloom Command 2021-02-19 09:21:03 -05:00
Evan Kranzler
223c576359 [STX] Implemented Quandrix Command 2021-02-19 09:08:14 -05:00
Evan Kranzler
4db47adc19 [LRW] added back previously failing test for Aquitect's Will 2021-02-19 08:29:38 -05:00
Daniel Bomar
20968c299c
Tibalt, Cosmic Impostor - Fixed misspelled card name 2021-02-18 22:27:26 -06:00
jeffwadsworth
38b2f492a2 - Fixed #7597 2021-02-18 22:22:39 -06:00
Evan Kranzler
93e556d784 fixed a test failure 2021-02-18 20:40:03 -05:00
Evan Kranzler
12cee3f798 [STX] Implemented Silverquill Command 2021-02-18 20:38:01 -05:00
Evan Kranzler
47333c20c9 [STX] Implemented Prismari Command 2021-02-18 19:45:45 -05:00
Evan Kranzler
98c6b39550 [STX] added set 2021-02-18 19:37:47 -05:00
Evan Kranzler
2d85f4cfa0 [SLD] updated reprints 2021-02-18 19:28:00 -05:00
Evan Kranzler
6cb8072352 [KHM] fixed Battle for Bretagard chapter III (fixes #7599) 2021-02-18 17:12:55 -05:00
Evan Kranzler
440adfa18b fixed The Ozolith test (it wasn't actually failing) 2021-02-18 13:29:06 -05:00
Evan Kranzler
9426da5ad3 [LRW] added test for Aquitect's Will (partially fails) (#7597) 2021-02-18 09:16:30 -05:00
Alexander Novotny
d167808dc8
[C20] Fixed Haldan, Avid Arcanist's ability applying to all spells (magefree/mage#7585) (#7589) 2021-02-16 19:03:11 -06:00
Evan Kranzler
593d25d6be [M19] fixed Satyr Enchanter trigger being optional (fixes #7587) 2021-02-15 20:49:52 -05:00
Evan Kranzler
bb696b4210 fixed implementation of cards which trigger on unblocked attackers 2021-02-15 19:04:17 -05:00
Evan Kranzler
a6255402e3 updated language for various user choices 2021-02-15 10:19:43 -05:00
Evan Kranzler
e2e7df6af2 [ZNE] added Zendikar Rising Expeditions (closes #7578) 2021-02-15 09:21:12 -05:00
Jeff
eb242443fc - Lurrus of the Dream-Den will now only allow casting of cards from the controller's graveyard during the controller's turn. 2021-02-14 21:24:49 -06:00
jeffwadsworth
da03e7c50b - Fixed #7541 2021-02-14 01:02:58 -06:00
Oleg Agafonov
7f6482221a * Bronzehide Lion - fixed rollback error on usage (fixes #7564); 2021-02-13 22:37:31 +04:00
Evan Kranzler
073ec1cdb9 changed collation to strings to allow non-int collector numbers 2021-02-13 09:03:52 -05:00
jeffwadsworth
82f40f04ae - Fixed #7561 2021-02-12 22:58:39 -06: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
Oleg Agafonov
10e557b873 * Performance: memory usage optimization for deck editor (part 2 of removed bloated usage of ManaCosts -> ManaColor objects, see #7515); 2021-02-12 22:12:18 +04:00
Evan Kranzler
c3d55ea12a [KHM] fixed Ascent of the Worthy chapter 3 and added note to chapters 1 and 2 2021-02-12 09:07:42 -05:00
Evan Kranzler
9485cce9e3 [SLU] added new drops 2021-02-12 08:57:12 -05:00
Evan Kranzler
9a37a351ee [SLD] added new drops 2021-02-12 08:54:44 -05:00
Evan Kranzler
6b25dac969 [KHM] fixed Surtland Flinger not sacrificing the chosen creature (fixes #7554) 2021-02-12 08:48:03 -05:00
jeffwadsworth
78bae348e8 - Fixed #7544, #7536, #6798 2021-02-11 09:36:45 -06:00
Evan Kranzler
4d20cb19cf [CMR] fixed Gor Muldrak, Amphinologist not working correctly when a player controls no creatures (fixes #7545) 2021-02-10 16:07:07 -05:00
Evan Kranzler
d96d40b953 [CMR] fixed Colfenor, the Last Yew not being able to target correctly 2021-02-09 20:39:50 -05:00
Evan Kranzler
4f9bbd4a73 [KHM] fixed Axgard Armory not revealing on search 2021-02-09 20:35:44 -05:00
jeffwadsworth
0ac85d93db - Fixed #7535 2021-02-09 15:40:33 -06:00
jeffwadsworth
7f30e83d70 - Fixed #7534 2021-02-09 14:30:51 -06:00
Evan Kranzler
f80de1d868 [MIR] fixed Sealed Fate card type 2021-02-09 12:54:23 -05:00
jeffwadsworth
f01f8e9765 - Added Wall of Corpses from Mirage 2021-02-09 11:46:50 -06:00
jeffwadsworth
a8070fdd76 - Added Sealed Fate from Mirage 2021-02-09 10:00:54 -06:00
Evan Kranzler
199ba524bf [KHM] fixed Spectral Steel being able to exile itself as a cost (fixes #7531) 2021-02-08 21:11:53 -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
21ef775700 [ZNR] updated booster generation and added test 2021-02-08 18:22:55 -05:00
Evan Kranzler
18c8a8539e [KHM] fixed The Bears of Littjara not sacrificing after chapter 3 (fixes #7527) 2021-02-08 18:02:44 -05:00
Evan Kranzler
a90e9923f5 [KHM] fixed issues with booster collation, added test (fixes #7521) 2021-02-08 14:04:10 -05:00
jeffwadsworth
e8d2648319 - Fixed #7520 2021-02-08 11:15:24 -06:00
Daniel Bomar
179bf79118
[SOI] Essence Flux - Fixed interaction with MDFCs 2021-02-08 11:01:37 -06:00
Daniel Bomar
2716c60fb5
[KHC] Ruthless Winnower - Fixed sacrificing non-creature permanents (fixes #7517) 2021-02-07 17:46:57 -06:00
Oleg Agafonov
cf216c6802 Prepare new release 2021-02-07 22:24:40 +04:00
Daniel Bomar
5f8013b4a7
[KHM] Blessing of Frost - Fixed creatures not getting counters (fixes #7512) 2021-02-07 11:21:55 -06:00
Grath
7ce36cffa8
Add hints for some Snow-matters cards from Modern Horizons (#7513)
* Add hints for some Modern Horizons snow cards.
2021-02-07 15:16:12 +04:00
Oleg Agafonov
03952ae0d6 [KHC] added tokens and download support; 2021-02-06 20:54:32 +04:00
Oleg Agafonov
f7bc745f10 [KHM] added tokens and download support; 2021-02-06 20:30:19 +04:00
Evan Kranzler
5f80dba107 fixed landwalk abilities counting all lands and not just defending player's (fixes #7427) 2021-02-06 10:40:55 -05:00
Evan Kranzler
680083dd53 [KHM] fixed Reckless Crew not allowing equipping when player controls no vehicles 2021-02-06 09:03:43 -05:00
Oleg Agafonov
9416c6140a [KHM] fixed Reidane, God of the Worthy - rollback error on some events check without sourceId; 2021-02-06 13:04:20 +04:00
Oleg Agafonov
f692a1f097 * Choice of Damnations - improved AI support, fixed rollback error in AI games;
* Pain's Reward - improved AI support, fixed rollback error in AI games;
* Volcano Hellion - improved AI support, fixed rollback error in AI games;
2021-02-06 12:48:53 +04:00
Oleg Agafonov
ac98a3a31a * Commander: fixed duplicated triggers after play (example: Esika, God of the Tree, see #7501, #7503, #7505); 2021-02-06 10:51:41 +04:00
jeffwadsworth
aa13b06af9 - refactored Ethereal Valkyrie to work with Split/MDFC/Adventure cards as per weirddan455 commit. 2021-02-05 16:37:44 -06:00
Daniel Bomar
3af5cb9514
[INV] Yawgmoth's Agenda - Play from graveyard effect applies only to its controller (fixes #7491) 2021-02-05 12:46:44 -06:00
Daniel Bomar
d406904e60
[WAR] Mowu, Loyal Companion - Apply Mowu's replacment effect to self ETB (fixes #7111) 2021-02-05 11:41:20 -06:00
Evan Kranzler
ece9108695 [KHM] fixed Orvar, the All-Form triggered ability not working correctly 2021-02-05 11:33:42 -05:00
Oleg Agafonov
dc0a29007c Commanders improves:
* [KHM] fixed that some effects can't find mdf commanders on battlefield (example: Fierce Guardianship, #7504);
* Oathbreaker: fixed that some cards that refer to commander can affects signature spells too;
2021-02-05 17:19:30 +04:00
mataha
a5e6dfdf95
Fix tooltip on Stromkirk Condemned
Should be 'Vampires you control' instead of 'Vampires'.
2021-02-05 01:09:39 +01:00
Daniel Bomar
cd9c57fead
[KHM] Dream Devourer - Fixed being unable to cast foretold MDFCs, split cards, and adventure cards (#7498)
* [KHM] Dream Devourer - Fixed being unable to cast foretold MDFCs, split cards, and adventure cards

* [KHM] Dream Devourer - Fixed mana costs and added check for MDFC lands

* [KHM] ForetellAbility - Add text when selecting which half of split card to cast

* Updated test for Dream Devourer
2021-02-04 16:27:51 -06:00
Evan Kranzler
22b07608b0 [KHM] fixed a null pointer exception with Valkmira, Protector's Shield 2021-02-04 16:48:51 -05:00
Oleg Agafonov
f38639e1db Token's zone change counter (ZCC) improves:
* Now token's zcc uses same logic as card's zcc: enters to battlefield with +1 zcc instead +0 zcc
* It can improve support of copied spells that store zcc related data (bug example: lost kicked status for copied spell/token);
* Kicker abilities - improved support with copied creature spells (example: Verazol, the Split Current, #7431, #7433);
* Refactor: simplified kicker code;
2021-02-04 19:15:54 +04:00
Evan Kranzler
3eb57eade9 [KHM] fixed The Trickster-God's Heist chapter two targeting 2021-02-03 22:17:18 -05:00
jeffwadsworth
1c2f8f4caa - little refactor of Ethereal Valkyrie 2021-02-03 15:21:18 -06:00
Evan Kranzler
fb447d7740 [KHM] fixed some issues with pack collation (fixes #7492) 2021-02-03 09:09:30 -05:00
Oleg Agafonov
c381ea7716 [KHM] improved Cosima, God of the Voyage - "to the voyage" exile window, user friendly choose dialog, visible counters in exile, AI support (#7248); 2021-02-03 14:59:52 +04:00
Oleg Agafonov
c03279d835 * Repeated Reverberation - fixed rollback error on creatures cast (#7474); 2021-02-03 10:27:23 +04:00
Evan Kranzler
56603ffcd2 refactored card copy methods to be private 2021-02-02 17:07:37 -05:00
Evan Kranzler
bb1a085962 more text fixes 2021-02-02 16:30:12 -05:00
Evan Kranzler
0d44eea16b [KHM] fixed missing cantrip on Rune of Sustenance (fixes #7484) 2021-02-02 15:05:53 -05:00
Evan Kranzler
fbab9f069e some assorted text fixes 2021-02-02 12:41:05 -05:00
Evan Kranzler
0c0333a716 updated oracle changes from updated bulletin (except Skinshifter) 2021-02-02 11:44:32 -05:00
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