Commit graph

11632 commits

Author SHA1 Message Date
xenohedron
ea548af570 cleanup inner class in token 2024-02-17 22:31:24 -05:00
xenohedron
cbad085169 refactor AwakenAbility to remove inner class 2024-02-17 22:31:24 -05:00
xenohedron
baa8a18c3e remove reminder text from lifelink ability (closes #11812) 2024-02-17 22:30:05 -05:00
PurpleCrowbar
2b13ce8544 Fix scry triggered ability optional argument being unused 2024-02-18 02:44:11 +00:00
PurpleCrowbar
a4cc404e18 Implement common surveil triggered ability 2024-02-18 02:26:33 +00:00
PurpleCrowbar
8174be9926 [MKC] Implement Follow the Bodies 2024-02-17 19:57:15 +00:00
PurpleCrowbar
63c65680c8 [MKC] Implement Merchant of Truth 2024-02-17 19:29:08 +00:00
PurpleCrowbar
4388b7ac8c
Add hint to Storm ability (#11795) 2024-02-17 13:31:17 -05:00
PurpleCrowbar
167a796c72
[MKC] Implement Trouble in Pairs (#11807)
* [MKC] Implement Trouble in Pairs

* Delete DrawCardWatcher, use preexisting common watcher

* Fix some unrelated cards' rarities to fix verify

* Implement common turn skipping ability
2024-02-17 13:30:19 -05:00
PurpleCrowbar
4e648a29a9
[MKC] Implement Watcher of Hours (#11808) 2024-02-17 13:30:00 -05:00
Oleg Agafonov
1f36a32a6e tests, refactor: removed outdated code 2024-02-17 20:41:57 +04:00
Oleg Agafonov
229e8d3075 game engine, tests and other fixes:
tests: fixed wrong permanent structure for battlefield cards (addCard command);
tests: added docs and additional runtime checks;
game: Modal double-faced cards - improved support, no more other side effects on battlefield;
game: Copy abilities - improved stability and cards support;
game: Player under control - improved stability and related cards support (possible NPE errors, additional runtime checks);
server: fixed bloated logs with game timer;
AI: fixed wrong timer in computer games;
2024-02-17 19:35:44 +04:00
xenohedron
824e4c6b7a
fix some inner classes (#11798)
* make inner class static

* rework to remove inner class

* static filter cleanup

* ManaCostsImpl<>

* fix copy constructor

* new TargetPlayerGainControlTargetPermanentEffect

* make some inner classes no longer inner classes
2024-02-16 22:37:30 -05:00
xenohedron
cb0dcfe97c adjust fuse ability text 2024-02-15 22:51:22 -05:00
Cameron Merkel
39fee40e5f
[MIR] Implement Torrent of Lava (#11664)
* [MIR] Implement Torrent of Lava

* Show id of the ToL on the stack in the gained ability text
2024-02-15 00:22:06 -05:00
Evan Kranzler
50d44c5f24
[SLD] Implement Lara Croft, Tomb Raider (#11410) 2024-02-15 00:21:50 -05:00
xenohedron
b736f76322 adjust choose message 2024-02-14 22:22:54 -05:00
Matthew Wilson
a042e97c30
[MKM] Implement Niv-Mizzet, Guildpact (#11787)
* [MKM] Implement Niv-Mizzet, Guildpact

* Address comments
2024-02-14 22:18:20 -05:00
Matthew Wilson
08eb000453
[MKM] Implement Proft's Eidetic Memory (#11779) 2024-02-10 14:52:28 -05:00
xenohedron
16a8efa7ea text fixes 2024-02-09 23:26:24 -05:00
Matthew Wilson
e39b55e56b
[MKM] Implement Tolsimir, Midnight's Light (#11768) 2024-02-09 22:22:46 -05:00
Cameron Merkel
c3d2494db6
Fix Aegis of the Legion after CR update (#11765) 2024-02-09 22:22:36 -05:00
Matthew Wilson
41dbec4dbd
GUI: Improved rendering of Class cards (#11767) 2024-02-09 11:58:16 +04:00
Matthew Wilson
506e94d519
GUI: improved rendering of Adventure cards (#11764)
* GUI: Improved rendering of Adventure cards

---------

Co-authored-by: Matthew Wilson <matthew_w@vaadin.com>
2024-02-09 11:55:34 +04:00
Matthew Wilson
e1968a6b5f
GUI: improved rendering of Saga and Case cards (#11762)
Co-authored-by: Matthew Wilson <matthew_w@vaadin.com>
2024-02-06 12:33:11 +04:00
Cameron Merkel
c4e0d64428
Rework how Training events are handled (#11748)
* Replace training GameEvent with custom TriggeredAbility
2024-02-05 22:10:30 -05:00
xenohedron
8277de894a simplify ReturnFromGraveyardToBattlefieldWithCounterTargetEffect 2024-02-05 22:09:04 -05:00
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
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
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