Commit Graph

384 Commits

Author SHA1 Message Date
Christian 'ketura' McCarty
ff443011fd Fleshed out deckbuilder unsaved changes prompting, should now be much more robust 2025-01-01 14:42:23 -06:00
Nathaniel Bond
aaa30b6675 Use tabs 2024-12-30 10:59:23 -05:00
Nathaniel Bond
8d8ba2179a Refactor new deck logic 2024-12-30 10:50:32 -05:00
Nathaniel Bond
d32e1ab6a6 Fix new effect 2024-12-30 10:41:15 -05:00
Nathaniel Bond
b7d8b06888 Refactor deck naming 2024-12-30 10:35:57 -05:00
Nathaniel Bond
f71eda27ac Correct logic 2024-12-30 10:07:39 -05:00
Nathaniel Bond
c14aefa04c Try normalizing new deck effect 2024-12-30 10:02:55 -05:00
Nathaniel Bond
814a957b12 Begin copying new deck logic 2024-12-30 09:59:38 -05:00
Nathaniel Bond
8a2f636dcf Attempt initial save guard 2024-12-30 09:48:30 -05:00
Christian 'ketura' McCarty
f8a1b8e177 Fixed packs not having a count on them in the deckbuilder. Hopefully addressed card pack deliveries being out of sync. 2024-12-11 23:32:14 -06:00
Christian 'ketura' McCarty
2f31d90507 Fixed league formats not consistently populating in the deckbuilder. Fixed the collection dropdown not resetting to All Cards after refresh. 2024-12-10 21:39:23 -06:00
Christian 'ketura' McCarty
01b1a4aed0 Removed spastic decision timer from showing on replays as it was essentially a memory leak when running the way it was 2024-12-10 21:17:26 -06:00
Christian 'ketura' McCarty
adb225c80a Draft window fixes
- Fixed draft not working
- Added right-click card info popup to the draft screen
- Draft screen now opens in a new tab
- Fixed help screen video description being missing
2024-12-09 17:57:31 -06:00
Christian 'ketura' McCarty
8d91ed389e Fixing mising pc errata images, for real this time 2024-12-09 16:56:05 -06:00
Christian 'ketura' McCarty
20d349167b Missing comma 2024-12-09 00:28:43 -06:00
Christian 'ketura' McCarty
9b81a00818 Fixing missing/obsolete PC errata image definitions 2024-12-08 17:01:51 -06:00
Christian 'ketura' McCarty
9528afcffc Fixed Dam and Writhing Tentacle not being in the merchant. Fixed the last few cards of V2 not being in the merchant. Fixed the merchant always showing packs in front of the cards regardless of setting. 2024-12-08 14:29:57 -06:00
Christian 'ketura' McCarty
0c32b2558e Fixing NREs in card display code 2024-12-07 15:43:58 -06:00
Christian 'ketura' McCarty
8da11ca7f0 Reduced vertical spacing in announcements 2024-12-07 11:30:26 -06:00
Christian 'ketura' McCarty
535b55471b Fixing Merchant being unusable 2024-12-07 11:03:54 -06:00
Christian 'ketura' McCarty
0fa5a42bd5 Fixing various NRE 2024-12-07 09:53:20 -06:00
Christian 'ketura' McCarty
e11f52b193 Fixing announcement window scrolling to the first link instead of remaining at the top 2024-12-07 01:13:57 -06:00
Christian 'ketura' McCarty
2d46f50cb1 Added Collector's Info sorting type in the deckbuilder card filter 2024-12-07 01:01:43 -06:00
Christian 'ketura' McCarty
5b709cc9a2 Fixing undelivered sealed or announcement transfers causing constant client delivery spam 2024-12-06 21:39:00 -06:00
Christian 'ketura' McCarty
714809f528 Fixed announcements not rendering 2024-12-06 19:08:42 -06:00
Christian 'ketura' McCarty
18bda94cdd Fixing post-game popup not showing due to verbiage change 2024-12-06 01:48:16 -06:00
Christian 'ketura' McCarty
b4670e72e7 Server Announcements
- Added support for server-wide announcements that everyone should see.  Only one can be active at a time.
- When users interact with the hall, a line item is added to the Transfers table that tracks their interaction status with the latest announcement.  Users can temporarily snooze it for 24 hours if they want to read it later, or they can permanently dismiss (that specific) announcement
- Added section to main admin page for adding new announcements
- Added db scripts for adding announcement table and altering transfer table
- Altered delivery system so that opened packs should only trigger the popup when in the deckbuilder (so that an open hall + deckbuilder isn't rolling dice over which window catches it)
- Fixed cards attached to sites always showing as active
- Fixed markdown link shredding setting being reversed
2024-12-01 16:53:45 -06:00
Christian 'ketura' McCarty
a2000ac20b V1 remapping
- Remapped the 3 V1 promos starting at 101_101, which leaves a good 30 or so empty slots for future additions (if needed).
- Added a SQL script for updating the transfer, collection-entries, and deck tables
- Fixed the on-screen delivery popups being broken due to the card display rework
2024-11-27 00:29:28 -06:00
Christian 'ketura' McCarty
633b0e0d19 New UI features
- Added Initiative readout to the game screen
- Added Rule of 4 readout to the game screen (only during the Fellowship phase)
- Increased the size of the action box as a hack for situations where long messages went off the edge
- Fixed the twilight filter not working in the deckbuilder
2024-11-26 15:19:56 -06:00
Christian 'ketura' McCarty
d3b5417bf3 Fixed format page not rendering. Added wiki links to the bottom of all card info displays. 2024-11-24 23:55:39 -06:00
Christian 'ketura' McCarty
8f8805bb71 Reworking game UI startup so that game chat is always loaded after the game message log upon reload 2024-11-24 14:35:53 -06:00
Christian 'ketura' McCarty
5446b06a17 Added ESC key dismissal for arbitrary card dialogs whose minimum is satisified. Fixed stacked cards never getting marked inactive. 2024-11-23 18:34:04 -06:00
Christian 'ketura' McCarty
640e202813 Hover fixes
- Fixed the RB/Ring/Sites one-click filters not showing properly in the deckbuilder
- Altered the way that card borders are created so that hover-over still works when hovering on the border of a card
- Adjusted Helpless errata so it can't be abused repeatedly by Enduring Nazgul
2024-11-23 11:30:08 -06:00
Christian 'ketura' McCarty
d2c05f6045 Adding greyed-out styling for inactive cards
- Inactive cards are now automatically greyed out whenever a new turn starts
- Fixed the deck inspection window not showing when your deck play operation failed (such as when using Bridge of Khazad-dum with no Balrog)
2024-11-22 20:23:44 -06:00
Christian 'ketura' McCarty
c0b54f76cd Errata update for Greenleaf, SFTF, and Foul Horde 2024-11-22 20:23:18 -06:00
Christian 'ketura' McCarty
9c065dc689 V2 errata and wording fixes
- Updated wording for V2 Uruk Shield Wall and V2 An End Worthy of Remembrance
- Fixed V1 Writhing Tentacle using an errata URL
- Added errata for both Herugrim, Simbelmyne, Let Us Be Swift, No Rest for the Weary, and Sigewulf
- Fixed a rare Neekerbreeker's Bog (d + e) issue where it would both heal and exert the same character if Lingering Shadow was in play.
2024-11-20 21:08:03 -06:00
Christian 'ketura' McCarty
126c282172 Somehow the most important file didn't get checked in 2024-11-16 20:53:31 -06:00
Christian 'ketura' McCarty
8d755b8726 PC Errata conversion button
- Added a new button in the deckbuilder that converts all cards currently in the deck to applicable PC errata.  It is disabled outside of PC formats (and Anything Goes) and enabled for a single usage otherwise.
- Optimized card filter a bit so it isn't calling the card collection quite so often during format switching
2024-11-16 20:45:12 -06:00
Christian 'ketura' McCarty
1d8f55c037 Added auto-hiding of all cultures, not just hobbit, so that fotr/movie/expanded eras hide the irrelevant cultures 2024-11-15 09:21:36 -06:00
Christian 'ketura' McCarty
493b8003e9 Fixed V1 Boromir image link being broken. Fixed V1 Aragorn not actually restricting the starting fellowship. 2024-11-15 08:16:51 -06:00
Christian 'ketura' McCarty
3c914b832e Updates
- Fixed PC errata not showing when a block or set filter was applied within PC formats in the deckbuilder
- Added V1 Boromir, Redeemed errata
- Updated Terrible as the Dawn errata to specify "discard another companion"
2024-11-14 23:15:43 -06:00
Christian 'ketura' McCarty
354af9a86d Fixing estel url 2024-11-14 10:58:11 -06:00
Christian 'ketura' McCarty
f2daf74322 Fixing phase dropdown not working in filter. Removing illegitimate "Horn" item class. 2024-11-13 16:47:32 -06:00
Christian 'ketura' McCarty
1095a46fb7 Forgot the card paths 2024-11-12 22:31:45 -06:00
Christian 'ketura' McCarty
f096b0d4e1 Deckbuilder Format Overhaul
- Fleshed out deckbuilder format/block/set selection.  The deck format selection now filters what block/set will show up in the card filters in the right pane.
- Fixed Ring-bearer/One Ring filtering not working.  Further fleshed out Ring/Bearer interaction so that other filters may now be used.
2024-11-12 19:03:36 -06:00
Christian 'ketura' McCarty
4f3ca53b94 Fixing culture buttons getting disabled shen clicking on sites 2024-11-08 23:08:28 -06:00
Christian 'ketura' McCarty
45161fb0ed Assignment fixes and others
- (Hopefully) Fixed forced assignment actions causing an incorrect message about too many assigned minions that soft-locks the game
- Syntax fix for previous Siege Engine fix
- Fixed Sam and Merry errata not being properly limited to once per turn
- Fixed a front-end error related to the card display rework
2024-11-08 16:47:58 -06:00
Christian 'ketura' McCarty
bd222d30d3 Fixing multiple filter calls when clearing the filters 2024-11-07 23:50:45 -06:00
Christian 'ketura' McCarty
a4d33c0228 Game Text support
- Added support for properly parsing the CardInfo section of card definitions
- Added support for game text in card definitions
- Added game text to the card info right-click window
- Added support for game text filtering in the deckbuilder
- Removed truly awful tengwar hack (as that information is now on every card)
- adding missed db file from merge
- Converted the card info section of every card to a cut-down version with sane defaults
2024-11-07 22:54:34 -06:00
Christian 'ketura' McCarty
f8ad13a546 Merge branch 'v2-cards' into feature/autozoom
# Conflicts:
#	gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/deckBuildingUi.js
#	gemp-lotr/gemp-lotr-common/src/main/java/com/gempukku/lotro/common/Names.java
#	gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/game/LotroCardBlueprintLibrary.java
#	gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/game/packs/SetDefinition.java
#	gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/game/SortAndFilterCards.java
2024-11-05 12:28:50 -06:00