mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-01 12:43:33 +00:00
Further nerf invinc time return
This commit is contained in:
parent
288a0a389f
commit
a3e09b3c7f
1 changed files with 1 additions and 1 deletions
|
|
@ -3197,7 +3197,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
|||
kinvextend = 3*TICRATE;
|
||||
|
||||
// Reduce the value of subsequent invinc extensions
|
||||
kinvextend = 3 * kinvextend / (3 + source->player->invincibilityextensions); // 75%, 60%, 50%[...]
|
||||
kinvextend = kinvextend / (1 + source->player->invincibilityextensions); // 50%, 33%, 25%[...]
|
||||
kinvextend = max(kinvextend, TICRATE);
|
||||
|
||||
source->player->invincibilityextensions++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue