Removing Enemy Armor
Posted: Thu Dec 18, 2014 10:54 pm
I was trying to do some experiments on trying to make Bullets remain effective for the whole game, as well as a few other tweaks to alter combat balance, and I decided that, aside from adding more tiers of bullets, removing enemy armor, and increasing health might have an interesting effect.
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.
I've tried several permutations, but none of them appear to be valid, and I lack the LUA experience required to figure out why. I am unsure how to even determine what I need to do.
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
}
}]]