mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Cap UFO difficulty reduction at half off
This commit is contained in:
parent
7a1a4c58fb
commit
10be033605
1 changed files with 1 additions and 1 deletions
|
|
@ -1347,7 +1347,7 @@ static mobj_t *InitSpecialUFO(waypoint_t *start)
|
||||||
|
|
||||||
if (grandprixinfo.gp && grandprixinfo.rank.specialDamage)
|
if (grandprixinfo.gp && grandprixinfo.rank.specialDamage)
|
||||||
{
|
{
|
||||||
ufo->health -= min(70, grandprixinfo.rank.specialDamage/2);
|
ufo->health -= min(mobjinfo[MT_SPECIAL_UFO].spawnhealth/2, grandprixinfo.rank.specialDamage/4);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ufo;
|
return ufo;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue