rest frame

health background finally updates to show max health changes

tech: rest frame is removed
tech: inertial frame - gain 66% fire rate, but you can't fire when moving
tech: dead reckoning - when at rest do 33% more damage
  requires inertial frame
tech: Galilean group - when at rest take 50% less harm
  requires inertial frame
This commit is contained in:
landgreen
2021-01-11 14:00:01 -08:00
parent a573f42366
commit 059e133667
9 changed files with 185 additions and 102 deletions

View File

@@ -523,10 +523,11 @@ const simulation = {
tech.plasmaBotCount = 0;
tech.missileBotCount = 0;
b.setFireMethod()
b.setFireCD();
simulation.updateTechHUD();
powerUps.totalPowerUps = 0;
powerUps.research.research = 0;
powerUps.research.count = 0;
mech.setFillColors();
// mech.maxHealth = 1
// mech.maxEnergy = 1
@@ -539,10 +540,6 @@ const simulation = {
simulation.makeGunHUD();
simulation.lastLogTime = 0;
level.onLevel = 0;
level.levelsCleared = 0;
//resetting difficulty