Add Harkonnen 8

This commit is contained in:
Mustafa Alperen Seki
2017-10-20 17:29:30 +03:00
committed by reaperrr
parent 69e9b94c5d
commit a80924ebb3
11 changed files with 1123 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
Difficulty = Map.LobbyOption("difficulty")
IdleHunt = function(actor)
if not actor.IsDead then
if actor.HasProperty("Hunt") and not actor.IsDead then
Trigger.OnIdle(actor, actor.Hunt)
end
end
@@ -179,6 +179,10 @@ end
DefendAndRepairBase = function(owner, baseBuildings, modifier, defenderCount)
Utils.Do(baseBuildings, function(actor)
if actor.IsDead then
return
end
DefendActor(actor, owner, defenderCount)
RepairBuilding(owner, actor, modifier)
end)