Commit graph

3813 commits

Author SHA1 Message Date
Susucre
31c772d368 clean EmergeAbility and Doom Foretold 2024-06-01 13:07:21 +02:00
xenohedron
c013f4bcfe fix #12355 (Hypnox) 2024-06-01 02:00:48 -04:00
xenohedron
0c299da2df refactor: param names in test API 2024-06-01 01:56:41 -04:00
Susucre
81ef8da46e implement [MH3] Dog Umbra ; fix [BRO] Mishra's Domination 2024-06-01 00:46:39 +02:00
Susucre
239f75fc8d fix BarrogoyfTest after optional fix 2024-05-31 11:07:33 +02:00
Susucre
debe497f63 fixes on new cards 2024-05-31 11:01:26 +02:00
Susucre
6f4fbeffe3
fix short living lki bug for Chromatic Star (#12331) 2024-05-30 21:07:48 +02:00
Susucre
7543274659 implement [M3C] Barrowgoyf 2024-05-30 19:28:36 +02:00
Susucre
fac1861c9f implement [M3C] Pyrogoyf 2024-05-30 19:24:59 +02:00
Susucre
07629e9b33 implement [MH3] Birthing Ritual 2024-05-30 12:43:14 +02:00
xenohedron
b4da526770 refactor: common class DrawCardTargetControllerEffect
tests for Ob Nixilis the Hate-Twisted; Dream Fracture

resolves #12292
2024-05-30 00:50:00 -04:00
Susucre
20b7a115da
prevent direct access of Player->counters ; some cleanup on counter removal effects ; implement [MH3] Izzet Generatorium (#12314) 2024-05-29 22:34:54 +02:00
Susucre
3dc9f5d382 implement [MH3] Ocelot Pride 2024-05-28 18:20:14 +02:00
Oleg Agafonov
30ae4a8d66 test framework: added support of AI vs AI games (test must override getFullSimulatedPlayers to setup additional AIs); 2024-05-28 17:19:42 +04:00
Oleg Agafonov
e3de777bd5 tests: added test for AI repeated actions with Basalt Monolith (#2023, #10197, #6839) 2024-05-28 13:24:55 +04:00
Susucre
c144416022 implement [MH3] Springheart Nantuko 2024-05-28 00:58:56 +02:00
xenohedron
bdebf7020c
fix Molten Disaster (#12307)
* add test case

* unify KickedCondition for battlefield and stack usage

* cleanup Molten Disaster to common classes
2024-05-27 17:25:02 -04:00
xenohedron
69e9f3de8a fix casting from opponent's graveyard 2024-05-27 17:23:35 -04:00
Oleg Agafonov
89523ff8f3 Merge fix 2024-05-27 23:49:17 +04:00
Susucre
50bf3b5d95
implement [MH3] Nadu, Winged Wisdom ; extend "triggers only once each turn" for any other limit (#12302) 2024-05-27 20:41:20 +02:00
Oleg Agafonov
2298ebc5f5 Playable mana calculation improved:
* server: fixed server crashes on usage of multiple permanents with {Any} mana abilities (example: Energy Refractor, related to #11285);
* AI: fixed game freezes and errors on computer's {Any} mana usage (closes #9467, closes #6419);
2024-05-27 22:24:58 +04:00
xenohedron
33fe4730ae
Fix first strike damage logic (#12297)
* add tests for first strike rules

* fix first strike damage logic per 702.7c

* add more test cases

* update logic to not check actual damage dealt

* add another test case

* adjust naming and docs
2024-05-26 20:01:01 -04:00
xenohedron
71a3c05e96 add test cases for #12298 2024-05-26 19:56:50 -04:00
Susucre
faa868aa16 implement [MH3] Detective's Phoenix 2024-05-26 16:17:14 +02:00
Susucre
a3b7bb785d implement [MH3] Ripples of Undeath 2024-05-26 12:07:43 +02:00
Oleg Agafonov
6b86b1053f Modal double-faced cards - improved support with copy effects (fixed that copied token has abilities from both sides, closes #10146, closes #8476); 2024-05-26 13:01:36 +04:00
Susucre
d0971145f2 implement [MH3] Ulamog, the Defiler 2024-05-25 16:58:44 +02:00
Susucre
0e64a326c6 implement [MH3] Kami of Jealous Thirst 2024-05-25 15:40:35 +02:00
Susucre
44ad71f2e0 implement [MH3] Argent Dais 2024-05-25 14:17:06 +02:00
Oleg Agafonov
4e9b42a6df tests: added PoC test for Energy Refractor problem (related to #11285) 2024-05-25 00:02:15 +04:00
Susucre
bcff245a31
rework more Prevention Effects involving counters. Implement [PIP] Bloatfly Swarm (#12205) 2024-05-23 19:48:44 +02:00
Susucre
e3e34dae33 implement [MH3] Strix Serenade ; refactor similar effects with Pongify effect
Slight refactor for Serenade, Swan Song and An Offer You Can't Refuse to
use the shared class (formely for Permanents only) for Pongify kind of effects.
2024-05-23 19:47:06 +02:00
Susucre
4b016f0568 implement [MH3] Suppression Ray // Orderly Plaza 2024-05-23 18:19:29 +02:00
Susucre
f30ec10846 implement [MH3] Drowner of Truth // Drowned Jungle 2024-05-23 18:19:29 +02:00
Susucre
c9b5d5ad98 implement [MH3] Marionette Apprentice 2024-05-23 13:07:05 +02:00
Susucre
a1bbb49a38 implement [MH3] Grist, Voracious Larva // Grist, the Plague Swarm 2024-05-23 00:17:01 +02:00
Susucre
79165f269c implement [MH3] Sorin of House Markov // Sorin, Ravenous Neonate 2024-05-22 22:18:52 +02:00
Susucre
8002cdf88f implement [MH3] Tamiyo Inquisitive Student // Tamiyo, Seasoned Scholar 2024-05-22 21:43:07 +02:00
Susucre
bab302f653 implement [MH3] Six 2024-05-22 20:24:33 +02:00
Susucre
725101c026 implement [MH3] Eladamri, Korvecdal 2024-05-22 20:22:29 +02:00
Susucre
754b382e78
implement [MH3] Nethergoyf, refactor targets usages by game param (#12267) 2024-05-21 13:34:38 +02:00
Cameron Merkel
0f858fe3c3
[PIP] Implement Sentinel Sarah Lyons; The Prydwen, Steel Flagship; add common watcher + condition (#12250)
* [PIP] Implement Sentinel Sarah Lyons

* Create common watcher and condition for artifacts entering

* [PIP] Implement The Prydwen, Steel Flagship

* Use common classes in Akal Pakal, First Among Equals; string correction

* Add warning about watcher to ArtifactEnteredUnderYourControlCondition

* Add tests

* Move test file

* Test with opponent casting artifact during your turn

* Use checkPT(), don't call execute() multiple times

* Check final assertion at upkeep instead of untap step
2024-05-21 00:33:11 -04:00
jimga150
f8a159839e
[WHO] Implement Weeping Angel (#12236) 2024-05-20 23:51:48 -04:00
Susucre
4f1f28154d make random failure a little less likely for image tests
15 was failing a little too often in my opinion
2024-05-20 19:13:53 +02:00
Susucre
6cc3c5384a fix UntilYourNextTurnDelayedTriggeredAbility
was wrongly limited to triggering once.
2024-05-17 12:22:19 +02:00
xenohedron
b4dbc75ac5 fix damage prevention to multiple targets 2024-05-16 14:02:35 -04:00
Susucre
3abce2f5c8
support until your next turn delayed triggers (#12233) 2024-05-16 13:37:53 +02:00
Oleg Agafonov
dd8fd1a4b0 Merge fix 2024-05-12 14:39:46 +04:00
Oleg Agafonov
ebe04dc3a6 tests: added tests for Chandra Ablaze card and some AI logic; 2024-05-12 14:37:10 +04:00
Oleg Agafonov
d28b9e6d05 tests: added additional tests for Dryad Militant card and Madness abilities, added docs; 2024-05-12 12:33:48 +04:00