diff --git a/src/endWeek/healthFunctions.js b/src/endWeek/healthFunctions.js index c55cecd0a43f7f3f3ac13f364bf6187fe4a2c331..4a0d7d794668e1cc362e3b111694abdff372b64e 100644 --- a/src/endWeek/healthFunctions.js +++ b/src/endWeek/healthFunctions.js @@ -119,10 +119,10 @@ globalThis.illness = function(slave) { let age_modifier = Math.min(Math.trunc((slave.physicalAge - 18) / 3), 0); let bonus_modifiers = random + assignBonus + nurse_effectiveness; let curativesBonus = (slave.curatives > 1 || slave.inflationType === "curative") ? 2 : 1; - let industrialDairyImmunoBoost = (V.dairyRestraints > 1 && slave.assignment === Job.Dary) ? 60 : 0; + let industrialDairyImmunoBoost = ? 60 : 0; // When ill, a slave has a 60% chance of getting better the next week at complete default, 70% with a favorable assignment, 80% with curatives, 90% with both measures active and additional benefits depending on the nurse on duty - if (H.illness > 0 && ((health_adjusted + age_modifier + industrialDairyImmunoBoost) / 3) + bonus_modifiers > 40 / curativesBonus) { + if (H.illness > 0 && ((health_adjusted + age_modifier + industrialDairyImmunoBoost) / 3) + bonus_modifiers > (30 + (H.illness * 10)) / curativesBonus) { if (nurse_effectiveness > 30 && (jsRandom(1, 2) === 2 || slave.assignment === Job.CLINIC) && H.illness > 1) { // A particularly effective nurse can improve illness faster H.illness -= 2; r += ` ${S.Nurse.slaveName} <span class="green">successfully treats</span> ${his} illness.`;