2018-02-15 13:20:46 -06:00
|
|
|
require("global");
|
|
|
|
require("weaponskill");
|
|
|
|
|
|
|
|
function onSkillPrepare(caster, target, skill)
|
|
|
|
return 0;
|
|
|
|
end;
|
|
|
|
|
|
|
|
function onSkillStart(caster, target, skill)
|
|
|
|
return 0;
|
|
|
|
end;
|
|
|
|
|
2018-04-18 16:06:41 -05:00
|
|
|
--Changes status to Bloodletter from Bloodletter2. Changes icon of dot and adds additional damage at the end.
|
2018-02-15 13:20:46 -06:00
|
|
|
function onCombo(caster, target, skill)
|
2018-04-18 16:06:41 -05:00
|
|
|
skill.statusId = 223127;
|
2018-02-15 13:20:46 -06:00
|
|
|
end;
|
|
|
|
|
2018-04-18 16:06:41 -05:00
|
|
|
function onSkillFinish(caster, target, skill, action, actionContainer)
|
|
|
|
--calculate ws damage
|
|
|
|
action.amount = skill.basePotency;
|
|
|
|
|
|
|
|
--DoAction handles rates, buffs, dealing damage
|
|
|
|
action.DoAction(caster, target, skill, actionContainer);
|
2018-05-27 18:07:52 -05:00
|
|
|
|
2018-04-18 16:06:41 -05:00
|
|
|
--Try to apply status effect
|
|
|
|
action.TryStatus(caster, target, skill, actionContainer, true);
|
2018-02-15 13:20:46 -06:00
|
|
|
end;
|