Commit graph

4117 commits

Author SHA1 Message Date
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
jmlundeen
0e0e34a116 [DRC] Add tokens 2025-03-22 00:59:19 -05:00
jmlundeen
b519e8d8e9 Update tokens database
fixed some incorrect entries
added Aetherdrift tokens
2025-03-20 17:03:34 -05:00
d1ca46fd85 Merge pull request 'master' (#19) from External/mage:master into master
All checks were successful
/ example-docker-compose (push) Successful in 15m4s
Reviewed-on: #19
2025-03-02 17:39:59 -08:00
PurpleCrowbar
f83a162d30 Achieve parity with 411100e, improve hints button text 2025-02-26 15:19:07 +00:00
PurpleCrowbar
411100e442 Minor grammar and text fixes 2025-02-25 02:23:37 +00:00
theelk801
c22fadac98 [TDC] add set 2025-02-22 12:27:23 -05:00
theelk801
709e892ed7 [TDM] add set 2025-02-22 12:25:11 -05:00
theelk801
dc7b5cd84f [FIN] add set 2025-02-18 14:31:50 -05:00
theelk801
5eec4c4465 [FIC] add set 2025-02-18 09:53:16 -05:00
54d8a43709 fix foundations in presets
All checks were successful
/ example-docker-compose (push) Successful in 16m7s
2025-02-17 22:23:47 -08:00
padfoothelix
0281b35c58
[WHO] Implement The Girl in the Fireplace (#13356) 2025-02-17 16:24:05 +04:00
Johannes Wolf
216826b513
GUI, game: fixed game error in choose ability dialog on using CTRL and mouse wheel (#13186) 2025-02-16 23:33:47 +04:00
ee75192f0a vertical layout
All checks were successful
/ example-docker-compose (push) Successful in 15m31s
2025-02-15 20:59:50 -08:00
f741fce710 Merge branch 'master' into master 2025-02-15 16:32:24 -08:00
Oleg Agafonov
a102a7d614 GUI, game: added auto-resize to new popup windows like reveal/graveyard (#4351, #12281) 2025-02-13 08:01:29 +04:00