Commit graph

4106 commits

Author SHA1 Message Date
ReSech
a4cb983401
images: added missing tokens to UND, UGL and WHO (#13779) 2025-06-22 11:51:12 +04:00
ReSech
fbd57cb58f
images: added missing tokens for UNF, TDC & DSK (#13775) 2025-06-21 13:18:20 +04:00
ReSech
de383f6908
images: added new tokens for FIC/FIN, copy, monarch and other (#13760) 2025-06-21 08:19:04 +04:00
theelk801
70c5906188 [TLA] add set 2025-06-20 22:27:00 -04:00
theelk801
ecd3efd380 [EOC] add set 2025-06-20 22:27:00 -04:00
theelk801
42d026fb53 [EOE] add set 2025-06-20 09:10:28 -04:00
padfoothelix
4bc30b4b8e
[WHO] Implement The Curse of Fenric (#13718)
---------

Co-authored-by: xenohedron <12538125+xenohedron@users.noreply.github.com>
2025-06-07 23:10:34 -04:00
Oleg Agafonov
d5dc85a54c GUI, deck: improved bracket level calculations (added all levels to validator panel, improved stats and visual, part of #13341) 2025-06-06 23:06:49 +04:00
Oleg Agafonov
d465c9fb82 GUI, deck: improved bracket level calculations (added all infinite combos list and spellbook downloader, part of #13341) 2025-06-06 18:56:03 +04:00
Oleg Agafonov
74c885a331 GUI, deck: improved bracket level calculations (added infinite combos support, part of #13341) 2025-06-03 08:03:39 +04:00
Oleg Agafonov
3d45a24959
Draft Cubes rework (better cube from deck, dynamic data, better errors processing, actual MTGO Vintage Cube) (#13705)
- GUI, table: added dynamic data support for Cube Types (no more depends on server's config names, part of #12050);
- server: replace multiple MTGO Vintage Cubes by single cube, updated to April 2025 (part of #12050);
- server: fixed table freeze on starting error (related to #11285);
- GUI, table: added better support of Cube From Deck (client/server side errors, additional info about loaded cards, etc);
2025-05-31 20:15:31 +04:00
Oleg Agafonov
2e7e78d1e5 GUI, table: allow unlimited draft bots amount, fixed computer names in 10+ tables (part of #13701) 2025-05-31 13:10:03 +04:00
Oleg Agafonov
336ab738f0 GUI, table: improved single/multiplayer drafts - allow unlimited number of draft bots (part of #13701) 2025-05-31 12:38:22 +04:00
Oleg Agafonov
f2826cc676
GUI, table: added drafts with single multiplayer and multiple 1vs1 games support (#13701)
- new tourney's single game mode allow to play tourneys/drafts with all players in one game without multiple rounds;
- it's allow to setup classic drafts with 1 vs 1 games and multiple rounds
- added AI opponents supported including draft bots from a public servers;
2025-05-31 10:39:23 +04:00
theelk801
2a35c87b9d [FCA] add set 2025-05-30 11:52:13 -04:00
Jmlundeen
c936442ea6
Update render mode selection (#13579)
* Update render mode selection

* changes render mode selection to a drop-down
* modes include MTGO, Image, Forced M15, Forced Retro
* debug card test panel updated with additional modes as well

* Update wording on tooltips and update debug panel combobox

* Update CardRenderMode to have id
2025-05-28 08:46:27 -05:00
Oleg Agafonov
93059a4355 GUI, deck: improved bracket level calculations (added mass land destruction support, part of #13341) 2025-05-25 02:09:06 +04:00
Oleg Agafonov
572804732e GUI, deck: improved bracket level calculations (added tutors support, part of #13341) 2025-05-24 23:37:05 +04:00
Oleg Agafonov
7c5d4631a9 GUI, deck: improved bracket level calculations (added extra turn support, part of #13341) 2025-05-24 23:11:24 +04:00
Oleg Agafonov
e9a68744af merge fix 2025-05-24 22:42:56 +04:00
Oleg Agafonov
ea179b698e GUI, deck: added bracket level calculations in deck's validation panel (only game changers support yet, part of #13341) 2025-05-24 22:41:05 +04:00
Oleg Agafonov
ef4431e7f2 merge fix 2025-05-24 20:12:53 +04:00
Oleg Agafonov
f3ba897536 gui, deck: reworked edh power level (close #5361, close #11732, related to #13341):
* added power level info in deck validation panel;
* added detail calculation info (hint with cards and their power levels);
* fixed that deck's edh power level ignore individual card's levels and used only commanders;
* removed outdated deck restrictions by commander colors;
* now players can really limit allowed decks by edh power level;
2025-05-24 19:53:37 +04:00
Oleg Agafonov
11dcc18049 other: fixed miss null checks in frame style usage (close #13662) 2025-05-24 17:37:20 +04:00
Oleg Agafonov
6521f0b978 GUI, deck: improved cards search (close #6548):
- added non-strict search (enter multiple words in any order or case);
- added strict search (enter exact phrase inside quotes);
2025-05-24 02:41:12 +04:00
Oleg Agafonov
a42a4f7239 GUI, deck: improved grid padding for better cards selection by mouse 2025-05-24 01:26:24 +04:00
Oleg Agafonov
8b4c722ae2 GUI, deck: now a duplicated cards adds to the same place as original cards (close #3314); 2025-05-24 01:08:46 +04:00
Oleg Agafonov
8649869ed4 GUI, deck: improved random deck generation:
- added commander decks support (close #5680);
- fixed and improved cards searching due selected colors (now it search by color identity instead mana cost);
2025-05-24 00:21:23 +04:00
Oleg Agafonov
133e4fe425
other: reworked target selection: (#13638)
- WIP: AI and multi targets, human and X=0 use cases, human and impossible targets use cases;
- improved stability and shared logic (related to #13606, #11134, #11666, continue from a53eb66b58, close #13617, close #13613);
- improved test logs and debug info to show more target info on errors;
- improved test framework to support multiple addTarget calls;
- improved test framework to find bad commands order for targets (related to #11666);
- fixed game freezes on auto-choice usages with disconnected or under control players (related to #11285);
- gui, game: fixed that player doesn't mark avatar as selected/green in "up to" targeting;
- gui, game: fixed small font in some popup messages on big screens (related to #969);
- gui, game: added min targets info for target selection dialog;
- for devs: added new cheat option to call and test any game dialog (define own dialogs, targets, etc in HumanDialogsTester);
- for devs: now tests require complete an any or up to target selection by addTarget + TestPlayer.TARGET_SKIP or setChoice + TestPlayer.CHOICE_SKIP (if not all max/possible targets used);
- for devs: added detail targets info for activate/trigger/cast, can be useful to debug unit tests, auto-choose or AI (see DebugUtil.GAME_SHOW_CHOOSE_TARGET_LOGS)
2025-05-16 13:55:54 +04:00
jmlundeen
5e07c2d603 Fix retro card P/T text
* damage text formats properly
* boosted/reduced p/t changes colors appropriately
2025-04-29 14:42:06 -05:00
jmlundeen
e9b6712915 Update RetroCardRenderer
* adjusted values for better scaling
* fix artifact background overriding card color
2025-04-29 08:47:32 -05:00
Oleg Agafonov
db9bdc05c2 GUI, game: fixed that attacking creature draws a wrong colored arrow after blocked creature removed (must be gray, close #11894) 2025-04-26 00:07:41 +04:00
Jmlundeen
e34ebe740e
Feature: Retro Border Renderer (#13563)
* Add Retro Card Renderer

* Updated old sets with retro frames

Adds sets:
* 30th Anniversary Play Promos
* 30th Anniversary Misc Promos
* Eternal Weekend
* MagicFest 2025
* Modern Horizon 2 Timeshifts
2025-04-22 17:37:57 -05:00
Oleg Agafonov
30d44ce869 Improved server's reconnection and drafts stability:
* draft: fixed miss or empty draft panels on reconnect;
* draft: fixed tourney freezes for richman drafts on disconnects;
* draft: fixed tourney freezes on rare use cases with bad connection;
2025-04-18 09:38:52 +04:00
theelk801
c4eaafc6b1 [SPE] add set 2025-04-17 18:02:30 -04:00
Oleg Agafonov
92c5a65124 images: improved error logs on wrong image download in some use cases; 2025-04-17 22:24:59 +04:00
Oleg Agafonov
c3b57f1973 connection: fixed really disabled proxy usage (related to #13549); 2025-04-17 22:23:39 +04:00
Oleg Agafonov
571605e224 server: now it disable draft's clicks protection timeout in test mode; 2025-04-17 21:05:53 +04:00
jmlundeen
e17c773073 [SLD] Add missing urls for reversible cards 2025-04-15 07:53:22 -05:00
jmlundeen
ad5093e728 [TDM] Add fake double faced variants 2025-04-14 09:56:51 -05:00
Oleg Agafonov
cf0ceb8a44 images: fixed scryfall images download after last website update (#13479); 2025-04-13 23:32:18 +04:00
Oleg Agafonov
b819545744 bump version 2025-04-11 17:50:12 +04:00
Oleg Agafonov
1568189c1b other: fixed typos in omen related code (#13501); 2025-04-09 01:22:33 +04:00
Jmlundeen
0df5f17603
[TDM] Implement omen mechanic (#13501)
* Abstract AdventureCard to SingleFaceSplitCard

* Fix AdventureCardSpellImpl

* Finish converting adventure card and adventure spell

* Update Brightcap Badger

change finalize call to adventure card

* Update Darksteel Monolith

being cast from hand condition referencing AdventureCardSpell

* Update Tlincalli Hunter

exiled creature condition referencing AdventureCardSpell

* Update Twice Upon a Time

finalizeAdventure called from Adventure card

* Finish abstracting Adventure

missed some more references to adventure cards

* Implement Omen cards

* Implement Dirgur Island Dragon

* Missed some adventureSpellName references

* OmenCardSpell had wrong comma symbol

* Add tests for Omen Cards

* Rename two part card components

change from SingleFaceSplitCard to CardWithSpellOption

* Update comments and variable name
2025-04-08 08:54:18 -04:00
padfoothelix
eac265f4f7
[WHO] Implement Fugitive of the Judoon (#13467) 2025-04-05 14:10:45 -04:00
PurpleCrowbar
dfb6896453
Skip prompting player with no blockers to select blockers (#13496)
* Don't prompt creatureless player to select blockers

* Move getting possible blockers back to while loop

* Several preferences text improvements, always skip select blockers prompt if no blockers
2025-04-03 18:34:04 +01:00
androosss
b6421e4b6c
images: added new tokens from promo and other sets, fixed miss images (#13492)
* add missing tokens images
* fix broken card images
* remove tokens without image
* remove copy tokens references (embalm, eternalize)
2025-04-02 15:13:25 +04:00
PurpleCrowbar
fa909b2b40 Add TDM token images for implemented tokens 2025-03-29 01:52:53 +00:00
spjspj
b7bebfd93f
Update CardViewEDHPowerLevelComparator.java 2025-03-29 01:49:50 +11:00
PurpleCrowbar
ffd995c099 Add all TDC tokens on Scryfall so far 2025-03-25 00:02:22 +00:00