mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Increase GP bonus points
This commit is contained in:
parent
9603c5fea7
commit
d4153ca7aa
1 changed files with 7 additions and 7 deletions
|
|
@ -54,9 +54,9 @@ INT16 K_CalculateGPRankPoints(UINT8 position, UINT8 numplayers)
|
|||
// This rounds out the point gain when you get 1st every race,
|
||||
// and gives bots able to catch up in points if a player gets an early lead.
|
||||
// The maximum points you can get in a cup is: ((number of players - 1) + (max extra points)) * (number of races)
|
||||
// 8P: (7 + 3) * 5 = 50 maximum points
|
||||
// 12P: (11 + 3) * 5 = 70 maximum points
|
||||
// 16P: (15 + 3) * 5 = 90 maximum points
|
||||
// 8P: (7 + 5) * 5 = 60 maximum points
|
||||
// 12P: (11 + 5) * 5 = 80 maximum points
|
||||
// 16P: (15 + 5) * 5 = 100 maximum points
|
||||
switch (numplayers)
|
||||
{
|
||||
case 0: case 1: case 2: // 1v1
|
||||
|
|
@ -64,13 +64,13 @@ INT16 K_CalculateGPRankPoints(UINT8 position, UINT8 numplayers)
|
|||
case 3: case 4: // 3-4P
|
||||
if (position == 1) { points += 1; } // 1st gets +1 extra point
|
||||
break;
|
||||
case 5: case 6:
|
||||
if (position == 1) { points += 2; } // 1st gets +2 extra points
|
||||
case 5: case 6: // 5-6P
|
||||
if (position == 1) { points += 3; } // 1st gets +3 extra points
|
||||
else if (position == 2) { points += 1; } // 2nd gets +1 extra point
|
||||
break;
|
||||
default: // Normal matches
|
||||
if (position == 1) { points += 3; } // 1st gets +3 extra points
|
||||
else if (position == 2) { points += 2; } // 2nd gets +2 extra points
|
||||
if (position == 1) { points += 5; } // 1st gets +5 extra points
|
||||
else if (position == 2) { points += 3; } // 2nd gets +3 extra points
|
||||
else if (position == 3) { points += 1; } // 3rd gets +1 extra point
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue