mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 12:47:46 +00:00
11 lines
316 B
Lua
11 lines
316 B
Lua
![]() |
require("modifiers")
|
||
|
|
||
|
--100 TP per tick without AF. 133 TP per tick with AF
|
||
|
function onGain(owner, effect, actionContainer)
|
||
|
owner.AddMod(modifiersGlobal.Regain, effect.GetMagnitude());
|
||
|
end
|
||
|
|
||
|
function onLose(owner, effect, actionContainer)
|
||
|
owner.SubtractMod(modifiersGlobal.Regain, effect.GetMagnitude());
|
||
|
end
|