From 78990b89537ac487d5ad97570b2d67a89da107c3 Mon Sep 17 00:00:00 2001 From: Raffson Date: Sun, 28 May 2023 00:23:53 +0200 Subject: [PATCH] Use actual procurement ratio for turn 0 --- game/procurement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/procurement.py b/game/procurement.py index 1c6a9c5e..071256b6 100644 --- a/game/procurement.py +++ b/game/procurement.py @@ -76,7 +76,7 @@ class ProcurementAi: weighted_investment = aircraft_investment * air + armor_investment * ground if weighted_investment == 0: # Turn 0 or all units were destroyed. Either way, split 30/70. - return min(0.3, ground) + return ground # the more planes we have, the more ground units we want and vice versa ground_unit_share = aircraft_investment * air / weighted_investment