mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Use actual procurement ratio for turn 0
This commit is contained in:
parent
4898cdb614
commit
78990b8953
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user