Commit graph

435 commits

Author SHA1 Message Date
Susucre
85cad4ff1e
cleanup AbilityType for easier check that an ability is an activated ability (#12153)
* cleanup AbilityType

* further cleanup

* cleanup instanceof

* tweak formatting

* rework Rex

* fix mistake in PlayerImpl

* cleanup 'instanceof' for 'ActivatedManaAbilityImpl'
2024-05-03 22:13:34 -04:00
theelk801
31c37a4dd3 [M3C] Implement March from Velis Vel 2024-04-30 21:02:05 -04:00
xenohedron
9566e23d0b
Rework Mystery Booster and adjust some set classifications (#12138)
Mystery Booster rework:
* added images download support from scryfall (closes #11806);
* added virtual sets support (remix);
* fixed Commander set name (closes #12110);
2024-04-23 09:28:40 +04:00
Susucre
c77634c843
separate 'you may play'|'you may cast' AsThoughtEffect approuvers
Also, reworked Gonti, Lord of Luxury and checks it now works properly with Zoetic Cavern.
2024-04-13 12:10:53 +02:00
xenohedron
35a22527f1 another batch of text fixes 2024-04-04 23:21:44 -04:00
Susucre
d1de8b8cd3
[OTJ] Implement Tinybones, the Pickpocket + refactor MayCastTargetThenExileEffect (#12040) 2024-04-05 00:16:53 +02:00
theelk801
47b7f627d9 [OTJ] Implement Giant Beaver 2024-04-01 21:53:16 -04:00
theelk801
438fc677f7 [OTJ] Implement Rambling Possum 2024-03-31 11:09:14 -04:00
Susucre
97ab8074b3
[OTJ] Implement Plot mechanic (+8 cards) (#12017)
[OTJ] Implement Aloe Alchemist
[OTJ] Implement Aven Interrupter
[OTJ] Implement Longhorn Shapshooter
[OTJ] Implement Kellan Joins Up
[OTJ] Implement Make Your Own Luck
[OTJ] Implement Jace Reawakened
[OTJ] Implement Lilah, Undefeated Slickshot
[OTJ] Implement Doc Aurlock, Grizzled Genius
2024-03-31 17:06:55 +02:00
Evan Kranzler
8fbc7c9507
[OTJ] Implementing "saddle" mechanic (#12012)
* [OTJ] Implement Trained Arynx

* implement saddle cost

* update saddled effect

* add test

* add sorcery speed to saddle ability

* apply requested changes

* [OTJ] Implement Quilled Charger

* rework test
2024-03-29 23:00:22 -04:00
Susucre
8ffaaedaf3 [OTJ] Implement Rise of the Varmints 2024-03-29 21:05:54 +01:00
theelk801
4df99b528f [OTJ] Implement Cunning Coyote 2024-03-28 11:00:15 -04:00
theelk801
516009d865 rearrange subtypes alphabetically 2024-03-27 09:09:48 -04:00
theelk801
8d6a9896bb [OTJ] Implement Armored Armadillo 2024-03-27 08:48:08 -04:00
theelk801
391a00bafc [OTJ] Implement Frontier Seeker 2024-03-27 08:19:31 -04:00
Cameron Merkel
9474f67f5c
[PIP] Implement Nick Valentine, Private Eye (#11965) 2024-03-18 23:10:22 -04:00
ssk97
b9bfe2ba48
Megamorph abilities - fixed that face down creatures show megamorph instead morph status (#11957)
* Megamorph should appear as if it were Morph

* review comment
2024-03-18 03:58:02 +04:00
xenohedron
73e9b8da49 add 5 minute match timer option (closes #11925) 2024-03-09 21:37:17 -05:00
theelk801
59bf39f666 add sloth subtype, fix verify error 2024-03-09 17:54:54 -05:00
PurpleCrowbar
e5759bbd9e
[PH17] Implement Inzerva, Master of Insights (#11774)
* Remove superfluous code from fateseal effect
2024-03-07 19:02:52 -05:00
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
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
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
theelk801
7a27c01a41 [PIP] Implement Break Down 2024-02-23 09:55:25 -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
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
PurpleCrowbar
19e829a959 Fix typo in creature types 2024-01-08 16:46:52 +00:00
xenohedron
66716a4314 cleanup usage of SubType from string 2023-12-21 22:07:16 -05:00
ssk97
6cd8649857
GUI: lobby - improved details info about match (#11438) 2023-12-09 16:35:09 +04:00
Oleg Agafonov
960e896903
Network upgrade and new reconnection mode (#11527)
Network upgrade and new reconnection mode:
* users can disconnect or close app without game progress loose now;
* disconnect dialog will show active tables stats and additional options;
* all active tables will be restored on reconnect (tables, tourneys, games, drafts, sideboarding, constructing);
* user must use same server and username on next connection;
* there are few minutes for reconnect until server kick off a disconnected player from all player's tables (concede/loose);
* now you can safety reconnect after IP change (after proxy/vpn/wifi/router restart);

Other improvements and fixes:
* gui: main menu - improved switch panel button, added stats about current tables/panels;
* gui: improved data sync and updates (fixes many use cases with empty battlefield, not started games/drafts/tourneys, not updatable drafts, etc);
* gui: improved stability on game updates (fixes some random errors related to wrong threads);
* server: fixed miss messages about player's disconnection problems for other players in the chat;
* refactor: simplified and improved connection and network related code, deleted outdated code, added docs;
* tests: improved load test to support lands only set for more stable performance/network testing (set TEST_AI_RANDOM_DECK_SETS = PELP and run test_TwoAIPlayGame_Multiple);
2023-12-07 20:56:52 +04:00
Oleg Agafonov
3a92d67d10 tests: added verify test to check miss of controlled filter in equip abilities (related to #11473); 2023-11-27 23:08:23 +04:00
Oleg Agafonov
089ff267a7 tests: added additional check for Karn Liberated (related to #11081) 2023-11-06 12:11:59 +04:00
theelk801
b095cfd5a1 [LCI] Implement Basking Capybara 2023-11-03 08:55:16 -04:00
Oleg Agafonov
81d44e615f gui: improved multi amount dialog (added cancel option, added mana symbols support in messages, improved form structure) 2023-11-02 12:30:40 +04:00
theelk801
ee00efafe4 [LCI] Implement Akawalli, the Seething Tower 2023-10-30 21:48:34 -04:00
xenohedron
69fbfe8fd6 fix some text 2023-10-29 02:21:54 -04:00
theelk801
0f7db0c69d [LCI] Implement Quintorius Kand 2023-10-27 19:30:30 -04:00
Susucre
df15e0821c [LCI] Implement Skullcap Snail 2023-10-27 18:44:03 +02:00
Susucre
fb6bd22c15 [LCI] Implement Restless Prairie 2023-10-26 12:38:04 +02:00
theelk801
3463987e3f [LCI] Implement Song of Stupefaction 2023-10-24 20:34:19 -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
Susucre
d440cf5b08
[LCI] Implement Kellan, Daring Traveler (#11332)
Also adds Map Token, a new Token with implicit rules:
> {1}, {T}, sacrifice {this}: target creature you control explores. Activate only as a sorcery.
2023-10-24 19:36:16 +02:00
Susucre
5996cfbce2
[MIR] Implement Teferi's Imp (#11326) 2023-10-22 14:34:45 +02:00
theelk801
18935970f7 [PIP] Implement Intelligence Bobblehead 2023-10-19 20:22:33 -04:00
theelk801
490e530423 change paradox from flavor word to ability word (nonfunctional) 2023-10-13 09:25:57 -04:00
Oleg Agafonov
fe8b8e1def server: fixed npe error on load tests (miss buffer timer), code refactor 2023-10-11 14:15:15 +04:00