Skip to content

Commit

Permalink
Merge pull request #38 from matthewhively/master
Browse files Browse the repository at this point in the history
Fixed several more starter recipes
  • Loading branch information
b-morgan authored Jul 25, 2021
2 parents ab84d0a + 4b00339 commit b05f48a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
18 changes: 16 additions & 2 deletions ScrapeWowhead.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
// ---- ----
Expand Down
16 changes: 8 additions & 8 deletions SkillLevelData.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit b05f48a

Please sign in to comment.