|
@@ -451,7 +451,7 @@ if $ARGS[0] = 'push':
|
|
|
end
|
|
|
'You do push-ups for <<$timestring>> minutes, improving your strength.'
|
|
|
if pcs_energy < 40: energypushtemp = RAND(1,10)
|
|
|
- pushnum = (pcs_stren * pcs_sleep / 67) - (healthmax - pcs_health) / 2 - energypushtemp + rand(-5,5)
|
|
|
+ pushnum = (pcs_stren * (pcs_sleep / 67) * (pcs_health / healthmax)) - energypushtemp + rand(-5,5)
|
|
|
if pushnum < 1: pushnum = rand(1,5)
|
|
|
KILLVAR 'energypushtemp'
|
|
|
'<br>You managed to do <<pushnum>> push-ups. Your previous record is <<pushrecord>>.'
|