fault tolerance

tech: fault tolerance - spawn 9 drones that last forever, remove your drone gun

fade in after death is more gradual
This commit is contained in:
landgreen
2021-10-17 09:00:11 -07:00
parent dbe33239fb
commit 19c008fec1
12 changed files with 264 additions and 71 deletions

View File

@@ -103,7 +103,6 @@ function collisionChecks(event) {
if (
m.immuneCycle < m.cycle &&
(obj === playerBody || obj === playerHead) &&
// (obj === player) &&
!(tech.isFreezeHarmImmune && (mob[k].isSlowed || mob[k].isStunned))
) {
let dmg = Math.min(Math.max(0.025 * Math.sqrt(mob[k].mass), 0.05), 0.3) * simulation.dmgScale; //player damage is capped at 0.3*dmgScale of 1.0