Commit graph

47448 commits

Author SHA1 Message Date
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
jmlundeen
7b94324871 [TDM] Implement Whirlwing Stormbrood 2025-04-08 09:49:08 -05:00
jmlundeen
b205ac8472 [TDM] Implement Twinmaw Stormbrood 2025-04-08 09:49:08 -05:00
jmlundeen
797bc89c4b [TDM] Implement StormShriek Feral 2025-04-08 09:49:08 -05:00
jmlundeen
f1a05db32c [TDM] Implement Scavenger Regent 2025-04-08 09:49:08 -05:00
jmlundeen
c9aa6c3152 [TDM] Implement Sagu Wildling 2025-04-08 09:49:08 -05:00
jmlundeen
ca04897028 [TDM] Implement Runescale Stormbrood 2025-04-08 09:49:08 -05:00
jmlundeen
3554fcd540 [TDM] Implement Riling Dawnbreaker 2025-04-08 09:49:08 -05:00
jmlundeen
b9fc258777 [TDM] Implement Purging Stormbrood 2025-04-08 09:49:07 -05:00
jmlundeen
aeffd36bcd [TDM] Implement Marang River Regent 2025-04-08 09:49:07 -05:00
jmlundeen
2c13c30f5d [TDM] Implement Feral Deathgorger 2025-04-08 09:49:07 -05:00
jmlundeen
076df16841 [TDM] Implement Disruptive Stormbrood 2025-04-08 09:49:07 -05:00
jmlundeen
44389cbbbf [TDM] Implement Bloomvine Regent 2025-04-08 09:49:07 -05:00
theelk801
2e6e3cd4e7 [TDM] Implement Mardu Siegebreaker 2025-04-08 09:16:50 -04:00
theelk801
235e5200d0 [TDM] Implement Warden of the Grove 2025-04-08 08:54:27 -04:00
Jmlundeen
0df5f17603
[TDM] Implement omen mechanic (#13501)
* Abstract AdventureCard to SingleFaceSplitCard

* Fix AdventureCardSpellImpl

* Finish converting adventure card and adventure spell

* Update Brightcap Badger

change finalize call to adventure card

* Update Darksteel Monolith

being cast from hand condition referencing AdventureCardSpell

* Update Tlincalli Hunter

exiled creature condition referencing AdventureCardSpell

* Update Twice Upon a Time

finalizeAdventure called from Adventure card

* Finish abstracting Adventure

missed some more references to adventure cards

* Implement Omen cards

* Implement Dirgur Island Dragon

* Missed some adventureSpellName references

* OmenCardSpell had wrong comma symbol

* Add tests for Omen Cards

* Rename two part card components

change from SingleFaceSplitCard to CardWithSpellOption

* Update comments and variable name
2025-04-08 08:54:18 -04:00