mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 04:37:47 +00:00

Added the combo and proc systems Added scripts for most weaponskill and spells as well as some abilities and status effects Added support for multihit attacks Added AbilityState for abilities Added hiteffects that change based on an attack's parameters Added positionals Changed how targeting works for battlecommands Fixed bug that occurred when moving or swapping hotbar commands Fixed bug that occurred when losing status effects
11 lines
No EOL
341 B
Lua
11 lines
No EOL
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; |