Sign in to follow this  
Followers 0
ddc_cl

Fire resistance

5 posts in this topic

Hello i am making a Custom Character, using as base the ETC Template, and need to know how add Fire resistance like willow, no imunity just ressintance

Share this post


Link to post
Share on other sites

inst.components.health.fire_damage_scale = x

where x is the multiplier.

So 0 will make you immune, 1 will be normal, 0.5 will give you 50% resistance.

Edited by DarkKingBoo
2 people like this

Share this post


Link to post
Share on other sites
15 hours ago, DarkKingBoo said:

inst.components.health.fire_damage_scale = x

where x is the multiplier.

So 0 will make you immune, 1 will be normal, 0.5 will give you 50% resistance.

ebc8d29af920ca58a7c527f4f7c7e9f4.gif :V

TY but an ask this work for avoid overheating when close to a fire, or that use another Code 

Edited by ddc_cl

Share this post


Link to post
Share on other sites

I don't think theres an easy way to make it immune to only fire, but you can use this to be completely immune to overheating:

inst.components.temperature.maxtemp = 60 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0