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