diff --git a/src/ai.js b/src/ai.js index 0d8f08b..45eda14 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(PLAYER_INITIAL_POWER, PLAYER_MAX_ENERGY*PLAYER_ENERGY_POWER_MULTIPLIER), + p: randomInt(100, 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(PLAYER_INITIAL_POWER, PLAYER_MAX_ENERGY*PLAYER_ENERGY_POWER_MULTIPLIER), + p: randomInt(100, PLAYER_MAX_ENERGY*PLAYER_ENERGY_POWER_MULTIPLIER), currentWeapon: randomInt(0, player.weapons.length-1), }; },