Commit Graph

8562 Commits

Author SHA1 Message Date
Christian 'ketura' McCarty
5c26c2aa8a V2 balance update. 2024-09-07 18:08:05 -05:00
Christian 'ketura' McCarty
ec1fccbb80 Fixed From Deepest Dungeon crashing at the start of the Shadow phase 2024-09-07 16:52:14 -05:00
Christian 'ketura' McCarty
eded4f57f0 Fixing merge 2024-09-07 16:30:13 -05:00
Christian 'ketura' McCarty
cc18a8a795 Merge branch 'grand-card-rework' into v2-cards
# Conflicts:
#	gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/cards/build/field/effect/appender/PlayCardFromDiscard.java
2024-09-07 16:29:55 -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
97bf47a8bf Fixing Naith Armaments targeting bearer. Hopefully fixing Let This Be The Hour not applying strength value. 2024-09-07 00:18:09 -05:00
Christian 'ketura' McCarty
be373aaa6f Fixing test error 2024-09-06 23:49:56 -05:00
Christian 'ketura' McCarty
08ac45dc6f Fixed Wolf-pit's Shadow ability not activating. Added unit tests for Wolf-pit 2024-09-06 23:20:38 -05:00
Christian 'ketura' McCarty
a7e9fa03ca Merge branch 'master' into v2-cards
# Conflicts:
#	gemp-lotr/gemp-lotr-async/src/main/java/com/gempukku/lotro/async/handler/AdminRequestHandler.java
#	gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/PC_Cards.js
#	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/setV01/V1_shire.hjson
2024-09-06 18:16:07 -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
Christian 'ketura' McCarty
f84c8eb206 Fixing tournament report throwing out random replay IDs instead of, y'know, the correct ones. 2024-08-18 22:12:13 -05:00
Christian 'ketura' McCarty
2155f088c6 Tournament fixes
- Fixed tournaments crashing due to bad standings calculations after round 1
- Fixed the modified median standings producer to now properly calculate median and cumulative scores, and properly tiebreak between all tiebreaker methods.
- Overhauled the tournament display screen to show all the tiebreaker methods, and to include a link to the report generator so I don't have to remember the damn URL.
- Added a hall pop-up whenever tournament updates are received, only for players who have joined a tournament.
2024-08-17 23:47:57 -05:00
Christian 'ketura' McCarty
5e857d502a *More* stats fixes. 2024-08-15 19:11:03 -05:00
Christian 'ketura' McCarty
4885921905 Fixing server stats error 2024-08-15 19:08:21 -05:00
Christian 'ketura' McCarty
d182f3d41a League system overhaul
- Leagues now read parameters from json instead of inscrutible csv values.
- Overhauled league admin page
- Added max games per player option to the league admin UI.
- Added ability to make leagues invite-only.  Also added new section for league admins to add players manually to a league.
- Added description field to all leagues, which displays on the main event tab.  This will need to be reworked into markdown later, but for now it is html.
- Extracted tournament-related admin functions into its own Tournament Admin page.
- Added preliminary support for PC league awards, but this is incomplete and has been hidden in the UI for now.
- Added modified median tiebreaker sorting for tournaments.
- Lots and lots of technical overhauls spilling over from these improvements on the backend.
2024-08-15 18:33:20 -05:00
Christian 'ketura' McCarty
d0a4f585b4 Merge branch 'master' into feature/event-rewrite 2024-08-14 16:12:26 -05:00
Christian 'ketura' McCarty
ce76247de6 Fixing tournament report not working 2024-08-11 00:23:28 -05:00
Christian 'ketura' McCarty
5ca7c86ef4 Fixing UI hack for WC events for now 2024-08-10 12:15:35 -05:00
Christian 'ketura' McCarty
142ffd3af0 July weekend league prizes 2024-07-30 12:38:57 -05:00
dmasalin
d8eecd5809 Additional Update to TS Sealed
Moving the shotgun Enquea to Series 1 shadow deck for crowd control support.
2024-07-28 19:03:35 -04:00
dmasalin
930c9fa756 TS Sealed Starter Deck Balance Changes
Balance change to the TS Sealed. Switching the shadow decks for the S1D3 and S3D1, as well as some sites, where applicable.
2024-07-28 18:23:47 -04:00
Christian 'ketura' McCarty
32e441ef11 Fixing Faramir CAI PC errata being a skirmish ability and not maneuver 2024-06-25 22:18:36 -05:00
Christian 'ketura' McCarty
e6a77a4dcd Merge branch 'master' into feature/auto-league-rewards 2024-06-20 12:21:37 -05:00
Christian 'ketura' McCarty
cc37b093a8 adding helper db script for extracting a range of replays for a given player 2024-06-20 00:17:18 -05:00
Christian 'ketura' McCarty
7855aa1cc8 Adding May + June weekend league prizes 2024-06-20 00:17:01 -05:00
Christian 'ketura' McCarty
a260edd435 Explicitly setting default docker volume bindings to "consistent", which may be necessary with new versions of Docker Desktop 2024-06-20 00:03:11 -05:00
Christian 'ketura' McCarty
dbce30b436 League auto-awarding custom prizes
- Added ability for constructed leagues to have a custom top X placement / Y game participation prize
- Overhauled constructed league interface so that both preview + creation use the same validation
- Overhauled constructed league admin page section
- Added testing for custom prizes allocation
- Have not yet figured out exactly how to test real-world league ending causing the correct rewards to go out.
2024-06-20 00:02:21 -05:00
Christian 'ketura' McCarty
59604a849a ...fixing Sams apparently having been broken for a few weeks? Oh dear. 2024-06-15 17:04:48 -05:00
Christian 'ketura' McCarty
851043b303 Merge branch 'grand-card-rework' into v2-cards 2024-06-15 12:27:34 -05:00
Christian 'ketura' McCarty
609c2f8545 Quick hack to show all pc-movie replays in the playtesting tab 2024-06-08 05:37:07 -05:00
Christian 'ketura' McCarty
86f2c8717c Fixed Fires and Fell Fumes wounding 4 companions instead of 1 companion 4 times. Fixed V2 Machinery of War auto-discarding on use. 2024-06-07 15:26:26 -05:00
Christian 'ketura' McCarty
7bf1cd8c41 Fixing parsing errors 2024-06-07 14:21:28 -05:00
Christian 'ketura' McCarty
02d5e4eb06 Logging swallowed error on table creation failure 2024-06-07 14:02:24 -05:00
Christian 'ketura' McCarty
887ad1ae11 Fixed Fires of Industry auto-discarding. Fixed Friendship having no text. 2024-06-07 13:44:23 -05:00
MarcinSc
db96a53033 Refactored "preventable" to separate class, so that other EffectAppenderProducers can easily use it 2024-06-06 21:42:46 +07:00
Christian 'ketura' McCarty
f4aab5922f Adding URLs for V2 errata 2024-06-03 18:30:58 -05:00
Christian 'ketura' McCarty
45c03b77d0 V2 Naith errata: adding valiant to all naith elves 2024-06-03 18:28:14 -05:00
Christian 'ketura' McCarty
fd12b63b4d fixing urls 2024-06-03 02:59:22 -05:00
Christian 'ketura' McCarty
f873714960 damn RARITY files 2024-06-03 02:57:17 -05:00