However, I was unable to figure out how to alter/add those effects. I managed to alter the health, although it doesn't display the mod's name like it does for other mods.
Code: Select all
data.raw["unit"]["small-biter"].max_health = 15
--data.raw["unit"]["small-biter"].["physical"].decrease = 1
--[[{
{
type = "physical",
decrease = 0, -- 0
},
{
type = "explosion",
percent = 0 -- 0
}
}]]
data.raw["unit"]["medium-biter"].max_health = 125 -- 75
--[[data.raw["unit"]["medium-biter"].resistances =
{
{
type = "physical",
decrease = 0, -- 4
},
{
type = "explosion",
percent = 0 -- 10
}
}]]
data.raw["unit"]["big-biter"].max_health = 500 -- 375
--[[data.raw["unit"]["big-biter"].resistances =
resistances =
{
{
type = "physical",
decrease = 0, -- 8
},
{
type = "explosion",
percent = 0 -- 20
}
}]]
data.raw["unit"]["small-spitter"].max_health = 10 -- 10
--[[data.raw["unit"]["small-spitter"].resistances =
resistances =
{
}]]
data.raw["unit"]["medium-spitter"].max_health = 75 -- 50
--[[data.raw["unit"]["medium-spitter"].resistances =
{
{
type = "explosion",
percent = 0 -- 15
}
}]]
data.raw["unit"]["big-spitter"].max_health = 300 -- 200
--[[data.raw["unit"]["big-spitter"].resistances =
{
{
type = "explosion",
percent = 0 -- 30
}
}]]