mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-23 13:17:45 +00:00

Added the combo and proc systems Added scripts for most weaponskill and spells as well as some abilities and status effects Added support for multihit attacks Added AbilityState for abilities Added hiteffects that change based on an attack's parameters Added positionals Changed how targeting works for battlecommands Fixed bug that occurred when moving or swapping hotbar commands Fixed bug that occurred when losing status effects
20 lines
No EOL
549 B
Lua
20 lines
No EOL
549 B
Lua
require("global");
|
|
require("weaponskill");
|
|
|
|
function onSkillPrepare(caster, target, skill)
|
|
return 0;
|
|
end;
|
|
|
|
function onSkillStart(caster, target, skill)
|
|
return 0;
|
|
end;
|
|
|
|
--Inflicts additional damage when bleed ends
|
|
--Note for later, going to set bleed tier to 2, when bleed get scripted, check if tier is 2 and add additional damage at the end
|
|
function onCombo(caster, target, skill)
|
|
skill.statusTier = 2;
|
|
end;
|
|
|
|
function onSkillFinish(caster, target, skill, action)
|
|
return weaponskill.onSkillFinish(caster, target, skill, action);
|
|
end; |