spore mod balance
This commit is contained in:
@@ -917,7 +917,11 @@ const mobs = {
|
||||
this.alive = false;
|
||||
if (this.dropPowerUp) {
|
||||
powerUps.spawnRandomPowerUp(this.position.x, this.position.y, this.mass, radius);
|
||||
if (Math.random() < b.modSpores) b.spore(this) //spawn drone
|
||||
if (Math.random() < b.modSpores) {
|
||||
for (let i = 0, len = Math.floor(3 + this.mass * Math.random()); i < len; i++) {
|
||||
b.spore(this) //spawn drone
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user