From dbb0fdbd2431ec000e92183b5fa0ef4583e3f207 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Sat, 27 Mar 2010 04:32:10 -0400 Subject: [PATCH] In addon:AddRecipeAcquire(): Added support for WORLD_DROP locations. --- ARL.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ARL.lua b/ARL.lua index 2b93b85..96e18e6 100644 --- a/ARL.lua +++ b/ARL.lua @@ -64,6 +64,7 @@ _G.ARL = addon local L = LibStub("AceLocale-3.0"):GetLocale(MODNAME) local BFAC = LibStub("LibBabble-Faction-3.0"):GetLookupTable() +local BZ = LibStub("LibBabble-Zone-3.0"):GetLookupTable() local debugger = _G.tekDebug and _G.tekDebug:GetFrame(MODNAME) @@ -1027,6 +1028,11 @@ do end elseif acquire_type == A.WORLD_DROP then acquire[acquire_id] = true + location = type(acquire_id) == "string" and BZ[acquire_id] or nil + + if location then + affiliation = "world_drop" + end elseif acquire_type == A.SEASONAL then acquire[acquire_id] = true elseif acquire_type == A.CUSTOM then -- 1.7.9.5