From b97ed443960995b5366f2ca21a54a3c187aa8faf Mon Sep 17 00:00:00 2001 From: John Pasula Date: Tue, 8 Feb 2011 10:49:21 -0700 Subject: [PATCH] Some really ugly hacks to get retired working. Torhal will beat me if he looks at this code. --- core.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core.lua b/core.lua index a737513..9810fd9 100644 --- a/core.lua +++ b/core.lua @@ -1360,7 +1360,11 @@ do end function addon:AddRecipeRetired(spell_id, ...) - GenericAddRecipeAcquire(spell_id, A.RETIRED, nil, nil, ...) + local retired_db = { + [1] = "Retired in Wrath", + [2] = "Retired in Cata", + } + GenericAddRecipeAcquire(spell_id, A.RETIRED, "Retired", retired_db, 1) end -- This function can NOT use GenericAddRecipeAcquire() - reputation vendors are more complicated than the other acquire types. -- 1.7.9.5