If this is unintended, it can easily be fixed by adding this line to components/burnable.lua
if self.inst.components.health ~= nil and (self.inst.components.health.fire_damage_scale<=0) then return end
Like this:
function Burnable:Ignite(immediate, source) if self.inst.components.health ~= nil and (self.inst.components.health.fire_damage_scale<=0) then return end if not (self.burning or self.inst:HasTag("fireimmune")) then self:StopSmoldering() self.burning = true self.inst:ListenForEvent("death", OnKilled) self:SpawnFX(immediate) self.inst:PushEvent("onignite") if self.onignite ~= nil then self.onignite(self.inst) end if self.inst.components.fueled ~= nil then self.inst.components.fueled:StartConsuming() end if self.inst.components.propagator ~= nil then self.inst.components.propagator:StartSpreading(source) end self:ExtendBurning() end end
Steps to Reproduce
Wear a scalemail, then ignite yourself via lavae, magma, or gunpowder.
Wear a scalemail, then ignite yourself via lavae, magma, or gunpowder.
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now