Jump to content

Character Immune to fire damage


Recommended Posts

o thank you <3

44 minutes ago, IronHunter said:

The same fire damage immunity is given by scale armor and willow has a 50% fire immunity equivalent, which can be changed to be 100% fire immunity.

    inst.components.health.fire_damage_scale = TUNING.WILLOW_FIRE_DAMAGE

do i change this to

    inst.components.health.fire_damage_scale = TUNING.WILLOW_FIRE_IMMUNITY 

to be 100% ?

 

EDIT - 

i changed the tunning to 100 andinded up  getting instant kill from fire

so amma test out 0

Edited by Kronas
  • Spool 1
Link to comment
Share on other sites

2 hours ago, Kronas said:

o thank you <3

    inst.components.health.fire_damage_scale = TUNING.WILLOW_FIRE_DAMAGE

do i change this to

    inst.components.health.fire_damage_scale = TUNING.WILLOW_FIRE_IMMUNITY 

to be 100% ?

 

EDIT - 

i changed the tunning to 100 andinded up  getting instant kill from fire

so amma test out 0

inst.components.health.fire_damage_scale is a multiplier. Higher numbers mean more damage taken and lower numbers equal less damage taken.

As your tests will likely come to conclude. I am unsure as I don't have access to the code at this time if one will heal from negative values.

It is decimal percentage based with 1 = 100% and 0.5 = 50%.

Link to comment
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
 Share

×
  • Create New...