From 6a4b4d8b70e0327f116565cc444152854eec8f9e Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Thu, 23 Feb 2023 13:22:12 -0500 Subject: [PATCH] Balance rank requirements Old values were taken from Snap, which has a small number of very straight-forward and relatively easy to 100% requirements, so it has very high standards. RR has lots of requirements, they're slightly more nuanced, and it's extremely improbable to have them all 100% in one run even if you're good. - Toned A rank down very slightly. (90% -> 85%) - Rest of the ranks are more evenly distributed. (D: 45% -> 35%, C: 60% -> 50%, B: 75% -> 70%) --- src/k_rank.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/k_rank.c b/src/k_rank.c index bf548b1ed..b4d2b90df 100644 --- a/src/k_rank.c +++ b/src/k_rank.c @@ -103,15 +103,14 @@ void K_InitGrandPrixRank(gpRank_t *rankData) gp_rank_e K_CalculateGPGrade(gpRank_t *rankData) { static const fixed_t gradePercents[GRADE_A] = { - 9*FRACUNIT/20, // GRADE_E -> GRADE_D - 12*FRACUNIT/20, // GRADE_D -> GRADE_C - 15*FRACUNIT/20, // GRADE_C -> GRADE_B - 18*FRACUNIT/20 // GRADE_B -> GRADE_A + 7*FRACUNIT/20, // D: 35% or higher + 10*FRACUNIT/20, // C: 50% or higher + 14*FRACUNIT/20, // B: 70% or higher + 17*FRACUNIT/20 // A: 85% or higher }; gp_rank_e retGrade = GRADE_E; - // TODO: Balance requirements const INT32 pointsWeight = 100; const INT32 lapsWeight = 100; const INT32 capsulesWeight = 100;