Adjust hard difficulty in Ant01

This commit is contained in:
Smittytron
2021-06-26 21:41:08 -05:00
committed by reaperrr
parent 8a776c7138
commit bcbd2418b4
3 changed files with 8 additions and 7 deletions

View File

@@ -113,9 +113,7 @@ Tick = function()
if ticks == DateTime.Minutes(17) then
StartAntAttack()
elseif ticks == DateTime.Minutes(15) then
if DifficultySetting ~= "hard" then
SendInsertionHelicopter()
end
SendInsertionHelicopter()
elseif ticks == DateTime.Minutes(12) then
StartAntAttack()
elseif ticks == DateTime.Minutes(6) then
@@ -183,4 +181,7 @@ WorldLoaded = function()
Trigger.OnKilled(MoneyDerrick, function()
Actor.Create("moneycrate", true, { Owner = allies, Location = MoneyDerrick.Location + CVec.New(1,0) })
end)
Trigger.OnKilled(MoneyBarrel, function()
Actor.Create("moneycrate", true, { Owner = allies, Location = MoneyBarrel.Location})
end)
end

View File

@@ -22,7 +22,7 @@ AttackAngles = {
AttackInterval = {
easy = DateTime.Seconds(40),
normal = DateTime.Seconds(30),
hard = DateTime.Seconds(20)
hard = DateTime.Seconds(25)
}
AntTypes = {
@@ -33,7 +33,7 @@ AntTypes = {
MaxAnts = {
easy = 3,
normal = 5,
hard = 7
hard = 6
}
MaxFireAnts = {
@@ -59,7 +59,7 @@ StartAntAttack = function()
if DifficultySetting == "normal" and timeTracker < DateTime.Minutes(6) and antType == "scoutant" then
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"
end

View File

@@ -430,7 +430,7 @@ Actors:
Actor120: barl
Location: 56,50
Owner: AntMan
Actor121: brl3
MoneyBarrel: brl3
Location: 55,50
Owner: AntMan
Actor122: barl