From 62b59f7cf921e3cc24fa0cb8815e8b4adbf4dfee Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@gmail.com> Date: Sat, 23 Oct 2021 22:35:41 +0200 Subject: [PATCH] Remove leftover body changes from surgery reactions --- js/medicine/surgery/belly/bellyUp.js | 1 - js/medicine/surgery/belly/cervixPumpAnus.js | 3 +-- js/medicine/surgery/ears/cochlearImplant.js | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/js/medicine/surgery/belly/bellyUp.js b/js/medicine/surgery/belly/bellyUp.js index 5280dee5579..5ce01529a50 100644 --- a/js/medicine/surgery/belly/bellyUp.js +++ b/js/medicine/surgery/belly/bellyUp.js @@ -5,7 +5,6 @@ App.Medicine.Surgery.Reactions.BellyUp = class extends App.Medicine.Surgery.Simp const heGlaresDaggers = canSee(slave) ? `${he} glares daggers` : `${his} face contorts with distaste`; const r = []; - SetBellySize(slave); if (slave.bellyImplant >= 10000 && slave.bellyImplant < 12000) { r.push(`${His} bellybutton has become an outie from the size of the implant within ${him}.`); } diff --git a/js/medicine/surgery/belly/cervixPumpAnus.js b/js/medicine/surgery/belly/cervixPumpAnus.js index 42b275d62ae..9638d823ac2 100644 --- a/js/medicine/surgery/belly/cervixPumpAnus.js +++ b/js/medicine/surgery/belly/cervixPumpAnus.js @@ -24,7 +24,6 @@ App.Medicine.Surgery.Reactions.CervixPumpAnus = class extends App.Medicine.Surge } if (slave.mpreg === 1) { r.push(`${His} existing anal womb made the surgery <span class="health inc">slightly easier.</span>`); - improveCondition(slave, 10); } reaction.longReaction.push(r); @@ -43,7 +42,7 @@ App.Medicine.Surgery.Procedures.CervixPumpAnus = class extends App.Medicine.Surg } get healthCost() { - return 20; + return this.originalSlave.mpreg === 1 ? 10 : 20; } apply(cheat) { diff --git a/js/medicine/surgery/ears/cochlearImplant.js b/js/medicine/surgery/ears/cochlearImplant.js index c0c52b3cbb9..cab1adae344 100644 --- a/js/medicine/surgery/ears/cochlearImplant.js +++ b/js/medicine/surgery/ears/cochlearImplant.js @@ -37,7 +37,6 @@ App.Medicine.Surgery.Reactions.CochlearImplant = class extends App.Medicine.Surg } } } - slave.hears = 0; reaction.longReaction.push(r); return reaction; } @@ -55,6 +54,7 @@ App.Medicine.Surgery.Procedures.CochlearImplant = class extends App.Medicine.Sur apply(cheat) { this._slave.earImplant = 1; + this._slave.hears = 0; return this._assemble(new App.Medicine.Surgery.Reactions.CochlearImplant()); } }; -- GitLab