changeset 18:8e12723d408d v1.7.0.2

Consolidated Gem Chips into their singular result; may require users to reset their database or manually edit their saved variables to remove incorrect chips.
author Geoff Brock <mischivin@gmail.com>
date Sun, 04 Sep 2016 16:51:15 -0400
parents 4f5357900609
children 169c4aadffe6
files ProspectMe.lua
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ProspectMe.lua	Sun Sep 04 16:50:14 2016 -0400
+++ b/ProspectMe.lua	Sun Sep 04 16:51:15 2016 -0400
@@ -60,9 +60,12 @@
 	if not PM_SessionTable[containerID] then
 		PM_SessionTable[containerID] = {timesProspected = 0}
 	end
-	
+
 	for i = 1, GetNumLootItems() do
 		local itemID = GetLootSlotLink(i):match("Hitem:(%d+)")
+		if itemID == "129099" or itemID == "130200" or itemID == "130201" or itemID == "130202" or itemID == "130203" or itemID == "130204" then --consolidate Colored Gem Chips into their resulting item
+			itemID = "129100"
+		end
 		local quantity = select(3, GetLootSlotInfo(i))
 		if not PM_ItemTable[itemID]	then
 			CreateTableEntry(itemID)