Skip to content

Commit

Permalink
Merge pull request #404 from Four-amer/main
Browse files Browse the repository at this point in the history
HasPositional check for the new method
  • Loading branch information
LTS-FFXIV authored Sep 24, 2024
2 parents 2d3de38 + 2011c42 commit c22bfe0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RotationSolver.Basic/Rotations/CustomRotation_OtherInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ public static bool CanHitPositional(EnemyPositional positional, IBattleChara ene
{
if (enemy == null) return false;

if (!enemy.HasPositional()) return true;

EnemyPositional enemy_positional = enemy.FindEnemyPositional();

if (enemy_positional == positional)
Expand Down

0 comments on commit c22bfe0

Please sign in to comment.