mine balance

This commit is contained in:
lilgreenland
2020-01-07 15:15:55 -08:00
parent a8b8fc96c5
commit e905165e79
2 changed files with 2 additions and 2 deletions

View File

@@ -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 () {};
}