mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
17 lines
498 B
Lua
17 lines
498 B
Lua
![]() |
require("global");
|
||
|
require("ability");
|
||
|
require("modifiers");
|
||
|
|
||
|
function onAbilityPrepare(caster, target, ability)
|
||
|
return 0;
|
||
|
end;
|
||
|
|
||
|
function onAbilityStart(caster, target, ability)
|
||
|
return 0;
|
||
|
end;
|
||
|
|
||
|
function onSkillFinish(caster, target, skill, action, actionContainer)
|
||
|
--Take off 1/3 of attack delay. Not sure if this is the exact amount HF reduces by
|
||
|
skill.statusMagnitude = 0.33 * caster.GetMod(modifiersGlobal.Delay);
|
||
|
action.DoAction(caster, target, skill, actionContainer);
|
||
|
end;
|