Commit graph

12448 commits

Author SHA1 Message Date
Grath
02db93b75c Correct UntapTargetCost similarly to UntapSourceCost per 118.11 2024-12-01 12:21:24 -05:00
Grath
8f3cd5a106 [DSC] Implement Fear of Sleep Paralysis
Also fix UntapSourceCost to allow 'consuming a stun counter' to count as paying untap cost, per rule 118.11, but only if Fear of Sleep Paralysis isn't making stun permanent.
2024-12-01 12:02:59 -05:00
Oleg Agafonov
c6bec887b9 Triggered abilities - fixed that it can trigger from hand or library (related to #13089, regression from #13088) 2024-12-01 15:28:30 +04:00
xenohedron
f06a4c772b fix MB2 playtest card legality (resolves #13090) 2024-11-30 20:25:47 -05:00
xenohedron
682a9d1aa6 refactor: remove unused class and constructors 2024-11-30 15:44:58 -05:00
xenohedron
4edce76732 refactor: simplify DistributeCountersEffect constructors 2024-11-30 14:27:37 -05:00
xenohedron
ab81e45cc9 text update: "of their choice" of the top or bottom 2024-11-30 14:27:37 -05:00
xenohedron
6f43e76c9e followup text fixes 2024-11-30 14:27:37 -05:00
xenohedron
729869ec36 update text: sacrifice "of their choice" 2024-11-30 14:27:35 -05:00
Oleg Agafonov
b1f914bbf4 version bump 2024-11-30 22:42:47 +04:00
Oleg Agafonov
b1024d23fc refactor: fixed dies events support in single cards (part 6); 2024-11-30 16:56:00 +04:00
Oleg Agafonov
d49ff89a81 refactor: shared logic for diff implementation of isInUseableZone, improved docs and readability; 2024-11-30 04:23:45 +04:00
Oleg Agafonov
57ef74da90 Recover abilities - fixed that it doesn't ask to pay a cost on multiple triggers; 2024-11-30 04:23:36 +04:00
Oleg Agafonov
6d55e4b9e6 refactor: fixed dies events support in single cards (part 5); 2024-11-30 04:23:35 +04:00
Oleg Agafonov
740a9347ae refactor: removed some usages of short LKI, moved static ability's useable zone logic to basic ability implementation; 2024-11-30 04:23:23 +04:00
Oleg Agafonov
52ebba4cd1 refactor: removed outdated code 2024-11-30 04:23:23 +04:00
Oleg Agafonov
fdbc5d6409 docs: added additional notes for 616, related to #13062 2024-11-30 04:23:21 +04:00
Oleg Agafonov
0689c56597 refactor: fixed dies events support in single cards (part 4); 2024-11-30 04:23:21 +04:00
Oleg Agafonov
dc9f349828 refactor: fixed dies events support in single cards (part 3); 2024-11-30 04:23:21 +04:00
Oleg Agafonov
c3343110f3 refactor: fixed dies events support in single cards (part 2); 2024-11-30 04:23:21 +04:00
Oleg Agafonov
66b338c6fc dies triggers improves:
* tests: added additional tests and verify/runtime checks for wrong die trigger settings;
* refactor: removed some usage of short LKI ;
* fixed dies events support in "or trigger" and "conditional trigger" (use cases like sacrifice cost);
* fixed dies events support in shared triggered abilities (use cases like sacrifice cost);
2024-11-30 04:23:21 +04:00
xenohedron
d6cf207a8b
Introduce new batch event for life lost for a specific player (#13071)
* Introduce new batch event for life lost for a specific player

closes #12202, fix #10805

* implement [DSC] Valgavoth, Harrower of Souls

* text fixes
2024-11-19 23:41:34 -05:00
xenohedron
95e986dee7 add reminder text for Flanking ability 2024-11-19 23:22:35 -05:00
xenohedron
d06d594934
rework batch events (#13066)
* add new framework for batch triggers

apply for tapped, untapped, sacrificed, milled

simplify Ob Nixilis, Captive Kingpin

* add a verify check

* fix mistakes

* add simple tests

* another test

* zone change - enters battlefield

* zone change: not battlefield

* zone change - leaves battlefield

* fix Kaya Spirit's Justice

* rename OneOrMoreCombatDamagePlayerTriggeredAbility

* refactor OneOrMoreDamagePlayerTriggeredAbility

* new YoureDealtDamageTriggeredAbility

* new OpponentDealtNoncombatDamageTriggeredAbility

* rework Risona, Asari Commander

* simplify War Elemental

* Add damage batch by source

rework some delayed triggered abilities

* fix Mindblade Render

* rework Initiative and a few others

* [temp] initiative test

* refactor: common style for DealsDamageSourceTriggeredAbility

* refactor cards to use common DealsDamageSourceTriggeredAbility

* update damage players batch triggers

* fix mistake in initiative

* new DealtDamageAnyTriggeredAbility

* new DealtCombatDamageToSourceTriggeredAbility

* update dealt damage to permanent batch triggered abilities

* refactor Hot Soup and param in DealtDamageAttachedTriggeredAbility

* a few more permanent batch triggered abilities

* fix mistake

* update some more damage batch triggers

* add test for Phyrexian Negator

* update Felix Five-Boots and enable test

update Wayta, Trainer Prodigy to align

* update damage batch by source triggers

* undo mistaken change

* fix verify

* cleanup unused methods

* Revert "[temp] initiative test"

This reverts commit 11ed19295f.

* Revert "add a verify check"

This reverts commit e7de47a656.

* fixes from checking text discrepancies

* fix Shriekwood Devourer

* merge fix

---------

Co-authored-by: Susucre <34709007+Susucre@users.noreply.github.com>
2024-11-19 21:23:08 -05:00
theelk801
10f03d0d12 [DSC] Implement Formless Genesis 2024-11-18 19:23:45 -05:00
xenohedron
0e1fa94a11 refactor: SimpleActivatedAbility default zone (cards X Y Z, emblems, tokens) 2024-11-16 23:04:53 -05:00
xenohedron
139ca1ebe1 refactor: SimpleStaticAbility default zone (second line) 2024-11-16 23:04:53 -05:00
xenohedron
ca6d0302b7 refactor: SimpleStaticAbility default zone (separate line) 2024-11-16 23:04:53 -05:00
xenohedron
39512d75ac refactor: SimpleStaticAbility default zone (before newline) 2024-11-16 23:04:53 -05:00
xenohedron
994c97e86a refactor: SimpleStaticAbility default zone (tokens, emblems, etc.) 2024-11-16 23:04:53 -05:00
xenohedron
178b7e0343 text fixes 2024-11-16 22:02:04 -05:00
PurpleCrowbar
013cf2721f Add FDN token images 2024-11-16 23:52:48 +00:00
theelk801
a609d044ec [J25] Implement Slinza, the Spiked Stampede 2024-11-14 11:27:55 -05:00
theelk801
405a6d7c2a [J25] Implement Gornog, the Red Reaper 2024-11-13 17:15:45 -05:00
theelk801
c360d007e6 [J25] Implement Delightful Discovery 2024-11-13 11:07:13 -05:00
theelk801
659fadba96 [J25] Implement Ozox, the Clattering King 2024-11-12 12:15:25 -05:00
theelk801
c168cb06c0 [J25] Implement Plagon, Lord of the Beach 2024-11-12 10:40:40 -05:00
theelk801
93d412406d [J25] Implement Hurska Sweet-Tooth 2024-11-12 10:30:39 -05:00
theelk801
43cdf845d5 [J25] Implement Fumulus, the Infestation 2024-11-12 10:26:13 -05:00
theelk801
afe97b1f8a [J25] Implement Generous Pup 2024-11-11 12:03:59 -05:00
theelk801
d7ae7b0e4d [J25] Implement Nazar, the Velvet Fang 2024-11-11 11:58:42 -05:00
ciaccona007
6c2e7a3fd3 [PIP] Implement Overencumbered 2024-11-05 17:58:19 -05:00
Steven Knipe
f15b3cdb30 [FDN] Uncharted Voyage, add option for "their choice" wording 2024-11-05 01:10:36 -08:00
theelk801
8ecb0b96ac [FDN] fix counter type for Ravenous Amulet 2024-11-04 20:45:21 -05:00
theelk801
28cbb41c14 [FDN] Implement Ravenous Amulet 2024-11-04 20:35:56 -05:00
ciaccona007
31064f2604 [FDN] Implement Nine-Lives Familiar 2024-11-04 10:23:48 -05:00
ciaccona007
0563802da5 [FDN] Implement Loot, Exuberant Explorer 2024-11-04 09:29:10 -05:00
ciaccona007
a387c5ed67 [FDN] Implement Kiora, the Rising Tide 2024-11-04 09:01:24 -05:00
xenohedron
e3d654dcb0 more text fixes 2024-11-03 22:06:51 -05:00
xenohedron
a98ff3867c various text fixes 2024-11-03 21:49:03 -05:00