September 10, 20187 yr <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 < 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 ?
September 15, 20187 yr Hello, try to replace "while (!Quest.IsObjectiveComplete(1, 9361))" by "if ..."
Create an account or sign in to comment