mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Cleaned up unneeded requires in some scripts Fixed Second Wind Added new effect scripts Added bard song scripts that mostly work
10 lines
306 B
Lua
10 lines
306 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; |