From e8b537fc172daa6ccf7b0328c3ab7c882f774f16 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sun, 8 Nov 2020 09:25:21 -0500 Subject: [PATCH] each slave new line --- src/endWeek/reports/spaReport.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/endWeek/reports/spaReport.js b/src/endWeek/reports/spaReport.js index a160cef4340..38482a44d0b 100644 --- a/src/endWeek/reports/spaReport.js +++ b/src/endWeek/reports/spaReport.js @@ -102,8 +102,10 @@ App.EndWeek.spaReport = function() { healthBonus++; } let attendantUsedCure = 0; + App.Events.addNode(el, r, "div", "indent"); for (const slave of slaves) { const {he2, his2, him2} = getPronouns(slave).appendSuffix("2"); + r = []; if (slave.fetish === "mindbroken" && slave.health.condition > 20 && attendantUsedCure === 0 && V.spaFix !== 2) { attendantUsedCure = 1; if (random(1, 100) > 90 - S.Attendant.devotion) { @@ -234,8 +236,6 @@ App.EndWeek.spaReport = function() { (S.Attendant.intelligence + S.Attendant.intelligenceImplant + seed) > random(1, 200) && (V.spaFix === 0) ) { - App.Events.addNode(el, r); - r = []; if (slave.behavioralFlaw !== "none") { SoftenBehavioralFlaw(slave); attendantUsedCure += 1; @@ -249,8 +249,6 @@ App.EndWeek.spaReport = function() { r.push(App.UI.DOM.makeElement("span", `softens ${his2} sexual flaw`, "green")); r.push(`into an appealing quirk.`); } - App.Events.addNode(el, r, "div", "indent"); - r = []; } if (slave.lactation > 0) { r.push(`${S.Attendant.slaveName} takes care to keep ${slave.slaveName}'s breasts comfortably drained.`); @@ -258,8 +256,9 @@ App.EndWeek.spaReport = function() { slave.boobs -= slave.boobsMilk; slave.boobsMilk = 0; } + App.Events.addNode(el, r, "div", "indent"); } - App.Events.addNode(el, r); + if (DL < V.spa) { const seed = random(1, 10) + ((V.spa - DL) * (random(150, 170) + (idleBonus * 10))); cashX(seed, "spa", S.Attendant); -- GitLab