From 50d5a298f860870d6072c680e54d9a0a6a11c0ba Mon Sep 17 00:00:00 2001
From: Anu <anulithic@gmail.com>
Date: Mon, 15 Jan 2024 21:49:00 -0800
Subject: [PATCH] random() is an integer function

---
 src/endWeek/shared/physicalDevelopment.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/endWeek/shared/physicalDevelopment.js b/src/endWeek/shared/physicalDevelopment.js
index 723147bc425..9f58cae5d3c 100644
--- a/src/endWeek/shared/physicalDevelopment.js
+++ b/src/endWeek/shared/physicalDevelopment.js
@@ -176,7 +176,7 @@ App.EndWeek.Shared.physicalDevelopment = function(actor, player = false) {
 			gigantomastiaMod = 1;
 		}
 		let hormoneMod = actor.hormoneBalance <= -100 ? 0 : Math.min(1 + Math.trunc(actor.hormoneBalance / 100) / 10, 1.4); // Forbid 500 hormone balance from being special. It is not.
-		const growthTarget = actor.natural.boobs * gigantomastiaMod * hormoneMod * random(0.9, 1.1);
+		const growthTarget = actor.natural.boobs * gigantomastiaMod * hormoneMod * (random(90, 110) / 100);
 		const implantsHinder = actor.boobsImplant === 0 ? 1 : actor.boobsImplant / actor.boobs; // Implants disrupt growth.
 		const growthRange = Math.max(18 - actor.pubertyAgeXX, 6); // growth range puberty to 18? 12 should be the starting point otherwise you end up with the possibility of way too much growth in just a few years.
 		const expectedGrowth = growthTarget / growthRange;
-- 
GitLab