Fix the harvest protection logic

This commit is contained in:
abcdefg30
2017-06-27 17:57:29 +02:00
committed by reaperrr
parent e07779942e
commit 6907929cb4
20 changed files with 44 additions and 31 deletions

View File

@@ -30,7 +30,7 @@ SmugglerVehicleTypes = { "raider", "raider", "quad" }
SmugglerTankType = { "combat_tank_o" }
InitAIUnits = function(house)
HarvesterKilled[house] = true
LastHarvesterEaten[house] = true
IdlingUnits[house] = Reinforcements.Reinforce(house, InitialReinforcements[house.Name], InitialReinforcementsPaths[house.Name])
DefendAndRepairBase(house, Base[house.Name], 0.75, AttackGroupSize[Difficulty])