mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Add default status gain and loss ids for status effects so buffs and debuffs can have different ids. Add sleep, slow, and slowcast Fix sacred prism not slowing casts Fix some incorrect text ids in battle commands
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; |