Commit graph

4077 commits

Author SHA1 Message Date
Susucre
719ef1910e implement [MH3] Disa the Restless 2024-06-06 18:05:08 +02:00
Susucre
2d625f0364 implement [MH3] Volatile Stormdrake ; provide source Ability to canBeTargetedBy and HexproofBaseAbility::checkObject 2024-06-06 17:36:11 +02:00
Susucre
ab280ad2ba
implement [MKM] Cryptic Coat (#12164) and Cloak ability 2024-06-06 12:47:07 +02:00
Susucre
8172616449 test Scholar of the Lost Trove, fix double optional 2024-06-06 11:12:56 +02:00
Susucre
425858e413 fixes on new cards 2024-06-06 11:12:29 +02:00
Susucre
b35924dc4c implement [MH3] Unstable Amulet 2024-06-04 15:38:49 +02:00
Susucre
83ad5d26dc implement [MH3] Amped Raptor 2024-06-04 14:12:04 +02:00
Susucre
cc4c6be78b implement [MH3] The Creation of Avacyn 2024-06-04 13:16:53 +02:00
Susucre
24b184c28f refactor SavedGainedLifeValue instead of getValue("gainedLife") 2024-06-04 11:19:14 +02:00
ssk97
53a5f53f78
[MH3] Implement Fangs of Kalonia, The Hunger Tide Rises, Wastescape Battlemage (#12383) 2024-06-04 10:46:49 +02:00
xenohedron
a90f226053 add tests for new common classes and modified logic 2024-06-02 21:28:14 -04:00
xenohedron
d8be015c65 getBattlefield directly, not via getState 2024-06-02 21:28:14 -04:00
PurpleCrowbar
45be74d00c
[OTC] Implement Felix Five-Boots (#12074)
will need further improvements in #12173 

---------

Co-authored-by: Susucre <34709007+Susucre@users.noreply.github.com>
2024-06-01 22:56:02 -04:00
xenohedron
058ae26de7 refactor: new GainLifeTargetControllerEffect 2024-06-01 16:57:27 -04:00
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