feat(PrizePool): add club share support for team prize pools#7728
Open
Eetwalt wants to merge 13 commits into
Open
feat(PrizePool): add club share support for team prize pools#7728Eetwalt wants to merge 13 commits into
Eetwalt wants to merge 13 commits into
Conversation
Rathoz
reviewed
Jul 2, 2026
| local found = false | ||
| for _, call in ipairs(LpdbPlacementStub.calls) do | ||
| local extradata = call.vals[2] and call.vals[2].extradata | ||
| if type(extradata) == 'string' and extradata:find('"playershare":250000', 1, true) then |
Collaborator
There was a problem hiding this comment.
Probably better to parse the json to make it less sensitive to how the JSON stringifies in details
Rathoz
reviewed
Jul 2, 2026
Comment on lines
+291
to
+292
| if type(extradata) == 'string' then | ||
| local parsed = Json.parse(extradata) |
MischiefCS
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on top of #7688 (Table2 redesign) and #7715 (currency toggle) — both should merge first.
playershare=) and the club reward is derived as the remainderplayershare=true; optionalclubshare=<label>overrides the "Club Reward" column titleextradata, and derive each team player'sindividualprizemoneyfrom the player share instead of the org-inclusive total (so org money doesn't inflate player earnings)Inspired by the prior attempt in #7284, rebuilt for the redesigned (Table2) prize pool.
How did you test this change?
dev (https://liquipedia.net/counterstrike/User:Eetwalt/Sandbox:PrizePool)