random level boss polish

This commit is contained in:
landgreen
2020-02-04 04:03:24 -08:00
parent 63e9e879a5
commit f359cce427
3 changed files with 12 additions and 14 deletions

View File

@@ -480,7 +480,7 @@ const b = {
},
{
name: "brushless motors",
description: "your <strong>drones</strong> accelerate 40% <strong>faster</strong>",
description: "your <strong>drones</strong> accelerate 33% <strong>faster</strong>",
maxCount: 1,
count: 0,
allowed() {
@@ -961,7 +961,7 @@ const b = {
},
drone(speed = 1) {
const me = bullet.length;
const THRUST = b.isModFastDrones ? 0.0023 : 0.0015
const THRUST = b.isModFastDrones ? 0.002 : 0.0015
const dir = mech.angle + 0.2 * (Math.random() - 0.5);
const RADIUS = (4.5 + 3 * Math.random()) * b.modBulletSize
bullet[me] = Bodies.polygon(mech.pos.x + 30 * Math.cos(mech.angle), mech.pos.y + 30 * Math.sin(mech.angle), 8, RADIUS, {