pilot wave is a bit slower

spammable methods of energy generation no longer work while immune to damage
  rail-gun, flip-flop, dynamo-bots, ice-IX, energy siphon

pilot wave follows the mouse a bit slower
  (I think this is actually a buff, because blocks stay in the field better)
a newly clicked pilot wave now begins at the player, not the mouse
  (this is just because it looks cool)

tech: many worlds, now only spawns 1 tech
  (use to spawn a heal, ammo, research too)
This commit is contained in:
landgreen
2021-05-14 05:16:47 -07:00
parent 39c9b08b2e
commit 33ed7dddfa
8 changed files with 35 additions and 39 deletions

View File

@@ -1018,7 +1018,7 @@ const mobs = {
if (this.isBoss) dmg *= 0.25
//energy and heal drain should be calculated after damage boosts
if (tech.energySiphon && dmg !== Infinity && this.isDropPowerUp) m.energy += Math.min(this.health, dmg) * tech.energySiphon
if (tech.energySiphon && dmg !== Infinity && this.isDropPowerUp && m.immuneCycle < m.cycle) m.energy += Math.min(this.health, dmg) * tech.energySiphon
if (tech.healthDrain && dmg !== Infinity && this.isDropPowerUp) {
m.addHealth(Math.min(this.health, dmg) * tech.healthDrain)