mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-08 16:03:26 +00:00
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%)
This commit is contained in:
parent
f7851623ff
commit
6a4b4d8b70
1 changed files with 4 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue