Commit graph

42798 commits

Author SHA1 Message Date
Oleg Agafonov
01dd8c33ba gui: fixed possible game error with player timer on client side 2023-11-28 21:48:41 +04:00
Cameron Merkel
30269243bb
[VIS] Implement Heat Wave (#11486) 2023-11-28 16:07:30 +04:00
Oleg Agafonov
819276a3bc
dev: upgraded travis java version from 11 to 17 (#11485) 2023-11-28 12:52:55 +04:00
xenohedron
05e2cf11e7
refactor: replacement effects don't use apply method now (#11484) 2023-11-28 11:17:28 +04:00
Tirth Bharatiya
8ad3238109
refactor: improved code usage in DeckGeneratorPool (#11479)
* moved generateSpells and generateLands method to DeckGeneratorPool.
* moved generateBasicLands method to DeckGeneratorPool.
2023-11-28 11:14:53 +04:00
Tirth Bharatiya
7913c01ec3
refactor: improved usage of NextAction in mcts AI code (#11480)
Replaced conditional of selecting next action with runtime polymorphism, to increase the readability and easier for future changes by following Open/Close principle.
2023-11-28 11:12:59 +04:00
ssk97
2ef9439773
[LTC] Implementations part 3 (#11471)
* Fell Beast's Shriek
* Mordor on the March
* Olorin's Searing Light
* Sorcerous Squall
2023-11-28 00:57:35 -05:00
xenohedron
02eafaf062 simplify text gen for DamageCantBePreventedEffect 2023-11-27 23:47:10 -05:00
ssk97
98f78790f2
[LTC] Implementations part 4/4 (#11472)
* Galadriel's Dismissal
* Isengard Unleashed
* Mists of Lorien
* Witch-king, Sky Scourge
2023-11-27 23:42:33 -05:00
Cameron Merkel
1132cc27ba
[ICE] Implement Snowfall (#11467)
* [ICE] Implement Snowfall

* Change filter text, declare Island subtype in constructor

* Make choice optional

* Inherit outcome from superclass; add check in HumanPlayer.java to prevent auto-selecting non-ChoiceColor choices
2023-11-27 23:41:40 -05:00
ssk97
2abe61643c
[LTC] Implementations part 2/4 (#11470)
* Aragorn, Hornburg Hero
* Minas Morgul, Dark Fortress
* Rohirrim Chargers
2023-11-27 23:41:20 -05:00
ssk97
5adc350eed
[LTC] Implementations part 1/4 (#11469)
* Anduril, Narsil Reforged
* Gimli's Reckless Might
* Nazgul Battle-Mace
* Rally the Galadhrim
* Rammas Echor, Ancient Shield
2023-11-27 23:40:28 -05:00
Oleg Agafonov
1af601bf11 Merge fix 2023-11-28 08:14:01 +04:00
Oleg Agafonov
2eac541b80 gui: fixed broken watcher view mode (closes #11481) 2023-11-28 08:04:14 +04:00
Tirth Bharatiya
6a1f4a35d4
refactor: extracted resource load methods from ModernCardRenderer to ModernCard (#11478) 2023-11-27 23:27:17 +04:00
Oleg Agafonov
3a92d67d10 tests: added verify test to check miss of controlled filter in equip abilities (related to #11473); 2023-11-27 23:08:23 +04:00
Jeff Wadsworth
a4c90d9b71 Fixed #11473 2023-11-27 11:33:15 -06:00
Oleg Agafonov
c5632f6868 refactor: removed client side threads from a server, improved test log files rotation; 2023-11-27 18:13:05 +04:00
Oleg Agafonov
0470ae9799 GUI: fixed wrong ability text format for stack objects in popup image mode (closes #4057) 2023-11-27 01:54:38 +04:00
Oleg Agafonov
6e3fe7ec46 Cascade and other "cast spell without paying" abilities - added card popup support for casting card (closes #11355) 2023-11-27 00:49:37 +04:00
Oleg Agafonov
1dc040a2c9 GUI: added card popup support in feedback/choice panel (related to #9609) 2023-11-27 00:22:39 +04:00
Oleg Agafonov
550e97e1e3 refactor: removed some outdated GUI components and code 2023-11-27 00:20:11 +04:00
Oleg Agafonov
d016e4c4c3 GUI: added starting chat hints about popup hotkeys (hold <ALT+E> to force image, press <ALT+D> to show/hide right card panel) 2023-11-26 22:48:24 +04:00
Oleg Agafonov
f78c1ef08c GUI: improved stability of card popup in image mode (fixed errors in logs) 2023-11-26 22:32:39 +04:00
Oleg Agafonov
58ce3296b6 AI: little refactor 2023-11-26 21:37:47 +04:00
Oleg Agafonov
939ff7b441 GUI: added real objects in card popup for game logs and hints toolbox (workable hints, actual abilities, etc - closes #9529) 2023-11-26 14:42:49 +04:00
Oleg Agafonov
4500b79008 GUI: added changeable card popup mode for chats/logs by card name clicks (alternative to mouse wheel from game cards);
other: fixed duplicated chat popups in game, added miss error logs from popup related code, added additional checks for good code usage;
2023-11-26 12:48:41 +04:00
Oleg Agafonov
785f6973b9 GUI: fixed wrong popup card window in non-full screen; 2023-11-26 10:48:50 +04:00
Oleg Agafonov
99cbddb8b8
Merge pull request #11431 from Susucre/lci-mana-tracking
[LCI] Implement Thousand Moons Smithy // Barracks of the Thousand and Brass's Tunnel-Grinder // Tecutlan, the Searing Rift
2023-11-25 17:13:54 +03:00
Oleg Agafonov
ab515e60fe refactor: removed outdated code with databases sync (cards db downloads from a server); 2023-11-25 18:11:44 +04:00
Oleg Agafonov
d6adc6d051 GUI: player's panel - fixed wrong focus of hints button 2023-11-25 18:10:38 +04:00
Oleg Agafonov
f31c655638
Merge pull request #11464 from ssk97/DKA_fixes
DKA card fixes
2023-11-25 16:59:01 +03:00
Oleg Agafonov
fe3230f489 game: fixed game error with Berserker's Frenzy and other cards (miss copyable class in watcher); 2023-11-25 17:43:18 +04:00
Steven Knipe
cd1f9225a3 Break of Day should affect only controller's creatures. 2023-11-25 05:29:45 -08:00
Steven Knipe
cbd69c48df Gavony Ironwright should exclude itself 2023-11-25 05:28:04 -08:00
Oleg Agafonov
63290d3ed6 GUI: fixed not working card popup near screen border, improved card popup for chat and choose dialogs; 2023-11-25 17:27:59 +04:00
Oleg Agafonov
7475ee922a GUI: improved chat messages with card names and popup supports (example: [[card name]], closes #4189); 2023-11-25 16:26:12 +04:00
Oleg Agafonov
d1f9e9cc90 Improved stability and other related fixes:
* server: added limit to max chat message (related to #11285);
* gui: fixed possible error after auto-submit deck;
* gui: fixed possible error after end game dialog;
* refactor: other code improves;
2023-11-25 12:29:54 +04:00
xenohedron
81f97c3b0e fix more text 2023-11-25 02:59:06 -05:00
xenohedron
867a8f54b0 fix #11456 (Become Brutes)
CreateRoleAttachedTargetEffect changed to use all targets, not just first
2023-11-25 02:20:11 -05:00
Daniel Cowman
9f3777a82f
Fix Firkraag, Cunning Instigator's second ability trigger (#11461) 2023-11-25 01:58:40 -05:00
xenohedron
489bf1f26d implement [LCC] Redemption Choir 2023-11-25 01:56:02 -05:00
xenohedron
47197f7c39 implement [LCC] Xavier Sal, Infested Captain
adjustments/docs in RemoveCounterCost
2023-11-25 01:49:19 -05:00
xenohedron
e113f42427 fix #11462 (Kitesail Larcenist) 2023-11-25 01:39:04 -05:00
Oleg Agafonov
f833d2da70
Merge pull request #11458 from magefree/network-improved-stability
Improved network stability and other related fixes
2023-11-24 20:36:23 +03:00
Oleg Agafonov
53add71826 Improved network stability and other related fixes:
* server: fixed that a critical errors ignored in user commands threads (now it will be added to the logs);
* network: fixed frozen user responses in some use cases;
* network: fixed accidental and incorrect user responses (only latest response will be used now);
* network: improved freeze logs, added problem method name and code's line number;
* cheats: removed outdated deck and card load logic (only init.txt commands supports now);
* cheats: fixed wrong priority after add card dialog (closes #11437);
* cheats: improved stability and random errors on cheat executes (related to #11437);
* docs: added details on network and thread logic, human feedback life cycle, etc (see HumanPlayer, ThreadExecutorImpl);
2023-11-24 21:22:16 +04:00
Oleg Agafonov
4ba3e1fec5 images: improved support of scryfall download (added timeout for compatibility with api rate limits) 2023-11-23 14:00:38 +04:00
arcox
a5c1b851eb
[LCC] Implement Scion of Calamity (#11454)
* [LCC] Implement Scion of Calamity

* Fix Sunder Shaman
2023-11-23 01:59:18 -05:00
arcox
7fe3f0e97e
[LCC] Implement Wrathful Raptors (#11453) 2023-11-23 01:58:51 -05:00
Cameron Merkel
4f09671055
[ICE] Implement Adarkar Unicorn (#11449) 2023-11-23 01:58:40 -05:00