Skip to content

Core/Player: Fix DF quest reward weekly cap check for uncapped currencies#457

Merged
Ovahlord merged 2 commits intoThe-Cataclysm-Preservation-Project:masterfrom
gonzo1247:LFG-Justice-Points
Jan 23, 2026
Merged

Core/Player: Fix DF quest reward weekly cap check for uncapped currencies#457
Ovahlord merged 2 commits intoThe-Cataclysm-Preservation-Project:masterfrom
gonzo1247:LFG-Justice-Points

Conversation

@gonzo1247
Copy link
Contributor

Dungeon Finder reward quests incorrectly blocked rewards for currencies with no weekly cap (e.g. Justice Points), because a weekly cap check compared earned amount to a zero cap.

This change only enforces the weekly cap when it is greater than zero and keeps existing behavior for capped currencies intact.

Tests performed: (Does it build, tested in-game, etc)
build
Tested in-game: Dungeon Finder rewards are now granted correctly.

@Ovahlord
Copy link
Member

please adjust the brackets around the loop and the if condition as well so they are all put in brackets

@gonzo1247
Copy link
Contributor Author

Done

@Ovahlord Ovahlord merged commit 8c758f8 into The-Cataclysm-Preservation-Project:master Jan 23, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments