Commit graph

3887 commits

Author SHA1 Message Date
Susucre
20b7a115da
prevent direct access of Player->counters ; some cleanup on counter removal effects ; implement [MH3] Izzet Generatorium (#12314) 2024-05-29 22:34:54 +02:00
Oleg Agafonov
ba36eac7f8 fixed error on deck editor usage, related to 2298ebc5f5 2024-05-28 22:22:20 +04:00
tiera3
024291e057
add download option for all basic land images (#12283) 2024-05-26 19:59:33 -04:00
Oleg Agafonov
0e39d6a833 images: fixed miss token image in some use cases (if it was created from a card and a set contains multiple images); 2024-05-26 12:56:03 +04:00
tiera3
0152d2af1f
add download for ZNC/Germ Token Image (#12286) 2024-05-25 18:33:51 -04:00
tiera3
e3e5f3fa28
Rework Scryfall Image Downloads (#11926)
* Rework Scryfall Image Downloads

Now autoconverts collector numbers ending in "*" or "+" or "Ph" so not as many direct links required.
Uses a third attempt with &variation=true which is needed for the 79 cards that are marked as variations.
Fully tested image downloads with language set to russian to ensure fallbacks work correctly.

Restored comments to match scryfall names instead of the .java file names
Added check for api link ending in "/"
Added workaround comments.
Created prepareCardNumber in ScryfallImageSupportCards.java to use for the shared code.

A couple of comments of scryfall set names:
Commander Legends: Battle for Baldur's Gate
Game Night: Free-for-All

Comment for Viscera Seer re issue 11157
2024-05-25 18:33:23 -04:00
Oleg Agafonov
1b5f8ce1af GUI: fixed wrong background rendering of card's popup window (related to #12261), deleted un-used code; 2024-05-20 23:19:51 +04:00
Oleg Agafonov
492269c473 return fix for #12261 2024-05-20 23:19:51 +04:00
Oleg Agafonov
72d7d6e353 reverted changes for #12261 2024-05-20 16:37:43 +04:00
Oleg Agafonov
fb453cce18 GUI: fixed wrong render of attack and other arrows over dialogs (closes #12261); 2024-05-20 16:09:15 +04:00
Oleg Agafonov
bd1ab573f1 GUI: fixed that attack/block arrows was visible after disconnect (closes #12258) 2024-05-20 14:29:31 +04:00
grimreap124
f53c9da3e4
GUI: added stacked feature for a same creature tokens (#12256) 2024-05-20 09:15:15 +04:00
grimreap124
61b7918fe6
GUI: fixed bugs with some stacked tokens (closes #12246, related to #12242) (#12248) 2024-05-18 22:56:01 +04:00
PurpleCrowbar
a95b988ac7 Add SCD token images 2024-05-15 03:18:53 +01:00
grimreap124
7e7287e7eb
GUI: added stacked feature for a non-creature tokens like Food and Treasure (#12242) 2024-05-14 08:55:54 +04:00
Oleg Agafonov
d138e33b04 GUI: fixed wrong font sizes in table's and feedback panel popup hints 2024-05-07 15:33:40 +04:00
Oleg Agafonov
d3437c9b1e GUI: fixed that size settings changes do not work in-game sometimes (broken fonts in feedback panel); 2024-05-07 15:25:15 +04:00
karapuzz14
bb783a318e
Added [YDMU] Alchemy: Dominaria set. Implemented Vinesoul Spider, Slimefoot, Thallid Transplant. (#12157) 2024-05-04 17:34:25 -04:00
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
daa8996398 [M3C] add set 2024-04-30 17:01:09 -04:00
PurpleCrowbar
66f09decfc Add OTP token images 2024-04-28 21:37:40 +01:00
PurpleCrowbar
fd6f2f48df Add BIG token images 2024-04-28 21:29:48 +01:00
PurpleCrowbar
7cbdef627c Add OTJ token images 2024-04-28 21:22:13 +01:00
PurpleCrowbar
371391b2e3 Add OTC token images 2024-04-28 21:09:06 +01: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
Alexander Novotny
9f52c8946e
Allow multiple icons at the top right of player avatar (#12169) 2024-04-22 23:58:43 -04:00
Alexander Novotny
42906f519b
Fixed remembering self-referential choices (#12167)
* Fixed remembering self-referential choices

* Rename filtered message to auto answer message

* Always use auto answer message
2024-04-22 23:58:26 -04:00
Susucre
2eb872c93e tweak PlayerPanel pixels 2024-04-21 11:19:13 +02:00
xenohedron
e095a76561 update Czech Republic -> Czechia (resolves #12143) 2024-04-19 01:18:38 -04:00
Susucre
9d7bf27d38
[PIP] Implement Rad Counters mechanic (#12087) 2024-04-17 20:04:17 +02:00
Oleg Agafonov
7817a5cac6 deck improves:
* gui: removed public deck hash info;
* gui: improved xmage dck-file - now it correctly load a card's amount (related to files from third party services);
* server: fixed wrong cheating warning on deck construction (closes #11877);
* refactor: removed outdated hash code and calculations;
* other: added docs, added multiple deck hash tests;
2024-04-10 22:18:07 +04:00
Susucre
a69583dbfc
images: added support of meld cards, fixed #11778 (#12083) 2024-04-08 23:57:13 +04:00
Susucre
3e75f93c20 [OTJ] Implement custom play booster generation
Much can be improved from there, but it is a rough
first implementation of a slot-based play booster.
2024-04-05 00:09:21 +02:00
theelk801
5af2762629 [OTP] add set 2024-04-02 21:29:30 -04:00
theelk801
83e2b9b492 [OTC] add set 2024-03-27 11:17:57 -04:00
Oleg Agafonov
fef37cdc73 admin tools improves (#5388):
* added game ids and created time to tables list;
* added popup hints support to tables list;
* fixed wrong sorting and columns resizing in tables list;
* refactored some modules to share table related code between client and admin console;
2024-03-22 16:56:29 +04: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
b315b46871 gui: deck editor - improved popup menu naming, added commander hint to sideboard, fixed generate/random deck dialog on cancel, removed outdated logs; 2024-03-08 00:48:25 +04:00
tiera3
6a90e295a2
add set: [SLP] Secret Lair Showdown (#11908)
Commented out MB1 and FMB1 so they stop showing failed download errors due to #11806
2024-03-06 18:47:49 -05:00
tiera3
484ff1eaff
[SCD] added new set Starter Commander Decks (#11893, #11897) 2024-03-04 14:56:22 +04:00
tiera3
057fa2694d
images: fixed missing images download from SLD and other sets (#11883) 2024-02-29 17:21:04 +04:00
Oleg Agafonov
734e2fae0f refactor: removed outdated or un-used code (part of #11873) 2024-02-29 07:50:13 +04:00
Oleg Agafonov
2aea44da2c gui: fixed token render in mtgo mode (part of #11873) 2024-02-29 07:10:59 +04:00
Oleg Agafonov
ae5da8bb2b gui: fixed broken card viewer (closes #11875, part of #11873) 2024-02-29 06:27:53 +04:00
PurpleCrowbar
3aa44bc7ef Add MKC token images 2024-02-29 02:02:03 +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
tiera3
f84f871e57
add [ANB] Arena Beginner Set (#11868)
* Remove Shorecomber Crab from ArenaNewPlayerExperienceExtras where it was incorrectly listed
2024-02-27 22:42:33 -05:00
PurpleCrowbar
4235949c55 Add MKM token images 2024-02-28 01:07:04 +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