lol-constants 2.24.3 → 2.24.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * @see https://leagueoflegends.fandom.com/wiki/Legendary_item
3
3
  */
4
- export declare const LegendaryItemNames: readonly ["Abyssal Mask", "Anathema's Chains", "Archangel's Staff", "Ardent Censer", "Atma's Reckoning", "Axiom Arc", "Banshee's Veil", "Black Cleaver", "Blackfire Torch", "Blade of the Ruined King", "Bloodletter's Curse", "Bloodsong", "Bloodthirster", "Bounty of Worlds", "Celestial Opposition", "Chempunk Chainsword", "Cosmic Drive", "Cryptbloom", "Dawncore", "Dead Man's Plate", "Death's Dance", "Dream Maker", "Edge of Night", "Essence Reaver", "Experimental Hexplate", "Fimbulwinter", "Force of Nature", "Frozen Heart", "Guardian Angel", "Hellfire Hatchet", "Hextech Gunblade", "Hollow Radiance", "Horizon Focus", "Hubris", "Hullbreaker", "Immortal Shieldbow", "Imperial Mandate", "Kaenic Rookern", "Knight's Vow", "Kraken Slayer", "Lich Bane", "Lord Dominik's Regards", "Luden's Companion", "Malignance", "Manamune", "Maw of Malmortius", "Mejai's Soulstealer", "Mercurial Scimitar", "Mikael's Blessing", "Morellonomicon", "Mortal Reminder", "Muramana", "Nashor's Tooth", "Opportunity", "Overlord's Bloodmail", "Perplexity", "Phantom Dancer", "Profane Hydra", "Rabadon's Deathcap", "Randuin's Omen", "Rapid Firecannon", "Ravenous Hydra", "Redemption", "Rite of Ruin", "Runaan's Hurricane", "Rylai's Crystal Scepter", "Seraph's Embrace", "Serpent's Fang", "Serylda's Grudge", "Shadowflame", "Solstice Sleigh", "Spear of Shojin", "Spectral Cutlass", "Spirit Visage", "Staff of Flowing Water", "Statikk Shiv", "Sterak's Gage", "Stormrazor", "Stormsurge", "Sundered Sky", "Sunfire Aegis", "Terminus", "The Collector", "Thornmail", "Titanic Hydra", "Trailblazer", "Umbral Glaive", "Unending Despair", "Vigilant Wardstone", "Void Staff", "Voltaic Cyclosword", "Warmog's Armor", "Winter's Approach", "Wit's End", "Wordless Promise", "Zaz'Zak's Realmspike", "Zeke's Convergence", "Zhonya's Hourglass", "Echoes of Helia", "Liandry's Torment", "Locket of the Iron Solari", "Moonstone Renewer", "Navori Flickerblade", "Riftmaker", "Shurelya's Battlesong", "Stridebreaker", "Trinity Force", "Eclipse", "Iceborn Gauntlet", "Infinity Edge", "Guinsoo's Rageblade", "Hextech Rocketbelt", "Jak'Sho, The Protean", "Heartsteel", "Rod of Ages", "Youmuu's Ghostblade", "Yun Tal Wildarrows", "Chemtech Putrifier", "Sword of Blossoming Dawn"];
4
+ export declare const LegendaryItemNames: readonly ["Abyssal Mask", "Anathema's Chains", "Archangel's Staff", "Ardent Censer", "Atma's Reckoning", "Axiom Arc", "Banshee's Veil", "Black Cleaver", "Blackfire Torch", "Blade of The Ruined King", "Bloodletter's Curse", "Bloodsong", "Bloodthirster", "Bounty of Worlds", "Celestial Opposition", "Chempunk Chainsword", "Cosmic Drive", "Cryptbloom", "Dawncore", "Dead Man's Plate", "Death's Dance", "Dream Maker", "Edge of Night", "Essence Reaver", "Experimental Hexplate", "Fimbulwinter", "Force of Nature", "Frozen Heart", "Guardian Angel", "Hellfire Hatchet", "Hextech Gunblade", "Hollow Radiance", "Horizon Focus", "Hubris", "Hullbreaker", "Immortal Shieldbow", "Imperial Mandate", "Kaenic Rookern", "Knight's Vow", "Kraken Slayer", "Lich Bane", "Lord Dominik's Regards", "Luden's Companion", "Malignance", "Manamune", "Maw of Malmortius", "Mejai's Soulstealer", "Mercurial Scimitar", "Mikael's Blessing", "Morellonomicon", "Mortal Reminder", "Muramana", "Nashor's Tooth", "Opportunity", "Overlord's Bloodmail", "Perplexity", "Phantom Dancer", "Profane Hydra", "Rabadon's Deathcap", "Randuin's Omen", "Rapid Firecannon", "Ravenous Hydra", "Redemption", "Rite Of Ruin", "Runaan's Hurricane", "Rylai's Crystal Scepter", "Seraph's Embrace", "Serpent's Fang", "Serylda's Grudge", "Shadowflame", "Solstice Sleigh", "Spear of Shojin", "Spectral Cutlass", "Spirit Visage", "Staff of Flowing Water", "Statikk Shiv", "Sterak's Gage", "Stormrazor", "Stormsurge", "Sundered Sky", "Sunfire Aegis", "Terminus", "The Collector", "Thornmail", "Titanic Hydra", "Trailblazer", "Umbral Glaive", "Unending Despair", "Vigilant Wardstone", "Void Staff", "Voltaic Cyclosword", "Warmog's Armor", "Winter's Approach", "Wit's End", "Wordless Promise", "Zaz'Zak's Realmspike", "Zeke's Convergence", "Zhonya's Hourglass", "Echoes of Helia", "Liandry's Torment", "Locket of the Iron Solari", "Moonstone Renewer", "Navori Flickerblade", "Riftmaker", "Shurelya's Battlesong", "Stridebreaker", "Trinity Force", "Eclipse", "Iceborn Gauntlet", "Infinity Edge", "Guinsoo's Rageblade", "Hextech Rocketbelt", "Jak'Sho, The Protean", "Heartsteel", "Rod of Ages", "Youmuu's Ghostblade", "Yun Tal Wildarrows", "Chemtech Putrifier", "Sword of Blossoming Dawn"];
@@ -11,7 +11,7 @@ export const LegendaryItemNames = [
11
11
  "Banshee's Veil",
12
12
  "Black Cleaver",
13
13
  "Blackfire Torch",
14
- "Blade of the Ruined King",
14
+ "Blade of The Ruined King",
15
15
  "Bloodletter's Curse",
16
16
  "Bloodsong",
17
17
  "Bloodthirster",
@@ -65,7 +65,7 @@ export const LegendaryItemNames = [
65
65
  "Rapid Firecannon",
66
66
  "Ravenous Hydra",
67
67
  "Redemption",
68
- "Rite of Ruin",
68
+ "Rite Of Ruin",
69
69
  "Runaan's Hurricane",
70
70
  "Rylai's Crystal Scepter",
71
71
  "Seraph's Embrace",
@@ -10,9 +10,12 @@ import { writeToTmpFile } from './helpers/writeToTmpFile';
10
10
  };
11
11
  // Add Legendary Items
12
12
  for (const itemName of LegendaryItemNames) {
13
+ let foundData = false;
13
14
  let itemKey;
14
15
  for (itemKey in Item.data) {
15
16
  const itemData = Item.data[itemKey];
17
+ if (itemData.name == itemName)
18
+ foundData = true;
16
19
  // Filter out only for Summoner's Rift
17
20
  if (!itemData.maps[11])
18
21
  continue;
@@ -20,12 +23,17 @@ import { writeToTmpFile } from './helpers/writeToTmpFile';
20
23
  itemKeys.legendary[itemData.name] = validateNumber(itemKey, 'legendary-itemKey');
21
24
  }
22
25
  }
26
+ if (!foundData)
27
+ console.warn(`Did not find data for ${itemName}`);
23
28
  }
24
29
  // Add Boots
25
30
  for (const itemName of BootsItemNames) {
31
+ let foundData = false;
26
32
  let itemKey;
27
33
  for (itemKey in Item.data) {
28
34
  const itemData = Item.data[itemKey];
35
+ if (itemData.name == itemName)
36
+ foundData = true;
29
37
  // Filter out only for Summoner's Rift
30
38
  if (!itemData.maps[11])
31
39
  continue;
@@ -33,6 +41,8 @@ import { writeToTmpFile } from './helpers/writeToTmpFile';
33
41
  itemKeys.boots[itemData.name] = validateNumber(itemKey, 'boots-itemKey');
34
42
  }
35
43
  }
44
+ if (!foundData)
45
+ console.warn(`Did not find data for ${itemName}`);
36
46
  }
37
47
  writeToTmpFile('LegendaryItemKeysNum', {
38
48
  constName: 'LegendaryItemKeysNum',
@@ -9,9 +9,12 @@ import { writeToTmpFile } from './helpers/writeToTmpFile';
9
9
  };
10
10
  // Add Legendary Items
11
11
  for (const itemName of LegendaryItemNames) {
12
+ let foundData = false;
12
13
  let itemKey;
13
14
  for (itemKey in Item.data) {
14
15
  const itemData = Item.data[itemKey];
16
+ if (itemData.name == itemName)
17
+ foundData = true;
15
18
  // Filter out only for Summoner's Rift
16
19
  if (!itemData.maps[11])
17
20
  continue;
@@ -19,12 +22,17 @@ import { writeToTmpFile } from './helpers/writeToTmpFile';
19
22
  itemKeys.legendary[itemData.name] = itemKey;
20
23
  }
21
24
  }
25
+ if (!foundData)
26
+ console.warn(`Did not find data for ${itemName}`);
22
27
  }
23
28
  // Add Boots
24
29
  for (const itemName of BootsItemNames) {
30
+ let foundData = false;
25
31
  let itemKey;
26
32
  for (itemKey in Item.data) {
27
33
  const itemData = Item.data[itemKey];
34
+ if (itemData.name == itemName)
35
+ foundData = true;
28
36
  // Filter out only for Summoner's Rift
29
37
  if (!itemData.maps[11])
30
38
  continue;
@@ -32,6 +40,8 @@ import { writeToTmpFile } from './helpers/writeToTmpFile';
32
40
  itemKeys.boots[itemData.name] = itemKey;
33
41
  }
34
42
  }
43
+ if (!foundData)
44
+ console.warn(`Did not find data for ${itemName}`);
35
45
  }
36
46
  writeToTmpFile('LegendaryItemKeys', {
37
47
  constName: 'LegendaryItemKeys',
@@ -9,9 +9,12 @@ import { writeToTmpFile } from './helpers/writeToTmpFile';
9
9
  };
10
10
  // Add Legendary Items
11
11
  for (const itemName of LegendaryItemNames) {
12
+ let foundData = false;
12
13
  let itemKey;
13
14
  for (itemKey in Item.data) {
14
15
  const itemData = Item.data[itemKey];
16
+ if (itemData.name == itemName)
17
+ foundData = true;
15
18
  // Filter out only for Summoner's Rift
16
19
  if (!itemData.maps[11])
17
20
  continue;
@@ -19,12 +22,17 @@ import { writeToTmpFile } from './helpers/writeToTmpFile';
19
22
  itemNames.legendary[itemKey] = itemData.name;
20
23
  }
21
24
  }
25
+ if (!foundData)
26
+ console.warn(`Did not find data for ${itemName}`);
22
27
  }
23
28
  // Add Boots
24
29
  for (const itemName of BootsItemNames) {
30
+ let foundData = false;
25
31
  let itemKey;
26
32
  for (itemKey in Item.data) {
27
33
  const itemData = Item.data[itemKey];
34
+ if (itemData.name == itemName)
35
+ foundData = true;
28
36
  // Filter out only for Summoner's Rift
29
37
  if (!itemData.maps[11])
30
38
  continue;
@@ -32,6 +40,8 @@ import { writeToTmpFile } from './helpers/writeToTmpFile';
32
40
  itemNames.boots[itemKey] = itemData.name;
33
41
  }
34
42
  }
43
+ if (!foundData)
44
+ console.warn(`Did not find data for ${itemName}`);
35
45
  }
36
46
  writeToTmpFile('LegendaryItemNames', {
37
47
  constName: 'LegendaryItemNames',
@@ -7,6 +7,7 @@ export declare const LegendaryItemKeys: {
7
7
  readonly "Banshee's Veil": "3102";
8
8
  readonly "Black Cleaver": "3071";
9
9
  readonly "Blackfire Torch": "2503";
10
+ readonly "Blade of The Ruined King": "3153";
10
11
  readonly Bloodsong: "3877";
11
12
  readonly Bloodthirster: "3072";
12
13
  readonly "Bounty of Worlds": "3867";
@@ -1 +1 @@
1
- export const LegendaryItemKeys = { "Abyssal Mask": "8020", "Anathema's Chains": "8001", "Archangel's Staff": "3003", "Ardent Censer": "3504", "Axiom Arc": "6696", "Banshee's Veil": "3102", "Black Cleaver": "3071", "Blackfire Torch": "2503", "Bloodsong": "3877", "Bloodthirster": "3072", "Bounty of Worlds": "3867", "Celestial Opposition": "3869", "Chempunk Chainsword": "6609", "Cosmic Drive": "4629", "Cryptbloom": "3137", "Dawncore": "6621", "Dead Man's Plate": "3742", "Death's Dance": "6333", "Dream Maker": "3870", "Edge of Night": "3814", "Essence Reaver": "3508", "Experimental Hexplate": "3073", "Fimbulwinter": "3121", "Force of Nature": "4401", "Frozen Heart": "3110", "Guardian Angel": "3026", "Hollow Radiance": "6664", "Horizon Focus": "4628", "Hubris": "6697", "Hullbreaker": "3181", "Immortal Shieldbow": "6673", "Imperial Mandate": "4005", "Kaenic Rookern": "2504", "Knight's Vow": "3109", "Kraken Slayer": "6672", "Lich Bane": "3100", "Lord Dominik's Regards": "3036", "Luden's Companion": "6655", "Malignance": "3118", "Manamune": "3004", "Maw of Malmortius": "3156", "Mejai's Soulstealer": "3041", "Mercurial Scimitar": "3139", "Mikael's Blessing": "3222", "Morellonomicon": "3165", "Mortal Reminder": "3033", "Muramana": "3042", "Nashor's Tooth": "3115", "Opportunity": "6701", "Overlord's Bloodmail": "2501", "Phantom Dancer": "3046", "Profane Hydra": "6698", "Rabadon's Deathcap": "3089", "Randuin's Omen": "3143", "Rapid Firecannon": "3094", "Ravenous Hydra": "3074", "Redemption": "3107", "Runaan's Hurricane": "3085", "Rylai's Crystal Scepter": "3116", "Seraph's Embrace": "3040", "Serpent's Fang": "6695", "Serylda's Grudge": "6694", "Shadowflame": "4645", "Solstice Sleigh": "3876", "Spear of Shojin": "3161", "Spirit Visage": "3065", "Staff of Flowing Water": "6616", "Statikk Shiv": "3087", "Sterak's Gage": "3053", "Stormsurge": "4646", "Sundered Sky": "6610", "Sunfire Aegis": "3068", "Terminus": "3302", "The Collector": "6676", "Thornmail": "3075", "Titanic Hydra": "3748", "Trailblazer": "3002", "Umbral Glaive": "3179", "Unending Despair": "2502", "Vigilant Wardstone": "4643", "Void Staff": "3135", "Voltaic Cyclosword": "6699", "Warmog's Armor": "3083", "Winter's Approach": "3119", "Wit's End": "3091", "Zaz'Zak's Realmspike": "3871", "Zeke's Convergence": "3050", "Zhonya's Hourglass": "3157", "Echoes of Helia": "6620", "Liandry's Torment": "6653", "Locket of the Iron Solari": "3190", "Moonstone Renewer": "6617", "Navori Flickerblade": "6675", "Riftmaker": "4633", "Shurelya's Battlesong": "2065", "Stridebreaker": "6631", "Trinity Force": "3078", "Eclipse": "6692", "Iceborn Gauntlet": "6662", "Infinity Edge": "3031", "Guinsoo's Rageblade": "3124", "Hextech Rocketbelt": "3152", "Jak'Sho, The Protean": "6665", "Heartsteel": "3084", "Rod of Ages": "6657", "Youmuu's Ghostblade": "3142", "Yun Tal Wildarrows": "3032", "Chemtech Putrifier": "3011" };
1
+ export const LegendaryItemKeys = { "Abyssal Mask": "8020", "Anathema's Chains": "8001", "Archangel's Staff": "3003", "Ardent Censer": "3504", "Axiom Arc": "6696", "Banshee's Veil": "3102", "Black Cleaver": "3071", "Blackfire Torch": "2503", "Blade of The Ruined King": "3153", "Bloodsong": "3877", "Bloodthirster": "3072", "Bounty of Worlds": "3867", "Celestial Opposition": "3869", "Chempunk Chainsword": "6609", "Cosmic Drive": "4629", "Cryptbloom": "3137", "Dawncore": "6621", "Dead Man's Plate": "3742", "Death's Dance": "6333", "Dream Maker": "3870", "Edge of Night": "3814", "Essence Reaver": "3508", "Experimental Hexplate": "3073", "Fimbulwinter": "3121", "Force of Nature": "4401", "Frozen Heart": "3110", "Guardian Angel": "3026", "Hollow Radiance": "6664", "Horizon Focus": "4628", "Hubris": "6697", "Hullbreaker": "3181", "Immortal Shieldbow": "6673", "Imperial Mandate": "4005", "Kaenic Rookern": "2504", "Knight's Vow": "3109", "Kraken Slayer": "6672", "Lich Bane": "3100", "Lord Dominik's Regards": "3036", "Luden's Companion": "6655", "Malignance": "3118", "Manamune": "3004", "Maw of Malmortius": "3156", "Mejai's Soulstealer": "3041", "Mercurial Scimitar": "3139", "Mikael's Blessing": "3222", "Morellonomicon": "3165", "Mortal Reminder": "3033", "Muramana": "3042", "Nashor's Tooth": "3115", "Opportunity": "6701", "Overlord's Bloodmail": "2501", "Phantom Dancer": "3046", "Profane Hydra": "6698", "Rabadon's Deathcap": "3089", "Randuin's Omen": "3143", "Rapid Firecannon": "3094", "Ravenous Hydra": "3074", "Redemption": "3107", "Runaan's Hurricane": "3085", "Rylai's Crystal Scepter": "3116", "Seraph's Embrace": "3040", "Serpent's Fang": "6695", "Serylda's Grudge": "6694", "Shadowflame": "4645", "Solstice Sleigh": "3876", "Spear of Shojin": "3161", "Spirit Visage": "3065", "Staff of Flowing Water": "6616", "Statikk Shiv": "3087", "Sterak's Gage": "3053", "Stormsurge": "4646", "Sundered Sky": "6610", "Sunfire Aegis": "3068", "Terminus": "3302", "The Collector": "6676", "Thornmail": "3075", "Titanic Hydra": "3748", "Trailblazer": "3002", "Umbral Glaive": "3179", "Unending Despair": "2502", "Vigilant Wardstone": "4643", "Void Staff": "3135", "Voltaic Cyclosword": "6699", "Warmog's Armor": "3083", "Winter's Approach": "3119", "Wit's End": "3091", "Zaz'Zak's Realmspike": "3871", "Zeke's Convergence": "3050", "Zhonya's Hourglass": "3157", "Echoes of Helia": "6620", "Liandry's Torment": "6653", "Locket of the Iron Solari": "3190", "Moonstone Renewer": "6617", "Navori Flickerblade": "6675", "Riftmaker": "4633", "Shurelya's Battlesong": "2065", "Stridebreaker": "6631", "Trinity Force": "3078", "Eclipse": "6692", "Iceborn Gauntlet": "6662", "Infinity Edge": "3031", "Guinsoo's Rageblade": "3124", "Hextech Rocketbelt": "3152", "Jak'Sho, The Protean": "6665", "Heartsteel": "3084", "Rod of Ages": "6657", "Youmuu's Ghostblade": "3142", "Yun Tal Wildarrows": "3032", "Chemtech Putrifier": "3011" };
@@ -7,6 +7,7 @@ export declare const LegendaryItemKeysNum: {
7
7
  readonly "Banshee's Veil": 3102;
8
8
  readonly "Black Cleaver": 3071;
9
9
  readonly "Blackfire Torch": 2503;
10
+ readonly "Blade of The Ruined King": 3153;
10
11
  readonly Bloodsong: 3877;
11
12
  readonly Bloodthirster: 3072;
12
13
  readonly "Bounty of Worlds": 3867;
@@ -1 +1 @@
1
- export const LegendaryItemKeysNum = { "Abyssal Mask": 8020, "Anathema's Chains": 8001, "Archangel's Staff": 3003, "Ardent Censer": 3504, "Axiom Arc": 6696, "Banshee's Veil": 3102, "Black Cleaver": 3071, "Blackfire Torch": 2503, "Bloodsong": 3877, "Bloodthirster": 3072, "Bounty of Worlds": 3867, "Celestial Opposition": 3869, "Chempunk Chainsword": 6609, "Cosmic Drive": 4629, "Cryptbloom": 3137, "Dawncore": 6621, "Dead Man's Plate": 3742, "Death's Dance": 6333, "Dream Maker": 3870, "Edge of Night": 3814, "Essence Reaver": 3508, "Experimental Hexplate": 3073, "Fimbulwinter": 3121, "Force of Nature": 4401, "Frozen Heart": 3110, "Guardian Angel": 3026, "Hollow Radiance": 6664, "Horizon Focus": 4628, "Hubris": 6697, "Hullbreaker": 3181, "Immortal Shieldbow": 6673, "Imperial Mandate": 4005, "Kaenic Rookern": 2504, "Knight's Vow": 3109, "Kraken Slayer": 6672, "Lich Bane": 3100, "Lord Dominik's Regards": 3036, "Luden's Companion": 6655, "Malignance": 3118, "Manamune": 3004, "Maw of Malmortius": 3156, "Mejai's Soulstealer": 3041, "Mercurial Scimitar": 3139, "Mikael's Blessing": 3222, "Morellonomicon": 3165, "Mortal Reminder": 3033, "Muramana": 3042, "Nashor's Tooth": 3115, "Opportunity": 6701, "Overlord's Bloodmail": 2501, "Phantom Dancer": 3046, "Profane Hydra": 6698, "Rabadon's Deathcap": 3089, "Randuin's Omen": 3143, "Rapid Firecannon": 3094, "Ravenous Hydra": 3074, "Redemption": 3107, "Runaan's Hurricane": 3085, "Rylai's Crystal Scepter": 3116, "Seraph's Embrace": 3040, "Serpent's Fang": 6695, "Serylda's Grudge": 6694, "Shadowflame": 4645, "Solstice Sleigh": 3876, "Spear of Shojin": 3161, "Spirit Visage": 3065, "Staff of Flowing Water": 6616, "Statikk Shiv": 3087, "Sterak's Gage": 3053, "Stormsurge": 4646, "Sundered Sky": 6610, "Sunfire Aegis": 3068, "Terminus": 3302, "The Collector": 6676, "Thornmail": 3075, "Titanic Hydra": 3748, "Trailblazer": 3002, "Umbral Glaive": 3179, "Unending Despair": 2502, "Vigilant Wardstone": 4643, "Void Staff": 3135, "Voltaic Cyclosword": 6699, "Warmog's Armor": 3083, "Winter's Approach": 3119, "Wit's End": 3091, "Zaz'Zak's Realmspike": 3871, "Zeke's Convergence": 3050, "Zhonya's Hourglass": 3157, "Echoes of Helia": 6620, "Liandry's Torment": 6653, "Locket of the Iron Solari": 3190, "Moonstone Renewer": 6617, "Navori Flickerblade": 6675, "Riftmaker": 4633, "Shurelya's Battlesong": 2065, "Stridebreaker": 6631, "Trinity Force": 3078, "Eclipse": 6692, "Iceborn Gauntlet": 6662, "Infinity Edge": 3031, "Guinsoo's Rageblade": 3124, "Hextech Rocketbelt": 3152, "Jak'Sho, The Protean": 6665, "Heartsteel": 3084, "Rod of Ages": 6657, "Youmuu's Ghostblade": 3142, "Yun Tal Wildarrows": 3032, "Chemtech Putrifier": 3011 };
1
+ export const LegendaryItemKeysNum = { "Abyssal Mask": 8020, "Anathema's Chains": 8001, "Archangel's Staff": 3003, "Ardent Censer": 3504, "Axiom Arc": 6696, "Banshee's Veil": 3102, "Black Cleaver": 3071, "Blackfire Torch": 2503, "Blade of The Ruined King": 3153, "Bloodsong": 3877, "Bloodthirster": 3072, "Bounty of Worlds": 3867, "Celestial Opposition": 3869, "Chempunk Chainsword": 6609, "Cosmic Drive": 4629, "Cryptbloom": 3137, "Dawncore": 6621, "Dead Man's Plate": 3742, "Death's Dance": 6333, "Dream Maker": 3870, "Edge of Night": 3814, "Essence Reaver": 3508, "Experimental Hexplate": 3073, "Fimbulwinter": 3121, "Force of Nature": 4401, "Frozen Heart": 3110, "Guardian Angel": 3026, "Hollow Radiance": 6664, "Horizon Focus": 4628, "Hubris": 6697, "Hullbreaker": 3181, "Immortal Shieldbow": 6673, "Imperial Mandate": 4005, "Kaenic Rookern": 2504, "Knight's Vow": 3109, "Kraken Slayer": 6672, "Lich Bane": 3100, "Lord Dominik's Regards": 3036, "Luden's Companion": 6655, "Malignance": 3118, "Manamune": 3004, "Maw of Malmortius": 3156, "Mejai's Soulstealer": 3041, "Mercurial Scimitar": 3139, "Mikael's Blessing": 3222, "Morellonomicon": 3165, "Mortal Reminder": 3033, "Muramana": 3042, "Nashor's Tooth": 3115, "Opportunity": 6701, "Overlord's Bloodmail": 2501, "Phantom Dancer": 3046, "Profane Hydra": 6698, "Rabadon's Deathcap": 3089, "Randuin's Omen": 3143, "Rapid Firecannon": 3094, "Ravenous Hydra": 3074, "Redemption": 3107, "Runaan's Hurricane": 3085, "Rylai's Crystal Scepter": 3116, "Seraph's Embrace": 3040, "Serpent's Fang": 6695, "Serylda's Grudge": 6694, "Shadowflame": 4645, "Solstice Sleigh": 3876, "Spear of Shojin": 3161, "Spirit Visage": 3065, "Staff of Flowing Water": 6616, "Statikk Shiv": 3087, "Sterak's Gage": 3053, "Stormsurge": 4646, "Sundered Sky": 6610, "Sunfire Aegis": 3068, "Terminus": 3302, "The Collector": 6676, "Thornmail": 3075, "Titanic Hydra": 3748, "Trailblazer": 3002, "Umbral Glaive": 3179, "Unending Despair": 2502, "Vigilant Wardstone": 4643, "Void Staff": 3135, "Voltaic Cyclosword": 6699, "Warmog's Armor": 3083, "Winter's Approach": 3119, "Wit's End": 3091, "Zaz'Zak's Realmspike": 3871, "Zeke's Convergence": 3050, "Zhonya's Hourglass": 3157, "Echoes of Helia": 6620, "Liandry's Torment": 6653, "Locket of the Iron Solari": 3190, "Moonstone Renewer": 6617, "Navori Flickerblade": 6675, "Riftmaker": 4633, "Shurelya's Battlesong": 2065, "Stridebreaker": 6631, "Trinity Force": 3078, "Eclipse": 6692, "Iceborn Gauntlet": 6662, "Infinity Edge": 3031, "Guinsoo's Rageblade": 3124, "Hextech Rocketbelt": 3152, "Jak'Sho, The Protean": 6665, "Heartsteel": 3084, "Rod of Ages": 6657, "Youmuu's Ghostblade": 3142, "Yun Tal Wildarrows": 3032, "Chemtech Putrifier": 3011 };
@@ -51,6 +51,7 @@ export declare const LegendaryItemNames: {
51
51
  readonly "3142": "Youmuu's Ghostblade";
52
52
  readonly "3143": "Randuin's Omen";
53
53
  readonly "3152": "Hextech Rocketbelt";
54
+ readonly "3153": "Blade of The Ruined King";
54
55
  readonly "3156": "Maw of Malmortius";
55
56
  readonly "3157": "Zhonya's Hourglass";
56
57
  readonly "3161": "Spear of Shojin";
@@ -1 +1 @@
1
- export const LegendaryItemNames = { "2065": "Shurelya's Battlesong", "2501": "Overlord's Bloodmail", "2502": "Unending Despair", "2503": "Blackfire Torch", "2504": "Kaenic Rookern", "3002": "Trailblazer", "3003": "Archangel's Staff", "3004": "Manamune", "3011": "Chemtech Putrifier", "3026": "Guardian Angel", "3031": "Infinity Edge", "3032": "Yun Tal Wildarrows", "3033": "Mortal Reminder", "3036": "Lord Dominik's Regards", "3040": "Seraph's Embrace", "3041": "Mejai's Soulstealer", "3042": "Muramana", "3046": "Phantom Dancer", "3050": "Zeke's Convergence", "3053": "Sterak's Gage", "3065": "Spirit Visage", "3068": "Sunfire Aegis", "3071": "Black Cleaver", "3072": "Bloodthirster", "3073": "Experimental Hexplate", "3074": "Ravenous Hydra", "3075": "Thornmail", "3078": "Trinity Force", "3083": "Warmog's Armor", "3084": "Heartsteel", "3085": "Runaan's Hurricane", "3087": "Statikk Shiv", "3089": "Rabadon's Deathcap", "3091": "Wit's End", "3094": "Rapid Firecannon", "3100": "Lich Bane", "3102": "Banshee's Veil", "3107": "Redemption", "3109": "Knight's Vow", "3110": "Frozen Heart", "3115": "Nashor's Tooth", "3116": "Rylai's Crystal Scepter", "3118": "Malignance", "3119": "Winter's Approach", "3121": "Fimbulwinter", "3124": "Guinsoo's Rageblade", "3135": "Void Staff", "3137": "Cryptbloom", "3139": "Mercurial Scimitar", "3142": "Youmuu's Ghostblade", "3143": "Randuin's Omen", "3152": "Hextech Rocketbelt", "3156": "Maw of Malmortius", "3157": "Zhonya's Hourglass", "3161": "Spear of Shojin", "3165": "Morellonomicon", "3179": "Umbral Glaive", "3181": "Hullbreaker", "3190": "Locket of the Iron Solari", "3222": "Mikael's Blessing", "3302": "Terminus", "3504": "Ardent Censer", "3508": "Essence Reaver", "3742": "Dead Man's Plate", "3748": "Titanic Hydra", "3814": "Edge of Night", "3867": "Bounty of Worlds", "3869": "Celestial Opposition", "3870": "Dream Maker", "3871": "Zaz'Zak's Realmspike", "3876": "Solstice Sleigh", "3877": "Bloodsong", "4005": "Imperial Mandate", "4401": "Force of Nature", "4628": "Horizon Focus", "4629": "Cosmic Drive", "4633": "Riftmaker", "4643": "Vigilant Wardstone", "4645": "Shadowflame", "4646": "Stormsurge", "6333": "Death's Dance", "6609": "Chempunk Chainsword", "6610": "Sundered Sky", "6616": "Staff of Flowing Water", "6617": "Moonstone Renewer", "6620": "Echoes of Helia", "6621": "Dawncore", "6631": "Stridebreaker", "6653": "Liandry's Torment", "6655": "Luden's Companion", "6657": "Rod of Ages", "6662": "Iceborn Gauntlet", "6664": "Hollow Radiance", "6665": "Jak'Sho, The Protean", "6672": "Kraken Slayer", "6673": "Immortal Shieldbow", "6675": "Navori Flickerblade", "6676": "The Collector", "6692": "Eclipse", "6694": "Serylda's Grudge", "6695": "Serpent's Fang", "6696": "Axiom Arc", "6697": "Hubris", "6698": "Profane Hydra", "6699": "Voltaic Cyclosword", "6701": "Opportunity", "8001": "Anathema's Chains", "8020": "Abyssal Mask" };
1
+ export const LegendaryItemNames = { "2065": "Shurelya's Battlesong", "2501": "Overlord's Bloodmail", "2502": "Unending Despair", "2503": "Blackfire Torch", "2504": "Kaenic Rookern", "3002": "Trailblazer", "3003": "Archangel's Staff", "3004": "Manamune", "3011": "Chemtech Putrifier", "3026": "Guardian Angel", "3031": "Infinity Edge", "3032": "Yun Tal Wildarrows", "3033": "Mortal Reminder", "3036": "Lord Dominik's Regards", "3040": "Seraph's Embrace", "3041": "Mejai's Soulstealer", "3042": "Muramana", "3046": "Phantom Dancer", "3050": "Zeke's Convergence", "3053": "Sterak's Gage", "3065": "Spirit Visage", "3068": "Sunfire Aegis", "3071": "Black Cleaver", "3072": "Bloodthirster", "3073": "Experimental Hexplate", "3074": "Ravenous Hydra", "3075": "Thornmail", "3078": "Trinity Force", "3083": "Warmog's Armor", "3084": "Heartsteel", "3085": "Runaan's Hurricane", "3087": "Statikk Shiv", "3089": "Rabadon's Deathcap", "3091": "Wit's End", "3094": "Rapid Firecannon", "3100": "Lich Bane", "3102": "Banshee's Veil", "3107": "Redemption", "3109": "Knight's Vow", "3110": "Frozen Heart", "3115": "Nashor's Tooth", "3116": "Rylai's Crystal Scepter", "3118": "Malignance", "3119": "Winter's Approach", "3121": "Fimbulwinter", "3124": "Guinsoo's Rageblade", "3135": "Void Staff", "3137": "Cryptbloom", "3139": "Mercurial Scimitar", "3142": "Youmuu's Ghostblade", "3143": "Randuin's Omen", "3152": "Hextech Rocketbelt", "3153": "Blade of The Ruined King", "3156": "Maw of Malmortius", "3157": "Zhonya's Hourglass", "3161": "Spear of Shojin", "3165": "Morellonomicon", "3179": "Umbral Glaive", "3181": "Hullbreaker", "3190": "Locket of the Iron Solari", "3222": "Mikael's Blessing", "3302": "Terminus", "3504": "Ardent Censer", "3508": "Essence Reaver", "3742": "Dead Man's Plate", "3748": "Titanic Hydra", "3814": "Edge of Night", "3867": "Bounty of Worlds", "3869": "Celestial Opposition", "3870": "Dream Maker", "3871": "Zaz'Zak's Realmspike", "3876": "Solstice Sleigh", "3877": "Bloodsong", "4005": "Imperial Mandate", "4401": "Force of Nature", "4628": "Horizon Focus", "4629": "Cosmic Drive", "4633": "Riftmaker", "4643": "Vigilant Wardstone", "4645": "Shadowflame", "4646": "Stormsurge", "6333": "Death's Dance", "6609": "Chempunk Chainsword", "6610": "Sundered Sky", "6616": "Staff of Flowing Water", "6617": "Moonstone Renewer", "6620": "Echoes of Helia", "6621": "Dawncore", "6631": "Stridebreaker", "6653": "Liandry's Torment", "6655": "Luden's Companion", "6657": "Rod of Ages", "6662": "Iceborn Gauntlet", "6664": "Hollow Radiance", "6665": "Jak'Sho, The Protean", "6672": "Kraken Slayer", "6673": "Immortal Shieldbow", "6675": "Navori Flickerblade", "6676": "The Collector", "6692": "Eclipse", "6694": "Serylda's Grudge", "6695": "Serpent's Fang", "6696": "Axiom Arc", "6697": "Hubris", "6698": "Profane Hydra", "6699": "Voltaic Cyclosword", "6701": "Opportunity", "8001": "Anathema's Chains", "8020": "Abyssal Mask" };
@@ -1,8 +1,8 @@
1
- const tier1BootsItemKey = 1001;
2
- const slightlyMagicalBootsItemKey = 2422;
1
+ import { getItemKeyNumByName } from './getItemKeyNumByName';
3
2
  const tier1Boots = {
4
- [tier1BootsItemKey]: tier1BootsItemKey,
5
- [slightlyMagicalBootsItemKey]: slightlyMagicalBootsItemKey,
3
+ [getItemKeyNumByName('Boots')]: true,
4
+ [getItemKeyNumByName('Slightly Magical Footwear')]: true,
5
+ [getItemKeyNumByName('Symbiotic Soles')]: true,
6
6
  };
7
7
  export function isTier2Boots(itemKey) {
8
8
  return !(itemKey in tier1Boots);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "2.24.3",
3
+ "version": "2.24.5",
4
4
  "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells. Provides a plathera of functions to easily convert between ID, Name, and Key for champions and other game constants.",
5
5
  "main": "core/index.js",
6
6
  "types": "core/index.d.ts",