I have a small waypoint for grinding Dead Tree mob
and another called duo_npc, a path to go from grinding to npc
the script auto accept the quest and auto completes it.
my problem is how to tell the the script that the requirements killing 12 Deadwood Hunters is filled? is there a trigger for that?
my code so far and its working splendid!
Code: Select all
player:target_NPC("Duo Bifish");
player:rest(1);
sendMacro("OnClick_QuestListButton(1,1)"); yrest(1000);
sendMacro("AcceptQuest();"); yrest(1000);
sendMacro("CloseWindows();"); yrest(1000);
player:target_NPC("Duo Bifish"); yrest(1000);
<!-- the 3 is for completed quests -->
sendMacro("OnClick_QuestListButton(3,1);"); yrest(1000);
sendMacro("CompleteQuest();"); yrest(1000);