Fix smelting. Why is it called smelting, when the profession window shows mining?
ackis [05-03-09 - 16:25]
Fix smelting. Why is it called smelting, when the profession window shows mining?
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index 74aeda9..5124761 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -57,7 +57,7 @@ local function LoadRecipe()
addon:AddRecipeData(GetSpellInfo(51306))
addon:AddRecipeData(GetSpellInfo(45542))
addon:AddRecipeData(GetSpellInfo(51302))
- addon:AddRecipeData(GetSpellInfo(61422))
+ addon:AddRecipeData(GetSpellInfo(32606))
addon:AddRecipeData(GetSpellInfo(51309))
addon:AddRecipeData(GetSpellInfo(51311))
addon:AddRecipeData(GetSpellInfo(45363))
@@ -77,7 +77,7 @@ local function LoadRecipe()
addon:AddRecipeData(GetSpellInfo(51306))
addon:AddRecipeData(GetSpellInfo(45542))
addon:AddRecipeData(GetSpellInfo(51302))
- addon:AddRecipeData(GetSpellInfo(61422))
+ addon:AddRecipeData(GetSpellInfo(32606))
addon:AddRecipeData(GetSpellInfo(51309))
addon:AddRecipeData(GetSpellInfo(51311))
addon:AddRecipeData(GetSpellInfo(45363))
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 1fa289d..e8b12e7 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -124,7 +124,7 @@ local SortedProfessions = {
{ name = GetSpellInfo(51311), texture = "jewel" }, -- 8
{ name = GetSpellInfo(51302), texture = "leather" }, -- 9
{ name = GetSpellInfo(53428), texture = "runeforge" }, -- 10
- { name = GetSpellInfo(61422), texture = "smelting" }, -- 11
+ { name = GetSpellInfo(32606), texture = "smelting" }, -- 11
{ name = GetSpellInfo(51309), texture = "tailor" }, -- 12
}
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index d9ead29..348c1d3 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -540,7 +540,7 @@ do
end
if (ProfTable[spellName] == false or spellName == GetSpellInfo(2656)) then
if spellName == GetSpellInfo(2656) then
- ProfTable[GetSpellInfo(61422)] = true
+ ProfTable[GetSpellInfo(32606)] = true
else
ProfTable[spellName] = true
end
@@ -1493,7 +1493,7 @@ local function InitializeRecipes(RecipeDB, playerProfession)
-- Hack to get first aid working on frFR since I can't seem to get a proper spell ID :P
["Premiers soins"] = addon.InitFirstAid,
[GetSpellInfo(51302)] = addon.InitLeatherworking,
- [GetSpellInfo(61422)] = addon.InitSmelting,
+ [GetSpellInfo(32606)] = addon.InitSmelting,
[GetSpellInfo(51309)] = addon.InitTailoring,
[GetSpellInfo(51311)] = addon.InitJewelcrafting,
[GetSpellInfo(45363)] = addon.InitInscription,
@@ -1715,7 +1715,7 @@ do
[GetSpellInfo(45542)] = false, -- First Aid
--["Premiers soins"] = false, -- First Aid (Hack for frFR local)
[GetSpellInfo(51302)] = false, -- Leatherworking
- [GetSpellInfo(61422)] = false, -- Mining
+ [GetSpellInfo(32606)] = false, -- Mining
[GetSpellInfo(51309)] = false, -- Tailoring
[GetSpellInfo(51311)] = false, -- Jewelcrafting
[GetSpellInfo(45363)] = false, -- Inscription