Commit graph

4132 commits

Author SHA1 Message Date
Oleg Agafonov
d8bc1f7066 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-06-10 19:45:03 -07:00
Oleg Agafonov
3c83898929 GUI, table: allow unlimited draft bots amount, fixed computer names in 10+ tables (part of #13701) 2025-06-10 19:45:03 -07:00
Oleg Agafonov
7318b89236 GUI, table: improved single/multiplayer drafts - allow unlimited number of draft bots (part of #13701) 2025-06-10 19:45:03 -07:00
Oleg Agafonov
f5bcf7674d 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-06-10 19:45:03 -07:00
theelk801
4066f64bb7 [FCA] add set 2025-06-10 19:45:02 -07:00
Jmlundeen
d6851aa31d 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-06-10 19:44:15 -07:00
Oleg Agafonov
11b9f8d815 GUI, deck: improved bracket level calculations (added mass land destruction support, part of #13341) 2025-06-10 19:44:11 -07:00
Oleg Agafonov
203569a796 GUI, deck: improved bracket level calculations (added tutors support, part of #13341) 2025-06-10 19:44:11 -07:00
Oleg Agafonov
d82110e5f5 GUI, deck: improved bracket level calculations (added extra turn support, part of #13341) 2025-06-10 19:44:11 -07:00
Oleg Agafonov
7bacda60b1 merge fix 2025-06-10 19:44:10 -07:00
Oleg Agafonov
ad5954b059 GUI, deck: added bracket level calculations in deck's validation panel (only game changers support yet, part of #13341) 2025-06-10 19:44:10 -07:00
Oleg Agafonov
d60387f525 merge fix 2025-06-10 19:44:10 -07:00
Oleg Agafonov
cf7fe968c2 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-06-10 19:44:10 -07:00
Oleg Agafonov
0a243a19b8 other: fixed miss null checks in frame style usage (close #13662) 2025-06-10 19:44:10 -07:00
Oleg Agafonov
b1306de564 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-06-10 19:44:10 -07:00
Oleg Agafonov
22b1b05fbb GUI, deck: improved grid padding for better cards selection by mouse 2025-06-10 19:44:09 -07:00
Oleg Agafonov
547e7a0fd8 GUI, deck: now a duplicated cards adds to the same place as original cards (close #3314); 2025-06-10 19:44:09 -07:00
Oleg Agafonov
4c4cae2012 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-06-10 19:44:09 -07:00
9a2382cd2c Merge pull request 'master' (#26) from External/mage:master into master
All checks were successful
/ build_release (push) Successful in 14m41s
Reviewed-on: #26
2025-05-19 22:03:43 -07: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
2cd85af552 Merge branch 'External-master'
All checks were successful
/ build_release (push) Successful in 25m3s
2025-04-23 01:31:03 -07: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
d2c32ec53f Merge branch 'External-master'
All checks were successful
/ build_release (push) Successful in 27m57s
2025-04-11 20:17:40 -07: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
bbdd326d3a Merge pull request 'master' (#24) from External/mage:master into master
Reviewed-on: #24
2025-04-07 13:17:51 -07:00
a4dc36d671 random button 2025-04-07 13:13:41 -07: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
9e6e731a9e Merge branch 'External-master'
All checks were successful
/ example-docker-compose (push) Successful in 25m30s
2025-03-28 17:00:25 -07:00
a0ba233a58 workaround scryfall error
Some checks failed
/ example-docker-compose (push) Has been cancelled
2025-03-28 16:53:02 -07: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
c8496d6bbe Merge pull request 'master' (#22) from External/mage:master into master
All checks were successful
/ example-docker-compose (push) Successful in 28m47s
Reviewed-on: #22
2025-03-22 16:45:51 -07:00
18f493d84c print error on bad extract
Some checks failed
/ example-docker-compose (push) Has been cancelled
2025-03-22 16:43:56 -07:00
Oleg Agafonov
4f5e0b2cde images: fixed broken download from scryfall source (added reversible adventure cards support, added detailed logs on outdated file format) 2025-03-23 01:09:46 +04:00