working on black hole boss

This commit is contained in:
lilgreenland
2019-10-14 07:08:33 -07:00
parent 14b5ffa1a6
commit ed20c044e1
3 changed files with 33 additions and 25 deletions

View File

@@ -21,8 +21,9 @@ const level = {
// this.warehouse();
// this.highrise();
// this.office();
b.giveGuns(1) // set a starting gun for testing
mech.fieldUpgrades[5]() //give a field power up for testing
// b.giveGuns(1) // set a starting gun for testing
b.giveGuns("all", 1000)
// mech.fieldUpgrades[5]() //give a field power up for testing
} else {
spawn.setSpawnList(); //picks a couple mobs types for a themed random mob spawns
this[this.levels[this.onLevel]](); //picks the current map from the the levels array
@@ -724,7 +725,7 @@ const level = {
spawn.randomBoss(350, -500, 1)
spawn.randomBoss(4000, -350, 0.6);
spawn.randomBoss(2750, -550, 0.1);
if (game.levelsCleared > 2) spawn.suckerBoss(3000, -1000);
if (game.levelsCleared > 2) spawn.suckerBoss(3000 + 1000 * Math.random(), -500 * Math.random());
//add mini boss, giant hopper? or a black hole that spawns hoppers?
},