So i have this piece of code
public sealed class DemonsAmongUs : QuestGrinderClass
{
public DemonsAmongUs()
{
Name = "Demons Among Us";
QuestId.AddRange(new[] { 40593 });
if ((!Quest.HasQuest(40593) && Quest.GetQuestCompleted(40593)))
{
Logging.Write(string.Format("Quest Completed [{0}]", 40593));
return;
}
else if (!Quest.HasQuest(40593) && !Quest.GetQuestCompleted(40593))
{
PickUp();
QuestInfo();
return;
}
else if (Quest.HasQuest(40593))
{
QuestInfo();
}
return;
}
public void QuestInfo()
{
Step.AddRange(new[] { 1, 1, 5, 1 });
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-8369.698f, 240.3663f, 155.3077f), 100675, 1);
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(new Vector3(-8318.188, 290.8993, 156.8326), 246706);
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(new Vector3(-8379.064, 322.0625, 147.0138), 246707);
Logging.Write(string.Format("Demons Among us - Collected portals"));
HotSpots.Add(new Vector3(-8371.924f, 268.3316f, 155.3485f));
HotSpots.Add(new Vector3(-8306.045f, 294.0955f, 156.8326f));
HotSpots.Add(new Vector3(-8324.408f, 242.0122f, 155.3472f));
HotSpots.Add(new Vector3(-8346.664f, 306.8766f, 155.3472f));
HotSpots.Add(new Vector3(-8380.933f, 321.979f, 147.1347f));
EntryTarget.Add(100993);
}
}
100993 - The mob ID
It does everything fine, it collects both items (246706, 246707)
i add hotspots and entry target, but it still won't attack anything.
Why?