Commit graph

13110 commits

Author SHA1 Message Date
xenohedron
d5a239526a simplify Pyrrhic Revival and remove unused param
related to #10626
2024-02-05 22:09:04 -05:00
xenohedron
4968f0b18c cleanup BecomesColorTargetEffect
add option to retain color
2024-02-05 22:09:03 -05:00
xenohedron
cbb56c2248 new StaticFilters.FILTER_CARD_CREATURE_A_GRAVEYARD 2024-02-05 22:09:03 -05:00
xenohedron
cc6d49074f remove extraneous license headers 2024-02-05 22:09:03 -05:00
xenohedron
4d7ef06586 implement [MKM] Assemble the Players 2024-02-04 17:48:39 -05:00
xenohedron
5c7a27b231 implement [MKM] Cryptex 2024-02-04 17:48:39 -05:00
xenohedron
4456c337c8 new StaticFilters.FILTER_CONTROLLED_CLUE 2024-02-04 13:15:41 -05:00
xenohedron
2030dcf169 minor cleanup 2024-02-04 13:08:19 -05:00
xenohedron
804dd0ae2b implement [CLU] Lonis, Genetics Expert 2024-02-04 13:06:27 -05:00
xenohedron
f398368c96 refactor: remaining copy() for target pointer from #11743 2024-02-03 16:29:45 -05:00
xenohedron
6cf05a554c
refactor: use copy() for targetPointer (#11751) 2024-02-03 10:21:16 +04:00
xenohedron
b8c78cceec text fixes 2024-02-02 23:13:52 -05:00
Matthew Wilson
430d50af63 Address PR comments 2024-02-01 13:32:01 +02:00
xenohedron
4dd97b41fc refactor: fully replace PermanentInListPredicate
with PermanentReferenceInCollectionPredicate

related to #10639, #11471, the existence of this was misleading devs to use it incorrectly
2024-01-31 19:39:27 -05:00
Matthew Wilson
0db2599fa5
tests: allow cards to be added to exile during a card test (#11739) 2024-01-31 10:50:04 +04:00
Matthew Wilson
af622a235e
[MKM] Implement Case of the Stashed Skeleton (#11729)
* [MKM] Implement Case of the Stashed Skeleton

* Address PR comments

---------

Co-authored-by: Matthew Wilson <matthew_w@vaadin.com>
2024-01-30 23:49:17 -05:00
Oleg Agafonov
38c71cfeed GUI: Card Viewer - added support of xmage inner images like morph, blessing, etc (look in XMAGE set, related to #11622); 2024-01-31 03:49:25 +04:00
Matthew Wilson
99fa058742
[MKM] Implement Case of the Gorgon's Kiss (#11720)
* [MKM] Implement Case of the Gorgon's Kiss

---------

Co-authored-by: Matthew Wilson <matthew_w@vaadin.com>
2024-01-30 01:53:20 -05:00
Matthew Wilson
2a44f913f9 [MKM] Implement Case of the Pilfered Proof 2024-01-29 11:54:23 +02:00
Matthew Wilson
f8d15cd6ba
[MKM] Implement Cases (#11713)
* Implementing "case" mechanic

* [MKM] Implement Case of the Burning Masks

* [MKM] Implement Case of the Filched Falcon

* [MKM] Implement Case of the Crimson Pulse

* [MKM] Implement Case of the Locked Hothouse

* Address PR comments

* some minor adjustments

* adjustments to hints

---------

Co-authored-by: Matthew Wilson <matthew_w@vaadin.com>
Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2024-01-28 23:41:23 -05:00
xenohedron
391ddf267b even more text fixes 2024-01-27 21:18:25 -05:00
xenohedron
78e1e90356 more text fixes 2024-01-27 20:40:10 -05:00
Evan Kranzler
99c2ffa231
Implementing "collect evidence" mechanic (#11671)
* [MKM] Implement Axebane Ferox

* add exile to cost, fix text

* add targeting message copied from crew ability

* [MKM] Implement Forensic Researcher

* [MKM] Implement Izoni, Center of the Web

* implement requested changes

* merge fix

* [MKM] Implement Sample Collector

* [MKM] Implement Evidence Examiner

* [MKM] Implement Surveillance Monitor

* [MKM] Implement Vitu-Ghazi Inspector

* [MKM] Implement Crimestopper Sprite

* [MKM] Implement Urgent Necropsy

* [MKM] Implement Analyze the Pollen

* implement requested changes

* add can pay cost check to counter unless pays effect

* fix test failure

* add tests

* fix prompt message
2024-01-27 20:26:14 -05:00
theelk801
61e1750428 [MKM] Implement Due Diligence 2024-01-27 10:21:15 -05:00
xenohedron
645b79d07e fix typo 2024-01-26 22:00:50 -05:00
theelk801
8f4a920888 [MKM] Implement Detective's Satchel 2024-01-26 21:57:36 -05:00
theelk801
bd0e9ef110 [MKM] Implement Furtive Courier 2024-01-26 21:57:36 -05:00
xenohedron
1a7edda03d new common class for life drain effects
"Each opponent loses X life. You gain life equal to the life lost this way."
2024-01-26 21:41:30 -05:00
xenohedron
c4aa812862 text fixes 2024-01-26 21:02:52 -05:00
xenohedron
814297c83c adjust MillThenPutInHandEffect
- use standard optional param rather than inverted "mandatory"
- add doc comments
- improve text gen

refactor Tetzin, Gnome Champion to use common class
2024-01-26 20:48:40 -05:00
xenohedron
473d899bf6 adjust CardsLeftGraveyardWatcher
related to #10550
2024-01-26 20:12:07 -05:00
Cameron Merkel
9f4ec75c3b
[CLU] Implement Rope (#11709)
* [CLU] Implement Rope

* Use ClueAbility

* Move CantBeBlockedByMoreThanOneAttachedEffect to common class with minor changes
2024-01-26 19:47:58 -05:00
xenohedron
e431cd90ab
Rework face down effect to layer 1b (#11689)
* add test case for face-down permanent losing abilities

* rework BecomesFaceDownCreatureEffect to layer 1b

* add test for becoming Treasure

* small refactor: Minimus Containment

* add mycosynth lattice test
2024-01-26 19:47:23 -05:00
Susucre
3343aebf79 Fix Emblem Cards not adding Watcher to GameState 2024-01-26 13:39:10 +01:00
theelk801
1f3d184ead [MKM] Implement Person of Interest 2024-01-25 20:57:13 -05:00
theelk801
291f88b1f6 [MKM] Implement Absolving Lammasu 2024-01-25 20:50:47 -05:00
Evan Kranzler
5a809f6fe4
Implementing "suspected" mechanic (#11670)
* [MKM] Implement Agrus Kos, Spirit of Justice

* rework effects

* [MKM] Implement Airtight Alibi

* [MKM] Implement Convenient Target

* [MKM] Implement Repeat Offender

* add test

* add more tests

* add tooltip for suspected

* implement requested changes
2024-01-25 20:30:51 -05:00
Susucre
7df86e91a0 [CLU] Implement Sludge Titan
Introduced TargetCardAndOrCardInGraveyard, derived from the Library one.
Did not achieved everything I wanted in the tests, as the choice seems to be accepted.
Tested it live, no particular issue, you can't select more than one per category.
2024-01-23 19:51:13 +01:00
theelk801
d13d9ac934 some requested fixes 2024-01-23 10:27:14 -05:00
theelk801
1f17f2f02d [MKM] Implement Slime Against Humanity 2024-01-22 11:01:55 -05:00
xenohedron
340156a84b refactor text gen for PutOnTopOrBottomLibraryTargetEffect 2024-01-22 00:14:04 -05:00
xenohedron
6eb1cb834d more text gen refactoring 2024-01-22 00:14:04 -05:00
xenohedron
5a5e320542 refactor text gen for DamageAllControlledTargetEffect 2024-01-22 00:14:04 -05:00
xenohedron
91bf9344e2 refactor text gen for PreventDamageByTargetEffect 2024-01-22 00:14:04 -05:00
xenohedron
68dcfde204 prevent damage by constructor cleanup 2024-01-22 00:14:04 -05:00
xenohedron
23ca66e3ce refactor text gen to use target pointers, part x of y 2024-01-21 02:42:38 -05:00
xenohedron
7be16bdaac refactor text gen for PutCardIntoPlayWithHasteAndSacrificeEffect 2024-01-21 02:42:38 -05:00
xenohedron
cac779cbec refactor text gen for ExileTopXMayPlayUntilEffect 2024-01-21 02:42:38 -05:00
xenohedron
038cf01aa8 partial fix for Syrix, Carrier of the Flame
closes #10057, related to #10550
2024-01-21 00:11:16 -05:00
xenohedron
4959ef4d49
another batch of text cleanup (#11694)
* minor refactor EntersBattlefieldEffect

* more minor refactoring

* text fix

* fix more text

* more text adjustments

* more text discrepancy fixes

* continue the text fixes

* followup fixes and more fixes
2024-01-20 23:13:03 -05:00