changeset 103:ed7ffc8d9936

tweak to try and deal with containers in team optimizer
author yellowfive
date Thu, 03 Nov 2016 12:57:37 -0700
parents efa3f2fedac5
children 5bacf5c7c66d
files AskMrRobot-Serializer/AskMrRobot-Serializer.lua AskMrRobot.toc TeamOptimizer.lua
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/AskMrRobot-Serializer/AskMrRobot-Serializer.lua	Tue Oct 25 10:00:47 2016 -0700
+++ b/AskMrRobot-Serializer/AskMrRobot-Serializer.lua	Thu Nov 03 12:57:37 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", 46
+local MAJOR, MINOR = "AskMrRobot-Serializer", 47
 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
 
 if not Amr then return end -- already loaded by something else
--- a/AskMrRobot.toc	Tue Oct 25 10:00:47 2016 -0700
+++ b/AskMrRobot.toc	Thu Nov 03 12:57:37 2016 -0700
@@ -1,7 +1,7 @@
 ## Interface: 70100
 ## Title: Ask Mr. Robot
 ## Author: Team Robot, Inc.
-## Version: 46
+## Version: 47
 ## Notes: Gear import/export, combat logging, and more.
 ## URL: www.askmrrobot.com
 ## SavedVariables: AskMrRobotDb3
--- a/TeamOptimizer.lua	Tue Oct 25 10:00:47 2016 -0700
+++ b/TeamOptimizer.lua	Thu Nov 03 12:57:37 2016 -0700
@@ -810,7 +810,7 @@
 	local npcGuid = UnitGUID("target")
 	if not npcGuid then
 		-- this could wack shit out... but no raid bosses drop loot from containers right now, so should be fine
-		npcGuid = "container"
+		npcGuid = "container" .. time()
 	end
 
 	-- if we already have loot data for this unit, then we can ignore