Use actual procurement ratio for turn 0

This commit is contained in:
Raffson 2023-05-28 00:23:53 +02:00
parent 4898cdb614
commit 78990b8953
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -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