From 70a3329f9b1f4a1dcccec6c49911acbcf49764e3 Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Mon, 6 Jul 2020 20:11:20 -0700 Subject: [PATCH] Remove comma operator --- src/endWeek/saDrugs.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/endWeek/saDrugs.js b/src/endWeek/saDrugs.js index 02256807e9b..83ebf9cc69c 100644 --- a/src/endWeek/saDrugs.js +++ b/src/endWeek/saDrugs.js @@ -1594,13 +1594,16 @@ App.SlaveAssignment.drugs = (function() { r += ` ${He} is`; if (slave.devotion < -50) { r += ` <span class="mediumorchid">filled with violent, consuming hatred</span> and <span class="gold">fear.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it and views you as its killer.`; - slave.devotion -= 25, slave.trust -= 25; + slave.devotion -= 25; + slave.trust -= 25; } else if (slave.devotion < -20) { r += ` <span class="mediumorchid">afflicted by desperate, inconsolable grief</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it.`; - slave.devotion -= 10, slave.trust -= 20; + slave.devotion -= 10; + slave.trust -= 20; } else if (slave.devotion <= 20) { r += ` <span class="mediumorchid">consumed by enduring sorrow</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it.`; - slave.devotion -= 5, slave.trust -= 5; + slave.devotion -= 5; + slave.trust -= 5; } else if (slave.devotion <= 50) { r += ` dully obedient. ${He} has been broken to slave life so thoroughly that even this is neither surprising nor affecting.`; } else { -- GitLab