mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 19:57:46 +00:00
23 lines
571 B
Lua
23 lines
571 B
Lua
![]() |
require("global");
|
||
|
require("weaponskill");
|
||
|
|
||
|
function onSkillPrepare(caster, target, skill)
|
||
|
return 0;
|
||
|
end;
|
||
|
|
||
|
function onSkillStart(caster, target, skill)
|
||
|
return 0;
|
||
|
end;
|
||
|
|
||
|
--Dispel
|
||
|
--Does dispel have a text id?
|
||
|
function onCombo(caster, target, skill)
|
||
|
local effects = target.statusEffects.GetStatusEffectsByFlag(16); --lose on dispel
|
||
|
if effects != nil then
|
||
|
target.statusEffects.RemoveStatusEffect(effects[0]);
|
||
|
end;
|
||
|
end;
|
||
|
|
||
|
function onSkillFinish(caster, target, skill, action)
|
||
|
return weaponskill.onSkillFinish(caster, target, skill, action);
|
||
|
end;
|