public static async Task <bool> CheckCommonCoroutines() { if (ObjectCacheManager.ShouldUpdateObjectCollection) { ObjectCacheManager.UpdateCache(); } if (StyxWoW.Me.IsDead || StyxWoW.Me.IsGhost) { await DeathBehavior.ExecuteCoroutine(); return(true); } if (await CombatBehavior.ExecuteBehavior()) { return(true); } if (await VendoringBehavior()) { return(true); } if (await LootBehavior.ExecuteBehavior()) { return(true); } return(false); }
internal static void ResetCommonBehaviors() { ResetVendoring(); LootBehavior.ResetLoot(); CombatBehavior.ResetCombat(); }