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.");
}
}
Just enable the plugin in plugins tab it should show up as GatheringMobSpawns.cs and set it to on. The second thing is this is plugin created to kill specific mobs with ids like
new List<int> {98232, 98234, 98235 } };
To make the bot kill other kind of mob you must find the id on wowhead and add it to list.
For now that list let the bot attack 3 mobs :
www.wowhead.com/npc=98232
www.wowhead.com/npc=98234
www.wowhead.com/npc=98235
To add mob you must go to wowhead find the mob id and add it to that list directly into the plugin code.