Skip to content

Commit

Permalink
Decreasing the unit production speed for Easy and hard difficulty in …
Browse files Browse the repository at this point in the history
…Alpha 01-04

Because of feedback in Discord that the early levels are too hard for the two lowest difficulties the production speed of the Scavenger factories for the first four levels is decreased for Easy and Normal difficulty.
  • Loading branch information
highlander1599 authored and KJeff01 committed Oct 1, 2021
1 parent 9c9ae9e commit 7bedf39
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions script/campaign/cam1-1.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ function eventStartLevel()
count: -1,
},
groupSize: 4,
throttle: camChangeOnDiff(camSecondsToMilliseconds(30)),
templates: [ cTempl.trikeheavy, cTempl.blokeheavy, cTempl.buggyheavy, cTempl.bjeepheavy ]
throttle: camChangeOnDiff(camSecondsToMilliseconds((difficulty === EASY || difficulty === MEDIUM) ? 40 : 30)),
templates: [ cTempl.triketwin, cTempl.blokeheavy, cTempl.buggytwin, cTempl.bjeepheavy ]
},
});

Expand Down
6 changes: 3 additions & 3 deletions script/campaign/cam1-2.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function camArtifactPickup_ScavLab()
},
groupSize: 5,
maxSize: 9,
throttle: camChangeOnDiff(camSecondsToMilliseconds(10)),
throttle: camChangeOnDiff(camSecondsToMilliseconds((difficulty === EASY || difficulty === MEDIUM) ? 13 : 10)),
templates: [ cTempl.trikeheavy, cTempl.blokeheavy, cTempl.buggyheavy, cTempl.bjeepheavy ]
});
camEnableFactory("WestFactory");
Expand Down Expand Up @@ -122,7 +122,7 @@ function eventStartLevel()
},
groupSize: 5,
maxSize: 9,
throttle: camChangeOnDiff(camSecondsToMilliseconds(15)),
throttle: camChangeOnDiff(camSecondsToMilliseconds((difficulty === EASY || difficulty === MEDIUM) ? 20 : 15)),
group: camMakeGroup("NorthTankGroup"),
templates: [ cTempl.trikeheavy, cTempl.blokeheavy, cTempl.buggyheavy, cTempl.bjeepheavy ]
},
Expand All @@ -139,7 +139,7 @@ function eventStartLevel()
},
groupSize: 5,
maxSize: 9,
throttle: camChangeOnDiff(camSecondsToMilliseconds(10)),
throttle: camChangeOnDiff(camSecondsToMilliseconds((difficulty === EASY || difficulty === MEDIUM) ? 13 : 10)),
templates: [ cTempl.trikeheavy, cTempl.blokeheavy, cTempl.buggyheavy, cTempl.bjeepheavy ]
},
});
Expand Down
8 changes: 4 additions & 4 deletions script/campaign/cam1a.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function eventStructureBuilt(structure, droid)
}
}

camAreaEvent("factoryTrigger", function(droid)
camAreaEvent("scavBase3Cleanup", function(droid)
{
camEnableFactory("base4Factory");
});
Expand Down Expand Up @@ -217,7 +217,7 @@ function eventStartLevel()
data: { pos: "playerBase" },
groupSize: 3,
maxSize: 3,
throttle: camChangeOnDiff(camSecondsToMilliseconds(18)),
throttle: camChangeOnDiff(camSecondsToMilliseconds((difficulty === EASY || difficulty === MEDIUM) ? 24 : 18)),
templates: [ cTempl.trike, cTempl.bloke ]
},
"base3Factory": {
Expand All @@ -226,7 +226,7 @@ function eventStartLevel()
data: { pos: "playerBase" },
groupSize: 4,
maxSize: 4,
throttle: camChangeOnDiff(camSecondsToMilliseconds(14)),
throttle: camChangeOnDiff(camSecondsToMilliseconds((difficulty === EASY || difficulty === MEDIUM) ? 20 : 14)),
templates: [ cTempl.bloke, cTempl.buggy, cTempl.bloke ]
},
"base4Factory": {
Expand All @@ -235,7 +235,7 @@ function eventStartLevel()
data: { pos: "playerBase" },
groupSize: 4,
maxSize: 4,
throttle: camChangeOnDiff(camSecondsToMilliseconds(12)),
throttle: camChangeOnDiff(camSecondsToMilliseconds((difficulty === EASY || difficulty === MEDIUM) ? 16 : 12)),
templates: [ cTempl.bjeep, cTempl.bloke, cTempl.trike, cTempl.bloke ]
},
});
Expand Down
8 changes: 4 additions & 4 deletions script/campaign/cam1b.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ camAreaEvent("AttackArea1", function(droid)
data: { pos: "playerBase" }, // changes
groupSize: 10, // changes
maxSize: 10,
throttle: camChangeOnDiff(camSecondsToMilliseconds(15)),
throttle: camChangeOnDiff(camSecondsToMilliseconds((difficulty === EASY || difficulty === MEDIUM) ? 20 : 15)),
templates: [ cTempl.triketwin, cTempl.bloketwin, cTempl.buggytwin, cTempl.bloketwin, ] // changes
});
camEnableFactory("base2factory"); // re-enable
Expand Down Expand Up @@ -130,7 +130,7 @@ function eventStartLevel()
data: { pos: "playerBase" },
groupSize: 6,
maxSize: 6,
throttle: camChangeOnDiff(camSecondsToMilliseconds(8)),
throttle: camChangeOnDiff(camSecondsToMilliseconds((difficulty === EASY || difficulty === MEDIUM) ? 11 : 8)),
templates: [ cTempl.triketwin, cTempl.bloketwin, cTempl.buggytwin, cTempl.bloketwin ]
},
"base2factory": { // the hill harass factory
Expand All @@ -143,7 +143,7 @@ function eventStartLevel()
group: camMakeGroup("hillForce"), // will override later
groupSize: 4, // will override later
maxSize: 10,
throttle: camChangeOnDiff(camSecondsToMilliseconds(18)),
throttle: camChangeOnDiff(camSecondsToMilliseconds((difficulty === EASY || difficulty === MEDIUM) ? 24 : 18)),
templates: [ cTempl.bloketwin ] // will override later
},
"base4factory": {
Expand All @@ -152,7 +152,7 @@ function eventStartLevel()
data: { pos: "playerBase" },
groupSize: 8,
maxSize: 8,
throttle: camChangeOnDiff(camSecondsToMilliseconds(12)),
throttle: camChangeOnDiff(camSecondsToMilliseconds((difficulty === EASY || difficulty === MEDIUM) ? 16 : 12)),
templates: [ cTempl.trike, cTempl.bloketwin, cTempl.buggytwin, cTempl.bjeeptwin ]
},
});
Expand Down

0 comments on commit 7bedf39

Please sign in to comment.