Commit graph

43217 commits

Author SHA1 Message Date
xenohedron
1ac4fe4e4a add doc comments for usage of default watchers 2023-11-29 20:57:12 -05:00
xenohedron
a4cc086775 cleanup usages of BlockedAttackerWatcher 2023-11-29 20:43:17 -05:00
xenohedron
cd439ab8c8 remove another game default watcher with one usage 2023-11-29 20:40:57 -05:00
xenohedron
f801c9851e move watchers used only in Arboria effect 2023-11-29 20:37:47 -05:00
xenohedron
37722a58c2 more watcher cleanup 2023-11-29 20:32:36 -05:00
xenohedron
f7d70a7b11 refactor: AttackedThisTurnWatcher is a default watcher
close #10982
2023-11-29 20:27:30 -05:00
Jeff Wadsworth
cd07bbfdf2 Fixed #11440 2023-11-29 17:35:50 -06:00
Jeff Wadsworth
1a205eb146 Added a corrected condition for Return to Dust to account for card ruling on copies. 2023-11-29 16:38:34 -06:00
xenohedron
9fbdede64b text cleanup: additional combat phase 2023-11-28 22:20:49 -05:00
xenohedron
e49cf936b7 fix #5214
Sith Sorcerer incorrectly copied some code from Sith Assassin
2023-11-28 22:20:49 -05:00
Jeff Wadsworth
60f761e250 Little target update to Return to Dust 2023-11-28 17:21:26 -06:00
Jeff Wadsworth
70069f2937 Fixed #11451 2023-11-28 17:13:15 -06:00
Oleg Agafonov
b695f8906c GUI: improved game logs, added mouse cursor and hover style over active card names like browsers 2023-11-29 03:10:53 +04:00
Oleg Agafonov
9c6fc4187f GUI: improved ability picker, added card popup support (closes #6678) 2023-11-29 03:08:48 +04:00
Oleg Agafonov
491c9cbe04 GUI: fixed empty battlefield/players after reconnection, if it still empties then press any skip button (closes #11201) 2023-11-29 03:02:47 +04:00
xenohedron
9322c13926 fix verify 2023-11-28 17:30:06 -05:00
xenohedron
395d858056 text fix 2023-11-28 17:28:38 -05:00
Oleg Agafonov
16d82e9049 gui: fixed wrong hands message with AI games (regression) 2023-11-28 22:18:08 +04:00
Oleg Agafonov
cacf8226aa refactor: fixed wrong random value usage 2023-11-28 21:48:41 +04:00
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