static private void AnitAfk() { // keep the bot from going afk. if (AntiAfkTimer.IsFinished) { StyxWoW.ResetAfk(); AntiAfkTimer.Reset(); } }
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); }