project-meteor-server/data/scripts/effects/barrage.lua
Yogurt a92ece58c1 Check for PreventMovement flag in BattleNpcController
Fix typos in some effect scripts
2019-06-01 03:39:46 -07:00

13 lines
395 B
Lua

function onCommandStart(effect, owner, skill, actionContainer)
--27259: Light Shot
if skill.id == 27259 then
skill.numHits = effect.GetMagnitude();
end
end;
function onCommandFinish(effect, owner, skill, actionContainer)
--27259: Light Shot
if skill.id == 27259 then
owner.statusEffects.RemoveStatusEffect(effect, actionContainer, 30331, false);
end
end;