Skip to content

Conversation

@cetteup
Copy link

@cetteup cetteup commented Nov 22, 2024

To determine the number badge-based unlock points, the current implementation does a COUNT of badges >= $level, with $level being the configured badge level for any unlock points (usually 2 = veteran). However, if a player has both the level 2 and level 3 badge, they receive two unlock points, since both are counted.

This sets the maximum number of badge-based unlock points to 14 (7 badges * 2 points per level). Which is nonsense because it results in the number of overall obtainable points (14 badge + 7 rank = 21) being higher than the number of things to unlock (7 classes * 2 unlocks = 14). Meaning a player who has all weapons unlocked will receive an unlock prompt without anything to unlock.

@leojonathanoh
Copy link
Member

This looks good. Thanks much 😃

@leojonathanoh leojonathanoh added this to the 3.3.1 milestone Feb 6, 2025
@leojonathanoh leojonathanoh merged commit 95d3d96 into startersclan:master Feb 6, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants