triple point

perfect diamagnetism now has a 1/6 of a second cooldown after blocking (same as other fields)
perfect diamagnetism can get bremsstrahlung now

standing wave harmonic field blocks now block large mobs more reliably

tech: triple point - blocking makes iceIX crystals
  unlocked with: standing wave harmonic field or perfect diamagnetism
This commit is contained in:
landgreen
2021-04-21 19:57:53 -07:00
parent b50e2ba9ce
commit 29dee3536f
9 changed files with 97 additions and 63 deletions

View File

@@ -70,7 +70,7 @@ const mobs = {
who.isSlowed = true;
who.status.push({
effect() {
const speedCap = 3
const speedCap = 2
const drag = 0.95
Matter.Body.setVelocity(who, {
x: Math.min(speedCap, who.velocity.x) * drag,
@@ -1067,7 +1067,7 @@ const mobs = {
const len = Math.min(25, Math.floor(2 + this.mass * (0.5 + 0.5 * Math.random())))
for (let i = 0; i < len; i++) b.spore(this.position)
} else if (tech.isExplodeMob) {
b.explosion(this.position, Math.min(600, Math.sqrt(this.mass + 2.75) * 55))
b.explosion(this.position, Math.min(600, Math.sqrt(this.mass + 1.5) * (22 + 60 * Math.random())))
} else if (tech.nailsDeathMob) {
b.targetedNail(this.position, tech.nailsDeathMob, 39 + 6 * Math.random())
}