mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-21 12:17:46 +00:00

Cleaned up unneeded requires in some scripts Fixed Second Wind Added new effect scripts Added bard song scripts that mostly work
17 lines
No EOL
505 B
Lua
17 lines
No EOL
505 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
|
|
action.statusMagnitude = 0.33 * caster.GetMod(modifiersGlobal.AttackDelay);
|
|
action.DoAction(caster, target, skill, actionContainer);
|
|
end; |