negative mass field flying buff

harmonic field now has no cooldown after blocking
negative mass field accelerates slower, but with a higher top speed
negative mass field harm reduction is now 60% and always on
mod degenerate matter increases the damage reduction from 60% to 80%

falling damage and damage from blocks have been removed
(I'm trying it out, let me know if you want it back)
This commit is contained in:
landgreen
2020-05-28 16:07:09 -07:00
parent ff78c731fc
commit 7a89051384
9 changed files with 208 additions and 237 deletions

View File

@@ -7,7 +7,11 @@ const game = {
Engine.update(engine, game.delta);
game.wipe();
game.textLog();
mech.keyMove();
if (mech.onGround) {
mech.groundControl()
} else {
mech.airControl()
}
level.checkZones();
level.checkQuery();
mech.move();
@@ -30,7 +34,11 @@ const game = {
Engine.update(engine, game.delta);
game.wipe();
game.textLog();
mech.keyMove();
if (mech.onGround) {
mech.groundControl()
} else {
mech.airControl()
}
level.checkZones();
level.checkQuery();
mech.move();
@@ -69,7 +77,11 @@ const game = {
mech.cycle++;
game.gravity();
Engine.update(engine, game.delta);
mech.keyMove();
if (mech.onGround) {
mech.groundControl()
} else {
mech.airControl()
}
level.checkZones();
level.checkQuery();
@@ -741,7 +753,7 @@ const game = {
if (mech.lastKillCycle + 300 > mech.cycle) { //effects active for 5 seconds after killing a mob
if (mod.isEnergyRecovery) {
mech.energy += mech.maxEnergy * 0.07
mech.energy += mech.maxEnergy * 0.06
if (mech.energy > mech.maxEnergy) mech.energy = mech.maxEnergy;
}
if (mod.isHealthRecovery) mech.addHealth(0.01)