mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Cleaned up unneeded requires in some scripts Fixed Second Wind Added new effect scripts Added bard song scripts that mostly work
13 lines
581 B
Lua
13 lines
581 B
Lua
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)
|
|
if skill.actionType == ActionType.Magic then
|
|
--50 is random guess.
|
|
skill.accuracyModifier = skill.accuracyModifier + 50;
|
|
actionContainer.AddAction(owner.RemoveStatusEffectForBattleAction(effect));
|
|
end
|
|
end |