time dilation mods

new mod - heal: gives heals
new mod - ammo: gives ammo
mod mass-energy equivalence no longer benefits from harm reduction effects,
but it also takes 25% less damage than before

mod - timelike world line gives 2x faster speed and harm immunity when time dilation is active
mod - Lorentz transformation improves move jump and fire speed even when time dilation isn't active
      (the same as 1 rank of squirrel cage rotor and auto-loading heuristics)
This commit is contained in:
landgreen
2020-06-02 07:15:16 -07:00
parent a18126492f
commit 10a8f44424
8 changed files with 132 additions and 52 deletions

View File

@@ -768,10 +768,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.06
if (mech.energy > mech.maxEnergy) mech.energy = mech.maxEnergy;
}
if (mod.isEnergyRecovery && mech.energy < mech.maxEnergy) mech.energy += mech.maxEnergy * 0.06
if (mod.isHealthRecovery) mech.addHealth(0.01)
}