Updating TOC to 80000

This commit is contained in:
SabinDeus 2018-08-12 21:53:30 +00:00
parent 319ed0464b
commit af453a73bc

View File

@ -148,7 +148,7 @@ end
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
@ -233,7 +233,8 @@ local TI_GossipDefaults = {
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()