Skip to content

Commit

Permalink
derpfix'n no.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gamrguy committed Feb 10, 2019
1 parent 343dc0a commit acff93b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/fr_scripts/novakidStuff.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ function FRHelper:call(args, main, dt, ...)
local hungerCalc = math.min(1, (hungerPerc - dayConfig.minHunger) / (dayConfig.maxHunger - dayConfig.minHunger))
local regenCalc = (dayConfig.maxRegen - dayConfig.minRegen) * hungerCalc + dayConfig.minRegen

-- When it is sunny and they are well fed, florans regenerate
if hungerPerc >= dayConfig.minHunger then
status.modifyResourcePercentage("health", regenCalc * dt)
end
Expand Down

0 comments on commit acff93b

Please sign in to comment.