Hello, Try this plugin: GatheringMobSpawns.cs
using System.Collections.Generic;
using System.Windows.Forms;
using robotManager.Helpful;
using wManager.Wow.Bot.States;
public class Main : wManager.Plugin.IPlugin
{
public void Initialize()
{
var grinderState = new Grinding {EntryTarget = new List<int> {98232, 98234, 98235, 98233 } }; // http://www.wowhead.com/npc=98232/withered-hungerer , http://www.wowhead.com/npc=98234/nightmare-creeper , http://www.wowhead.com/npc=98235/frenzied-fox, http://www.wowhead.com/npc=98233/withered-hungerer
robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) =>
{
if (state != null && state.DisplayName == "Farming")
{
if (grinderState.NeedToRun)
{
grinderState.Run();
cancelable.Cancel = true;
}
}
};
Logging.Write("[GatheringMobSpawns] Loadded.");
}
public void Dispose()
{
Logging.Write("[GatheringMobSpawns] Disposed.");
}
public void Settings()
{
MessageBox.Show("[GatheringMobSpawns] No settings for this plugin.");
}
}