From 52804d529b024e8c2acee3088cf8eb5ae6a8948f Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Mon, 21 Dec 2020 00:58:59 -0800
Subject: [PATCH] Fix Math.pow call

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

diff --git a/src/js/statsChecker/statsChecker.js b/src/js/statsChecker/statsChecker.js
index 250bb2698a0..d014fb2dbe2 100644
--- a/src/js/statsChecker/statsChecker.js
+++ b/src/js/statsChecker/statsChecker.js
@@ -914,7 +914,7 @@ globalThis.isHindered = function(slave) {
 		return true;
 	} else if (slave.weight >= 130 || (slave.weight >= 95 + ((slave.physicalAge - 9) * 5))) {
 		return true;
-	} else if (slave.belly >= 60000 || slave.belly >= 60000 / (1 + Math.Pow(Math.E, -0.4 * (slave.physicalAge - 14))) || slave.belly >= Math.max(10000, ((12500 / 19) * slave.height) - (1172500 / 19))) {
+	} else if (slave.belly >= 60000 || slave.belly >= 60000 / (1 + Math.pow(Math.E, -0.4 * (slave.physicalAge - 14))) || slave.belly >= Math.max(10000, ((12500 / 19) * slave.height) - (1172500 / 19))) {
 		return true;
 	} else if (slave.boobs > 5000) {
 		return true;
-- 
GitLab