Commit graph

11776 commits

Author SHA1 Message Date
Oleg Agafonov
55f1d36695 game: improved visible rules of face down cards, removed visible face up cost (part of #10653, #11884) 2024-03-01 16:47:59 +04:00
Oleg Agafonov
9ea3356b77 [WHO] implemented Disguise ability (new face down type, ability and token image, #10653) 2024-03-01 16:47:59 +04:00
PurpleCrowbar
c39c8be9b6 Fix investigate effect text 2024-03-01 00:11:30 +00:00
Oleg Agafonov
c8a9a1a9db game: improved game logs for faced-down spells and exiled cards - now it support popup hint to view card/permanent (part of #11884, related to #11881, #8781) 2024-03-01 02:08:25 +04:00
Oleg Agafonov
4334ac8987 refactor: added face down status to SpellAbilityCastMode (related to #11884); 2024-02-29 22:33:37 +04:00
Oleg Agafonov
734e2fae0f refactor: removed outdated or un-used code (part of #11873) 2024-02-29 07:50:13 +04:00
PurpleCrowbar
68bfe4fd6f Improve rule generation for DealsDamageToAPlayerAllTriggeredAbility 2024-02-29 02:57:39 +00:00
PurpleCrowbar
3aa44bc7ef Add MKC token images 2024-02-29 02:02:03 +00:00
PurpleCrowbar
c4668476b1 Fix SacrificedArtifactThisTurnCondition 2024-02-29 01:33:30 +00:00
Oleg Agafonov
e38a79f231
Face down images and cards rework (#11873)
Face down changes:
* GUI: added visible face down type and real card name for controller/owner (opponent can see it after game ends);
* GUI: added day/night button to view real card for controller/owner (opponent can see it after game ends);
* game: fixed that faced-down card can render symbols, abilities and other hidden data from a real card;
* images: added image support for normal faced-down cards;
* images: added image support for morph and megamorph faced-down cards;
* images: added image support for foretell faced-down cards;

Other changes:
* images: fixed missing tokens from DDD set;
* images: no more client restart to apply newly downloaded images or render settings;
* images: improved backface image quality (use main menu -> symbols to download it);
2024-02-29 01:14:54 +04:00
PurpleCrowbar
79e5a83ec9 [MKC] Implement Sophia, Dogged Detective 2024-02-28 15:50:36 +00:00
PurpleCrowbar
0d11a898fc
refactor: GainAbilityControlledSpellsEffect to enforce nonland card filter (#11871) 2024-02-27 22:42:52 -05:00
PurpleCrowbar
4235949c55 Add MKM token images 2024-02-28 01:07:04 +00:00
Cameron Merkel
9e587ca05d
[MKM] Implement Blood Spatter Analysis (#11863) 2024-02-27 17:30:17 -05:00
PurpleCrowbar
3486c57364
[MKC] Implement Printlifter Ooze (#11865) 2024-02-27 22:29:36 +00:00
PurpleCrowbar
90aa4f84b8 Add RVR token images 2024-02-26 15:53:32 +00:00
PurpleCrowbar
b847e9d0d7 Add LCC token images 2024-02-26 15:22:23 +00:00
PurpleCrowbar
ddcd54c0df
[BLB] Implement Byrke, Long Ear of the Law (#11860)
New common class DoubleCountersTargetEffect
2024-02-26 00:12:14 -05:00
theelk801
409ec4b3b2 [BLB] Implement Mabel, Heir to Cragflame 2024-02-24 16:24:00 -05:00
theelk801
13cfb5359a fix verify failure 2024-02-24 10:21:45 -05:00
theelk801
6e8c667b97 [MH3] Implement Scurry of Gremlins 2024-02-24 10:15:48 -05:00
Cameron Merkel
4e24ef2e47
[MKM] Implement Flourishing Bloom-Kin and move Cultivate-like searches to common class (#11837)
* Move Cultivate search effect to common class

* [MKM] Implement Flourishing Bloom-Kin

* Use TargetCardInLibrary, minor changes to improve readability

* Announce cards going to hand
2024-02-24 02:03:29 -05:00
theelk801
7a27c01a41 [PIP] Implement Break Down 2024-02-23 09:55:25 -05:00
xenohedron
f27a0c8b9a fix #11832 (The Enigma Jewel) 2024-02-23 01:36:48 -05:00
PurpleCrowbar
504889b7b4
[MKC] Implement Tesak, Judith's Hellhound (#11831) 2024-02-22 22:18:27 -05:00
Matthew Wilson
00deb7ac8a
[MKM] Implement Intrude on the Mind (#11825) 2024-02-22 22:18:16 -05:00
Matthew Wilson
7c42736745
Remove unnecessary setText from Imp token code (#11829) 2024-02-21 20:56:06 -05:00
Matthew Wilson
9bad12e6cd
[MKM] Implement Kaya, Spirits' Justice and new zone change batch event (#11753)
---------

Co-authored-by: Matthew Wilson <matthew_w@vaadin.com>
2024-02-21 20:55:51 -05:00
xenohedron
4d75402e6d null safety check 2024-02-21 01:04:57 -05:00
Matthew Wilson
244f8d24cb
[MKM] Implement Kylox's Voltstrider; adjust Collect evidence cost (#11800) 2024-02-21 00:53:46 -05:00
Matthew Wilson
477ccb99e6
[MKM] Implement Judith, Carnage Connoisseur (#11821) 2024-02-20 23:36:34 -05:00
Oleg Agafonov
34816be219 GUI: added missing image info in card popup hint (works in any render mode, support cards, tokens, emblems, etc - can be disabled in Preferences, related to #7759, #2158); 2024-02-19 12:40:35 +04:00
Oleg Agafonov
e26445774b game: face down abilities - added workable card hint to game logs after face up activate (now you can see face up card from a logs); 2024-02-18 23:23:31 +04:00
Oleg Agafonov
ad8e7daf97 refactor: improved card info 2024-02-18 22:40:30 +04:00
Oleg Agafonov
3ebe9b55d2 tests: added verify check for equip ability settings 2024-02-18 16:51:55 +04:00
Oleg Agafonov
46d751f996 refactor: improved usage of target pointers 2024-02-18 15:38:53 +04:00
Oleg Agafonov
78612ddc91 multiple changes:
* refactor: improved target pointer init code and logic, added docs and runtime checks;
* game: fixed miss or wrong init calls in some continuous effects;
* game: fixed wrong usage of target pointers (miss copy code, miss npe checks);
2024-02-18 15:05:05 +04:00
xenohedron
ead385a03b fix #11811 (Mob Rule) with new common class to handle logic 2024-02-18 00:32:44 -05:00
xenohedron
920d75377d make inner classes static in ForetellAbility 2024-02-17 22:31:24 -05:00
xenohedron
0a5370cf27 make inner class static 2024-02-17 22:31:24 -05:00
xenohedron
d6e7ff6dad new TargetPlayerGainControlSourceEffect
rework Drooling Ogre and others to use it
2024-02-17 22:31:24 -05:00
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