From 53d41d879372f02a0941cfc827cf37b2e2910c12 Mon Sep 17 00:00:00 2001 From: promethium <13821-promethium@users.noreply.gitgud.io> Date: Fri, 10 Jan 2020 21:13:40 -0800 Subject: [PATCH] Stop nurglite death spiral --- src/endWeek/healthFunctions.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/endWeek/healthFunctions.js b/src/endWeek/healthFunctions.js index 65d2b60e223..387f0ef7482 100644 --- a/src/endWeek/healthFunctions.js +++ b/src/endWeek/healthFunctions.js @@ -63,7 +63,11 @@ window.illness = function illness(slave) { if (slave.assignment === "live with your agent" || slave.assignment === "be your agent") { return; } // Let's make sure agents don't get sick and accidentally die, they should take care of themselves - if (slave.assignment === "rest" || slave.assignment === "rest in the spa" || slave.assignment === "get treatment in the clinic" || slave.assignment === "serve in the master suite" || slave.assignment === "please you") { + if (slave.assignment === "get treatment in the clinic") { + assignBonus += 30; + } else if (slave.assignment === "rest in the spa") { + assignBonus += 20; + } else if (slave.assignment === "rest" || slave.assignment === "serve in the master suite" || slave.assignment === "please you") { assignBonus += 10; } if (random < 6) { // There is always a 5% chance of a slave feeling worse -- GitLab