Fix ordos-04 to use internal bot names
This commit is contained in:
@@ -31,9 +31,9 @@ SmugglerTankType = { "combat_tank_o" }
|
||||
|
||||
InitAIUnits = function(house)
|
||||
LastHarvesterEaten[house] = true
|
||||
IdlingUnits[house] = Reinforcements.Reinforce(house, InitialReinforcements[house.Name], InitialReinforcementsPaths[house.Name])
|
||||
IdlingUnits[house] = Reinforcements.Reinforce(house, InitialReinforcements[house.InternalName], InitialReinforcementsPaths[house.InternalName])
|
||||
|
||||
DefendAndRepairBase(house, Base[house.Name], 0.75, AttackGroupSize[Difficulty])
|
||||
DefendAndRepairBase(house, Base[house.InternalName], 0.75, AttackGroupSize[Difficulty])
|
||||
end
|
||||
|
||||
ActivateAI = function()
|
||||
|
||||
@@ -65,7 +65,7 @@ SendHarkonnen = function(path)
|
||||
end
|
||||
|
||||
Hunt = function(house)
|
||||
Trigger.OnAllKilledOrCaptured(Base[house.Name], function()
|
||||
Trigger.OnAllKilledOrCaptured(Base[house.InternalName], function()
|
||||
Utils.Do(house.GetGroundAttackers(), IdleHunt)
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user