mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 20:57:47 +00:00
10 lines
304 B
Lua
10 lines
304 B
Lua
![]() |
require("modifiers")
|
||
|
|
||
|
--Set magnitude to milliseconds that HF will reduce delay by
|
||
|
function onGain(target, effect)
|
||
|
target.SubtractMod(modifiersGlobal.AttackDelay, effect.GetMagnitude());
|
||
|
end;
|
||
|
|
||
|
function onLose(target, effect)
|
||
|
target.AddMod(modifiersGlobal.AttackDelay, effect.GetMagnitude());
|
||
|
end;
|