Remove the now-redundant ScriptInvulnerable trait.

This commit is contained in:
Paul Chote
2014-10-01 21:39:39 +13:00
parent b6d17d3034
commit fd14ebddb8
7 changed files with 17 additions and 57 deletions

View File

@@ -109,8 +109,8 @@ end
SetupAlliedUnits = function()
Utils.Do(Map.NamedActors, function(a)
if a.Owner == allies and a.HasProperty("Invulnerable") then
a.Invulnerable = true
if a.Owner == allies and a.HasProperty("AcceptsUpgrade") and a.AcceptsUpgrade("unkillable") then
a.GrantUpgrade("unkillable")
a.Stance = "Defend"
end
end)