xenohedron
07e65c999c
remove unintended import, cleanup docs
2024-06-02 21:28:14 -04:00
xenohedron
d226b30592
avoid casting to Card with dedicated method getSourceCardIfItStillExists
2024-06-02 21:28:14 -04:00
xenohedron
d8be015c65
getBattlefield directly, not via getState
2024-06-02 21:28:14 -04:00
xenohedron
7a76a3b005
remove superfluous usage of isPhasedOutIndirectly
2024-06-02 21:28:14 -04:00
xenohedron
502ca34d14
add docs related to phasing methods, adjust method name
2024-06-02 21:28:14 -04:00
xenohedron
277e4f4311
add deprecated annotations, remove unused methods/params
...
clean javadoc boilerplate
2024-06-02 21:28:14 -04:00
xenohedron
3497facd6b
new RemoveAllCountersAllEffect
2024-06-02 21:28:14 -04:00
xenohedron
21f1aa559b
common class for "whenever ... deals damage to you, "
2024-06-02 21:28:14 -04:00
xenohedron
4025b312ad
cleanup calls to respect range of influence
2024-06-02 21:28:14 -04:00
xenohedron
156c474df8
remove bloated class used only once
2024-06-02 21:28:14 -04:00
xenohedron
10230f0d99
getPermanent directly, not via getBattlefield
2024-06-02 21:28:14 -04:00
Susucre
ecde2669d0
fix Crabomination's Emerge from artifact
2024-06-02 21:12:46 +02:00
xenohedron
058ae26de7
refactor: new GainLifeTargetControllerEffect
2024-06-01 16:57:27 -04:00
xenohedron
af89fd80ee
even more text fixes/updates
2024-06-01 16:32:11 -04:00
xenohedron
d067110632
text update "when you next cast..."
2024-06-01 15:26:40 -04:00
Susucre
d1e12595d9
implement [MH3] Planar Genesis
2024-06-01 17:45:06 +02:00
Susucre
b85b61873f
fixes from VerifyCardDataTest text compare
2024-06-01 16:58:16 +02:00
grimreap124
f36a40716d
implement [MH3] Vexing Bauble ( #12344 )
2024-06-01 16:17:50 +02:00
Susucre
6efdce1e4e
implement [MH3] Jolted Away
2024-06-01 14:51:30 +02:00
Susucre
31c772d368
clean EmergeAbility and Doom Foretold
2024-06-01 13:07:21 +02:00
xenohedron
af59ff2c5c
fix text gen mistake
2024-06-01 01:05:47 -04:00
Susucre
dfe9390a2a
implement [MH3] Crabomination
2024-05-31 18:26:42 +02:00
grimreap124
3d89256c84
implement [MH3] Lethal Throwdown ( #12327 )
2024-05-31 12:13:42 +02:00
grimreap124
48579814f9
implement [MH3] Spymaster's Vault ( #12325 )
2024-05-31 12:13:20 +02:00
Susucre
6f4fbeffe3
fix short living lki bug for Chromatic Star ( #12331 )
2024-05-30 21:07:48 +02:00
theelk801
641116cbe9
[MH3] Implement Ral and the Implicit Maze
2024-05-30 13:52:07 -04:00
Susucre
7543274659
implement [M3C] Barrowgoyf
2024-05-30 19:28:36 +02:00
theelk801
91f98086be
[MH3] Implement Emissary of Soulfire
2024-05-30 08:57:57 -04:00
grimreap124
014033e445
implement [MH3] Golden-Tail Trainer ( #12323 )
2024-05-30 13:11:31 +02:00
xenohedron
d7a8af00c1
text fixes
2024-05-30 01:03:21 -04: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
Oleg Agafonov
d6a3e3b82c
deck editor: improved support of mtgjson decks (added import of commander decks);
2024-05-29 23:34:37 +04:00
Susucre
a3282ee6a1
fix Niv-Mizzet Guildpact dealing damage to both targets
...
Fix #12329
2024-05-29 20:23:23 +02:00
theelk801
b475e03255
update energy text generation (errata confirmed by commander deck reprints)
2024-05-28 15:01:22 -04:00
Susucre
60193e797d
fix (mostly text) for [MH3] and [M3C]
2024-05-28 18:56:04 +02:00
Oleg Agafonov
add2d0473e
dev, AI: improved AI logs:
...
* added object and targets info for possible actions;
* added detailed score for each action in possible action chains;
* added stack info;
* improved output for easy read and analyse;
2024-05-28 17:17:16 +04: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
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
Susucre
faa868aa16
implement [MH3] Detective's Phoenix
2024-05-26 16:17:14 +02:00
Oleg Agafonov
876204c7ed
Merge fix
2024-05-26 13:11:16 +04: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
Oleg Agafonov
0e39d6a833
images: fixed miss token image in some use cases (if it was created from a card and a set contains multiple images);
2024-05-26 12:56:03 +04:00
Susucre
0e64a326c6
implement [MH3] Kami of Jealous Thirst
2024-05-25 15:40:35 +02: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
f30ec10846
implement [MH3] Drowner of Truth // Drowned Jungle
2024-05-23 18:19:29 +02:00