diff --git a/src/endWeek/player/prDrugs.js b/src/endWeek/player/prDrugs.js index 9114e364815cecbee03002c5a29a334661566766..0b810405d5db945d30d4ccf11021759153c57009 100644 --- a/src/endWeek/player/prDrugs.js +++ b/src/endWeek/player/prDrugs.js @@ -793,7 +793,24 @@ App.EndWeek.Player.drugs = function(PC = V.PC) { case "growth stimulants": growth = 1; r.push(`You <span class="change positive">directly inject yourself with growth stimulants</span> several times a day in an effort to increase your height.`); - // Hormones + // genetic quirks + if (PC.geneticQuirks.dwarfism === 2 && PC.geneticQuirks.gigantism === 2) { + growth += (0.1 * random(-5, 5)); + if (V.geneticMappingUpgrade >= 1) { + r.push(`Your combination of genetic factors for gigantism and dwarfism causes the effectiveness of the treatment to fluctuate erratically.`); + } + } else if (PC.geneticQuirks.dwarfism === 2) { + growth -= 0.5; + if (V.geneticMappingUpgrade >= 1) { + r.push(`Your dwarfism significantly limits the effectiveness of the treatment.`); + } + } else if (PC.geneticQuirks.gigantism === 2) { + growth += 0.5; + if (V.geneticMappingUpgrade >= 1) { + r.push(`Your gigantism improves the effectiveness of the treatment.`); + } + } + // hormones if (PC.hormones === 1 || PC.hormones === -1) { r.push(`The hormones you are on disrupt the drug's effectiveness.`); growth -= 0.2; diff --git a/src/endWeek/saDrugs.js b/src/endWeek/saDrugs.js index 13c74177ab9f3151ec12e3eedbd5d05e743ebe5c..192ad70dec2447f333e6ffbe0556b769c38639e9 100644 --- a/src/endWeek/saDrugs.js +++ b/src/endWeek/saDrugs.js @@ -758,7 +758,24 @@ App.SlaveAssignment.drugs = function saDrugs(slave) { slave.chem += 2; growth = 1; r += `${He} receives frequent <span class="lime">injections of growth stimulants.</span>`; - // Hormones + // genetic quirks + if (slave.geneticQuirks.dwarfism === 2 && slave.geneticQuirks.gigantism === 2) { + growth += (0.1 * random(-5, 5)); + if (V.geneticMappingUpgrade >= 1) { + r += ` ${His} combination of genetic factors for gigantism and dwarfism causes the effectiveness of the treatment to fluctuate erratically.`; + } + } else if (slave.geneticQuirks.dwarfism === 2) { + growth -= 0.5; + if (V.geneticMappingUpgrade >= 1) { + r += ` ${His} dwarfism significantly limits the effectiveness of the treatment.`; + } + } else if (slave.geneticQuirks.gigantism === 2) { + growth += 0.5; + if (V.geneticMappingUpgrade >= 1) { + r += ` ${His} gigantism improves the effectiveness of the treatment.`; + } + } + // hormones if (slave.hormones === 2 || slave.hormones === -2) { growth--; r += ` The massive quantities of sexual hormones flooding ${his} body limits the effectiveness of the treatment.`; diff --git a/src/js/utilsAssessSlave.js b/src/js/utilsAssessSlave.js index 8c5d4d4fee205146920fc24fd9174c934ba21232..8760e4f93a3ce4eb6b2885a213f00c0aee99b65d 100644 --- a/src/js/utilsAssessSlave.js +++ b/src/js/utilsAssessSlave.js @@ -123,6 +123,8 @@ globalThis.maxHeight = function(slave) { if (slave.geneticQuirks.dwarfism === 2 && slave.geneticQuirks.gigantism !== 2) { max = Math.min(max, 160); + } else if (slave.geneticQuirks.gigantism === 2 && slave.geneticQuirks.dwarfism !== 2) { + max = Math.min(Math.trunc(max * 1.1), 274); } return max;