spore tech - nematodes - replace spores with 1/2 as many worms that do 200% more damage
  worms are also a bit faster, last longer, have better reaction times
  a cool worm graphic, and a simple searching behavior if they haven't found a mob

mycelial fragmentation - makes 6 extra spores during growth phase (was 4)

historyBoss has less health, slower tracking, and more damage
This commit is contained in:
landgreen
2021-07-16 07:06:05 -07:00
parent 7315d05460
commit d50cd540fa
9 changed files with 234 additions and 73 deletions

View File

@@ -1066,8 +1066,13 @@ const mobs = {
powerUps.spawnRandomPowerUp(this.position.x, this.position.y);
m.lastKillCycle = m.cycle; //tracks the last time a kill was made, mostly used in simulation.checks()
if (Math.random() < tech.sporesOnDeath) {
const len = Math.min(25, Math.floor(2 + this.mass * (0.5 + 0.5 * Math.random())))
for (let i = 0; i < len; i++) b.spore(this.position)
if (tech.isSporeWorm) {
const len = Math.min(25, Math.floor(2 + this.mass * (0.5 + 0.5 * Math.random()))) / 2
for (let i = 0; i < len; i++) b.worm(this.position)
} else {
const len = Math.min(25, Math.floor(2 + this.mass * (0.5 + 0.5 * Math.random())))
for (let i = 0; i < len; i++) b.spore(this.position)
}
} else if (tech.isExplodeMob) {
b.explosion(this.position, Math.min(600, Math.sqrt(this.mass + 1.5) * (22 + 60 * Math.random())))
} else if (tech.nailsDeathMob) {