Skip to content

fix: sort machination target list by powerPoints not matchPoints - #197

Merged
Garemat merged 1 commit into
mainfrom
fix/machination-rank
Jun 22, 2026
Merged

fix: sort machination target list by powerPoints not matchPoints#197
Garemat merged 1 commit into
mainfrom
fix/machination-rank

Conversation

@Garemat

@Garemat Garemat commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • The machination submission screen ranked players by matchPoints then victoryPoints, ignoring mpAdjustment and inGameMp.
  • Any player with host-applied point corrections (mpAdjustment) or in-game MP (inGameMp) would appear at the wrong rank, causing both the rank badge and the tier-based impact hints (TOP/MIDDLE/BOTTOM) to be wrong.
  • Fix: sort by powerPoints (the pre-computed total already stored on the member: VP + vpAdj + MP + mpAdj + igmp).

Test plan

  • Open machination submission screen for a campaign where players have mpAdjustment or inGameMp values — confirm rank badges reflect full power points standings
  • Confirm SUPPORT/SABOTAGE tier hints (TOP/MIDDLE/BOTTOM) match the actual campaign leaderboard

🤖 Generated with Claude Code

matchPoints alone excludes mpAdjustment and inGameMp, which meant
players with host-applied point corrections ranked incorrectly.
powerPoints is the pre-computed total (VP + vpAdj + MP + mpAdj + igmp).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Garemat
Garemat merged commit a26ef87 into main Jun 22, 2026
6 checks passed
@Garemat
Garemat deleted the fix/machination-rank branch June 22, 2026 18:01
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.

1 participant