mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 04:37:47 +00:00

Add actor update flag for hotbar to send hotbar changes all at once. Add script for equipping all actions for a class/job. Fix multiple script errors. Fix multiple status flag errors Fix battle command db errors Fix error in spawnnpc and yolo.
14 lines
No EOL
612 B
Lua
14 lines
No EOL
612 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)
|
|
print('dark seal')
|
|
if skill.GetActionType() == ActionType.Magic then
|
|
--50 is random guess.
|
|
skill.accuracyModifier = skill.accuracyModifier + 50;
|
|
owner.statusEffects.RemoveStatusEffect(effect, actionContainer, 30331, false);
|
|
end
|
|
end |