Jump to content

when using the "StartFight" bot dosent loot the mobs


morris79

Recommended Posts

    <EasyQuest>
      <Name>Helboar, the Other White Meat</Name>
      <QuestId>
        <int>9361</int>
      </QuestId>
      <QuestType>OverridePulseCSharpCode</QuestType>
      <QuestClass xsi:type="OverridePulseCSharpCodeEasyQuestClass">
        <Code>while (!Quest.IsObjectiveComplete(1, 9361))
{
	var helboar = ObjectManager.GetWoWUnitByEntry(16863);
	if (!ItemsManager.HasItemById(23270))
	{
		if (helboar.Count &lt; 1)
		{
			wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(-1120.997, 2922.743, -1.860508));
		}
		else
		{
			Fight.StartFight(ObjectManager.GetNearestWoWUnit(helboar).Guid);
		}
	}
	if (ItemsManager.HasItemById(23270))
	{
		ItemsManager.UseItem(23268);
		Thread.Sleep(1000);
	}
}
return true;

		</Code>
      </QuestClass>
      <ObjectiveCount1>8</ObjectiveCount1>
      <ObjectiveCount2>0</ObjectiveCount2>
      <ObjectiveCount3>0</ObjectiveCount3>
      <ObjectiveCount4>0</ObjectiveCount4>
      <ObjectiveCount5>0</ObjectiveCount5>
      <AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
      <AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
      <AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
      <AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
      <AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
      <CanCondition />
      <IsCompleteCondition>return Quest.IsObjectiveComplete(1, 9361);</IsCompleteCondition>
      <RepeatableQuest>false</RepeatableQuest>
      <NotRequiredInQuestLog>false</NotRequiredInQuestLog>
      <PickUpQuestOnItem>false</PickUpQuestOnItem>
      <PickUpQuestOnItemID>0</PickUpQuestOnItemID>
      <Comment />
      <GossipOptionRewardItem>0</GossipOptionRewardItem>
      <RequiredQuest>0</RequiredQuest>
      <MaxLevel>100</MaxLevel>
      <MinLevel>0</MinLevel>
      <WoWClass>None</WoWClass>
    </EasyQuest>

Hey Guys, when I use this pulse C# code, my charter doesn't loot the mobs. Is that a bug or do I need to set in a code for looting also?

Thanks for your time ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...