diff --git a/ScriptConditions/Extras.cs b/ScriptConditions/Extras.cs index 70f7475..291d3b9 100644 --- a/ScriptConditions/Extras.cs +++ b/ScriptConditions/Extras.cs @@ -53,6 +53,11 @@ public static bool IsFateActive(int fateID) return FateManager.ActiveFates.Any(i => i.Id == (uint)fateID); } + public static bool IsAnyFateActive() + { + return FateManager.ActiveFates.Any(); + } + public static bool IsLeveActive(int leveId) { if (DirectorManager.ActiveDirector == null) @@ -245,8 +250,8 @@ ClassJobType.Pugilist or ClassJobType.Monk or ClassJobType.Lancer or ClassJobTyp #if RB_DT or ClassJobType.Viper #endif - => true, - _ => false + => true, + _ => false }; } @@ -258,8 +263,8 @@ ClassJobType.Arcanist or ClassJobType.Summoner or ClassJobType.Thaumaturge or Cl #if RB_DT or ClassJobType.Pictomancer #endif - => true, - _ => false + => true, + _ => false }; } @@ -365,7 +370,7 @@ public static bool IsMVPVoteReady() public static bool IsInNPCParty() { - return PartyManager.VisibleMembers.Any(i=> i.GetType() == typeof(TrustPartyMember)); + return PartyManager.VisibleMembers.Any(i => i.GetType() == typeof(TrustPartyMember)); } } } \ No newline at end of file