Increase AI min shot power

This commit is contained in:
zenoamaro committed 2019-07-03 01:33:35 +02:00
1 parent 29adbf5190
commit 2e4b1c17b2
1 file changed
+2 -2
+2 -2
View File
@@ -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),
};
},