diff --git a/js/bullet.js b/js/bullet.js index b6eb1df..535b65f 100644 --- a/js/bullet.js +++ b/js/bullet.js @@ -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, diff --git a/js/tech.js b/js/tech.js index f066287..210e444 100644 --- a/js/tech.js +++ b/js/tech.js @@ -6177,7 +6177,7 @@ const tech = { { name: "iridescence", // description: "if a laser hits a mob at a low angle of illumination
+66% laser damage", - description: "if mobs are struck near their center
+66% laser damage", + description: "if mobs are struck near their center
+88% laser damage", isGunTech: true, maxCount: 3, count: 0, @@ -6188,17 +6188,17 @@ const tech = { }, requires: "laser, not pulse", effect() { - tech.laserCrit = true; + tech.laserCrit += 0.88; }, remove() { - tech.laserCrit = false; + tech.laserCrit = 0; } }, { name: "lens", - description: "if directed through a revolving π / 4 circular arc
+150% laser gun damage", + description: "if directed through a revolving +π / 4 circular arc
+150% laser gun damage", isGunTech: true, - maxCount: 1, + maxCount: 3, count: 0, frequency: 2, frequencyDefault: 2, @@ -6208,32 +6208,32 @@ const tech = { requires: "laser", effect() { tech.isLaserLens = true + b.guns[11].arcRange += 0.78 b.guns[11].chooseFireMethod() }, remove() { tech.isLaserLens = false + b.guns[11].arcRange = 0 b.guns[11].chooseFireMethod() } }, - { - name: "arc length", - description: "increase the circular arc of your laser lens
by +π / 4", - isGunTech: true, - maxCount: 3, - count: 0, - frequency: 2, - frequencyDefault: 2, - allowed() { - return tech.isLaserLens && tech.haveGunCheck("laser") - }, - requires: "laser gun, lens", - effect() { - b.guns[11].arcRange += 0.78 - }, - remove() { - b.guns[11].arcRange = 0.78 - } - }, + // { + // name: "arc length", + // description: "increase the circular arc of your laser lens
by +π / 4", + // isGunTech: true, + // maxCount: 3, + // count: 0, + // frequency: 2, + // frequencyDefault: 2, + // allowed() { + // return tech.isLaserLens && tech.haveGunCheck("laser") + // }, + // requires: "laser gun, lens", + // effect() { + // }, + // remove() { + // } + // }, { name: "specular reflection", description: "+2 laser beam reflections",