From e905165e79044697219da7e7e126f3fcd75dc04d Mon Sep 17 00:00:00 2001 From: lilgreenland Date: Tue, 7 Jan 2020 15:15:55 -0800 Subject: [PATCH] mine balance --- js/bullets.js | 2 +- js/level.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/bullets.js b/js/bullets.js index f3e9d79..0272373 100644 --- a/js/bullets.js +++ b/js/bullets.js @@ -1646,7 +1646,7 @@ const b = { bullet[me] = Bodies.rectangle(pos.x, pos.y, 25 * b.modBulletSize, 2 * b.modBulletSize, b.fireAttributes(Math.atan2(velocity.y, velocity.x))); Matter.Body.setVelocity(bullet[me], velocity); World.add(engine.world, bullet[me]); //add bullet to world - bullet[me].endCycle = game.cycle + 60 + 15 * Math.random(); + bullet[me].endCycle = game.cycle + 60 + 18 * Math.random(); bullet[me].dmg = 0.8 bullet[me].do = function () {}; } diff --git a/js/level.js b/js/level.js index 54dc40a..e6d7a80 100644 --- a/js/level.js +++ b/js/level.js @@ -14,7 +14,7 @@ const level = { start() { if (level.levelsCleared === 0) { // game.difficulty = 6; //for testing to simulate possible mobs spawns - // b.giveGuns(10) + b.giveGuns(10) // mech.setField(3) // b.giveMod(16);