Commit graph

33659 commits

Author SHA1 Message Date
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
10afd4205d [STX] updated spoiler 2021-03-25 19:37:34 -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
3feb2017d3 removed unnecessary overrides of adjustTargets and adjustCosts 2021-03-23 20:43:16 -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
707de23436 cleaned up some methods for effects and abilities 2021-03-22 21:47:08 -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
c4ff30a95b [STX] updated spoiler 2021-03-22 17:54:15 -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
991f154cd7 [IKO] small nonfunctional change to Zirda, the Dawnwaker test 2021-03-15 10:17:04 -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
4874ad31c1 [IKO] added workaround for Yorion, Sky Nomad not being usable in a two player match with limited set as deck type 2021-03-14 19:05:25 -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
e0336d4d65 [ROE] fixed Tuktuk, the Explorer token creature type (fixes #7673) 2021-03-13 08:40:30 -05: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
93c9b2770a fixed a test failure 2021-03-09 20:27:05 -05:00
Evan Kranzler
1dfde6d622 [TSR] various text fixes 2021-03-09 20:01:32 -05:00