project-meteor-server/data/scripts/effects/hundred_fists.lua
yogurt c442dc9ecd Script fixes and new effects.
Cleaned up unneeded requires in some scripts
Fixed Second Wind
Added new effect scripts
Added bard song scripts that mostly work
2018-06-25 23:36:18 -05:00

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;