increased spore mod chance

This commit is contained in:
landgreen
2019-10-30 06:05:14 -07:00
parent f7674f4ffd
commit 03eca6c8b7
2 changed files with 4 additions and 4 deletions

View File

@@ -917,7 +917,7 @@ const mobs = {
this.alive = false;
if (this.dropPowerUp) {
powerUps.spawnRandomPowerUp(this.position.x, this.position.y, this.mass, radius);
if (b.modSpores && Math.random() < 0.4) b.spore(this) //spawn drone
if (Math.random() < b.modSpores) b.spore(this) //spawn drone
}
},