project-meteor-server/data/scripts/commands/weaponskill/shoulder_tackle.lua
yogurt b8d6a943aa Combat changes and bug fixes
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
2018-02-15 13:20:46 -06:00

19 lines
484 B
Lua

require("global");
require("weaponskill");
function onSkillPrepare(caster, target, skill)
return 0;
end;
function onSkillStart(caster, target, skill)
return 0;
end;
function onSkillFinish(caster, target, skill, action)
--chance to influct stun only when target has no enmity towards you
if !(target.hateContainer.HasHateForTarget(caster)) then
skill.statusChance = 0.50;
end
return weaponskill.onSkillFinish(caster, target, skill, action);
end;