Increase AI min shot power
This commit is contained in:
1 parent
29adbf5190
commit
2e4b1c17b2
1 file changed
+2
-2
@@ -7,7 +7,7 @@ export const AI_TYPES = {
|
|||||||
decide(player) {
|
decide(player) {
|
||||||
return {
|
return {
|
||||||
a: randomInt(0, 180),
|
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,
|
currentWeapon: player.currentWeapon,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -17,7 +17,7 @@ export const AI_TYPES = {
|
|||||||
decide(player) {
|
decide(player) {
|
||||||
return {
|
return {
|
||||||
a: randomInt(0, 180),
|
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),
|
currentWeapon: randomInt(0, player.weapons.length-1),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user