From 1688c81a648b245ba1cd8123e27324b9b42844cc Mon Sep 17 00:00:00 2001 From: Jones <Jones> Date: Thu, 2 Jan 2020 12:23:24 +0100 Subject: [PATCH] Update healthFunctions.js --- src/endWeek/healthFunctions.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/endWeek/healthFunctions.js b/src/endWeek/healthFunctions.js index 072c74428d5..34ddc65eb1d 100644 --- a/src/endWeek/healthFunctions.js +++ b/src/endWeek/healthFunctions.js @@ -251,7 +251,7 @@ window.tired = function tired(slave) { let health; let tiredChange; - if (!slave.fuckdoll) { + if (!slave.fuckdoll || slave.fetish !== "mindbroken") { // Assignment if (slave.assignment === "rest" || slave.assignment === "get treatment in the clinic") { assignment -= normalRandInt(15, 2); // Reduces tired by an average of 15 points while on a relaxing assignment @@ -346,7 +346,11 @@ window.tired = function tired(slave) { * @returns {void} */ window.tiredFucks = function tiredFucks(slave) { - if (!slave.fuckdoll) { - slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 25); + if (!slave.fuckdoll || slave.fetish !== "mindbroken") { + if (slave.assignment === "work a glory hole" || slave.assignment === "be confined in the arcade") { + slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 50); + } else { + slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 25); + } } }; -- GitLab