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