Fix issues in 'intervention' mission
* Fix an InvalidOperationException due to querying traits on a dead actor (fixes #5530) * remove a gap in the SAM belt that shouldn't be there
This commit is contained in:
@@ -2261,6 +2261,8 @@ Rules:
|
||||
SAM:
|
||||
Building:
|
||||
Power: -5
|
||||
RevealsShroud:
|
||||
Range: 7c0
|
||||
TSLA:
|
||||
Building:
|
||||
Power: -50
|
||||
@@ -2328,6 +2330,8 @@ Sequences:
|
||||
VoxelSequences:
|
||||
|
||||
Weapons:
|
||||
Nike:
|
||||
Range: 9c0
|
||||
Maverick:
|
||||
Warhead:
|
||||
Damage: 175
|
||||
|
||||
@@ -192,8 +192,10 @@ SetupWorld = function()
|
||||
Utils.Do(SovietHarvesters, function(harvester)
|
||||
Actor.OnDamaged(harvester, function(h)
|
||||
Team.Do(harvesterGuard, function(g)
|
||||
Actor.Stop(g)
|
||||
Actor.AttackMove(g, h.Location, 3)
|
||||
if not Actor.IsDead(g) then
|
||||
Actor.Stop(g)
|
||||
Actor.AttackMove(g, h.Location, 3)
|
||||
end
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user