Exemple #1
0
 static private void AnitAfk()
 {
     // keep the bot from going afk.
     if (AntiAfkTimer.IsFinished)
     {
         StyxWoW.ResetAfk();
         AntiAfkTimer.Reset();
     }
 }
Exemple #2
0
        private async static Task <bool> CastLine()
        {
            if (!LineRecastTimer.IsFinished)
            {
                return(false);
            }
            LineRecastTimer.Reset();
            _castCounter++;
            SpellManager.Cast("Fishing");
            await CommonCoroutines.SleepForLagDuration();

            StyxWoW.ResetAfk();
            InactivityDetector.Reset();
            return(true);
        }