foam damage mod
This commit is contained in:
@@ -496,8 +496,6 @@ const powerUps = {
|
||||
if (Math.random() < mod.bayesian) powerUps.spawn(x, y, "gun")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
chooseRandomPowerUp(x, y) { //100% chance to drop a random power up //used in spawn.debris
|
||||
if (Math.random() < 0.5) {
|
||||
@@ -526,6 +524,8 @@ const powerUps = {
|
||||
} else {
|
||||
powerUps.spawn(x, y, "ammo", false);
|
||||
powerUps.spawn(x, y, "ammo", false);
|
||||
powerUps.spawn(x, y, "ammo", false);
|
||||
powerUps.spawn(x, y, "ammo", false);
|
||||
}
|
||||
} else {
|
||||
powerUps.spawnRandomPowerUp(x, y);
|
||||
|
||||
Reference in New Issue
Block a user