Jump to content

Making a character that is better at healing


Recommended Posts

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

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...