Commit Graph

8569 Commits

Author SHA1 Message Date
Marcin Sciesinski
0cd76e2cb7 Added more ATs 2024-10-17 03:07:01 +07:00
Marcin Sciesinski
06c7db4a6b Added more ATs 2024-10-17 02:31:53 +07:00
Marcin Sciesinski
5400954588 Added more ATs 2024-10-17 01:49:26 +07:00
Marcin Sciesinski
5a32d8d20b Added more ATs 2024-10-16 20:15:01 +07:00
Marcin Sciesinski
13de59179b Added more ATs 2024-10-16 19:11:38 +07:00
Marcin Sciesinski
7507fc860d Added tests for discounts and assignment costs 2024-10-15 00:03:58 +07:00
Christian 'ketura' McCarty
fc067ce281 Adding unit tests for The Ruling Ring and Isildur's Bane 2024-09-26 00:20:41 -05:00
Christian 'ketura' McCarty
40ae63887f Unit tests for The Great Ring. 2024-09-25 23:15:03 -05:00
Christian 'ketura' McCarty
e670872a24 Added unit tests for Ring of Doom. Fixed RoD not being restricted to burden conversion during the skirmish phase. 2024-09-25 22:57:59 -05:00
Christian 'ketura' McCarty
340dc03698 Ring of Rings unit tests. Also fixing Ring of Rings reacting even if the ring was already worn. 2024-09-25 22:40:34 -05:00
Christian 'ketura' McCarty
0083a56e04 Unit tests for The Binding Ring 2024-09-25 19:45:37 -05:00
Christian 'ketura' McCarty
126da19762 Unit tests for Such a Weight to Carry. Tweaks to ATAR tests. 2024-09-25 17:55:02 -05:00
Christian 'ketura' McCarty
0f30e53b67 Adding unit tests for Answer to All Riddles. Fixed ATAR not restricting itself to the skirmish phase. 2024-09-25 13:28:20 -05:00
Christian 'ketura' McCarty
367898f7ab Fixed We Left None Alive putting raider tokens on itself instead of rohan 2024-09-24 17:26:56 -05:00
Christian 'ketura' McCarty
6ba1fe290e Fixed Pelennor Flat not triggering. More broadly, fixed all sorts of triggers which define a performing player who is not the card owner. 2024-09-24 17:19:19 -05:00
Christian 'ketura' McCarty
d2547c0f7b Fixed Barrows of Edoras not working. Also fixed PutCardsFromXonTop/BottomOfDeck not iterating properly in the choice window. 2024-09-24 11:59:19 -05:00
Christian 'ketura' McCarty
2dfc6d94c9 Spaces to tabs, because I'm evil 2024-09-24 11:37:40 -05:00
Christian 'ketura' McCarty
b673a9e08a Merge branch 'master' into grand-card-rework 2024-09-24 09:28:09 -05:00
Christian 'ketura' McCarty
6b2af8fa75 Sealed tournament fixes
- Fixed sealed tournaments swallowing deck registration during the deck registration phase
- Removed the "all players have registered" short-circuit condition, so that players don't get rug-pulled if making last-minute adjustments
2024-09-23 21:42:46 -05:00
Christian 'ketura' McCarty
429b4d092a Adding currently active sealed leagues/tournaments to the deck target format dropdown so that validation can be used. 2024-09-23 19:54:27 -05:00
Christian 'ketura' McCarty
1d39bf2811 Bug fixes
- Fixed missing return value in deck stats causing a superfluous error in the log
- Fixed deck validation causing an error in PC-Movie if a Map was added before a RB or Ring
- Fixed leagues not permitting decks to be altered or tables to be created on the same day of a serie end
2024-09-23 19:25:18 -05:00
Christian 'ketura' McCarty
04b3ca3111 Fixing merge issues converting between json code bases 2024-09-19 10:21:52 -05:00
Christian 'ketura' McCarty
6c52005d79 Merge branch 'feature/sealed-tourney' into grand-card-rework
# Conflicts:
#	gemp-lotr/gemp-lotr-async/src/main/java/com/gempukku/lotro/async/handler/AdminRequestHandler.java
#	gemp-lotr/gemp-lotr-cards/src/main/resources/cards/official/set01/set1-shire.hjson
#	gemp-lotr/gemp-lotr-cards/src/main/resources/cards/official/set19/set19.hjson
#	gemp-lotr/gemp-lotr-cards/src/main/resources/cards/unofficial/pc/errata/set01/set01-Moria-errata.hjson
#	gemp-lotr/gemp-lotr-cards/src/main/resources/cards/unofficial/pc/errata/set02/set02-Ringwraith-errata.hjson
#	gemp-lotr/gemp-lotr-cards/src/main/resources/cards/unofficial/pc/errata/set03/set03-Isengard-errata.hjson
#	gemp-lotr/gemp-lotr-cards/src/main/resources/cards/unofficial/pc/errata/set03/set03-Moria-errata.hjson
#	gemp-lotr/gemp-lotr-cards/src/main/resources/cards/unofficial/pc/errata/set03/set03-Ringwraith-errata.hjson
#	gemp-lotr/gemp-lotr-cards/src/main/resources/cards/unofficial/pc/errata/set03/set03-Sauron-errata.hjson
#	gemp-lotr/gemp-lotr-cards/src/main/resources/cards/unofficial/pc/setV01/V1_shire.hjson
#	gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/unofficial/pc/errata/set02/Card_02_076_ErrataTests.java
#	gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/unofficial/pc/errata/set03/Card_03_103_ErrataTests.java
2024-09-19 09:55:00 -05:00
Christian 'ketura' McCarty
3d4fd507c8 Fixing date snafus that lead to sealed leagues double-issuing product if the league is joined before the start date 2024-09-19 09:43:51 -05:00
Christian 'ketura' McCarty
62a4567bf5 Fixed duplicate callout messages when changing stages in sealed tournaments. Fixed sealed tournaments not being made aware of deck registrations 2024-09-19 08:15:19 -05:00
Christian 'ketura' McCarty
eac9904a5c Tournament system overhaul
- Added json parameters to the tournament and scheduled tournament databases
- Added support for sealed tournaments that issue cards at the start of the event, grant a deckbuilding period, and a short deck registration grace period before resuming tournament play as normal
- Added support for joining tournaments after they've started during certain eligible stages
2024-09-19 00:57:11 -05:00
Christian 'ketura' McCarty
fa7e18889f Fixed Helpless revert still going to the support area 2024-09-15 11:34:17 -05:00
Christian 'ketura' McCarty
c46fdd3ae9 Errataing Ettenmoors for PC 2024-09-15 01:06:00 -05:00
Christian 'ketura' McCarty
703b9796f9 Fixing latest errata batch pointing to old images 2024-09-15 00:41:59 -05:00
Christian 'ketura' McCarty
4577d31861 2024 Post-FC Errata batch
- 7 PC errata
- Importing IfEffect from the grand card rework
- Fixing Come Down errata not having proper syntax
2024-09-15 00:31:38 -05:00
Christian 'ketura' McCarty
6032d3a47a Fixed Blood Runs Chill for real this time 2024-09-14 23:47:34 -05:00
Christian 'ketura' McCarty
1194f2b902 Fixing PC errata for Come Down not discarding the fortification 2024-09-14 16:05:36 -05:00
Christian 'ketura' McCarty
c793d072b4 Adding FA Greenleaf. Adding unbranded Goblin Runner FA, as well as placeholders for both of them in the PC packs to be released after the 2024 WC 2024-09-14 13:01:23 -05:00
Christian 'ketura' McCarty
1c62c52c3d Fixing display hack for the walk-ons 2024-09-14 12:16:06 -05:00
Christian 'ketura' McCarty
6f20bd558f Fixing Hides not permitting self-discard. Fixing Blood Runs Chill discarding from hand instead of in play. 2024-09-11 22:27:54 -05:00
Christian 'ketura' McCarty
3fd1a8e5fd Fixing crashes from cards with a limit-one-per-character clause 2024-09-11 22:05:24 -05:00
Christian 'ketura' McCarty
63659541fd Fixed cards with abilities that activate while stacked crashing the game if using certain filters. Added unit tests for Uruk Veteran and Uruk Trooper. 2024-09-11 20:49:50 -05:00
Christian 'ketura' McCarty
e2110fa746 Play from discard with variable discount fixes
- Added MaxDiscount field to PlayFromDiscard, which is used while calculating candidates
- Fixed Black Sails of Umbar crashing in several places
- Added unit tests for Black Sails
2024-09-07 16:28:03 -05:00
Christian 'ketura' McCarty
b7954e226d Missed pom commit 2024-08-30 22:21:35 -05:00
Christian 'ketura' McCarty
a27394b576 Tournament admin panel + fixes
- Reworked tournament lifecycle so that DefaultTournament is able to refresh its definitions from the database rather than requiring it be destroyed and recreated.
- Refactored tournament service functions to use "record" and "retrieve" to label functions that are strictly wrappers to the database.
- Fixed server cache clear causing in-progress tournaments to duplicate their active tables.
- Fixed Paused tournament status not actually working due to above issues.
- Added admin panel forms for creating Scheduled Tournaments and altering the current status of a given tournament.
- Fixed league opponent win % stat not being set.
2024-08-30 22:04:55 -05:00
Christian 'ketura' McCarty
5cd095a585 sql script updates, docker comment 2024-08-30 08:04:33 -05:00
MarcinSc
43e72f204c Tournament game results are now reported to an instance of Tournament from TournamentService, which might be different than the initial one. 2024-08-29 18:43:04 +07:00
MarcinSc
0b79c44806 Moved the creation of games and broadcasting outside of tournament lock to prevent theoretical deadlocks. These actions are now made through a list of actions returned from tournament advance method. 2024-08-28 22:59:33 +07:00
MarcinSc
cc4677aca6 Moved the creation of games and broadcasting outside of tournament lock to prevent theoretical deadlocks. These actions are now made through a list of actions returned from tournament advance method. 2024-08-28 12:16:58 +07:00
MarcinSc
ea31ff2bae Moved the creation of games and broadcasting outside of tournament lock to prevent theoretical deadlocks. These actions are now made through a list of actions returned from tournament advance method. 2024-08-28 12:07:04 +07:00
MarcinSc
ecf5e097fd Moved the creation of games and broadcasting outside of tournament lock to prevent theoretical deadlocks. These actions are now made through a list of actions returned from tournament advance method. 2024-08-28 11:58:42 +07:00
MarcinSc
d433c4d859 Moved the creation of games and broadcasting outside of tournament lock to prevent theoretical deadlocks. These actions are now made through a list of actions returned from tournament advance method. 2024-08-28 11:52:41 +07:00
MarcinSc
55644ef77f Cleaned up tournament code 2024-08-28 11:33:27 +07:00
Christian 'ketura' McCarty
0bda261da8 Fixing the June PC prizes not being in their respective reward packs 2024-08-27 12:06:57 -05:00
Christian 'ketura' McCarty
40fdb6271e Fixed head-to-head face-off comparison being sorted backwards. Fixed median calculation dropping the wrong score. 2024-08-24 18:29:24 -05:00