crouch bug fix, laserBoss balance

This commit is contained in:
landgreen
2020-03-28 07:26:13 -07:00
parent ad950d2cc2
commit 67fc1a0e37
5 changed files with 228 additions and 22 deletions

View File

@@ -1021,7 +1021,7 @@ const mech = {
} else {
mech.drawHold(who);
}
mech.holdingTarget = null
// mech.holdingTarget = null
//knock backs
if (mech.fieldShieldingScale > 0) {
const massRoot = Math.sqrt(Math.min(12, Math.max(0.15, who.mass))); // masses above 12 can start to overcome the push back