Commit graph

4331 commits

Author SHA1 Message Date
Grath
f96343eec8
Fix Maarika, Brutal Gladiator trigger to use LKI. (#12507)
* Fix Maarika, Brutal Gladiator trigger to use LKI.

Fixes #8775

* Fix more instances of getting permanent or LKI from first target.

* Two more instances of getting permanent or LKI from first target.
2024-06-22 17:55:03 -04:00
Susucre
64e08b49b1 fix cost reduction not controller specific for [MH3] It That Heralds the End and [MH3] Ral, Leyline Prodify
fix #12503
2024-06-22 14:47:47 +02:00
Evan Kranzler
e851e04906
Implement Freerunning mechanic (ready for review) (#12485)
* [ACR] Implement Eagle Vision

* add test

* [ACR] Implement Achilles Davenport

* [ACR] Implement Chain Assassination

* [ACR] Implement Restart Sequence

* update test

* add test for non-assassin, non-commander
2024-06-19 18:05:20 -04:00
ssk97
32d7122e59
Fix looking at face-down creatures; implement [MKM] Lumbering Laundry (#12479) 2024-06-18 22:23:50 -04:00
theelk801
bac4e7b507 (refactor) break out assignment into its own package 2024-06-18 13:44:11 -04:00
xenohedron
391c01c87d implement [MH3] Herigast, Erupting Nullkite 2024-06-15 14:54:14 -04:00
xenohedron
f08d5acb30 implement [VIS] Pygmy Hippo 2024-06-15 13:57:55 -04:00
xenohedron
fdd244786b refactor: improve method name (related to 86fa9278) 2024-06-13 00:43:51 -04:00
xenohedron
b85d2883e3 style: remove some static imports 2024-06-11 23:47:48 -04:00
xenohedron
d61de05eb8
refactor: simpler processAction syntax (#12458)
* game.processAction() instead of game.getState().processAction(game)

* add simpler method name and docs

* find/replace to new method

* remove old method

* deprecate applyEffects
2024-06-11 22:55:43 -04:00
xenohedron
fc21365847
Fix "becomes the target of" logic to check all modes (#12452)
* check all targets from all modes for getTargetingStackObject

* update logic related to a97dec3
2024-06-11 00:58:12 -04:00
xenohedron
a5488228b8
fix usable zone logic for abilities that function from other zones (#12446)
* remove superfluous constructor params

* fix Syrix, Carrier of the Flame

* standardize Zone = Battlefield

* rename class

* remove redundant class

* add docs

* adjustment
2024-06-09 22:15:04 -04:00
xenohedron
0d4acf26e5 refactor: improve method name - checkShortLivingLKI 2024-06-09 22:13:33 -04:00
xenohedron
aeaeccb63b
Fix bugs with dies triggers due to short living LKI reset (#12438)
* replace applyEffects() with processAction() for card usages

* update Goblin Welder and test

* add test for Historian's Wisdom

* enable other related tests

* only reset short living LKI for process action, not all apply effects

* update docs

* remove applyEffects from condition in Historian's Wisdom

* add another test case
2024-06-09 18:56:19 -04:00
xenohedron
4bdca4b9ad text fixes 2024-06-08 15:23:23 -04:00
Susucre
e2066f41ab
fix copy effect not being discarded early enough (#12434) 2024-06-08 20:49:20 +02:00
Evan Kranzler
cdf91e66fb
Change tribal card type to kindred, update viashino and naga (#12271)
* change tribal card type to kindred

* update viashino to lizard

* update naga to snake
2024-06-08 13:55:52 -04:00
Susucre
40a1fc6c23 cleanup and add tests on '{this} enters the battlefield tapped unless [Condition]'
Almost a refactor. The only change is that all those cards were missing the notTarget argument in TapSourceEffect.

closes  #12411
2024-06-08 19:35:35 +02:00
Oleg Agafonov
a071593d47 refactor: added runtime check for wrong usage of AddContinuousEffectToGame (closes #12427) 2024-06-07 23:20:13 +04:00
Evan Kranzler
08c7d2ab8f
implement [M3C] Planar Nexus [MH3] Omo, Queen of Vesuva and [UNF] Nearby Planet ; introduce AllNonbasicLandTypes status (#12203) 2024-06-07 18:36:41 +02:00
Susucre
3e18b58cac
implement [MH3] Arena of Glory and usage of ManaSpentDelayedTriggeredAbility (#12404) 2024-06-07 18:34:45 +02:00
xenohedron
79a37d249e more text adjustments 2024-06-06 23:28:10 -04:00
xenohedron
3ed1a82ac9 add docs, remove unnecessary try-catch 2024-06-06 23:13:42 -04:00
grimreap124
1d8be572b5
Implement [M3C] Razorfield Ripper (#12389) 2024-06-06 23:11:38 -04:00
xenohedron
f2d6629313 text fixes 2024-06-06 23:05:44 -04:00
Evan Kranzler
720d6075ea
(Don't merge yet) Rename totem armor to umbra armor (#12270)
* rename totem armor to umbra armor

* merge fix

* merge fix
2024-06-06 20:52:37 -04:00
Susucre
24e73df510 implement [MH3] Thief of Existence 2024-06-07 00:19:37 +02:00
Evan Kranzler
27bea843a3
[M3C] Implement Ulalek, Fused Atrocity and new colorless hybrid mana (#12273)
* improved by (#12415)
* Added symbol downloads for new colorless hybrid
---------

Co-authored-by: Alexander Novotny <alexander_novo@mail.tmcc.edu>
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2024-06-06 23:43:45 +04:00
Susucre
b65a5e0e1c implement [MH3] Rosheen, Roaring Prophet 2024-06-06 17:36:11 +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
a63d0d079e implement [MH3] Shilgengar, Sire of Famine 2024-06-06 12:51:12 +02:00
Susucre
ab280ad2ba
implement [MKM] Cryptic Coat (#12164) and Cloak ability 2024-06-06 12:47:07 +02:00
Susucre
425858e413 fixes on new cards 2024-06-06 11:12:29 +02:00
Susucre
98f910a892 implement [MH3] Shadow of the Second Sun 2024-06-06 00:14:06 +02:00
Jeff Wadsworth
66a1dcd707 Update ThatSpellGraveyardExileReplacementEffect.java
Fixed  #12396
2024-06-05 15:49:36 -05:00
Susucre
48ffa3ba84 implement [MH3] Ashling, Flame Dancer 2024-06-05 21:22:38 +02:00
Susucre
be72a5bba6 implement [MH3] Aether Revolt 2024-06-04 17:59:06 +02:00
Susucre
d350485d64 implement [MH3] Kozilek's Command 2024-06-04 16:52:31 +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
fd8cb28fc2 update text generation for tokens with abilities to account for new and old phrasing 2024-06-04 01:10:31 -04:00
xenohedron
95eed18d73 some text fixes 2024-06-02 23:12:06 -04:00
xenohedron
d5f2c1849d update other cards to use common class
resolves ##11809
2024-06-02 23:02:58 -04:00
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
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