diff --git a/js/bullets.js b/js/bullets.js index cc25883..3ea8a87 100644 --- a/js/bullets.js +++ b/js/bullets.js @@ -22,7 +22,7 @@ const b = { b.modNoAmmo = 0; b.modBulletsLastLonger = 1; b.modIsImmortal = false; - b.modSpores = false; + b.modSpores = 0; for (let i = 0; i < b.mods.length; i++) { b.mods[i].have = false; } @@ -105,10 +105,10 @@ const b = { }, { name: "Zoospore Vector", - description: "when an enemy dies it has a 40% chance to release a spore", + description: "when an enemy dies it has a 50% chance to release a spore", have: false, effect: () => { - b.modSpores = true; //good late game + b.modSpores = 0.5; //good late game maybe? } }, // () => { diff --git a/js/mobs.js b/js/mobs.js index 201c50a..3774531 100644 --- a/js/mobs.js +++ b/js/mobs.js @@ -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 } },