explosion damage immunity mod

This commit is contained in:
landgreen
2020-08-07 08:41:11 -07:00
parent d13b1fb16d
commit 2e9ff7e292
6 changed files with 122 additions and 76 deletions

View File

@@ -81,8 +81,8 @@ const spawn = {
}
}
},
//"shooterBoss", "cellBossCulture", "bomberBoss", "spiderBoss", "launcherBoss", "laserTargetingBoss",
randomLevelBoss(x, y, options = ["powerUpBoss"]) {
randomLevelBoss(x, y, options = ["shooterBoss", "cellBossCulture", "bomberBoss", "spiderBoss", "launcherBoss", "laserTargetingBoss", "powerUpBoss"]) {
// other bosses: suckerBoss, laserBoss, tetherBoss, snakeBoss //all need a particular level to work so they are not included
spawn[options[Math.floor(Math.random() * options.length)]](x, y)
},