make sickness deadlier

This commit is contained in:
Fabien Freling 2019-04-29 13:41:21 +02:00
parent 40cbc4f630
commit 998fbe485a

View file

@ -529,8 +529,8 @@ function updateGame()
sickCounter = sickCounter - 1 sickCounter = sickCounter - 1
secondsAlive = secondsAlive + 1 secondsAlive = secondsAlive + 1
end end
if sickCounter==0 and sickLapse>3 then if sickCounter==0 and sickLapse>1 then
sickLapse=sickLapse-2 sickLapse=math.max(sickLapse-5,1)
sickCounter=20 sickCounter=20
end end