From fc8c6e1503300c6c387824a7b7d0453448faaa8c Mon Sep 17 00:00:00 2001
From: Noa3 <noa3@gmx.net>
Date: Tue, 16 Jul 2024 08:40:51 +0200
Subject: [PATCH] this calc should be more realistic

---
 .../genAI/prompts/hugeFaketitsPromptPart.js   | 21 +++++++++++--------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/src/art/genAI/prompts/hugeFaketitsPromptPart.js b/src/art/genAI/prompts/hugeFaketitsPromptPart.js
index ead84f6594f..b1af99b0e8b 100644
--- a/src/art/genAI/prompts/hugeFaketitsPromptPart.js
+++ b/src/art/genAI/prompts/hugeFaketitsPromptPart.js
@@ -7,23 +7,26 @@ App.Art.GenAI.HugeFakeTitsPromptPart = class HugeFakeTitsPromptPart extends App.
 			return undefined;
 		}
 		else if (App.Art.GenAI.sdClient.hasLora("hugefaketits1") || App.Art.GenAI.sdClient.hasLora("hugefaketits1-000006")) {
-			if (this.slave.boobsImplant >= 2000) {
+
+			var ImplantPercentage = this.slave.boobsImplant / (this.slave.boobs - this.slave.boobsImplant);
+
+			if (ImplantPercentage > 1) {
 				return `<lora:hugefaketits1:0.5>`;
-			} else if (this.slave.boobsImplant >= 1800) {
+			} else if (ImplantPercentage > 0.9) {
 				return `<lora:hugefaketits1:0.45>`;
-			} else if (this.slave.boobsImplant >= 1600) {
+			} else if (ImplantPercentage > 0.8) {
 				return `<lora:hugefaketits1:0.4>`;
-			} else if (this.slave.boobsImplant >= 1400) {
+			} else if (ImplantPercentage > 0.7) {
 				return `<lora:hugefaketits1:0.35>`;
-			} else if (this.slave.boobsImplant >= 1200) {
+			} else if (ImplantPercentage > 0.6) {
 				return `<lora:hugefaketits1:0.3>`;
-			} else if (this.slave.boobsImplant >= 1000) {
+			} else if (ImplantPercentage > 0.5) {
 				return `<lora:hugefaketits1:0.25>`;
-			} else if (this.slave.boobsImplant >= 800) {
+			} else if (ImplantPercentage > 0.4) {
 				return `<lora:hugefaketits1:0.2>`;
-			} else if (this.slave.boobsImplant >= 600) {
+			} else if (ImplantPercentage > 0.3) {
 				return `<lora:hugefaketits1:0.15>`;
-			} else if (this.slave.boobsImplant >= 400) {
+			} else if (ImplantPercentage > 0.2) {
 				return `<lora:hugefaketits1:0.1>`;
 			}
 		}
-- 
GitLab