Commit graph

46218 commits

Author SHA1 Message Date
theelk801
65164ec23d [BLC] Implement Prosperous Bandit 2024-08-06 11:36:17 -04:00
theelk801
f20e599435 [BLC] Implement Brightcap Badger 2024-08-06 11:31:39 -04:00
PurpleCrowbar
23d0420c95 Remove some unused imports 2024-08-05 21:43:52 +01:00
theelk801
98e38fd7a6 [PSDG] Implement Velukan Dragon 2024-08-05 11:42:54 -04:00
theelk801
a66d292e06 [PSDG] add set 2024-08-05 11:41:56 -04:00
Oleg Agafonov
f105828e1c GUI: reworked battlefield panels to use layouts and dynamic settings (no needs in NetBeans to modify it, no needs in size calculations, improved positions and sizes, deleted outdated code); 2024-08-05 19:00:42 +04:00
Oleg Agafonov
546fc1ed9a GUI, preferences: fixed that auto-target settings doesn't save, removed outdated code (phase stops settings are global now, not per game); 2024-08-05 03:18:20 +04:00
Oleg Agafonov
76db1d3e65 GUI: combined symbols and images download menus in one, fixed menu colors on theme switch 2024-08-05 02:20:12 +04:00
Oleg Agafonov
42ae6f0f7e Merge fix 2024-08-05 00:54:51 +04:00
Oleg Agafonov
e39b5d8b2f tests: fixed verify 2024-08-05 00:29:15 +04:00
Oleg Agafonov
c31763a2d8 db: fixed wrong commands 2024-08-05 00:03:58 +04:00
Oleg Agafonov
8f7abe2dc5 GUI: added old what's new page (build-in window on startup); 2024-08-05 00:01:38 +04:00
Oleg Agafonov
e04306c51f fixed project name, files clean 2024-08-03 21:44:34 +04:00
Oleg Agafonov
0a6f0b7a9d code clean 2024-08-03 21:24:46 +04:00
Oleg Agafonov
915264ff1e Merge fix 2024-08-03 20:01:19 +04:00
Oleg Agafonov
0a55e37c8c download: reworked scryfall images support:
- download: fixed unmount zip errors on cancel download in some use cases (closes #12536);
- download: significant download speed improvements (now it depends on user's network speed, not api limitations);
- download: added additional error dialogs on bad use cases;
- scryfall: added cards and bulk data api support;
- scryfall: added bulk data download (updates once per week, contains all scryfall cards and store in images\downloading folder, 2 GB size);
- scryfall: added optimized images download without api usage (use direct images links from bulk data, closes #11576);
- scryfall: improved image source searching for some use cases (miss or wrong images problems, closes #12511);
- scryfall: tokens don't use bulk data;
- scryfall: 75k small images downloads 40 minutes and takes 1 GB and 2100 api calls (most of it from tokens);
- scryfall: how-to disable bulk data, e.g. for api testing: -Dxmage.scryfallEnableBulkData=false
2024-08-03 19:41:14 +04:00
Oleg Agafonov
46f7304692 Council's Judgment - fixed card name in SLD 2024-08-03 18:10:24 +04:00
xenohedron
b78956d286
text errata updates: various "enters the battlefield" -> "enters" (#12626)
* enters the battlefield, -> enters,

* {this} enters the battlefield -> {this} enters

* EntersBattlefieldAbility

* , it enters

* enters the battlefield under your control -> you control enters

* rework some trigger phrase logic

* fix tests
2024-08-02 18:43:59 -04:00
ssk97
ab803079b9
Minor fixes (#12632)
* Fix Nefarious Imp, Bewitching Leechcraft

* Include zone of cast in game log
2024-08-02 18:43:49 -04:00
PurpleCrowbar
65b513576b [ACR] Implement Brotherhood Regalia 2024-08-02 11:42:28 +01:00
theelk801
f8616f9a9c [MH3] add all printings 2024-08-01 09:40:33 -04:00
Oleg Agafonov
bfa7c4c9a8 download: improved images download from scryfall source:
- fixed wrong timeouts for api (fixed 429 Too Many Requests);
- added any/10 parallel threads support;
- current api limit is 1 request per 300 ms;
2024-08-01 11:46:37 +04:00
Oleg Agafonov
b5527a28db download: added debug logs/stats for http requests (DebugUtil.NETWORK_PROFILE_REQUESTS) 2024-08-01 11:23:54 +04:00
jimga150
f2d3850250
refactor: simplify DrawCardSourceControllerEffect text generation (#12621) 2024-07-31 22:46:22 -04:00
jimga150
ee3cab84ef
[BLC] Implement Fortune Teller's Talent (#12608)
* Implement Fortune Teller's Talent

* Remove outdated assert from PlayFromTopOfLibraryEffect and update comment
2024-07-31 22:45:59 -04:00
Evan Kranzler
8ed3c0c12d
Reworking standard legality (#12624)
* rework standard rotation

* add comment

* add flag to previous sets
2024-07-31 14:55:48 -04:00
Oleg Agafonov
27e7d4432f refactor: added lazy loading to preferences dialog, fixed tests in headless mode (travis) 2024-07-31 22:50:07 +04:00
Oleg Agafonov
1914313d6e images: fixed miss phyrexian mana symbol for Rage Extractor 2024-07-31 22:05:52 +04:00
Oleg Agafonov
e1cffbde40 download: reworked connection:
- added shareable code with default proxy, headers and other settings for download tasks like images, symbols, mtgjson, etc;
- use XmageURLConnection.downloadText for text resources
- use XmageURLConnection.downloadBinary for any file resources
- added user agent with app version for all requests;
- added http logs and improved error messages;
2024-07-31 21:25:56 +04:00
Jeff Wadsworth
fad63389d0 updated Apex Observatory to work correctly with double-faced cards with different card type. 2024-07-30 13:50:26 -05:00
Susucre
fa24f8f53b fix tests after 'enters the battlefield' -> 'enters' change 2024-07-30 16:21:23 +02:00
Susucre
a76ef60820 align to new enters wording changed upstream 2024-07-30 15:54:26 +02:00
Susucre
c0eab28626
implement [MH3] Primal Prayers ; use choice panel for cast mode choice ; allow some restricted "as thought as it had flash" to work only on matching alternative cast. (#12420) 2024-07-30 15:47:39 +02:00
xenohedron
503e842b51 fix Abdel Adrian 2024-07-30 01:32:11 -04:00
ssk97
4c8f60e3a2
[PIP] Rampaging Yao Guai, Wild Wasteland, Synth Infiltrator, Paladin Elizabeth Taggerdy (#12613)
* Rampaging Yao Guai

* Wild Wasteland

* Synth Infiltrator

* Paladin Elizabeth Taggerdy

* Fix not including target count if name contains X value

* Fix missing {this}
2024-07-30 00:40:38 -04:00
jimga150
82a7769cbd
Update Rage Extractor's Phyrexian mana symbol (#12612)
* Switch Rage Extractor's Phyrexian mana symbol letter code to {H} instead of {P}
2024-07-30 00:40:21 -04:00
ssk97
f38da2052b
[BLB] Daring Waverider, Hoarder's Overflow, Driftgloom Coyote, Lilysplash Mentor (#12610)
* Daring Waverider

* Hoarder's Overflow

* Driftgloom Coyote

* Lilysplash Mentor
2024-07-30 00:39:41 -04:00
ssk97
b6b7dd3ce6
Rework Extort (#12609) 2024-07-30 00:39:19 -04:00
jimga150
c73cfebcd9
Fix EntersBattlefieldOneOrMoreTriggeredAbility (#12592)
* Apply fix for ZONE_CHANGE_GROUP events making tokens controlled by different players

* Add test

* Remove unused import

* Fix implementation

* Rewrite to use ZONE_CHANGE_BATCH

* Fix OPPONENT case

* Add default case

* refactor to avoid using stream as local variable and use ZoneChangeEvents in filters

* Fix typo
2024-07-30 00:39:01 -04:00
jimga150
32042687fb
[BLB] Implement Eluge the Shoreless Sea; expand SpellsCostReductionControllerEffect (#12607)
* Implement Eluge, the Shoreless Sea (missing mana cost reduction clause)

* implement ability to convert colored to generic costs in SpellsCostReductionControllerEffect

* fix text generation on SpellsCostReductionControllerEffect

* remove unnecessary setText() calls on SpellsCostReductionControllerEffect

* make logfile from master run

* Fix plurality detection

* Eliminate unnecessary setText() calls in other cards

* Delete logfile

* remove redundant type cast

* Add parameter documentation
2024-07-30 00:38:21 -04:00
PurpleCrowbar
5043430481 Fixes to Wick and Communal Brewing 2024-07-30 03:18:36 +01:00
PurpleCrowbar
4f90270fa1 Add BLB token images 2024-07-29 22:07:02 +01:00
PurpleCrowbar
831313bcb9
[BLB] Implement Vren, the Relentless (#12615) 2024-07-29 21:45:54 +01:00
PurpleCrowbar
da368e9abf [BLC] Implement Communal Brewing 2024-07-29 02:52:25 +01:00
PurpleCrowbar
3ec3b773e3 Fix Ancient Excavation 2024-07-29 00:10:03 +01:00
PurpleCrowbar
683008ef21 Fix verify 2024-07-28 17:56:54 +01:00
PurpleCrowbar
21f5f93dd6 [BLB] Implement Wick, the Whorled Mind 2024-07-28 17:25:51 +01:00
PurpleCrowbar
9db54d7892 [BLB] Implement Ral, Crackling Wit 2024-07-28 15:20:23 +01:00
Oleg Agafonov
1d701df0e8 GUI: added gui scale support for skip and phase button on game panel (part of #969, #6887):
- reworked skip and phase buttons to use layouts instead IDE designer;
- added GUI scale support skip and phase buttons (depend on dialogs font size from preferences settings);
2024-07-28 18:01:15 +04:00
Oleg Agafonov
8186b35dfb GUI: improved gui scale support (part of #969, #6887):
- added GUI scale support for dialog titles;
- added GUI scale support for hints tool;
- fixed broken font in chat and game logs on settings change;
- fixed wrong size of pick choice dialog in some use cases;
2024-07-28 11:47:12 +04:00