Mercurial > wow > wowdb-profiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
552:37eca5900db5 | 553:98eb25ffc0c4 |
---|---|
110 CHAT_MSG_MONSTER_YELL = "RecordQuote", | 110 CHAT_MSG_MONSTER_YELL = "RecordQuote", |
111 CHAT_MSG_SYSTEM = true, | 111 CHAT_MSG_SYSTEM = true, |
112 COMBAT_LOG_EVENT_UNFILTERED = true, | 112 COMBAT_LOG_EVENT_UNFILTERED = true, |
113 COMBAT_TEXT_UPDATE = true, | 113 COMBAT_TEXT_UPDATE = true, |
114 CURSOR_UPDATE = true, | 114 CURSOR_UPDATE = true, |
115 FORGE_MASTER_OPENED = true, | |
116 GARRISON_MISSION_NPC_CLOSED = "ResumeChatLootRecording", | 115 GARRISON_MISSION_NPC_CLOSED = "ResumeChatLootRecording", |
117 GARRISON_MISSION_NPC_OPENED = "StopChatLootRecording", | 116 GARRISON_MISSION_NPC_OPENED = "StopChatLootRecording", |
118 GARRISON_SHIPYARD_NPC_CLOSED = "ResumeChatLootRecording", | 117 GARRISON_SHIPYARD_NPC_CLOSED = "ResumeChatLootRecording", |
119 GARRISON_SHIPYARD_NPC_OPENED = "StopChatLootRecording", | 118 GARRISON_SHIPYARD_NPC_OPENED = "StopChatLootRecording", |
120 GOSSIP_CLOSED = "ResumeChatLootRecording", | 119 GOSSIP_CLOSED = "ResumeChatLootRecording", |
1041 | 1040 |
1042 | 1041 |
1043 function WDP:ProcessWorldQuests() | 1042 function WDP:ProcessWorldQuests() |
1044 -- 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) | 1043 -- 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) |
1045 if _G.UnitLevel("player") ~= 110 then return end | 1044 if _G.UnitLevel("player") ~= 110 then return end |
1045 | |
1046 -- Ignore if BFA for now; Map API's lack of completion causes issues here | |
1047 if IS_BFA then return end | |
1046 | 1048 |
1047 -- Get current continent and zones in current continent | 1049 -- Get current continent and zones in current continent |
1048 local continentIndex, continentID = GetCurrentMapContinent() | 1050 local continentIndex, continentID = GetCurrentMapContinent() |
1049 local continentMaps = { GetMapZones(continentIndex) } | 1051 local continentMaps = { GetMapZones(continentIndex) } |
1050 | 1052 |
3046 function WDP:BATTLEFIELDS_SHOW(event_name) | 3048 function WDP:BATTLEFIELDS_SHOW(event_name) |
3047 SetUnitField("battlemaster", private.UNIT_TYPES.NPC) | 3049 SetUnitField("battlemaster", private.UNIT_TYPES.NPC) |
3048 end | 3050 end |
3049 | 3051 |
3050 | 3052 |
3051 function WDP:FORGE_MASTER_OPENED(event_name) | |
3052 SetUnitField("arcane_reforger", private.UNIT_TYPES.NPC) | |
3053 end | |
3054 | |
3055 | |
3056 local GOSSIP_SHOW_FUNCS = { | 3053 local GOSSIP_SHOW_FUNCS = { |
3057 [private.UNIT_TYPES.NPC] = function(unit_idnum) | 3054 [private.UNIT_TYPES.NPC] = function(unit_idnum) |
3058 local gossip_options = { _G.GetGossipOptions() } | 3055 local gossip_options = { _G.GetGossipOptions() } |
3059 | 3056 |
3060 for index = 2, #gossip_options, 2 do | 3057 for index = 2, #gossip_options, 2 do |