mirror of
https://github.com/veden/Rampant.git
synced 2025-02-03 13:11:54 +02:00
see changelog
This commit is contained in:
parent
71bb456ad3
commit
cec40f2dfb
@ -1,3 +1,9 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.17.3
|
||||
Date: 2. 28. 2019
|
||||
Bugfixes:
|
||||
- Fixed NE enemies version numbering change
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.17.2
|
||||
Date: 2. 27. 2019
|
||||
@ -18,6 +24,7 @@ Date: 2. 26. 2019
|
||||
Tweaks:
|
||||
- Updated to 0.17
|
||||
- Synced worm vanilla to worm template
|
||||
- Synced spawner vanilla to spawner template
|
||||
- Changed ground shakes warning message to off by default
|
||||
- For now, acid-splash-purple replaced explosion
|
||||
Bugfixes:
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"name" : "Rampant",
|
||||
"factorio_version" : "0.17",
|
||||
"version" : "0.17.2",
|
||||
"version" : "0.17.3",
|
||||
"title" : "Rampant",
|
||||
"author" : "Veden",
|
||||
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
||||
"description" : "Improves the enemies tactics by using potential fields/pheromones allowing probing of defenses, retreats, reinforcements, counterattacking, breaching, raids, rallying death cry, and player hunting. Uses nonhoming blockable biter projectiles. Adds new Enemies (disabled by default). Can completely replace the vanilla AI. Difficulty setting in mod options menu.",
|
||||
"dependencies" : ["base >= 0.17.0", "? bobenemies", "? Natural_Evolution_Enemies >= 9.0.3", "? Clockwork", "? Orbital Ion Cannon", "? RampantArsenal"]
|
||||
"dependencies" : ["base >= 0.17.0", "? bobenemies", "? Natural_Evolution_Enemies >= 0.17.0", "? Clockwork", "? Orbital Ion Cannon", "? RampantArsenal"]
|
||||
}
|
||||
|
@ -15,233 +15,233 @@ function attacks.addAttacks()
|
||||
|
||||
local multipler = (FORCE_OLD_PROJECTILES and 1) or 2.7
|
||||
|
||||
createAttackBall(
|
||||
{
|
||||
name = "ne-infected-unit-ball",
|
||||
pTint = {r=0, g=0.97, b=0.34, a=0.5},
|
||||
sTint = {r=0, g=0.1, b=1, a=1},
|
||||
softSmokeName = softSmoke,
|
||||
type = "projectile",
|
||||
pointEffects = function (attributes)
|
||||
return {
|
||||
{
|
||||
type = "create-entity",
|
||||
entity_name = "unit-cluster",
|
||||
trigger_created_entity = "true"
|
||||
},
|
||||
{
|
||||
type = "create-sticker",
|
||||
sticker = "slowdown-sticker",
|
||||
},
|
||||
{
|
||||
type = "create-entity",
|
||||
entity_name = "Infected-Poison-Cloud"
|
||||
},
|
||||
{
|
||||
type = "damage",
|
||||
damage = {amount = 10 * multipler, type = "explosion"}
|
||||
},
|
||||
{
|
||||
type = "damage",
|
||||
damage = {amount = 24 * multipler, type = "poison"}
|
||||
}
|
||||
}
|
||||
end,
|
||||
radius = 1,
|
||||
areaEffects = function (attributes)
|
||||
return
|
||||
{
|
||||
{
|
||||
type = "damage",
|
||||
damage = { amount = 0, type = "explosion" }
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
)
|
||||
-- createAttackBall(
|
||||
-- {
|
||||
-- name = "ne-infected-unit-ball",
|
||||
-- pTint = {r=0, g=0.97, b=0.34, a=0.5},
|
||||
-- sTint = {r=0, g=0.1, b=1, a=1},
|
||||
-- softSmokeName = softSmoke,
|
||||
-- type = "projectile",
|
||||
-- pointEffects = function (attributes)
|
||||
-- return {
|
||||
-- {
|
||||
-- type = "create-entity",
|
||||
-- entity_name = "unit-cluster",
|
||||
-- trigger_created_entity = "true"
|
||||
-- },
|
||||
-- {
|
||||
-- type = "create-sticker",
|
||||
-- sticker = "slowdown-sticker",
|
||||
-- },
|
||||
-- {
|
||||
-- type = "create-entity",
|
||||
-- entity_name = "Infected-Poison-Cloud"
|
||||
-- },
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = {amount = 10 * multipler, type = "explosion"}
|
||||
-- },
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = {amount = 24 * multipler, type = "poison"}
|
||||
-- }
|
||||
-- }
|
||||
-- end,
|
||||
-- radius = 1,
|
||||
-- areaEffects = function (attributes)
|
||||
-- return
|
||||
-- {
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = { amount = 0, type = "explosion" }
|
||||
-- }
|
||||
-- }
|
||||
-- end
|
||||
-- }
|
||||
-- )
|
||||
|
||||
--
|
||||
|
||||
createAttackBall(
|
||||
{
|
||||
name = "ne-mutated-unit-ball",
|
||||
pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||
sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||
softSmokeName = softSmoke,
|
||||
type = "projectile",
|
||||
pointEffects = function (attributes)
|
||||
return {
|
||||
{
|
||||
type = "create-entity",
|
||||
entity_name = "unit-cluster",
|
||||
trigger_created_entity = "true"
|
||||
},
|
||||
{
|
||||
type = "create-sticker",
|
||||
sticker = "slowdown-sticker",
|
||||
},
|
||||
{
|
||||
type = "create-entity",
|
||||
--FIXME
|
||||
entity_name = "explosion"
|
||||
}
|
||||
}
|
||||
end,
|
||||
radius = 2,
|
||||
areaEffects = function (attributes)
|
||||
return
|
||||
{
|
||||
{
|
||||
type = "damage",
|
||||
damage = { amount = 8 * multipler, type = "explosion" }
|
||||
},
|
||||
{
|
||||
type = "damage",
|
||||
damage = { amount = 18 * multipler, type = "acid" }
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
)
|
||||
-- createAttackBall(
|
||||
-- {
|
||||
-- name = "ne-mutated-unit-ball",
|
||||
-- pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||
-- sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||
-- softSmokeName = softSmoke,
|
||||
-- type = "projectile",
|
||||
-- pointEffects = function (attributes)
|
||||
-- return {
|
||||
-- {
|
||||
-- type = "create-entity",
|
||||
-- entity_name = "unit-cluster",
|
||||
-- trigger_created_entity = "true"
|
||||
-- },
|
||||
-- {
|
||||
-- type = "create-sticker",
|
||||
-- sticker = "slowdown-sticker",
|
||||
-- },
|
||||
-- {
|
||||
-- type = "create-entity",
|
||||
-- --FIXME
|
||||
-- entity_name = "explosion"
|
||||
-- }
|
||||
-- }
|
||||
-- end,
|
||||
-- radius = 2,
|
||||
-- areaEffects = function (attributes)
|
||||
-- return
|
||||
-- {
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = { amount = 8 * multipler, type = "explosion" }
|
||||
-- },
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = { amount = 18 * multipler, type = "acid" }
|
||||
-- }
|
||||
-- }
|
||||
-- end
|
||||
-- }
|
||||
-- )
|
||||
|
||||
--
|
||||
|
||||
createAttackBall(
|
||||
{
|
||||
name = "ne-infected-ball",
|
||||
pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||
sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||
softSmokeName = softSmoke,
|
||||
type = "projectile",
|
||||
pointEffects = function (attributes)
|
||||
return {
|
||||
{
|
||||
type = "create-entity",
|
||||
entity_name = "Infected-Poison-Cloud"
|
||||
}
|
||||
}
|
||||
end,
|
||||
radius = 1.5,
|
||||
areaEffects = function (attributes)
|
||||
return
|
||||
{
|
||||
{
|
||||
type = "damage",
|
||||
damage = { amount = 5 * multipler, type = "explosion" }
|
||||
},
|
||||
{
|
||||
type = "damage",
|
||||
damage = { amount = 12 * multipler, type = "poison" }
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
)
|
||||
-- createAttackBall(
|
||||
-- {
|
||||
-- name = "ne-infected-ball",
|
||||
-- pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||
-- sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||
-- softSmokeName = softSmoke,
|
||||
-- type = "projectile",
|
||||
-- pointEffects = function (attributes)
|
||||
-- return {
|
||||
-- {
|
||||
-- type = "create-entity",
|
||||
-- entity_name = "Infected-Poison-Cloud"
|
||||
-- }
|
||||
-- }
|
||||
-- end,
|
||||
-- radius = 1.5,
|
||||
-- areaEffects = function (attributes)
|
||||
-- return
|
||||
-- {
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = { amount = 5 * multipler, type = "explosion" }
|
||||
-- },
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = { amount = 12 * multipler, type = "poison" }
|
||||
-- }
|
||||
-- }
|
||||
-- end
|
||||
-- }
|
||||
-- )
|
||||
|
||||
if not FORCE_OLD_PROJECTILES then
|
||||
createAttackBall(
|
||||
{
|
||||
name = "ne-infected-ball-direction",
|
||||
pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||
sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||
softSmokeName = softSmoke,
|
||||
directionOnly = true,
|
||||
type = "projectile",
|
||||
pointEffects = function (attributes)
|
||||
return {
|
||||
{
|
||||
type = "create-entity",
|
||||
entity_name = "Infected-Poison-Cloud"
|
||||
}
|
||||
}
|
||||
end,
|
||||
radius = 1.5,
|
||||
areaEffects = function (attributes)
|
||||
return
|
||||
{
|
||||
{
|
||||
type = "damage",
|
||||
damage = { amount = 5 * multipler, type = "explosion" }
|
||||
},
|
||||
{
|
||||
type = "damage",
|
||||
damage = { amount = 12 * multipler, type = "poison" }
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
)
|
||||
-- createAttackBall(
|
||||
-- {
|
||||
-- name = "ne-infected-ball-direction",
|
||||
-- pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||
-- sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||
-- softSmokeName = softSmoke,
|
||||
-- directionOnly = true,
|
||||
-- type = "projectile",
|
||||
-- pointEffects = function (attributes)
|
||||
-- return {
|
||||
-- {
|
||||
-- type = "create-entity",
|
||||
-- entity_name = "Infected-Poison-Cloud"
|
||||
-- }
|
||||
-- }
|
||||
-- end,
|
||||
-- radius = 1.5,
|
||||
-- areaEffects = function (attributes)
|
||||
-- return
|
||||
-- {
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = { amount = 5 * multipler, type = "explosion" }
|
||||
-- },
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = { amount = 12 * multipler, type = "poison" }
|
||||
-- }
|
||||
-- }
|
||||
-- end
|
||||
-- }
|
||||
-- )
|
||||
end
|
||||
|
||||
--
|
||||
|
||||
createAttackBall(
|
||||
{
|
||||
name = "ne-mutated-ball",
|
||||
pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||
sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||
softSmokeName = softSmoke,
|
||||
type = "projectile",
|
||||
pointEffects = function (attributes)
|
||||
return {
|
||||
{
|
||||
--FIXME
|
||||
type = "create-entity",
|
||||
entity_name = "explosion"
|
||||
}
|
||||
}
|
||||
end,
|
||||
radius = 1.5,
|
||||
areaEffects = function (attributes)
|
||||
return
|
||||
{
|
||||
{
|
||||
type = "damage",
|
||||
damage = { amount = 5 * multipler, type = "explosion" }
|
||||
},
|
||||
{
|
||||
type = "damage",
|
||||
damage = { amount = 12 * multipler, type = "acid" }
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
)
|
||||
-- createAttackBall(
|
||||
-- {
|
||||
-- name = "ne-mutated-ball",
|
||||
-- pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||
-- sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||
-- softSmokeName = softSmoke,
|
||||
-- type = "projectile",
|
||||
-- pointEffects = function (attributes)
|
||||
-- return {
|
||||
-- {
|
||||
-- --FIXME
|
||||
-- type = "create-entity",
|
||||
-- entity_name = "explosion"
|
||||
-- }
|
||||
-- }
|
||||
-- end,
|
||||
-- radius = 1.5,
|
||||
-- areaEffects = function (attributes)
|
||||
-- return
|
||||
-- {
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = { amount = 5 * multipler, type = "explosion" }
|
||||
-- },
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = { amount = 12 * multipler, type = "acid" }
|
||||
-- }
|
||||
-- }
|
||||
-- end
|
||||
-- }
|
||||
-- )
|
||||
|
||||
if not FORCE_OLD_PROJECTILES then
|
||||
createAttackBall(
|
||||
{
|
||||
name = "ne-mutated-ball-direction",
|
||||
pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||
sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||
softSmokeName = softSmoke,
|
||||
directionOnly = true,
|
||||
type = "projectile",
|
||||
pointEffects = function (attributes)
|
||||
return {
|
||||
{
|
||||
--FIXME
|
||||
type = "create-entity",
|
||||
entity_name = "explosion"
|
||||
}
|
||||
}
|
||||
end,
|
||||
radius = 1.5,
|
||||
areaEffects = function (attributes)
|
||||
return
|
||||
{
|
||||
{
|
||||
type = "damage",
|
||||
damage = { amount = 5 * multipler, type = "explosion" }
|
||||
},
|
||||
{
|
||||
type = "damage",
|
||||
damage = { amount = 12 * multipler, type = "acid" }
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
)
|
||||
-- createAttackBall(
|
||||
-- {
|
||||
-- name = "ne-mutated-ball-direction",
|
||||
-- pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||
-- sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||
-- softSmokeName = softSmoke,
|
||||
-- directionOnly = true,
|
||||
-- type = "projectile",
|
||||
-- pointEffects = function (attributes)
|
||||
-- return {
|
||||
-- {
|
||||
-- --FIXME
|
||||
-- type = "create-entity",
|
||||
-- entity_name = "explosion"
|
||||
-- }
|
||||
-- }
|
||||
-- end,
|
||||
-- radius = 1.5,
|
||||
-- areaEffects = function (attributes)
|
||||
-- return
|
||||
-- {
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = { amount = 5 * multipler, type = "explosion" }
|
||||
-- },
|
||||
-- {
|
||||
-- type = "damage",
|
||||
-- damage = { amount = 12 * multipler, type = "acid" }
|
||||
-- }
|
||||
-- }
|
||||
-- end
|
||||
-- }
|
||||
-- )
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -9,31 +9,31 @@ function NEUpdates.useNEUnitLaunchers ()
|
||||
|
||||
local attackType = (FORCE_OLD_PROJECTILES and "stream") or "projectile"
|
||||
|
||||
turrets["medium-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
{
|
||||
cooldown = 60,
|
||||
range = 25,
|
||||
type = "projectile",
|
||||
min_range = 3,
|
||||
turn_range = 1,
|
||||
fire_penalty = 0,
|
||||
damageModifier = 2.5,
|
||||
scale = 1.2
|
||||
},
|
||||
"ne-infected-unit-ball-" .. attackType .. "-rampant")
|
||||
-- turrets["medium-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
-- {
|
||||
-- cooldown = 60,
|
||||
-- range = 25,
|
||||
-- type = "projectile",
|
||||
-- min_range = 3,
|
||||
-- turn_range = 1,
|
||||
-- fire_penalty = 0,
|
||||
-- damageModifier = 2.5,
|
||||
-- scale = 1.2
|
||||
-- },
|
||||
-- "ne-infected-unit-ball-" .. attackType .. "-rampant")
|
||||
|
||||
turrets["big-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
{
|
||||
cooldown = 60,
|
||||
range = 30,
|
||||
min_range = 3,
|
||||
type = "projectile",
|
||||
turn_range = 1,
|
||||
fire_penalty = 0,
|
||||
damageModifier = 3,
|
||||
scale = 1.6
|
||||
},
|
||||
"ne-mutated-unit-ball-" .. attackType .. "-rampant")
|
||||
-- turrets["big-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
-- {
|
||||
-- cooldown = 60,
|
||||
-- range = 30,
|
||||
-- min_range = 3,
|
||||
-- type = "projectile",
|
||||
-- turn_range = 1,
|
||||
-- fire_penalty = 0,
|
||||
-- damageModifier = 3,
|
||||
-- scale = 1.6
|
||||
-- },
|
||||
-- "ne-mutated-unit-ball-" .. attackType .. "-rampant")
|
||||
end
|
||||
|
||||
function NEUpdates.useDumbProjectiles()
|
||||
@ -42,150 +42,150 @@ function NEUpdates.useDumbProjectiles()
|
||||
local attackType = (FORCE_OLD_PROJECTILES and "stream") or "projectile"
|
||||
local unitPrefix = (FORCE_OLD_PROJECTILES and "") or "direction-"
|
||||
|
||||
local turret = turrets["small-worm-turret"]
|
||||
turret["attack_parameters"].range = 19
|
||||
-- local turret = turrets["small-worm-turret"]
|
||||
-- turret["attack_parameters"].range = 19
|
||||
|
||||
turret = turrets["medium-worm-turret"]
|
||||
turret["attack_parameters"].range = 22
|
||||
turret["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
{
|
||||
cooldown = 60,
|
||||
range = 25,
|
||||
min_range = 3,
|
||||
type = "projectile",
|
||||
turn_range = 1,
|
||||
fire_penalty = 0,
|
||||
damageModifier = 4.5,
|
||||
scale = 1.2
|
||||
},
|
||||
"ne-infected-ball-" .. attackType .. "-rampant")
|
||||
-- turret = turrets["medium-worm-turret"]
|
||||
-- turret["attack_parameters"].range = 22
|
||||
-- turret["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
-- {
|
||||
-- cooldown = 60,
|
||||
-- range = 25,
|
||||
-- min_range = 3,
|
||||
-- type = "projectile",
|
||||
-- turn_range = 1,
|
||||
-- fire_penalty = 0,
|
||||
-- damageModifier = 4.5,
|
||||
-- scale = 1.2
|
||||
-- },
|
||||
-- "ne-infected-ball-" .. attackType .. "-rampant")
|
||||
|
||||
turret = turrets["big-worm-turret"]
|
||||
turret["attack_parameters"].range = 27
|
||||
turret["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
{
|
||||
cooldown = 60,
|
||||
range = 30,
|
||||
min_range = 3,
|
||||
turn_range = 1,
|
||||
type = "projectile",
|
||||
fire_penalty = 0,
|
||||
damageModifier = 5.5,
|
||||
scale = 1.6
|
||||
},
|
||||
"ne-mutated-ball-" .. attackType .. "-rampant")
|
||||
-- turret = turrets["big-worm-turret"]
|
||||
-- turret["attack_parameters"].range = 27
|
||||
-- turret["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
-- {
|
||||
-- cooldown = 60,
|
||||
-- range = 30,
|
||||
-- min_range = 3,
|
||||
-- turn_range = 1,
|
||||
-- type = "projectile",
|
||||
-- fire_penalty = 0,
|
||||
-- damageModifier = 5.5,
|
||||
-- scale = 1.6
|
||||
-- },
|
||||
-- "ne-mutated-ball-" .. attackType .. "-rampant")
|
||||
|
||||
local units = data.raw["unit"]
|
||||
|
||||
local unit = units["small-spitter-Mk2"]
|
||||
unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
{
|
||||
cooldown = 100,
|
||||
range = 13,
|
||||
min_range = 3,
|
||||
turn_range = 1,
|
||||
type = "projectile",
|
||||
fire_penalty = 15,
|
||||
warmup = 30,
|
||||
damageModifier = 1.1,
|
||||
scale = biterUtils.findRunScale(unit),
|
||||
tint = biterUtils.findTint(unit)
|
||||
},
|
||||
"ne-infected-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
biterUtils.findTint(unit)))
|
||||
-- local unit = units["small-spitter-Mk2"]
|
||||
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
-- {
|
||||
-- cooldown = 100,
|
||||
-- range = 13,
|
||||
-- min_range = 3,
|
||||
-- turn_range = 1,
|
||||
-- type = "projectile",
|
||||
-- fire_penalty = 15,
|
||||
-- warmup = 30,
|
||||
-- damageModifier = 1.1,
|
||||
-- scale = biterUtils.findRunScale(unit),
|
||||
-- tint = biterUtils.findTint(unit)
|
||||
-- },
|
||||
-- "ne-infected-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
-- spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
-- biterUtils.findTint(unit)))
|
||||
|
||||
unit = units["small-spitter-Mk3"]
|
||||
unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
{
|
||||
cooldown = 100,
|
||||
range = 13,
|
||||
min_range = 3,
|
||||
turn_range = 1,
|
||||
type = "projectile",
|
||||
warmup = 30,
|
||||
fire_penalty = 15,
|
||||
damageModifier = 1.2,
|
||||
scale = biterUtils.findRunScale(unit),
|
||||
tint = biterUtils.findTint(unit)
|
||||
},
|
||||
"ne-mutated-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
biterUtils.findTint(unit)))
|
||||
-- unit = units["small-spitter-Mk3"]
|
||||
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
-- {
|
||||
-- cooldown = 100,
|
||||
-- range = 13,
|
||||
-- min_range = 3,
|
||||
-- turn_range = 1,
|
||||
-- type = "projectile",
|
||||
-- warmup = 30,
|
||||
-- fire_penalty = 15,
|
||||
-- damageModifier = 1.2,
|
||||
-- scale = biterUtils.findRunScale(unit),
|
||||
-- tint = biterUtils.findTint(unit)
|
||||
-- },
|
||||
-- "ne-mutated-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
-- spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
-- biterUtils.findTint(unit)))
|
||||
|
||||
|
||||
unit = units["medium-spitter-Mk2"]
|
||||
unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
{
|
||||
cooldown = 100,
|
||||
range = 14,
|
||||
min_range = 3,
|
||||
type = "projectile",
|
||||
turn_range = 1,
|
||||
warmup = 30,
|
||||
fire_penalty = 15,
|
||||
damageModifier = 2.3,
|
||||
scale = biterUtils.findRunScale(unit),
|
||||
tint = biterUtils.findTint(unit)
|
||||
},
|
||||
"ne-infected-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
biterUtils.findTint(unit)))
|
||||
-- unit = units["medium-spitter-Mk2"]
|
||||
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
-- {
|
||||
-- cooldown = 100,
|
||||
-- range = 14,
|
||||
-- min_range = 3,
|
||||
-- type = "projectile",
|
||||
-- turn_range = 1,
|
||||
-- warmup = 30,
|
||||
-- fire_penalty = 15,
|
||||
-- damageModifier = 2.3,
|
||||
-- scale = biterUtils.findRunScale(unit),
|
||||
-- tint = biterUtils.findTint(unit)
|
||||
-- },
|
||||
-- "ne-infected-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
-- spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
-- biterUtils.findTint(unit)))
|
||||
|
||||
unit = units["medium-spitter-Mk3"]
|
||||
unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
{
|
||||
cooldown = 100,
|
||||
range = 14,
|
||||
min_range = 3,
|
||||
turn_range = 1,
|
||||
type = "projectile",
|
||||
warmup = 30,
|
||||
fire_penalty = 15,
|
||||
damageModifier = 2.6,
|
||||
scale = biterUtils.findRunScale(unit),
|
||||
tint = biterUtils.findTint(unit)
|
||||
},
|
||||
"ne-mutated-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
biterUtils.findTint(unit)))
|
||||
-- unit = units["medium-spitter-Mk3"]
|
||||
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
-- {
|
||||
-- cooldown = 100,
|
||||
-- range = 14,
|
||||
-- min_range = 3,
|
||||
-- turn_range = 1,
|
||||
-- type = "projectile",
|
||||
-- warmup = 30,
|
||||
-- fire_penalty = 15,
|
||||
-- damageModifier = 2.6,
|
||||
-- scale = biterUtils.findRunScale(unit),
|
||||
-- tint = biterUtils.findTint(unit)
|
||||
-- },
|
||||
-- "ne-mutated-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
-- spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
-- biterUtils.findTint(unit)))
|
||||
|
||||
unit = units["big-spitter-Mk2"]
|
||||
unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
{
|
||||
cooldown = 100,
|
||||
range = 15,
|
||||
min_range = 3,
|
||||
type = "projectile",
|
||||
turn_range = 1,
|
||||
warmup = 30,
|
||||
fire_penalty = 15,
|
||||
damageModifier = 3.3,
|
||||
scale = biterUtils.findRunScale(unit),
|
||||
tint = biterUtils.findTint(unit)
|
||||
},
|
||||
"ne-infected-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
biterUtils.findTint(unit)))
|
||||
-- unit = units["big-spitter-Mk2"]
|
||||
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
-- {
|
||||
-- cooldown = 100,
|
||||
-- range = 15,
|
||||
-- min_range = 3,
|
||||
-- type = "projectile",
|
||||
-- turn_range = 1,
|
||||
-- warmup = 30,
|
||||
-- fire_penalty = 15,
|
||||
-- damageModifier = 3.3,
|
||||
-- scale = biterUtils.findRunScale(unit),
|
||||
-- tint = biterUtils.findTint(unit)
|
||||
-- },
|
||||
-- "ne-infected-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
-- spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
-- biterUtils.findTint(unit)))
|
||||
|
||||
|
||||
unit = units["big-spitter-Mk3"]
|
||||
unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
{
|
||||
cooldown = 100,
|
||||
range = 15,
|
||||
min_range = 3,
|
||||
turn_range = 1,
|
||||
type = "projectile",
|
||||
warmup = 30,
|
||||
fire_penalty = 15,
|
||||
damageModifier = 3.6,
|
||||
scale = biterUtils.findRunScale(unit),
|
||||
tint = biterUtils.findTint(unit)
|
||||
},
|
||||
"ne-mutated-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
biterUtils.findTint(unit)))
|
||||
-- unit = units["big-spitter-Mk3"]
|
||||
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
|
||||
-- {
|
||||
-- cooldown = 100,
|
||||
-- range = 15,
|
||||
-- min_range = 3,
|
||||
-- turn_range = 1,
|
||||
-- type = "projectile",
|
||||
-- warmup = 30,
|
||||
-- fire_penalty = 15,
|
||||
-- damageModifier = 3.6,
|
||||
-- scale = biterUtils.findRunScale(unit),
|
||||
-- tint = biterUtils.findTint(unit)
|
||||
-- },
|
||||
-- "ne-mutated-ball-" .. unitPrefix .. attackType .. "-rampant",
|
||||
-- spitterattackanimation(biterUtils.findRunScale(unit),
|
||||
-- biterUtils.findTint(unit)))
|
||||
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user