mod - microstates

mod - many worlds: 100% chance on choosing a power up to spawn a reroll if you have no rerolls
mod - microstates: +7% damage for every 10 active bullets
  (requires mod: Lorentzian topology)
mod - laser diode: laser, pulse, and laser-bots use 37% less energy
25% increase in difficulty scaling  (level 10 should now have the difficulty of level 12)
  effects: player damage, mod damage, mob acceleration, mob reaction time, mob cooldown time
This commit is contained in:
landgreen
2020-05-17 19:23:24 -07:00
parent 0ff8021ea8
commit 4a355caa60
10 changed files with 151 additions and 42 deletions

View File

@@ -49,6 +49,7 @@ const game = {
mobs.healthBar();
mech.draw();
mech.hold();
// v.draw(); //working on visibility work in progress
level.drawFills();
game.draw.drawMapPath();
b.fire();
@@ -515,7 +516,8 @@ const game = {
game.difficultyMode = 1
level.difficultyDecrease(6); //if this stops being -6 change in build.calculateCustomDifficulty()
}
if (game.difficultyMode === 4) level.difficultyIncrease(6)
if (game.difficultyMode === 2) level.difficultyIncrease(1)
if (game.difficultyMode === 4) level.difficultyIncrease(4)
game.clearNow = true;
document.getElementById("text-log").style.opacity = 0;
@@ -703,6 +705,9 @@ const game = {
},
checks() {
if (!(mech.cycle % 60)) { //once a second
console.log(bullet.length * 0.005)
if (mech.pos.y > game.fallHeight) { // if 4000px deep
if (game.difficultyMode > 2) {
mech.death();