mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-23 05:07:47 +00:00
11 lines
341 B
Lua
11 lines
341 B
Lua
![]() |
require("modifiers");
|
||
|
|
||
|
function onGain(target, effect)
|
||
|
local currEvade = target.GetMod(modifierGlobals.Evasion);
|
||
|
target.SetMod(modifierGlobals.Evasion, currEvade + 15);
|
||
|
end;
|
||
|
|
||
|
function onLose(target, effect)
|
||
|
local currEvade = target.GetMod(modifierGlobals.Evasion);
|
||
|
target.SetMod(modifierGlobals.Evasion, currEvade - 15);
|
||
|
end;
|