Ejemplo n.º 1
0
        internal static void Pulse()
        {
            try
            {
                if (!Player.IsValid)
                {
                    return;
                }

                ChangeMonitor.CheckForChanges();
                ActorHistory.UpdateActors();
                PositionCache.RecordPosition();

                // Mark Dungeon Explorer nodes as Visited if combat pulls us into it
                if (ProfileManager.CurrentProfileBehavior != null)
                {
                    Type profileBehaviorType = ProfileManager.CurrentProfileBehavior.GetType();
                    if (profileBehaviorType == typeof(ExploreDungeonTag))
                    {
                        ExploreDungeonTag exploreDungeonTag = (ExploreDungeonTag)ProfileManager.CurrentProfileBehavior;
                        exploreDungeonTag.MarkNearbyNodesVisited();
                    }
                }
                LoadOnceTag.RecordLoadOnceProfile();

                RiftTrial.PulseRiftTrial();
                CheckGamesPerHourStop();
                SkipCutScene();
                AdvanceConversation();
            }
            catch (Exception ex)
            {
                Logger.Log(ex.ToString());
            }
        }
Ejemplo n.º 2
0
 public static bool CurrentWave(int waveNumber)
 {
     return(RiftTrial.GetCurrentWave() == waveNumber);
 }