second part runs off to the other npc where you can turn in the quest to complete.
had a hard time figuring it out, since i tried on both characters, the accept and finish quest options ingame are different, probably cause of my daily addons, but if you are having problem on the complete quest, just remove the line CompleteQuestByName("Creating Confusion")
oops forgot to add the ,"Daily"); there we go should work a little bit better,
if any can improve, feel free and let me know how, 2nd waypoint i made only.
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-22330" z="-10097" y="135" tag ='Main'>
local dqCount, dqPerDay = RoMScript("Daily_count()");
if dqCount ~= 10 then
player:target_NPC("Worr Jones");
AcceptQuestByName("Creating Confusion","Daily"); yrest(500)
else
inventory:update();
player:update();
if inventory:itemTotalCount(202434) > 0 then
inventory:useItem(202434);
yrest(2000)
player:target_NPC("Worr Jones");
AcceptQuestByName("Creating Confusion","Daily");yrest(500)
else
player:sleep();
end
end
</waypoint>
<!-- # 2 --><waypoint x="-22235" z="-10700" y="132">
player:target_NPC("Zhadin Bloodfang"); yrest(500)
sendMacro("ChoiceOption(1);"); yrest(500)
player:target_NPC("Zhadin Bloodfang"); yrest(500)
sendMacro("ChoiceOption(1);"); yrest(500)
CompleteQuestByName("Creating Confusion","Daily");
</waypoint>
<!-- # 3 --><waypoint x="-22304" z="-10101" y="134"> player:target_NPC("Worr Jones");
</waypoint>
</waypoints>