Commit Graph

8728 Commits

Author SHA1 Message Date
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
Christian 'ketura' McCarty
35f06a4012 damn rarity file 2024-06-03 02:54:51 -05:00
Christian 'ketura' McCarty
130ecf845c Adding V2 to all the various front-end definitions 2024-06-03 02:47:07 -05:00
Christian 'ketura' McCarty
f509fbd73d Disabling old library test 2024-06-03 02:44:58 -05:00
Christian 'ketura' McCarty
7d90eae248 Finished V2. Attempted to start implementing site-control-count modifications, but I suspect what's there is inadequate. 2024-06-03 02:15:01 -05:00
Christian 'ketura' McCarty
c2be403bc6 V2 Moria + Rohan
- Addied triggers for keying to adding and removing culture tokens
- Added player parameter to PlayCardFromDiscard; this could probably stand to go on the other PlayCardFromX effects as well
2024-06-03 00:26:14 -05:00
Christian 'ketura' McCarty
11b32a1543 Implemented half of V2
- Added oneperbearer filter so we can stop reimplementing the same logic on all these cards
- Added CanSpotDifferentCultures for supporting "Spot X cards of different cultures" text
- Added ActivatedInDrawDeck as a mirror to ActivatedInDiscard and ActivatedFromStacked
- Fixed the V2 Jetsam unit tests
2024-06-02 21:59:11 -05:00
Christian 'ketura' McCarty
7c603c561a Fixing V2 Aragorn unit test; culture spotting reduction now works. Fixed V2 Haldir missing archery negation. Upgraded Jetsam to latest definitions. 2024-06-02 16:24:57 -05:00
Christian 'ketura' McCarty
8468e5cf0c Merge commit 'refs/pull/72/head' of https://github.com/PlayersCouncil/gemp-lotr into v2-cards
# Conflicts:
#	gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/unofficial/pc/vsets/set_v02/Card_V2_012_Tests.java
2024-06-02 15:50:18 -05:00
Christian 'ketura' McCarty
69514ef578 Merge branch 'v2-cards' of https://github.com/PlayersCouncil/gemp-lotr into v2-cards 2024-06-02 15:46:41 -05:00
Christian 'ketura' McCarty
34ccfb3baf Adding test functions for checking the number of spottable cultures 2024-06-02 15:46:27 -05: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