From b998550438d24d1d5206e592eb00c91a65691662 Mon Sep 17 00:00:00 2001
From: pregmodfan <pregmodfan@cock.li>
Date: Sun, 12 Apr 2020 03:40:01 +0300
Subject: [PATCH] incubator upgrade - economic

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

diff --git a/src/js/economyJS.js b/src/js/economyJS.js
index d90e4bf6b67..93bb6468559 100644
--- a/src/js/economyJS.js
+++ b/src/js/economyJS.js
@@ -565,7 +565,7 @@ window.calculateCosts = (function() {
 	function getIncubatorCosts() {
 		let costs = 0;
 		if (V.incubator > 0) {
-			costs += ((V.incubatorWeightSetting + V.incubatorMusclesSetting + V.incubatorReproductionSetting + V.incubatorGrowthStimsSetting) * 500);
+			costs += ((V.incubatorWeightSetting + V.incubatorMusclesSetting + V.incubatorReproductionSetting + V.incubatorGrowthStimsSetting + ((V.incubatorPregAdaptationPower + 1) * (V.tanks.length + 1))) * 500);
 		}
 		return costs;
 	}
-- 
GitLab