mod - emp

This commit is contained in:
landgreen
2020-03-31 19:01:01 -07:00
parent fc34952a86
commit 19c1224796
5 changed files with 69 additions and 35 deletions

View File

@@ -1366,7 +1366,7 @@ const mech = {
} else if ((keys[32] || game.mouseDownRight) && mech.fieldCDcycle < mech.cycle) { //not hold but field button is pressed
mech.grabPowerUp();
mech.lookForPickUp();
const DRAIN = 0.0005
const DRAIN = 0.00065
if (mech.energy > DRAIN) {
mech.energy -= DRAIN;
if (mech.energy < 0) {