Mercurial > wow > askmrrobot
diff AskMrRobot-Serializer/AskMrRobot-Serializer.lua @ 114:4cd98aa90d78 v53
Small update to crucible export.
author | yellowfive |
---|---|
date | Wed, 04 Oct 2017 01:08:56 -0700 |
parents | 57c6cac5143c |
children | bccce18e12cb |
line wrap: on
line diff
--- a/AskMrRobot-Serializer/AskMrRobot-Serializer.lua Mon Aug 28 19:33:28 2017 -0700 +++ b/AskMrRobot-Serializer/AskMrRobot-Serializer.lua Wed Oct 04 01:08:56 2017 -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", 52 +local MAJOR, MINOR = "AskMrRobot-Serializer", 53 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR) if not Amr then return end -- already loaded by something else @@ -1169,9 +1169,11 @@ prevPowerId = serializeCrucibleInfo(crucibleinfos, relicInfo, i, prevPowerId) end end - for k,relicInfo in pairs(artifactInfo.Crucible.Inventory) do - if relicInfo then - prevPowerId = serializeCrucibleInfo(crucibleinfos, relicInfo, 4, prevPowerId) + if artifactInfo.Crucible.Previewed then + for k,relicInfo in pairs(artifactInfo.Crucible.Previewed) do + if relicInfo then + prevPowerId = serializeCrucibleInfo(crucibleinfos, relicInfo, 4, prevPowerId) + end end end end