Commit Graph

8570 Commits

Author SHA1 Message Date
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
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
4ee23c86a0 Site Control trigger reworks
- Added SiteLiberated trigger with associated helper classes
- Renamed trigger TakenControlOfSite -> SiteControlled
- Renamed result TakeControlOfSiteResult -> SiteControlledResult
- Renamed trigger enum TAKE_CONTROL_OF_SITE -> CONTROL_SITE
- Implemented V2_1 Driven Into The Hills, which uses a liberate trigger, with associated tests
- Fixed Rapt Hillman liberation not being optional
2024-06-02 15:32:22 -05:00
Christian 'ketura' McCarty
e4493e227a Cleaning up V2 cards to match the new card definitions 2024-06-02 13:51:23 -05:00
Christian 'ketura' McCarty
17ce92011f Somehow the V2 hand/ranged weapon test got mangled 2024-06-02 13:36:40 -05:00
Christian 'ketura' McCarty
c24cda8bd0 V2 hjson fixes 2024-06-02 13:36:22 -05:00
Christian 'ketura' McCarty
76f7b7a378 Mass fix of capitalization for hasKeyword 2024-06-02 13:20:23 -05:00
Christian 'ketura' McCarty
a6f7de9884 V2 timeword test fixes 2024-06-02 13:18:46 -05:00
Christian 'ketura' McCarty
cedc6f629c V2 Test upgrades 2024-06-02 13:07:39 -05:00
Christian 'ketura' McCarty
d5dd25435a V2 test upgrades 2024-06-02 12:56:52 -05:00
Christian 'ketura' McCarty
54aa812f08 Merge remote-tracking branch 'mock/v2_gondor_cards' into grand-card-rework
# Conflicts:
#	gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/cards/build/field/AllyHomeFieldProcessor.java
2024-06-02 11:45:45 -05:00
Christian 'ketura' McCarty
aa1baf84f2 Changing Ford of Bruinen and Dimrill Dale to use PerTurn/PerPhase limits instead of in-zone data, so now they shouldn't flash at the end of turn/end of shadow phase. 2024-06-02 02:40:09 -05:00
Christian 'ketura' McCarty
8c13cc3945 Refactoring some comma-delimited fields to arrays
- Updated ChooseAKeyword to accept an array of keyword strings instead of a comma-delimited list.
- Updated TurnIntoMinions to accept an array of keyword strings instead of a comma-delimited list.
- Added keyword checking for both above effects to ensure the keywords requested don't crash at runtime
- Overhauled ally home site definition.  Blueprint now stores an array of HomeSite objects, which are records storing a SiteBlock/SiteNumber pair apiece.
- Ally home sites can now be defined in one of two ways: a short string like "2F" indicating "Fellowship block site 2", or in a more explicit JSON object defining both Block and Site as separate fields.  Both of these can be present in an array (even mixed) for multiple home sites.
2024-06-02 00:33:58 -05:00
Christian 'ketura' McCarty
6a05210198 Rename StackCards -> StackCardsFromPlay 2024-06-01 18:50:27 -05:00
Christian 'ketura' McCarty
543ffdc453 Fleshed out Spot's parameter checking a bit more. 2024-06-01 17:15:12 -05:00
Christian 'ketura' McCarty
077c068951 Consolidated ShuffleCardsFromPlayAndStackedOnThemIntoDrawDeck into ShuffleCardsFromPlayIntoDrawDeck 2024-06-01 16:21:46 -05:00
Christian 'ketura' McCarty
84536eed09 Effect tweaks
- Renamed RemoveTokens -> RemoveCultureTokens to match the corresponding Add effect
- in DoWhile, renamed parameter condition -> check
- Rearranged order of effects to put meta/control-flow effects at the top.
2024-06-01 15:31:06 -05:00
Christian 'ketura' McCarty
3d73e415ea Fixing broken block definitions 2024-06-01 13:22:40 -05:00
Christian 'ketura' McCarty
48f7157b62 Effect tweaks
- Converted PreventExert to a generic PreventCardEffectAppender
- Deleted ReduceArcheryTotal and converted the relevant cards to use a choosenumber/modifyarchery effect combo
- Altered PlaySite to use SiteBlock's existing parsing instead of the generic enum parse
- Deleted unused parameter on RemoveAllTokens
2024-05-31 23:36:28 -05:00
Christian 'ketura' McCarty
291fcd43fa PlayCardFromX effect tweaks
- Renamed play -> playCardFromHand to match the other playCardFromX effects.
- Renamed cost -> discount for all PlayCardFromX effects
- Pared down PlayCardFromDeadPile to not have so many unusable parameters
2024-05-31 20:42:14 -05:00
Christian 'ketura' McCarty
0ff050cd9e Fixing some malformed If conversions in the hobbit cards 2024-05-31 19:08:48 -05:00
Christian 'ketura' McCarty
43184e3967 Renamed MemorizeValue -> MemorizeInfo. Minor parameter tweaks in other effects. 2024-05-31 13:42:48 -05:00
Christian 'ketura' McCarty
26d875e353 Merge remote-tracking branch 'marcin/grand-card-rework' into grand-card-rework 2024-05-31 12:37:52 -05:00
MarcinSc
c545adf752 Extracted Timeword (Response, Fellowship, Shadow, etc) from Keywords 2024-05-31 18:22:33 +07:00
MarcinSc
45922abb34 Fixed "Into the Caves" 2024-05-31 15:14:01 +07:00
MarcinSc
2df77941d8 Improved the performance of filtering in places that don't need entire matching collection 2024-05-31 14:36:50 +07:00
Christian McCarty
fa41822a29 Merge pull request #73 from MarcinSc/grand-card-rework
Continued cleanup and fixes
2024-05-31 02:22:33 -05:00
MarcinSc
562597677b Removed the "can_star_with_ring" keyword - replaced with proper flag 2024-05-31 14:19:05 +07:00
MarcinSc
7389323689 Removed the "can_star_with_ring" keyword - replaced with proper flag 2024-05-31 14:05:23 +07:00
MarcinSc
89fbe97eb7 Removed the "can_star_with_ring" keyword - replaced with proper flag 2024-05-31 14:02:23 +07:00
MarcinSc
dc6f931f9c Merge remote-tracking branch 'upstream/grand-card-rework' into grand-card-rework
# Conflicts:
#	gemp-lotr/gemp-lotr-cards/src/main/resources/cards/official/set03/set3-shire.hjson
#	gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/cards/build/field/effect/EffectAppenderFactory.java
#	gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/cards/build/field/effect/trigger/DiscardFromHandBy.java
2024-05-31 13:35:02 +07:00
Christian 'ketura' McCarty
d05d21e62c Consolidated Conditional/If -> If. Altered if's logic to treat no effects as not playable in full 2024-05-31 00:45:23 -05:00