From 832803923b2a0e0bb04f87175c8f637b72b7a94e Mon Sep 17 00:00:00 2001 From: Anu <barrychahal@gmail.com> Date: Tue, 1 Sep 2020 00:31:34 -0700 Subject: [PATCH] Actually apply the check everywhere, dummy --- src/endWeek/saHormonesEffects.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/endWeek/saHormonesEffects.js b/src/endWeek/saHormonesEffects.js index e36f627ad93..a9ab33b502e 100644 --- a/src/endWeek/saHormonesEffects.js +++ b/src/endWeek/saHormonesEffects.js @@ -320,7 +320,7 @@ App.SlaveAssignment.hormonesEffects = (function() { slave.voice++; } - if (slave.muscles > 30 && slave.diet !== "muscle building" && slave.drugs !== "steroids") { + if (slave.muscles > 30 && slave.diet !== "muscle building" && slave.drugs !== "steroids" && (slave.geneticQuirks.mGain !== 2 || slave.geneticQuirks.mLoss === 2)) { r.push(`Hormonal effects <span class="orange">reduce ${his} musculature.</span>`); slave.muscles -= 2 + V.hormoneUpgradePower + slave.geneticQuirks.mLoss; if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) { @@ -436,7 +436,7 @@ App.SlaveAssignment.hormonesEffects = (function() { slave.voice++; } - if (slave.muscles > 30 && slave.diet !== "muscle building" && slave.drugs !== "steroids") { + if (slave.muscles > 30 && slave.diet !== "muscle building" && slave.drugs !== "steroids" && (slave.geneticQuirks.mGain !== 2 || slave.geneticQuirks.mLoss === 2)) { r.push(`Hormonal effects <span class="orange">reduce ${his} musculature.</span>`); slave.muscles -= 2 + V.hormoneUpgradePower + slave.geneticQuirks.mLoss; if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) { @@ -549,7 +549,7 @@ App.SlaveAssignment.hormonesEffects = (function() { slave.voice++; } - if (slave.muscles > 30 && slave.diet !== "muscle building" && slave.drugs !== "steroids") { + if (slave.muscles > 30 && slave.diet !== "muscle building" && slave.drugs !== "steroids" && (slave.geneticQuirks.mGain !== 2 || slave.geneticQuirks.mLoss === 2)) { r.push(`Hormonal effects <span class="orange">reduce ${his} musculature.</span>`); slave.muscles -= 2 + V.hormoneUpgradePower + slave.geneticQuirks.mLoss; if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) { -- GitLab