foam fractionation

foam dissipates a bit faster, has less ammo, and does 60% more damage per second
tech: foam fractionation - foam is 100% bigger when you are below 200 ammo

difficulty now increases linearly, even after beating the final boss
This commit is contained in:
landgreen
2020-12-31 09:49:07 -08:00
parent 491b979d4c
commit 2c30382093
7 changed files with 49 additions and 39 deletions

View File

@@ -1627,7 +1627,7 @@ const mech = {
if (tech.isFreezeMobs) {
const ICE_DRAIN = 0.0005
for (let i = 0, len = mob.length; i < len; i++) {
if (mob[i].distanceToPlayer() + mob[i].radius < this.fieldDrawRadius && !mob[i].shield && !mob[i].isShielded) {
if (((mob[i].distanceToPlayer() + mob[i].radius) < this.fieldDrawRadius) && !mob[i].shield && !mob[i].isShielded) {
if (mech.energy > ICE_DRAIN * 2) {
mech.energy -= ICE_DRAIN;
this.fieldDrawRadius -= 2;