Mercurial > wow > askmrrobot
diff AskMrRobot-Serializer/AskMrRobot-Serializer.lua @ 89:6bbe64d587b4 v42
Improved artifact/relic reading, gear display.
Now creates equipment manager sets when you use button or command to equip a set.
author | yellowfive |
---|---|
date | Sun, 18 Sep 2016 21:24:08 -0700 |
parents | fe0bc2f32851 |
children | b8e9664d3229 |
line wrap: on
line diff
--- a/AskMrRobot-Serializer/AskMrRobot-Serializer.lua Fri Sep 02 16:22:12 2016 -0700 +++ b/AskMrRobot-Serializer/AskMrRobot-Serializer.lua Sun Sep 18 21:24:08 2016 -0700 @@ -1,7 +1,7 @@ -- AskMrRobot-Serializer will serialize and communicate character data between users. -- This is used primarily to associate character information to logs uploaded to askmrrobot.com. -local MAJOR, MINOR = "AskMrRobot-Serializer", 41 +local MAJOR, MINOR = "AskMrRobot-Serializer", 42 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR) if not Amr then return end -- already loaded by something else @@ -175,6 +175,65 @@ [1448] = true } +-- just to make life easier, maps ID of each artifact weapon to the spec number (1-4) +Amr.ArtifactIdToSpecNumber = { + [128402] = 1, -- DK + [128292] = 2, + [128403] = 3, + [127829] = 1, -- DH + [128832] = 2, + [128858] = 1, -- Druid + [128860] = 2, + [128821] = 3, + [128306] = 4, + [128861] = 1, -- Hunter + [128826] = 2, + [128808] = 3, + [127857] = 1, -- Mage + [128820] = 2, + [128862] = 3, + [128938] = 1, -- Monk + [128937] = 2, + [128940] = 3, + [128823] = 1, -- Paladin + [128866] = 2, + [120978] = 3, + [128868] = 1, -- Priest + [128825] = 2, + [128827] = 3, + [128870] = 1, -- Rogue + [128872] = 2, + [128476] = 3, + [128935] = 1, -- Shaman + [128819] = 2, + [128911] = 3, + [128942] = 1, -- Warlock + [128943] = 2, + [128941] = 3, + [128910] = 1, -- Warrior + [128908] = 2, + [128289] = 3, + + --[128293] = 2, -- Frost OH + --[127830] = 1, -- Havoc OH + --[128831] = 2, -- Vengeance OH + --[128859] = 2, -- Feral OH + --[128822] = 3, -- Guardian OH + --[133959] = 2, -- Fire OH + --[133948] = 3, -- Windwalker OH + --[128867] = 2, -- Prot MH + --[133958] = 3, -- Shadow OH + --[128869] = 1, -- Rogue OH's + --[134552] = 2, + --[128479] = 3, + --[128936] = 1, -- Shaman OH's + --[128873] = 2, + --[128934] = 3, + --[137246] = 2, -- Demo MH + --[134553] = 2, -- Fury OH + --[128288] = 3 -- Prot MH +} + -- IDs of set tokens that we would care about in a player's inventory Amr.SetTokenIds = { [127970] = true,