bug fixes and balance

This commit is contained in:
landgreen
2020-01-08 17:55:17 -08:00
parent e63367d103
commit 9c2433d50d
5 changed files with 32 additions and 32 deletions

View File

@@ -270,7 +270,9 @@ const powerUps = {
}
},
spawnStartingPowerUps(x, y) { //used for map specific power ups, mostly to give player a starting gun
if (b.inventory.length < 2) {
if (b.modCount < 1) {
powerUps.spawn(x, y, "mod", false); //starting gun
} else if (b.inventory.length < 2) {
powerUps.spawn(x, y, "gun", false); //starting gun
} else {
powerUps.spawnRandomPowerUp(x, y);