diff TeamOptimizer.lua @ 103:ed7ffc8d9936

tweak to try and deal with containers in team optimizer
author yellowfive
date Thu, 03 Nov 2016 12:57:37 -0700
parents e0ddd02d6555
children
line wrap: on
line diff
--- 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