wave beam rework

community level crossfire has been nerfed a bit

**wave beam rework**

removed tech: wave packet (this is now the default mode of wave beam)
tech: imaginary number - 50% more damage, but the wave is a single strand

tech: bound state - wave bullets reflect backwards 2 times
  now stacks 9 times and works with phase velocity

tech: jabbering - wave beam fires another packet if you hold fire
  also increases wave damage by 25%
This commit is contained in:
landgreen
2021-05-01 15:44:05 -07:00
parent bfa1fe808c
commit 63832cd137
6 changed files with 218 additions and 142 deletions

View File

@@ -1010,7 +1010,7 @@ const simulation = {
ctx.beginPath();
for (let i = 0, len = cons.length; i < len; ++i) {
ctx.moveTo(cons[i].pointA.x, cons[i].pointA.y);
ctx.lineTo(cons[i].bodyB.position.x, cons[i].bodyB.position.y);
// ctx.lineTo(cons[i].bodyB.position.x, cons[i].bodyB.position.y);
ctx.lineTo(cons[i].bodyB.position.x + cons[i].pointB.x, cons[i].bodyB.position.y + cons[i].pointB.y);
}
for (let i = 0, len = consBB.length; i < len; ++i) {