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

Commit

Permalink
fix: changed targetable to TargetSattus.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 14, 2023
1 parent 1289409 commit 1631507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RotationSolver.Basic/Helpers/ObjectHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ or 71344 //Major Quest

public static unsafe uint FateId(this GameObject obj) => obj.GetAddress()->FateId;

public static unsafe bool IsTargetable(this GameObject obj) => obj.GetAddress()->GetIsTargetable();
public static unsafe bool IsTargetable(this GameObject obj) => obj.GetAddress()->TargetableStatus == FFXIVClientStructs.FFXIV.Client.Game.Object.ObjectTargetableFlags.IsTargetable;

static readonly Dictionary<uint, bool> _effectRangeCheck = new Dictionary<uint, bool>();
public static bool CanInterrupt(this BattleChara b)
Expand Down

0 comments on commit 1631507

Please sign in to comment.