tech: aerostat - +88% damage off the ground, but -22% damage on the ground
  negative mass field required

tetherBoss now has beetle babies, and immunity
skins have a unique orb for their description card
  and some new images
cloaking field has a new graphic for sneak attack on the cross hairs

new community map yingYang by Richard0820

bug fixes
This commit is contained in:
landgreen
2023-02-13 19:48:49 -08:00
parent 9402cf2fe0
commit f8b4b6fde5
23 changed files with 763 additions and 255 deletions

View File

@@ -109,7 +109,7 @@ function collisionChecks(event) {
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
if (m.isCloak) dmg *= 0.75
mob[k].foundPlayer();
if (tech.isRewindAvoidDeath && (m.energy + 0.05) > Math.min(1, m.maxEnergy) && dmg > 0.01) { //CPT reversal runs in m.damage, but it stops the rest of the collision code here too
if (tech.isRewindAvoidDeath && (m.energy + 0.05) > Math.min(0.95, m.maxEnergy) && dmg > 0.01) { //CPT reversal runs in m.damage, but it stops the rest of the collision code here too
m.damage(dmg);
return
}