mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-17 23:21:05 +00:00
Scale number of allowed invuln items w/ player count
0-5 players: 1 invincibility/grow allowed out at once 6-9 players: 2 invincibilities (how it was before) 10-13 players: 3 invincibilities 14+ players: 4 invincibilites
This commit is contained in:
parent
e0f7ab6ad4
commit
55c6ab2581
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,7 @@ static INT32 K_KartGetItemOdds(UINT8 pos, SINT8 item, fixed_t mashed)
|
|||
{
|
||||
case KITEM_INVINCIBILITY:
|
||||
case KITEM_GROW:
|
||||
if (pinvin >= 2)
|
||||
if (pinvin >= max(1, (pingame+2) / 4))
|
||||
newodds = 0;
|
||||
else
|
||||
/* FALLTHRU */
|
||||
|
|
Loading…
Reference in a new issue