From c181b95bf503d0cf0d419a881d9aeae56d5fc127 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sun, 14 Jun 2020 22:04:59 -0400
Subject: [PATCH] fixes

---
 src/endWeek/saAgent.js | 50 ++++++++++++++++++++++++++++--------------
 1 file changed, 33 insertions(+), 17 deletions(-)

diff --git a/src/endWeek/saAgent.js b/src/endWeek/saAgent.js
index 420959417f8..cd19d1c35ef 100644
--- a/src/endWeek/saAgent.js
+++ b/src/endWeek/saAgent.js
@@ -49,9 +49,11 @@ App.SlaveAssignment.agent = function(slave) {
 		slave.buttImplant += 0.25;
 		slave.butt += 0.25;
 		if ((slave.butt > 10)) {
-			slave.butt -= 1, slave.buttImplant -= 1;
+			slave.butt -= 1;
+			slave.buttImplant -= 1;
 			if (slave.geneMods.NCS === 1) {
-				slave.butt -= 1, slave.buttImplant -= 1;
+				slave.butt -= 1;
+				slave.buttImplant -= 1;
 			}
 		}
 	}
@@ -144,7 +146,10 @@ App.SlaveAssignment.agent = function(slave) {
 	}
 
 	if (slave.inflation > 0) {
-		slave.inflation = 0, slave.inflationType = "none", slave.inflationMethod = 0, slave.milkSource = 0;
+		slave.inflation = 0;
+		slave.inflationType = "none";
+		slave.inflationMethod = 0;
+		slave.milkSource = 0;
 	}
 
 	if (slave.preg > 0) { // EFFECTS OF PREGNANCY
@@ -280,7 +285,8 @@ App.SlaveAssignment.agent = function(slave) {
 			slave.bellySagPreg += 1;
 		}
 		if (slave.pregControl === "speed up") {
-			slave.bellySag += 5, slave.bellySagPreg += 5;
+			slave.bellySag += 5;
+			slave.bellySagPreg += 5;
 		}
 		if (slave.geneMods.rapidCellGrowth === 1) {
 			slave.bellySag += 3;
@@ -298,7 +304,8 @@ App.SlaveAssignment.agent = function(slave) {
 			slave.bellySagPreg += 0.7;
 		}
 		if (slave.pregControl === "speed up") {
-			slave.bellySag += 2, slave.bellySagPreg += 2;
+			slave.bellySag += 2;
+			slave.bellySagPreg += 2;
 		}
 		if (slave.geneMods.rapidCellGrowth === 1) {
 			slave.bellySag += 1;
@@ -335,7 +342,8 @@ App.SlaveAssignment.agent = function(slave) {
 			slave.bellySagPreg += 0.4;
 		}
 		if (slave.pregControl === "speed up") {
-			slave.bellySag += 0.6, slave.bellySagPreg += 0.6;
+			slave.bellySag += 0.6;
+			slave.bellySagPreg += 0.6;
 		}
 		if (slave.geneMods.rapidCellGrowth === 1) {
 			slave.bellySag += 0.5;
@@ -353,7 +361,8 @@ App.SlaveAssignment.agent = function(slave) {
 			slave.bellySagPreg += 0.3;
 		}
 		if (slave.pregControl === "speed up") {
-			slave.bellySag += 0.5, slave.bellySagPreg += 0.5;
+			slave.bellySag += 0.5;
+			slave.bellySagPreg += 0.5;
 		}
 		if (slave.geneMods.rapidCellGrowth === 1) {
 			slave.bellySag += 0.5;
@@ -371,7 +380,8 @@ App.SlaveAssignment.agent = function(slave) {
 			slave.bellySagPreg += 0.2;
 		}
 		if (slave.pregControl === "speed up") {
-			slave.bellySag += 0.3, slave.bellySagPreg += 0.3;
+			slave.bellySag += 0.3;
+			slave.bellySagPreg += 0.3;
 		}
 		if (slave.geneMods.rapidCellGrowth === 1) {
 			slave.bellySag += 0.3;
@@ -389,7 +399,8 @@ App.SlaveAssignment.agent = function(slave) {
 			slave.bellySagPreg += 0.1;
 		}
 		if (slave.pregControl === "speed up") {
-			slave.bellySag += 0.2, slave.bellySagPreg += 0.2;
+			slave.bellySag += 0.2;
+			slave.bellySagPreg += 0.2;
 		}
 		if (slave.geneMods.rapidCellGrowth === 1) {
 			slave.bellySag += 0.2;
@@ -471,7 +482,9 @@ App.SlaveAssignment.agent = function(slave) {
 	}
 
 	if ((slave.preg > slave.pregData.minLiveBirth) && (slave.broodmother === 0) && (random(1, 100) < 90)) {
-		slave.counter.birthsTotal += WombBirthReady(slave, slave.pregData.minLiveBirth), WombBirth(slave, slave.pregData.minLiveBirth), WombFlush(slave);
+		slave.counter.birthsTotal += WombBirthReady(slave, slave.pregData.minLiveBirth);
+		WombBirth(slave, slave.pregData.minLiveBirth);
+		WombFlush(slave);
 		if (slave.geneticQuirks.fertility + slave.geneticQuirks.hyperFertility >= 4) {
 			slave.pregWeek = -2;
 		} else if (slave.geneticQuirks.hyperFertility > 1) {
@@ -483,7 +496,9 @@ App.SlaveAssignment.agent = function(slave) {
 			slave.birthsTat++;
 		}
 	} else if ((slave.preg > slave.pregData.normalBirth) && (slave.broodmother === 0)) {
-		slave.counter.birthsTotal += WombBirthReady(slave, slave.pregData.minLiveBirth), WombBirth(slave, slave.pregData.minLiveBirth), WombFlush(slave);
+		slave.counter.birthsTotal += WombBirthReady(slave, slave.pregData.minLiveBirth);
+		WombBirth(slave, slave.pregData.minLiveBirth);
+		WombFlush(slave);
 		if (slave.geneticQuirks.fertility + slave.geneticQuirks.hyperFertility >= 4) {
 			slave.pregWeek = -2;
 		} else if (slave.geneticQuirks.hyperFertility > 1) {
@@ -496,7 +511,9 @@ App.SlaveAssignment.agent = function(slave) {
 		}
 	} else if ((slave.preg > 37) && (slave.broodmother > 0)) {
 		if (slave.broodmother > 0) {
-			slave.counter.birthsTotal += WombBirthReady(slave, 37), WombBirth(slave, 37), slave.preg = WombMaxPreg(slave);
+			slave.counter.birthsTotal += WombBirthReady(slave, 37);
+			WombBirth(slave, 37);
+			slave.preg = WombMaxPreg(slave);
 		}
 		if (slave.birthsTat > -1) {
 			slave.birthsTat++;
@@ -542,18 +559,17 @@ App.SlaveAssignment.agent = function(slave) {
 		slave.geneticQuirks.macromastia = 2;
 	}
 
-	if (slaves.geneticQuirks.uterineHypersensitivity === 2 {
-
+	if (slaves.geneticQuirks.uterineHypersensitivity === 2) {
 		if (slave.vaginaLube < 2 && slave.vagina > 0 && random(70 - slave.physicalAge, 200) < slaves.hormoneBalance) {
-			slave.vaginaLube += 1>>
+			slave.vaginaLube += 1;
 		}
 		if (slave.geneMods.NCS === 0) {
 			if (slave.hips < 2 && random(70 - slave.physicalAge, 300) < slaves.hormoneBalance && slave.physicalAge > 9 && slave.physicalAge < 20) {
-				slave.hips += 1>>
+				slave.hips += 1;
 			}
 		}
 	}
-	
+
 	if ((slave.hStyle !== "shaved" && slave.bald !== 1 && slave.haircuts === 0) && (slave.hLength < 150)) {
 		slave.hLength += 1;
 	}
-- 
GitLab