Thebrettstoner Posted July 13, 2018 Share Posted July 13, 2018 Is there a way to my character heal more from using haling salves, ect.? Link to comment Share on other sites More sharing options...
yevinto Posted July 14, 2018 Share Posted July 14, 2018 You can rewrite the Health:Dodelta function (look at health component). Link to comment Share on other sites More sharing options...
boardman94 Posted July 17, 2018 Share Posted July 17, 2018 Something like this, incase you don't know what yevinto is talking about. This is not functional code. local bonus = 10 local old_DoDelta = inst.components.health.DoDelta inst.components.health.DoDelta = function(amount, overtime, cause, ignore_invincible, afflicter, ignore_absorb) amount += bonus old_DoDelta(amount, overtime, cause, ignore_invincible, afflicter, ignore_absorb) end Link to comment 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