ResetBot() public static method

public static ResetBot ( ) : void
return void
Example #1
0
        internal void OnGameIDChangedHandler()
        {
            Logger.Write(LogLevel.OutOfCombat, "New Game Started");


            if (FunkyGame.AdventureMode)
            {
                ResetCombatModifiers();
            }


            //Clear Interactable Cache
            ObjectCache.InteractableObjectCache.Clear();

            //Clear Health Average
            ObjectCache.Objects.ClearHealthAverageStats();

            //Renew bot
            FunkyGame.ResetBot();
        }