project-meteor-server/Data/scripts/effects/tp_bleed.lua

10 lines
262 B
Lua

require("modifiers")
function onGain(owner, effect, actionContainer)
owner.SubtractMod(modifiersGlobal.Regain, effect.GetMagnitude());
end
function onLose(owner, effect, actionContainer)
owner.AddMod(modifiersGlobal.Regain, effect.GetMagnitude());
end