Adjust hard difficulty in Ant01
This commit is contained in:
@@ -113,9 +113,7 @@ Tick = function()
|
|||||||
if ticks == DateTime.Minutes(17) then
|
if ticks == DateTime.Minutes(17) then
|
||||||
StartAntAttack()
|
StartAntAttack()
|
||||||
elseif ticks == DateTime.Minutes(15) then
|
elseif ticks == DateTime.Minutes(15) then
|
||||||
if DifficultySetting ~= "hard" then
|
|
||||||
SendInsertionHelicopter()
|
SendInsertionHelicopter()
|
||||||
end
|
|
||||||
elseif ticks == DateTime.Minutes(12) then
|
elseif ticks == DateTime.Minutes(12) then
|
||||||
StartAntAttack()
|
StartAntAttack()
|
||||||
elseif ticks == DateTime.Minutes(6) then
|
elseif ticks == DateTime.Minutes(6) then
|
||||||
@@ -183,4 +181,7 @@ WorldLoaded = function()
|
|||||||
Trigger.OnKilled(MoneyDerrick, function()
|
Trigger.OnKilled(MoneyDerrick, function()
|
||||||
Actor.Create("moneycrate", true, { Owner = allies, Location = MoneyDerrick.Location + CVec.New(1,0) })
|
Actor.Create("moneycrate", true, { Owner = allies, Location = MoneyDerrick.Location + CVec.New(1,0) })
|
||||||
end)
|
end)
|
||||||
|
Trigger.OnKilled(MoneyBarrel, function()
|
||||||
|
Actor.Create("moneycrate", true, { Owner = allies, Location = MoneyBarrel.Location})
|
||||||
|
end)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ AttackAngles = {
|
|||||||
AttackInterval = {
|
AttackInterval = {
|
||||||
easy = DateTime.Seconds(40),
|
easy = DateTime.Seconds(40),
|
||||||
normal = DateTime.Seconds(30),
|
normal = DateTime.Seconds(30),
|
||||||
hard = DateTime.Seconds(20)
|
hard = DateTime.Seconds(25)
|
||||||
}
|
}
|
||||||
|
|
||||||
AntTypes = {
|
AntTypes = {
|
||||||
@@ -33,7 +33,7 @@ AntTypes = {
|
|||||||
MaxAnts = {
|
MaxAnts = {
|
||||||
easy = 3,
|
easy = 3,
|
||||||
normal = 5,
|
normal = 5,
|
||||||
hard = 7
|
hard = 6
|
||||||
}
|
}
|
||||||
|
|
||||||
MaxFireAnts = {
|
MaxFireAnts = {
|
||||||
@@ -59,7 +59,7 @@ StartAntAttack = function()
|
|||||||
|
|
||||||
if DifficultySetting == "normal" and timeTracker < DateTime.Minutes(6) and antType == "scoutant" then
|
if DifficultySetting == "normal" and timeTracker < DateTime.Minutes(6) and antType == "scoutant" then
|
||||||
antType = "warriorant"
|
antType = "warriorant"
|
||||||
elseif DifficultySetting == "hard" and timeTracker < DateTime.Minutes(12) and antType == "scoutant" then
|
elseif DifficultySetting == "hard" and timeTracker < DateTime.Minutes(8) and antType == "scoutant" then
|
||||||
antType = "warriorant"
|
antType = "warriorant"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -430,7 +430,7 @@ Actors:
|
|||||||
Actor120: barl
|
Actor120: barl
|
||||||
Location: 56,50
|
Location: 56,50
|
||||||
Owner: AntMan
|
Owner: AntMan
|
||||||
Actor121: brl3
|
MoneyBarrel: brl3
|
||||||
Location: 55,50
|
Location: 55,50
|
||||||
Owner: AntMan
|
Owner: AntMan
|
||||||
Actor122: barl
|
Actor122: barl
|
||||||
|
|||||||
Reference in New Issue
Block a user