late game bot mods

balance: perimeter defense - 3% harm reduction for each bot (was 5%)

mod: network effect - 2% damage for each bot
mod: commodities exchange - canceling a power up gives 6 rerolls, ammo, or heals
This commit is contained in:
landgreen
2020-11-29 18:42:47 -08:00
parent 5782d82b8d
commit 05e7799417
6 changed files with 72 additions and 37 deletions

View File

@@ -1052,7 +1052,7 @@ const mobs = {
if (mod.isExplodeMob) b.explosion(this.position, Math.min(550, Math.sqrt(this.mass + 2.5) * 50))
if (mod.nailsDeathMob) b.targetedNail(this.position, mod.nailsDeathMob, 40 + 7 * Math.random())
} else if (mod.isShieldAmmo && this.shield) {
let type = "ammo"
let type = mod.isEnergyNoAmmo ? "heal" : "ammo"
if (Math.random() < 0.4) {
type = "heal"
} else if (Math.random() < 0.3 && !mod.isSuperDeterminism) {