1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-21 20:27:47 +00:00
project-meteor-server/data/scripts/effects/regen.lua
Yogurt 00017468cc New scripts
New scripts for commands and effects that use the new function
signatures and work with the new statuseffectcontainer
2019-05-29 23:05:40 -07:00

8 lines
368 B
Lua

--Regen is modified by Enhancing Magic Potency. Formula here: http://forum.square-enix.com/ffxiv/threads/41900-White-Mage-A-Guide
function onGain(owner, effect, actionContainer)
owner.AddMod(modifiersGlobal.Regen, effect.GetMagnitude());
end
function onLose(owner, effect, actionContainer)
owner.SubtractMod(modifiersGlobal.Regen, effect.GetMagnitude());
end