Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: if actionid isdefined, record the timeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 28, 2023
1 parent 54ea467 commit fb6cbe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RotationSolver/Watcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private static void ActionFromSelf(uint sourceId, ActionEffectSet set, uint id)
if (set.Type != ActionType.Spell && set.Type != ActionType.Item) return;
if ((ActionCate)set.Action?.ActionCategory.Value.RowId == ActionCate.AutoAttack) return;

if(set.Action.ClassJob.Row > 0)
if(set.Action.ClassJob.Row > 0 || Enum.IsDefined((ActionID)id))
{
IActionHelper.AnimationLockTime[id] = set.AnimationLock;
}
Expand Down

0 comments on commit fb6cbe4

Please sign in to comment.