comparison AskMrRobot-Serializer/AskMrRobot-Serializer.lua @ 110:5021d5125484 v51

Added Tomb of Sargeras to auto-logging.
author yellowfive
date Wed, 14 Jun 2017 21:00:53 -0700
parents 917ac27213d1
children 57c6cac5143c
comparison
equal deleted inserted replaced
109:21580b222a57 110:5021d5125484
1 -- AskMrRobot-Serializer will serialize and communicate character data between users. 1 -- AskMrRobot-Serializer will serialize and communicate character data between users.
2 -- This is used primarily to associate character information to logs uploaded to askmrrobot.com. 2 -- This is used primarily to associate character information to logs uploaded to askmrrobot.com.
3 3
4 local MAJOR, MINOR = "AskMrRobot-Serializer", 50 4 local MAJOR, MINOR = "AskMrRobot-Serializer", 51
5 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR) 5 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
6 6
7 if not Amr then return end -- already loaded by something else 7 if not Amr then return end -- already loaded by something else
8 8
9 -- event and comm used for player snapshotting on entering combat 9 -- event and comm used for player snapshotting on entering combat
147 } 147 }
148 148
149 Amr.InstanceIds = { 149 Amr.InstanceIds = {
150 EmeraldNightmare = 1520, 150 EmeraldNightmare = 1520,
151 Nighthold = 1530, 151 Nighthold = 1530,
152 TrialOfValor = 1648 152 TrialOfValor = 1648,
153 TombOfSargeras = 1676
153 } 154 }
154 155
155 -- instances that AskMrRobot currently supports logging for 156 -- instances that AskMrRobot currently supports logging for
156 Amr.SupportedInstanceIds = { 157 Amr.SupportedInstanceIds = {
157 [1520] = true, 158 [1520] = true,
158 [1530] = true, 159 [1530] = true,
159 [1648] = true 160 [1648] = true,
161 [1676] = true
160 } 162 }
161 163
162 -- just to make life easier, maps ID of each artifact weapon to the spec number (1-4) 164 -- just to make life easier, maps ID of each artifact weapon to the spec number (1-4)
163 Amr.ArtifactIdToSpecNumber = { 165 Amr.ArtifactIdToSpecNumber = {
164 [128402] = 1, -- DK 166 [128402] = 1, -- DK