comparison AskMrRobot-Serializer/AskMrRobot-Serializer.lua @ 118:5cb881417bbf v55

Added Antorus to auto-logging.
author yellowfive
date Fri, 24 Nov 2017 19:46:27 -0800
parents bccce18e12cb
children 42ce010b6253
comparison
equal deleted inserted replaced
117:35fec08d69b9 118:5cb881417bbf
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", 54 4 local MAJOR, MINOR = "AskMrRobot-Serializer", 55
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
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 TombOfSargeras = 1676,
154 Antorus = 1712
154 } 155 }
155 156
156 -- instances that AskMrRobot currently supports logging for 157 -- instances that AskMrRobot currently supports logging for
157 Amr.SupportedInstanceIds = { 158 Amr.SupportedInstanceIds = {
158 [1520] = true, 159 [1520] = true,
159 [1530] = true, 160 [1530] = true,
160 [1648] = true, 161 [1648] = true,
161 [1676] = true 162 [1676] = true,
163 [1712] = true
162 } 164 }
163 165
164 -- just to make life easier, maps ID of each artifact weapon to the spec number (1-4) 166 -- just to make life easier, maps ID of each artifact weapon to the spec number (1-4)
165 Amr.ArtifactIdToSpecNumber = { 167 Amr.ArtifactIdToSpecNumber = {
166 [128402] = 1, -- DK 168 [128402] = 1, -- DK