vaccum bomb grenade mod
gun: vacuum bomb is removed
mod: vacuum bomb - grenades fire slower, explode bigger and, suck everything towards them
laser and diffuse laser graphics are better
mod: output coupler - diffuse laser beam is 30% wider and does 30% more damage
requires diffuse beam
level number doesn't increase if you skip the boss (in the late game)
This commit is contained in:
@@ -461,6 +461,7 @@ const powerUps = {
|
||||
},
|
||||
randomPowerUpCounter: 0,
|
||||
spawnBossPowerUp(x, y) { //boss spawns field and gun mod upgrades
|
||||
level.bossKilled = true;
|
||||
// if (game.difficultyMode === 4) powerUps.spawn(x, y, "mod") //why mode gets a free mod
|
||||
powerUps.randomPowerUpCounter++;
|
||||
const chanceToFail = Math.max(level.levelsCleared, 10) * 0.1 //1 until level 10, then 1.1, 1.2, 1.3, ...
|
||||
@@ -471,8 +472,8 @@ const powerUps = {
|
||||
spawnHealthAmmo()
|
||||
}
|
||||
if (game.difficultyMode === 4) {
|
||||
powerUps.randomPowerUpCounter++;
|
||||
const chanceToFail = Math.max(level.levelsCleared, 10) * 0.1 //1 until level 10, then 1.1, 1.2, 1.3, ...
|
||||
powerUps.randomPowerUpCounter + 0.6;
|
||||
const chanceToFail = Math.max(level.levelsCleared, 6) * 0.1 //1 until level 8
|
||||
if (Math.random() * chanceToFail < powerUps.randomPowerUpCounter) {
|
||||
powerUps.randomPowerUpCounter = 0;
|
||||
spawnPowerUps()
|
||||
|
||||
Reference in New Issue
Block a user