Minimum AI shooting power

This commit is contained in:
zenoamaro committed 2019-06-30 19:54:58 +02:00
1 parent 4719080ba7
commit fdbe482ff7
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(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),
};
},