1
0
mirror of https://github.com/veden/Rampant.git synced 2025-02-03 13:11:54 +02:00
Rampant/prototypes/enemies/fireSpitters.lua

80 lines
2.4 KiB
Lua
Raw Normal View History

2016-08-21 14:48:55 -07:00
local utils = require("BiterFunctions")
local createFireAttack = utils.createFireAttack
local makeSpitter = utils.makeSpitter
2016-08-21 14:48:55 -07:00
data:extend({
2017-03-25 15:53:43 -07:00
makeSpitter({name = "small-fire-spitter",
health = 30,
movement = 0.2,
distancePerFrame = 0.1,
healing = 0.01,
scale = 0.5,
tint1 = {r=0.6, g=0.0, b=0.70, a=0.8},
tint2 = {r=0.7, g=0.0, b=0.72, a=0.4},
explosion = "blood-explosion-small"},
createFireAttack({ scale = 0.5,
tint1 = {r=0.6, g=0.0, b=0.70, a=0.8},
tint2 = {r=0.7, g=0.0, b=0.72, a=0.4},
range = 10,
minRange = 1,
cooldown = 20,
turnRange = 1.0/3.0,
firePenalty = 15})),
makeSpitter({name = "medium-fire-spitter",
health = 30,
movement = 0.18,
distancePerFrame = 0.07,
healing = 0.01,
scale = 0.5,
tint1 = {r=0.6, g=0.0, b=0.70, a=0.8},
tint2 = {r=0.7, g=0.0, b=0.72, a=0.4},
explosion = "blood-explosion-small"},
createFireAttack({ scale = 0.5,
tint1 = {r=0.6, g=0.0, b=0.70, a=0.8},
tint2 = {r=0.7, g=0.0, b=0.72, a=0.4},
range = 10,
minRange = 1,
turnRange = 1.0/3.0,
cooldown = 17,
firePenalty = 15})),
makeSpitter({name = "big-fire-spitter",
health = 250,
movement = 0.16,
distancePerFrame = 0.07,
healing = 0.01,
scale = 0.5,
tint1 = {r=0.6, g=0.0, b=0.70, a=0.8},
tint2 = {r=0.7, g=0.0, b=0.72, a=0.4},
explosion = "blood-explosion-small"},
createFireAttack({ scale = 0.5,
tint1 = {r=0.6, g=0.0, b=0.70, a=0.8},
tint2 = {r=0.7, g=0.0, b=0.72, a=0.4},
range = 10,
minRange = 1,
cooldown = 15,
turnRange = 1.0/3.0,
firePenalty = 15})),
makeSpitter({name = "behemoth-fire-spitter",
health = 2200,
movement = 0.18,
distancePerFrame = 0.07,
healing = 0.01,
scale = 0.5,
tint1 = {r=0.6, g=0.0, b=0.70, a=0.8},
tint2 = {r=0.7, g=0.0, b=0.72, a=0.4},
explosion = "blood-explosion-small"},
createFireAttack({ scale = 0.5,
tint1 = {r=0.6, g=0.0, b=0.70, a=0.8},
tint2 = {r=0.7, g=0.0, b=0.72, a=0.4},
range = 10,
minRange = 1,
cooldown = 10,
turnRange = 1.0/3.0,
firePenalty = 15}))
})