| function TI_EventHandlers:QUEST_COMPLETE () | function TI_EventHandlers:QUEST_COMPLETE () | ||||
| TI_debug("Quest Complete"); | TI_debug("Quest Complete"); | ||||
| if(TI_IsNPCOn(UnitName("npc"), "activequest")) then | |||||
| if(TI_ShouldTakeAction() and TI_IsNPCOn(UnitName("npc"), "activequest")) then | |||||
| if(not (GetNumQuestChoices() > 1)) then | if(not (GetNumQuestChoices() > 1)) then | ||||
| GetQuestReward(1); | GetQuestReward(1); | ||||
| end | end | ||||
| battlemaster = "Battlemaster", | battlemaster = "Battlemaster", | ||||
| binder = "Hearthstone Binder", | binder = "Hearthstone Binder", | ||||
| healer = "Spirit Healer", | healer = "Spirit Healer", | ||||
| banker = "Bank" | |||||
| banker = "Bank", | |||||
| workorder = "Work Order" | |||||
| }; | }; | ||||
| function TI_OptionsInit() | function TI_OptionsInit() |