ice IX energy
laser bots now use the same laser code as the player mod: thermoelectric effect - ice IX bullets give you 7% energy after they collides with mobs
This commit is contained in:
@@ -152,8 +152,7 @@ const powerUps = {
|
||||
//give ammo to all guns in inventory
|
||||
if (mod.isAmmoForGun) {
|
||||
const target = b.guns[b.activeGun]
|
||||
target.ammo += Math.ceil(Math.random() * target.ammoPack)
|
||||
target.ammo += Math.ceil(Math.random() * target.ammoPack)
|
||||
target.ammo += Math.ceil(Math.random() * target.ammoPack) + Math.ceil(Math.random() * target.ammoPack)
|
||||
} else {
|
||||
for (let i = 0, len = b.inventory.length; i < len; i++) {
|
||||
const target = b.guns[b.inventory[i]]
|
||||
|
||||
Reference in New Issue
Block a user