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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user