Commit graph

48413 commits

Author SHA1 Message Date
theelk801
8787eacd41 [TDC] fix Hammerhead Tyrant filter missing predicate 2025-04-10 12:29:40 -04:00
theelk801
f3ffca26fa [TDC] Implement Redoubled Stormsinger 2025-04-10 08:47:59 -04:00
theelk801
9e6987ab56 [TDC] Implement Tip the Scales 2025-04-10 08:38:04 -04:00
theelk801
ac6c8d39ed [TDC] Implement Within Range 2025-04-10 08:31:21 -04:00
theelk801
3b959c25b9 fix verify failure 2025-04-10 08:23:18 -04:00
theelk801
e4ffeba3e7 [TDC] Implement Ironwill Forger 2025-04-10 08:04:23 -04:00
theelk801
e334f59539 [TDC] Implement Hammerhead Tyrant 2025-04-10 07:57:58 -04:00
theelk801
0abef9c5ef [TDC] Implement Infantry Shield 2025-04-10 07:50:41 -04:00
theelk801
2363fd6390 [TDC] Implement Arbor Adherent 2025-04-10 07:44:23 -04:00
theelk801
5165282d7d revert verify skip 2025-04-10 07:23:55 -04:00
Oleg Agafonov
0b4c9d90b7 merge fix 2025-04-10 12:57:49 +04:00
Oleg Agafonov
dcdf0ca4a5 Choose a player at random - fixed that it wrongly choose same player (example: Scrambleverse, close #12679, close #13526);
Inniaz, the Gale Force - fixed that it wrongly choose left/right player (close #13526);
2025-04-10 12:42:42 +04:00
theelk801
4ffb0ff014 fix verify failure 2025-04-09 19:19:22 -04:00
Grath
e00d5359b1 Fix minimum targets to 1 for non-optional effect of Colossal Grave-Reaver. 2025-04-09 15:36:24 -04:00
Grath
aa637b414b [TDC] Implement Colossal Grave-Reaver 2025-04-09 15:34:44 -04:00
theelk801
7b472e28f3 fix test failure 2025-04-09 15:03:44 -04:00
Jmlundeen
e552a54e6f
[TDM] Focus the Mind and Sage of the Skies (#13524)
* [TDM] Implement Focus the Mind
* [TDM] Implement Sage of the Skies
* Extracted cast another spell this turn condition from Rally the Monastery
* Add condition to Rally the Monastery and Slick Sequence
2025-04-09 13:16:48 -05:00
Jmlundeen
0848382dcd
[TDM] Implement Dragonfire Blade (#13522)
* [TDM] Implement Dragonfire Blade
2025-04-09 13:15:59 -05:00
jmlundeen
30ffe9a159 Fix Chitin Gravestalker hint text 2025-04-09 13:12:29 -05:00
jmlundeen
178bd22025 [TDM] Implement Host of the Hereafter 2025-04-09 13:12:29 -05:00
jmlundeen
79bf1851e5 [TDM] Implement Furious Forebear 2025-04-09 13:12:29 -05:00
theelk801
e30cdb6c7f [TDM] Implement Maelstrom of the Spirit Dragon 2025-04-09 14:09:18 -04:00
theelk801
32e99536bc [TDM] Implement Reverberating Summons 2025-04-09 13:58:08 -04:00
theelk801
4c8337e0e5 [TDM] Implement Rot-Curse Rakshasa 2025-04-09 13:52:07 -04:00
theelk801
5e23afc477 [TDM] Implement Synchronized Charge 2025-04-09 13:38:44 -04:00
theelk801
162365269d [TDM] Implement Herd Heirloom 2025-04-09 13:29:54 -04:00
Evan Kranzler
56a05a7843
Rework implementation of anchor words (#13518)
* refactor anchor word implementation

* fix error

* [TDM] Implement Windcrag Siege
2025-04-09 13:24:57 -04:00
theelk801
3c6e055f41 [TDC] Implement Become the Avalanche 2025-04-09 08:36:38 -04:00
theelk801
fb173a8543 [TDC] Implement Floral Evoker 2025-04-09 08:28:29 -04:00
theelk801
339d7d6150 [TDC] Implement Jaws of Defeat 2025-04-09 08:23:53 -04:00
theelk801
dec4970fb4 [TDC] Implement Goldlust Triad 2025-04-09 08:18:47 -04:00
theelk801
f781a3e7d7 [TDC] Implement Canopy Gargantuan 2025-04-09 08:16:32 -04:00
theelk801
d567582cf0 [TDC] Implement Aligned Heart 2025-04-09 08:12:34 -04:00
theelk801
a09930bb6c [TDC] Implement Adaptive Training Post 2025-04-09 08:09:32 -04:00
androosss
db8102a94c
[TDM] Implement Betor, Kin to All (#13508)
* Implemented Betor, Kin to All

* intervenening if in ability

* update betor

* reduce ident
2025-04-08 21:18:55 -04:00
theelk801
504a2c2bf8 temporary verify fix 2025-04-08 21:04:33 -04:00
Oleg Agafonov
0a1bf47434 AI: fixed game freeze on cards with combat triggers (close #13342) 2025-04-09 02:21:29 +04:00
theelk801
04f9ab75ba [TDM] Implement Krumar Initiate 2025-04-08 17:47:02 -04:00
Oleg Agafonov
a29dbc17eb tests: added ref rules compare in test_showCardInfo 2025-04-09 01:24:30 +04:00
Oleg Agafonov
1568189c1b other: fixed typos in omen related code (#13501); 2025-04-09 01:22:33 +04:00
Oleg Agafonov
2a1eebc5fc
Merge pull request #13516 from magefree/cost-adjusters-rework 2025-04-08 22:30:45 +03:00
Oleg Agafonov
d674c592ea refactor: improved Aladdin's Lamp 2025-04-08 23:11:43 +04:00
Oleg Agafonov
6cf1f4af3d refactor: improved Aladdin's Lamp 2025-04-08 23:02:49 +04:00
Oleg Agafonov
36cec8961e refactor: better naming in CardsInControllerHandCount 2025-04-08 22:42:31 +04:00
Oleg Agafonov
bae3089abb Reworked cost adjuster logic for better support of X and cost modification effects:
Improves:
* refactor: split CostAdjuster logic in multiple parts - prepare X, prepare cost, increase cost, reduce cost;
* refactor: improved VariableManaCost to support min/max values, playable and AI calculations, test framework;
* refactor: improved EarlyTargetCost to support mana costs too (related to #13023);
* refactor: migrated some cards with CostAdjuster and X to EarlyTargetCost (Knollspine Invocation, etc - related to #13023);
* refactor: added shared code for "As an additional cost to cast this spell, discard X creature cards";
* refactor: added shared code for "X is the converted mana cost of the exiled card";
* tests: added dozens tests with cost adjusters;

Bug fixes:
* game: fixed that some cards with CostAdjuster ignore min/max limits for X (allow to choose any X, example: Scorched Earth, Open The Way);
* game: fixed that some cards ask to announce already defined X values (example: Bargaining Table);
* game: fixed that some cards with CostAdjuster do not support combo with other cost modification effects;
* game, gui: fixed missing game logs about predefined X values;
* game, gui: fixed wrong X icon for predefined X values;

Test framework:
* test framework: added X min/max check for wrong values;
* test framework: added X min/max info in miss X value announce;
* test framework: added check to find duplicated effect bugs (see assertNoDuplicatedEffects);

Cards:
* Open The Way - fixed that it allow to choose any X without limits (close #12810);
* Unbound Flourishing - improved combo support for activated abilities with predefined X mana costs like Bargaining Table;
2025-04-08 22:39:10 +04:00
Oleg Agafonov
13a832ae00 tests: removed outdated commands from init.txt example 2025-04-08 22:14:05 +04:00
Grath
78d2107903 [TDM] Implement Teval, Arbiter of Virtue 2025-04-08 11:58:22 -04:00
androosss
8b27b53fa7
Implemented Death Begets Life (#13513) 2025-04-08 10:20:41 -05:00
jmlundeen
94c6b03ded Update showCardInfo for Adventure/Omen
* formats implemented text to show main card followed by spell card
* reference card also shows spell card information
2025-04-08 09:49:08 -05:00
jmlundeen
63781e9ca1 Missed some references to instanceof AdventureCard
replaced with CardWithSpellOption
2025-04-08 09:49:08 -05:00