diff Main.lua @ 553:98eb25ffc0c4 8.0.1-1

Removed support for recording the loot of reforging/item upgrade NPCs as these no longer exist in Patch 8.0.1. Stopped recording world quests for the moment for Patch 8.0.1 as well.
author Caleb Atherton <atcaleb@twitch.tv>
date Tue, 01 May 2018 20:08:59 -0400
parents 37eca5900db5
children d423605eccf0
line wrap: on
line diff
--- a/Main.lua	Tue May 01 19:27:15 2018 -0400
+++ b/Main.lua	Tue May 01 20:08:59 2018 -0400
@@ -112,7 +112,6 @@
     COMBAT_LOG_EVENT_UNFILTERED = true,
     COMBAT_TEXT_UPDATE = true,
     CURSOR_UPDATE = true,
-    FORGE_MASTER_OPENED = true,
     GARRISON_MISSION_NPC_CLOSED = "ResumeChatLootRecording",
     GARRISON_MISSION_NPC_OPENED = "StopChatLootRecording",
     GARRISON_SHIPYARD_NPC_CLOSED = "ResumeChatLootRecording",
@@ -1043,6 +1042,9 @@
 function WDP:ProcessWorldQuests()
     -- Ignore if player is low level (there are some world quests before max level now, but we can collect enough data from 110s alone still)
     if _G.UnitLevel("player") ~= 110 then return end
+    
+    -- Ignore if BFA for now; Map API's lack of completion causes issues here
+    if IS_BFA then return end
 
     -- Get current continent and zones in current continent
     local continentIndex, continentID = GetCurrentMapContinent()
@@ -3048,11 +3050,6 @@
     end
 
 
-    function WDP:FORGE_MASTER_OPENED(event_name)
-        SetUnitField("arcane_reforger", private.UNIT_TYPES.NPC)
-    end
-
-
     local GOSSIP_SHOW_FUNCS = {
         [private.UNIT_TYPES.NPC] = function(unit_idnum)
             local gossip_options = { _G.GetGossipOptions() }