Fix a bogus condition

This commit is contained in:
abcdefg30
2017-06-27 18:08:39 +02:00
committed by reaperrr
parent 6907929cb4
commit 02c371f68a
10 changed files with 10 additions and 10 deletions

View File

@@ -91,7 +91,7 @@ Tick = function()
player.MarkCompletedObjective(KillOrdos)
end
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[ordos] then
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[ordos] then
local units = ordos.GetActorsByType("harvester")
if #units > 0 then

View File

@@ -91,7 +91,7 @@ Tick = function()
player.MarkCompletedObjective(KillOrdos)
end
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[ordos] then
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[ordos] then
local units = ordos.GetActorsByType("harvester")
if #units > 0 then

View File

@@ -114,7 +114,7 @@ Tick = function()
player.MarkCompletedObjective(KeepIntegrity)
end
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[harkonnen] then
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[harkonnen] then
local units = harkonnen.GetActorsByType("harvester")
if #units > 0 then

View File

@@ -260,7 +260,7 @@ Tick = function()
player.MarkCompletedObjective(KillSmuggler)
end
if LastHarvesterEaten[harkonnen] and DateTime.GameTime % DateTime.Seconds(30) then
if LastHarvesterEaten[harkonnen] and DateTime.GameTime % DateTime.Seconds(10) == 0 then
local units = harkonnen.GetActorsByType("harvester")
if #units > 0 then

View File

@@ -107,7 +107,7 @@ Tick = function()
player.MarkCompletedObjective(KillAtreides)
end
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[atreides] then
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[atreides] then
local units = atreides.GetActorsByType("harvester")
if #units > 0 then

View File

@@ -109,7 +109,7 @@ Tick = function()
player.MarkCompletedObjective(KillAtreides)
end
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[atreides] then
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[atreides] then
local units = atreides.GetActorsByType("harvester")
if #units > 0 then

View File

@@ -142,7 +142,7 @@ Tick = function()
player.MarkCompletedObjective(KillFremen)
end
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[atreides] then
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[atreides] then
local units = atreides.GetActorsByType("harvester")
if #units > 0 then

View File

@@ -90,7 +90,7 @@ Tick = function()
player.MarkCompletedObjective(KillHarkonnen)
end
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[harkonnen] then
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[harkonnen] then
local units = harkonnen.GetActorsByType("harvester")
if #units > 0 then

View File

@@ -127,7 +127,7 @@ Tick = function()
player.MarkCompletedObjective(KillHarkonnen)
end
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[harkonnen] then
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[harkonnen] then
local units = harkonnen.GetActorsByType("harvester")
if #units > 0 then

View File

@@ -71,7 +71,7 @@ Hunt = function(house)
end
CheckHarvester = function(house)
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[house] then
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[house] then
local units = house.GetActorsByType("harvester")
if #units > 0 then