From 9fe7fa8c6958e9b8b10f700c303d0294e9b1ed98 Mon Sep 17 00:00:00 2001 From: Matthew Hively Date: Sun, 25 Jul 2021 13:10:58 -0700 Subject: [PATCH 1/2] Added additional starter recipes orange level 1 --- ScrapeWowhead.js | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/ScrapeWowhead.js b/ScrapeWowhead.js index 06f51f7..3ac9477 100644 --- a/ScrapeWowhead.js +++ b/ScrapeWowhead.js @@ -54,8 +54,22 @@ function get_skill_levels() { if ($first_link[0].href.indexOf('cauldron') != -1) { level = 360; } arr.unshift(level); } - // Manual fix for 2 starter enchanting recipies since wowhead data is incomplete - if (is_enchanting && arr.length == 3 && [7418, 7428].includes(spellID)) { + /* + Manual fixes for some starter recipes that Wowhead does not have complete data for. + These can be removed if wowhead ever uploads corrected data. + Affected recipes: + Charred Wolf Meat (2538) + Roasted Boar Meat (2657) + Smelt Copper (2540) + Crafted Light Shot (3920) + Delicate Copper Wire (25255) + Rough Stone Statue (32259) + Braided Copper Ring (25493) + Woven Copper Ring (26925) + Enchant Bracer Minor Health (7418) + Enchant Bracer Minor Deflection (7428) + */ + if (arr.length == 3 && [2538, 2657, 2540, 3920, 25255, 32259, 25493, 26925, 7418, 7428].includes(spellID)) { arr.unshift(1); } // ---- ---- From 4b003398e91caa6919c1d60d3a797aeba4b39623 Mon Sep 17 00:00:00 2001 From: Matthew Hively Date: Sun, 25 Jul 2021 13:32:07 -0700 Subject: [PATCH 2/2] Fixed several starter recipies to have orange start at 1 --- SkillLevelData.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/SkillLevelData.lua b/SkillLevelData.lua index 99f5e7b..2e08570 100644 --- a/SkillLevelData.lua +++ b/SkillLevelData.lua @@ -1076,7 +1076,7 @@ function Skillet:InitializeSkillLevels() [7189] = "225/245/255/265", [7191] = "275/275/280/285", [7506] = "125/150/162/175", - [8067] = "30/30/45/60", + [8067] = "1/30/45/60", [8068] = "75/85/90/95", [8069] = "125/125/135/145", [9312] = "150/150/162/175", @@ -1259,7 +1259,7 @@ function Skillet:InitializeSkillLevels() [35581] = "355/365/375/385", -- jewelcrafting - [20816] = "20/20/35/50", + [20816] = "1/20/35/50", [20817] = "50/70/80/90", [20818] = "50/80/95/110", [20820] = "60/90/105/120", @@ -1272,7 +1272,7 @@ function Skillet:InitializeSkillLevels() [20831] = "150/180/195/210", [20832] = "120/150/165/180", [20833] = "125/155/170/185", - [20906] = "30/30/45/60", + [20906] = "1/30/45/60", [20907] = "50/80/95/110", [20909] = "110/140/155/170", [20950] = "120/150/165/180", @@ -1314,7 +1314,7 @@ function Skillet:InitializeSkillLevels() [21791] = "290/300/310/320", [21792] = "305/315/325/335", [21793] = "315/325/335/345", - [21931] = "30/30/45/60", + [21931] = "1/30/45/60", [21932] = "5/35/50/65", [21933] = "50/80/95/110", [21934] = "30/60/75/90", @@ -1404,7 +1404,7 @@ function Skillet:InitializeSkillLevels() [24128] = "370/380/390/400", [25438] = "20/50/65/80", [25439] = "20/50/65/80", - [25498] = "30/30/40/50", + [25498] = "1/30/40/50", [25880] = "50/70/80/90", [25881] = "110/120/130/140", [25882] = "175/175/185/195", @@ -1898,7 +1898,7 @@ function Skillet:InitializeSkillLevels() [185852] = "375/375/375/375", -- mining - [2840] = "25/25/47/70", + [2840] = "1/25/47/70", [2841] = "65/65/90/115", [2842] = "75/115/122/130", [3575] = "125/130/145/160", @@ -2242,9 +2242,9 @@ function Skillet:InitializeSkillLevels() [787] = "1/45/65/85", [1017] = "100/140/160/180", [1082] = "100/135/155/175", - [2679] = "45/45/65/85", + [2679] = "1/45/65/85", [2680] = "10/50/70/90", - [2681] = "45/45/65/85", + [2681] = "1/45/65/85", [2682] = "85/125/145/165", [2683] = "75/115/135/155", [2684] = "50/90/110/130",