local bobsUpdates = {} local FORCE_OLD_PROJECTILES = settings.startup["rampant-forceOldProjectiles"].value local biterUtils = require("BiterUtils") function bobsUpdates.useDumbProjectiles() local turrets = data.raw["turret"]; turrets["bob-big-explosive-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 60, range = 26, min_range = 3, turn_range = 1, fire_penalty = 0, type = "stream", scale = 1.2 }, "bob-explosive-ball-stream-rampant") turrets["bob-big-fire-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 60, range = 26, min_range = 3, turn_range = 1, fire_penalty = 0, type = "stream", scale = 1.2 }, "bob-fire-ball-stream-rampant") turrets["bob-big-poison-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 60, range = 26, min_range = 3, turn_range = 1, fire_penalty = 0, type = "stream", scale = 1.2 }, "bob-poison-ball-stream-rampant") turrets["bob-big-piercing-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 60, range = 26, min_range = 3, turn_range = 1, fire_penalty = 0, type = "stream", scale = 1.2 }, "bob-piercing-ball-stream-rampant") turrets["bob-big-electric-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 60, range = 26, min_range = 3, turn_range = 1, fire_penalty = 0, type = "stream", scale = 1.2 }, "bob-electric-ball-stream-rampant") turrets["bob-giant-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 60, range = 28, min_range = 3, turn_range = 1, fire_penalty = 0, type = "stream", scale = 1.6 }, "acid-ball-5-stream-rampant") turrets["bob-behemoth-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 60, range = 30, min_range = 3, turn_range = 1, fire_penalty = 0, type = "stream", scale = 2 }, "acid-ball-6-stream-rampant") local units = data.raw["unit"] local unit = units["behemoth-spitter"] unit["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 90, range = 16, min_range = 3, turn_range = 1, warmup = 30, type = "stream", fire_penalty = 15, scale = biterUtils.findRunScale(unit) }, "acid-ball-3-stream-rampant", spitterattackanimation(biterUtils.findRunScale(unit), biterUtils.findTint(unit))) unit = units["bob-big-electric-spitter"] unit["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 90, range = 15, min_range = 3, turn_range = 1, damageModifier = 0.6, type = "stream", warmup = 30, fire_penalty = 0, scale = biterUtils.findRunScale(unit) }, "bob-electric-ball-stream-rampant", spitterattackanimation(biterUtils.findRunScale(unit), biterUtils.findTint(unit))) unit = units["bob-huge-explosive-spitter"] unit["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 90, range = 16, min_range = 3, type = "stream", warmup = 30, turn_range = 1, damageModifier = 0.8, fire_penalty = 15, scale = biterUtils.findRunScale(unit) }, "bob-explosive-ball-stream-rampant", spitterattackanimation(biterUtils.findRunScale(unit), biterUtils.findTint(unit))) unit = units["bob-huge-acid-spitter"] unit["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 90, range = 16, min_range = 3, type = "stream", turn_range = 1, warmup = 30, fire_penalty = 15, scale = biterUtils.findRunScale(unit) }, "wide-acid-ball-stream-rampant", spitterattackanimation(biterUtils.findRunScale(unit), biterUtils.findTint(unit))) unit = units["bob-giant-fire-spitter"] unit["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 90, range = 16, type = "stream", min_range = 3, turn_range = 1, warmup = 30, fire_penalty = 15, scale = biterUtils.findRunScale(unit) }, "bob-fire-ball-stream-rampant", spitterattackanimation(biterUtils.findRunScale(unit), biterUtils.findTint(unit))) unit = units["bob-giant-poison-spitter"] unit["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 90, range = 16, type = "stream", min_range = 3, turn_range = 1, warmup = 30, fire_penalty = 15, scale = biterUtils.findRunScale(unit) }, "bob-poison-ball-stream-rampant", spitterattackanimation(biterUtils.findRunScale(unit), biterUtils.findTint(unit))) unit = units["bob-titan-spitter"] unit["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 90, range = 16, type = "stream", min_range = 3, turn_range = 1, warmup = 30, fire_penalty = 15, scale = biterUtils.findRunScale(unit) }, "bob-titan-ball-stream-rampant", spitterattackanimation(biterUtils.findRunScale(unit), biterUtils.findTint(unit))) unit = units["bob-behemoth-spitter"] unit["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 90, range = 16, type = "stream", min_range = 3, turn_range = 1, warmup = 30, fire_penalty = 15, scale = biterUtils.findRunScale(unit) }, "bob-behemoth-ball-stream-rampant", spitterattackanimation(biterUtils.findRunScale(unit), biterUtils.findTint(unit))) unit = units["bob-leviathan-spitter"] unit["attack_parameters"] = biterUtils.createRangedAttack( { cooldown = 90, type = "stream", range = 17, min_range = 3, warmup = 30, turn_range = 1, fire_penalty = 15, scale = biterUtils.findRunScale(unit) }, "bob-leviathan-ball-stream-rampant", spitterattackanimation(biterUtils.findRunScale(unit), biterUtils.findTint(unit))) end return bobsUpdates