2018-06-25 23:36:18 -05:00
|
|
|
require("modifiers")
|
|
|
|
require("battleutils")
|
|
|
|
|
|
|
|
--Increases accuracy of next cast.
|
|
|
|
--There isn't really any information on this, but due to the fact it falls off BEFORE the target is hit,
|
|
|
|
--I'm assuming it increases a spell's accuracy modifier instead of giving actual magic accuracy
|
|
|
|
function onCommandStart(effect, owner, skill, actionContainer)
|
2019-05-29 23:05:40 -07:00
|
|
|
if skill.GetActionType() == ActionType.Magic then
|
2018-06-25 23:36:18 -05:00
|
|
|
--50 is random guess.
|
|
|
|
skill.accuracyModifier = skill.accuracyModifier + 50;
|
2019-05-29 23:05:40 -07:00
|
|
|
owner.statusEffects.RemoveStatusEffect(effect, actionContainer, 30331, false);
|
2018-06-25 23:36:18 -05:00
|
|
|
end
|
|
|
|
end
|