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

Commit

Permalink
fix: fixed with TargetCondition's Type convert.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 22, 2023
1 parent dcd4578 commit d0439eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Resources/AnimationLockTime.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"28": 0.6,
"31": 0.6,
"37": 0.6,
"40": 0.6,
"42": 0.6,
"45": 0.6,
"46": 0.6,
Expand Down
2 changes: 1 addition & 1 deletion RotationSolver/Timeline/TargetCondition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public bool IsTrue(ICustomRotation combo)
}
else
{
tar = IsTarget ? (BattleChara)Service.TargetManager.Target : Service.Player;
tar = IsTarget ? Service.TargetManager.Target as BattleChara : Service.Player;
tar ??= Service.Player;
}

Expand Down

0 comments on commit d0439eb

Please sign in to comment.