Skip to content

Commit

Permalink
Balance changes in AI Taskqueue
Browse files Browse the repository at this point in the history
  • Loading branch information
Damgam committed Oct 10, 2017
1 parent 86d0ae6 commit 806fa82
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
36 changes: 22 additions & 14 deletions LuaRules/Gadgets/ai/EvoRTS/taskqueues.lua
Expand Up @@ -31,16 +31,16 @@ local function Turret()
return "eaiturret" return "eaiturret"
end end


local function RandomT3() --local function RandomT3()
local r = math.random(0,2) --local r = math.random(0,2)
if r == 0 then --if r == 0 then
return "eantinukeai" --return "eantinukeai"
elseif r == 1 then --elseif r == 1 then
return "esiloai" --return "esiloai"
elseif r == 2 then --elseif r == 2 then
return "elobberai" --return "elobberai"
end --end
end --end


local function RandomFac() local function RandomFac()
local r = math.random(0,4) local r = math.random(0,4)
Expand All @@ -65,13 +65,19 @@ local idlelist = {
} }


local overseerlistfirst = { local overseerlistfirst = {
"emetalextractor",
"emetalextractor",
"emetalextractor",
"eturretlightai",
"elifterai", "elifterai",
RandomFac, RandomFac,
} }


local overseerlist = { local overseerlist = {
"elifterai", "elifterai",
RandomT3, "eantinukeai",
"esiloai",
"elobberai",
} }


local lifterlist = { local lifterlist = {
Expand All @@ -80,18 +86,20 @@ local lifterlist = {
Orb, Orb,
"emetalextractor", "emetalextractor",
"emine", "emine",
"eturretlightai",
"emetalextractor", "emetalextractor",
"eturretlightai", "eturretlightai",
"ekmar",
"esolar2", "esolar2",
"efusion2", "efusion2",
"estorage", "estorage",
"estorage", "estorage",
"ekmar",
"ejammer2", "ejammer2",
"esolar2",
"etech1",
"eturretheavyai", "eturretheavyai",
"ekmar",
Box, Box,
RandomFac, RandomFac,
} }


---------------------------------------------FACTORY QUEUES ---------------------------------------------FACTORY QUEUES
Expand Down
2 changes: 1 addition & 1 deletion Units/aiunits/Buildings/eturretheavyai.lua
Expand Up @@ -5,7 +5,7 @@ unitName = [[eturretheavyai]]


-------------------------------------------------------------------------------- --------------------------------------------------------------------------------


isUpgraded = [[1]] isUpgraded = [[0]]


humanName = [[Immolator Mark]] humanName = [[Immolator Mark]]


Expand Down
2 changes: 1 addition & 1 deletion Units/aiunits/Buildings/eturretlightai.lua
Expand Up @@ -5,7 +5,7 @@ unitName = [[eturretlightai]]


-------------------------------------------------------------------------------- --------------------------------------------------------------------------------


isUpgraded = [[1]] isUpgraded = [[0]]


humanName = [[Lightning Rod]] humanName = [[Lightning Rod]]


Expand Down

0 comments on commit 806fa82

Please sign in to comment.