Commit graph

3921 commits

Author SHA1 Message Date
Oleg Agafonov
5b49fa4cc2 choose mode improves:
- fixed broken cards with once per turn choose (example: Galadriel, Light of Valinor, closes #11362);
- fixed cheat to skip required mode by cancel button (example: Black Market Connections, closes #11149, closes #10611);
- fixed empty modes list if nothing available to choose;
- improved compatibility with max modes and other modification effects;
- fixed that non-valid modes can be selected in some use cases;
2023-11-02 17:57:55 +04:00
xenohedron
d3cc3aa96d implement [LCI] Zoetic Glyph 2023-11-01 23:28:07 -04:00
xenohedron
33781ac614 text fixes 2023-11-01 23:28:07 -04:00
Evan Kranzler
595955a3cc
Add finality counters (#11379)
* [LCI] Implement Soulcoil Viper

* add finality counter test

* fix bug, add extra test

* [LCI] Implement Uchbenbak, the Great Mistake
2023-11-01 22:08:57 -04:00
Alexander Novotny
87921494b8
Improve trigger auto ordering and aura attachment (Lynde QOL fixes) (#10648)
* Lynde trigger references objects

* Changed triggered ability auto-order to care about targets

* Copy card test

* When a copy effect comes in as a copy of an aura,
it checks if it's already attached before asking player to attach

* add comments and null check per review

---------

Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2023-11-01 21:40:04 -04:00
ssk97
38dd582adc
fix Learn effect to not get lesson cards from exile (#11374) 2023-11-01 21:39:43 -04:00
Susucre
bc335b949b [LCI] Implement Curator of Sun's Creation 2023-11-01 20:12:49 +01:00
xenohedron
ebf71941a9
cleanup EntersBattlefieldAllTriggeredAbility and subclasses (#11372)
* comment out rule override to use generated text instead

* new ETB Opponent trigger class

* text improvements

* update ETB cast trigger

* remove controlledtext parameter

* more text improvements

* more fixes

* lots of other fixes

* most of the remaining fixes

* fix halana text

* fix smoke shroud text

* improve text gen

* remove rule param from constructors

* minor adjustments

* whenever a player puts

* final fixes

* standardize when/whenever phrase generation
2023-10-31 21:00:45 -04:00
theelk801
688003c8e0 [LCI] Implement Gargantuan Leech 2023-10-30 21:40:20 -04:00
theelk801
1388972d4c [LCI] Implement Nicanzil, Current Conductor 2023-10-30 21:16:44 -04:00
xenohedron
32310455cb implement [LCI] Dusk Rose Reliquary 2023-10-30 19:29:16 -04:00
xenohedron
92e089663f fix more text 2023-10-30 19:24:10 -04:00
xenohedron
e802db32d3 fix Discover text 2023-10-30 01:26:55 -04:00
PurpleCrowbar
30b1ef5491
[WHO] Implement The Master, Multiplied (#11356) 2023-10-29 21:42:02 +00:00
xenohedron
69fbfe8fd6 fix some text 2023-10-29 02:21:54 -04:00
xenohedron
9b7fe2fcf6 new MoveCountersFromTargetToSourceEffect 2023-10-28 19:07:03 -04:00
xenohedron
1d93c310c3 implement [LCI] Explorer's Cache
create common MoveCountersFromSourceToTargetEffect

amend
2023-10-28 19:07:03 -04:00
xenohedron
ad66b91642 fix #11353 (InvestigateTargetEffect)
add some test cases
2023-10-28 16:54:27 -04:00
xenohedron
9733786e5d add GameEvent.EventType.EXPLORE
add tests for explore multiple times
2023-10-28 14:43:25 -04:00
Susucre
bcd8687285 [LCI] Implement Poetic Ingenuity 2023-10-28 18:46:53 +02:00
Susucre
cd9f9c9f05
[LCI] Implement the Mother Lode (#11351)
refactor DiscoverEffect to call a static doDiscover that returns the discovered card.
2023-10-28 16:49:57 +02:00
theelk801
fb0917c4e6 [LCI] Implement Enterprising Scallywag 2023-10-28 10:04:33 -04:00
Oleg Agafonov
b7ce9c80f0 refactor: improved ability's modes code (related to #11333) 2023-10-28 15:46:03 +04:00
Evan Kranzler
bc4aa6931f
Ready for review: Implement Craft mechanic (#11352)
* [LCI] Implement Spring-Loaded Sawblades / Bladewheel Chariot

* [LCI] Implement Sunbird Standard / Sunbird Effigy

* card filter needs to have an owner predicate

* [LCI] Implement Throne of the Grim Captain / The Grim Captain

* make default constructor for craft with artifact

* dedupe some code

* refactor constructors for simplicity

* add currently failing test
2023-10-27 22:32:11 -04:00
Susucre
c6441b31a5 [LCI] Implement Get Lost 2023-10-27 17:38:14 +02:00
Susucre
92a4f41b2b fire EXPLORED event after the exploring is done 2023-10-27 14:04:16 +02:00
Susucre
b6cedee854 [LCI] Implement Ojer Taq, Deepest Foundation 2023-10-26 19:49:29 +02:00
Susucre
27b8d3e198
[LCI] Implement Deeproot Pilgrimage (#11350) 2023-10-26 18:06:10 +02:00
Susucre
1a205ff193 [LCI] Implement Jadelight Spelunker 2023-10-26 12:22:18 +02:00
xenohedron
18c6596cc0
Improvements to player selection of TargetAmount (#11341) 2023-10-26 02:12:15 -04:00
xenohedron
a2e64280e5 refactor explore effect 2023-10-26 01:31:17 -04:00
xenohedron
a7b3d6434d fix text: Skeleton Scavengers 2023-10-26 01:31:17 -04:00
theelk801
e52e5e59c4 [LCI] Implement Miner's Guidewing 2023-10-24 23:04:34 -04:00
theelk801
395a138610 a few small fixes 2023-10-24 22:59:43 -04:00
theelk801
40f3573cca [LCI] Implement Didact Echo 2023-10-24 20:29:06 -04:00
theelk801
488b984281 [LCI] Implement Hidden Courtyard 2023-10-24 20:10:29 -04:00
theelk801
3ed232fe63 [WHO] Implement Impending Flux 2023-10-24 19:51:01 -04:00
Susucre
5996cfbce2
[MIR] Implement Teferi's Imp (#11326) 2023-10-22 14:34:45 +02:00
Susucre
69517f998f
[LCI] Implement Breeches, Eager Pillager (#11333) 2023-10-22 14:34:27 +02:00
Susucre
9c17b72892 refactor trigger from Aeon Chronicler and its cycle 2023-10-22 14:05:47 +02:00
Susucre
5b58ff242b
[VIS] Implement Matopi Golem (#11323)
fix Skeleton Scavengers & Soldevi Sentry, and refactor a common effect for all 3.
2023-10-21 15:28:03 +02:00
xenohedron
59929d2860 new SourceDealsDamageToYouTriggeredAbility
fix #11262

test coverage provided by FlamebladeAngelTest
2023-10-20 21:48:35 -04:00
xenohedron
1c19280693 rework Banewasp Affliction 2023-10-20 01:15:34 -04:00
xenohedron
4d2d062a04 text gen adjustment 2023-10-20 01:15:34 -04:00
PurpleCrowbar
764bc096cd
Refactor self-suspend cards (#11317) 2023-10-18 20:54:49 +01:00
Susucre
4143a97998
[WHO] Implement Start the TARDIS (#11311)
Create a new effect PlaneswalkEffect, moving existing code from the planechase roll of chaos dice.
2023-10-17 12:00:28 +02:00
Susucre
dd1852352a
[WHO] Implement Regenerations Restored (#11312) 2023-10-16 20:38:34 +02:00
Susucre
06dc5be2d8
[WHO] Implement Davros, Dalek Creator (#11313) 2023-10-16 20:36:36 +02:00
xenohedron
b3bc6b94aa improve text generation 2023-10-15 23:43:10 -04:00
xenohedron
7f2924b764 text fixes 2023-10-15 00:56:25 -04:00