backward induction

more bug fixes (many worlds, disintegrated armament)

tech: backward induction - gain all the tech options you didn't choose from your previous tech selection menu
This commit is contained in:
landgreen
2021-03-22 05:30:29 -07:00
parent 603d5c466c
commit 38e38578e6
6 changed files with 76 additions and 18 deletions

View File

@@ -4123,11 +4123,20 @@ const b = {
y: mob[i].position.y,
radius: Math.log(2 * damage + 1.1) * 40,
color: "rgba(100,0,200,0.25)",
time: simulation.drawTime
time: simulation.drawTime * 2
});
}
}
}
if (tech.isRailAreaDamage) {
simulation.drawList.push({ //add dmg to draw queue
x: m.pos.x,
y: m.pos.y,
radius: range,
color: "rgba(100,0,200,0.04)",
time: simulation.drawTime
});
}
for (let i = 0, len = body.length; i < len; ++i) {
const SUB = Vector.sub(body[i].position, m.pos)
const DISTANCE = Vector.magnitude(SUB)