shield blocking

relativistic momentum: laser pushes harder and slows mobs a bit to give a more predictable effect
laserBombingBoss targets faster at higher levels
you can now block shielded mobs, but your shield gets disabled for a bit

fixed bug that made perfect diamagnetism have trouble blocking too many things at once
and more small bug fixes, of course
This commit is contained in:
landgreen
2021-08-15 11:14:47 -07:00
parent 714204bd62
commit 37d31ffb76
9 changed files with 162 additions and 192 deletions

View File

@@ -812,13 +812,13 @@ const simulation = {
if (tech.isFlipFlopOn) {
if (m.immuneCycle < m.cycle) m.energy += 0.22;
} else {
m.energy -= 0.041;
m.energy -= 0.022;
if (m.energy < 0) m.energy = 0
}
}
if (tech.relayIce && tech.isFlipFlopOn) {
for (let j = 0; j < tech.relayIce; j++) {
for (let i = 0, len = Math.ceil(8 * Math.random()); i < len; i++) b.iceIX(2)
for (let i = 0, len = Math.ceil(9 * Math.random()); i < len; i++) b.iceIX(2)
}
}