This commit is contained in:
landgreen
2022-07-02 18:14:51 -07:00
parent 59085ef2af
commit fc12f85f17
2 changed files with 25 additions and 25 deletions

View File

@@ -2390,7 +2390,7 @@ const b = {
tech.laserCrit && !best.who.shield &&
Vector.dot(Vector.normalise(Vector.sub(best.who.position, path[path.length - 1])), Vector.normalise(Vector.sub(path[path.length - 1], path[path.length - 2]))) > 0.99 - 0.6 / best.who.radius
) {
damage *= 2
damage *= 1 + tech.laserCrit
simulation.drawList.push({ //add dmg to draw queue
x: path[path.length - 1].x,
y: path[path.length - 1].y,