Kronas Posted July 7, 2018 Share Posted July 7, 2018 i was wondering if there is a code so the character become immune to fire damage Link to comment https://forums.kleientertainment.com/forums/topic/93174-character-immune-to-fire-damage/ Share on other sites More sharing options...
IronHunter Posted July 7, 2018 Share Posted July 7, 2018 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. Link to comment https://forums.kleientertainment.com/forums/topic/93174-character-immune-to-fire-damage/#findComment-1060187 Share on other sites More sharing options...
Kronas Posted July 7, 2018 Author Share Posted July 7, 2018 (edited) 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 July 7, 2018 by Kronas 1 Link to comment https://forums.kleientertainment.com/forums/topic/93174-character-immune-to-fire-damage/#findComment-1060195 Share on other sites More sharing options...
IronHunter Posted July 7, 2018 Share Posted July 7, 2018 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 https://forums.kleientertainment.com/forums/topic/93174-character-immune-to-fire-damage/#findComment-1060232 Share on other sites More sharing options...
Recommended Posts
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