toFixed(0) is all we need
This commit is contained in:
parent
0646d995ff
commit
c07b4d43b9
@ -92,7 +92,7 @@ export const infestedFoundryController: RequestHandler = async (req, res) => {
|
|||||||
|
|
||||||
const hoursRemaining = (record.Date - currentUnixSeconds) / 3600;
|
const hoursRemaining = (record.Date - currentUnixSeconds) / 3600;
|
||||||
const apetiteFactor = apetiteModel(hoursRemaining) / 30;
|
const apetiteFactor = apetiteModel(hoursRemaining) / 30;
|
||||||
logger.debug(`helminth eating ${contribution.ItemType} (+${(snack.gain * 100).toFixed(2)}%)`, {
|
logger.debug(`helminth eating ${contribution.ItemType} (+${(snack.gain * 100).toFixed(0)}%)`, {
|
||||||
hoursRemaining,
|
hoursRemaining,
|
||||||
apetiteFactor
|
apetiteFactor
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user