Skip to content

Commit

Permalink
Merge pull request #392 from FFXIV-CombatReborn/mergeWIP
Browse files Browse the repository at this point in the history
fix heroes gauntlet b3
  • Loading branch information
CarnifexOptimus authored Oct 6, 2024
2 parents ac96673 + e77b142 commit 7971396
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion BossMod/Data/Actor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ public sealed class Actor(ulong instanceID, uint oid, int spawnIndex, string nam
public Angle Rotation => PosRot.W.Radians();
public bool Omnidirectional => Utils.CharacterIsOmnidirectional(OID);
public bool IsDeadOrDestroyed => IsDead || IsDestroyed;
public bool IsFriendlyNPC => Type == ActorType.Enemy && IsAlly && IsTargetable;

private static readonly HashSet<uint> ignoreNPC = [0x2EFE]; // friendly NPCs that should not count as party members
public bool IsFriendlyNPC => Type == ActorType.Enemy && IsAlly && IsTargetable && !ignoreNPC.Contains(OID);

public ActorStatus? FindStatus(uint sid)
{
Expand Down

0 comments on commit 7971396

Please sign in to comment.