tungsten carbide

removed tech: supersaturation - 50 max health
tech: tungsten carbide - gain 100 max health, but take falling damage

supercapacitor renamed Maxwell's demon
  energy above your max decays 92% slower. add 16 junk tech
  (was 70% with no junk tech)

mine synthesis renamed booby trap
  spawns a mine when ever you pick up a power up, add 9 junk tech
This commit is contained in:
landgreen
2021-06-04 06:38:17 -07:00
parent 005436a177
commit b307a50a72
6 changed files with 60 additions and 75 deletions

View File

@@ -40,6 +40,11 @@ function playerOnGroundCheck(event) {
m.doCrouch();
m.yOff = m.yOffWhen.jump;
m.hardLandCD = m.cycle + Math.min(momentum / 6.5 - 6, 40)
//falling damage
if (tech.isFallingDamage) {
m.damage(Math.min(Math.sqrt(momentum - 125) * 0.01, 0.25));
m.immuneCycle = m.cycle + tech.collisionImmuneCycles; //player is immune to damage for 30 cycles
}
} else {
m.yOffGoal = m.yOffWhen.stand;
}