hyperpolarization

tech: hyperpolarization - reduce the CD on depolarization by 1 second

metamaterial absorber 22->25% chance to get power up for mobs not killed
symbiosis -0.5 -> 0.25 max health after killing a mob
dazzler -15->10 energy after decloaking and stunning mobs
Hilbert space 142->300% damage

fixed bug with 1000x more frequent enthalpy
This commit is contained in:
landgreen
2024-02-10 19:58:05 -08:00
parent 17f65cfcea
commit b5e4b0db03
8 changed files with 80 additions and 86 deletions

View File

@@ -1287,7 +1287,7 @@ const simulation = {
for (let i = 0, len = mob.length; i < len; i++) {
if (mob[i].isDropPowerUp && mob[i].alive) count++
}
count *= 0.22 //to fake the 20% chance, this makes it not random, and more predictable
count *= 0.25 //to fake the 25% chance, this makes it not random, and more predictable
let cycle = () => { //run after waiting a cycle for the map to be cleared
const types = ["heal", "ammo", "heal", "ammo", "research", "coupling", "boost", "tech", "gun", "field"]
for (let i = 0; i < count; i++) powerUps.spawnDelay(types[Math.floor(Math.random() * types.length)], 1)