Ignore Silos for SW Targeting on Harkonnen Missions
Also Defences for Saboteur
This commit is contained in:
committed by
ltem
parent
8fe45cb894
commit
2f6bbd906b
@@ -158,6 +158,7 @@ SendAirStrike = function()
|
||||
actor.Type ~= "wall" and
|
||||
actor.Type ~= "medium_gun_turret" and
|
||||
actor.Type ~= "large_gun_turret" and
|
||||
actor.Type ~= "silo" and
|
||||
actor.Type ~= "wind_trap"
|
||||
end)
|
||||
|
||||
|
||||
@@ -128,6 +128,7 @@ SendAirStrike = function()
|
||||
actor.Type ~= "wall" and
|
||||
actor.Type ~= "medium_gun_turret" and
|
||||
actor.Type ~= "large_gun_turret" and
|
||||
actor.Type ~= "silo" and
|
||||
actor.Type ~= "wind_trap"
|
||||
end)
|
||||
|
||||
@@ -141,8 +142,11 @@ end
|
||||
GetSaboteurTargets = function(player)
|
||||
return Utils.Where(player.GetActors(), function(actor)
|
||||
return
|
||||
actor.HasProperty("Sell")
|
||||
and actor.Type ~= "wall"
|
||||
actor.HasProperty("Sell") and
|
||||
actor.Type ~= "wall" and
|
||||
actor.Type ~= "medium_gun_turret" and
|
||||
actor.Type ~= "large_gun_turret" and
|
||||
actor.Type ~= "silo"
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
@@ -173,6 +173,7 @@ SendAirStrike = function()
|
||||
actor.Type ~= "wall" and
|
||||
actor.Type ~= "medium_gun_turret" and
|
||||
actor.Type ~= "large_gun_turret" and
|
||||
actor.Type ~= "silo" and
|
||||
actor.Type ~= "wind_trap"
|
||||
end)
|
||||
|
||||
|
||||
@@ -179,6 +179,7 @@ SendAirStrike = function()
|
||||
actor.Type ~= "wall" and
|
||||
actor.Type ~= "medium_gun_turret" and
|
||||
actor.Type ~= "large_gun_turret" and
|
||||
actor.Type ~= "silo" and
|
||||
actor.Type ~= "wind_trap"
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user