difficulty bug fix

This commit is contained in:
landgreen
2020-10-06 05:01:59 -07:00
parent 0d2a570ebd
commit b2cb88832c
6 changed files with 94 additions and 49 deletions

View File

@@ -10,21 +10,21 @@ const level = {
levels: ["skyscrapers", "rooftops", "warehouse", "highrise", "office", "aerie", "satellite", "sewers", "testChamber"],
start() {
if (level.levelsCleared === 0) { //this code only runs on the first level
level.difficultyIncrease(8)
// level.difficultyIncrease(8)
// game.enableConstructMode() //used to build maps in testing mode
// game.zoomScale = 1000;
// game.setZoom();
// mech.isCloak = true;
// mech.setField("perfect diamagnetism")
// b.giveGuns("laser")
// b.giveGuns("nail gun")
// for (let i = 0; i < 10; i++) {
// mod.giveMod("laser-bot");
// }
// mod.giveMod("eddy current brake")
level.intro(); //starting level
// level.testing(); //not in rotation
// level.intro(); //starting level
level.testing(); //not in rotation
// level.template() //not in rotation
// level.testChamber() //less mobs, more puzzle
// level.sewers();
@@ -150,12 +150,12 @@ const level = {
// spawn.sniper(1800, -120)
// spawn.sniper(2200, -120)
// spawn.cellBossCulture(1600, -500)
spawn.starter(1600, -500)
// spawn.starter(1600, -500)
// spawn.powerUpBoss(1600, -500)
// spawn.shield(mob[mob.length - 1], 1200, -500, 1);
// spawn.nodeBoss(1200, -500, "launcher")
// spawn.spiderBoss(1200, -500)
spawn.snakeBoss(1200, -500)
// spawn.timeSkipBoss(2900, -500)
// spawn.randomMob(1600, -500)
},