Combat fixes

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.
This commit is contained in:
Yogurt 2019-06-01 21:21:21 -07:00
parent a92ece58c1
commit 3104478263
20 changed files with 149 additions and 48 deletions

View file

@ -10,7 +10,7 @@ function onPreAction(effect, caster, target, skill, action, actionContainer)
action.hitRate = 0.0;
action.resistRate = 400;
--Remove status and add message
caster.statusEffects.RemoveStatusEffect(effect, actionContainer, 30331, false);
defender.statusEffects.RemoveStatusEffect(effect, actionContainer, 30331, false);
end
end;