From 2e4b1c17b28ae287a95db9f65c3d973d9f65ceb7 Mon Sep 17 00:00:00 2001 From: zenoamaro Date: Wed, 3 Jul 2019 01:33:35 +0200 Subject: [PATCH] Increase AI min shot power --- src/ai.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ai.js b/src/ai.js index 45eda14..78091f9 100644 --- a/src/ai.js +++ b/src/ai.js @@ -7,7 +7,7 @@ export const AI_TYPES = { decide(player) { return { a: randomInt(0, 180), - p: randomInt(100, PLAYER_MAX_ENERGY*PLAYER_ENERGY_POWER_MULTIPLIER), + p: randomInt(225, PLAYER_MAX_ENERGY*PLAYER_ENERGY_POWER_MULTIPLIER), currentWeapon: player.currentWeapon, }; }, @@ -17,7 +17,7 @@ export const AI_TYPES = { decide(player) { return { a: randomInt(0, 180), - p: randomInt(100, PLAYER_MAX_ENERGY*PLAYER_ENERGY_POWER_MULTIPLIER), + p: randomInt(225, PLAYER_MAX_ENERGY*PLAYER_ENERGY_POWER_MULTIPLIER), currentWeapon: randomInt(0, player.weapons.length-1), }; },