mod: CPT reversal - avoid damage by rewinding to your past, but use up all your energy
  requires wormhole or time dilation

several minor buffs to wormhole
small changes to mob distribution on a few maps
This commit is contained in:
landgreen
2020-11-27 04:26:30 -08:00
parent 0c319d3049
commit 6c5928c052
9 changed files with 272 additions and 169 deletions

View File

@@ -970,9 +970,11 @@ const mobs = {
Matter.Body.setAngle(this, angle - Math.PI);
},
explode(mass = this.mass) {
mech.damage(Math.min(Math.max(0.02 * Math.sqrt(mass), 0.01), 0.35) * game.dmgScale);
this.dropPowerUp = false;
this.death(); //death with no power up or body
if (mech.immuneCycle < mech.cycle) {
mech.damage(Math.min(Math.max(0.02 * Math.sqrt(mass), 0.01), 0.35) * game.dmgScale);
this.dropPowerUp = false;
this.death(); //death with no power up or body
}
},
timeLimit() {
if (!mech.isBodiesAsleep) {