lol-constants 2.19.0 → 2.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. package/README.md +1 -1
  2. package/assets/constants/BootsItemNames.js +9 -9
  3. package/assets/constants/Champion.d.ts +362 -315
  4. package/assets/constants/Champion.js +1 -1
  5. package/assets/constants/Item.d.ts +4842 -3135
  6. package/assets/constants/Item.js +1 -1
  7. package/assets/constants/LegendaryItemNames.d.ts +4 -1
  8. package/assets/constants/LegendaryItemNames.js +138 -74
  9. package/assets/constants/RunesReforged.d.ts +4 -4
  10. package/assets/constants/RunesReforged.js +1 -1
  11. package/assets/constants/Summoner.d.ts +1 -1
  12. package/assets/constants/Summoner.js +1 -1
  13. package/assets/index.js +0 -1
  14. package/assets/scripts/generate-categorized-item-keys-num.js +0 -20
  15. package/assets/scripts/generate-categorized-item-keys.js +1 -22
  16. package/assets/scripts/generate-categorized-item-names.js +0 -20
  17. package/core/constants/Champions/ChampionIds.d.ts +1 -0
  18. package/core/constants/Champions/ChampionIds.js +1 -1
  19. package/core/constants/Champions/ChampionIdsByName.d.ts +1 -0
  20. package/core/constants/Champions/ChampionIdsByName.js +1 -1
  21. package/core/constants/Champions/ChampionKeys.d.ts +1 -0
  22. package/core/constants/Champions/ChampionKeys.js +1 -1
  23. package/core/constants/Champions/ChampionKeysNum.d.ts +1 -0
  24. package/core/constants/Champions/ChampionKeysNum.js +1 -1
  25. package/core/constants/Champions/ChampionNames.d.ts +1 -0
  26. package/core/constants/Champions/ChampionNames.js +1 -1
  27. package/core/constants/DataDragonUrls.d.ts +16 -16
  28. package/core/constants/DataDragonUrls.js +2 -2
  29. package/core/constants/Items/ItemKeys.d.ts +50 -42
  30. package/core/constants/Items/ItemKeys.js +1 -1
  31. package/core/constants/Items/ItemKeysNum.d.ts +50 -42
  32. package/core/constants/Items/ItemKeysNum.js +1 -1
  33. package/core/constants/Items/ItemNames.d.ts +50 -43
  34. package/core/constants/Items/ItemNames.js +1 -1
  35. package/core/constants/Items/ItemTypes.d.ts +0 -1
  36. package/core/constants/Items/ItemTypes.js +0 -1
  37. package/core/constants/Items/LegendaryItemKeys.d.ts +73 -11
  38. package/core/constants/Items/LegendaryItemKeys.js +1 -1
  39. package/core/constants/Items/LegendaryItemKeysNum.d.ts +73 -11
  40. package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
  41. package/core/constants/Items/LegendaryItemNames.d.ts +71 -9
  42. package/core/constants/Items/LegendaryItemNames.js +1 -1
  43. package/core/constants/Items/OrnnItemKeys.d.ts +0 -8
  44. package/core/constants/Items/OrnnItemKeys.js +1 -1
  45. package/core/constants/Items/OrnnItemKeysNum.d.ts +0 -8
  46. package/core/constants/Items/OrnnItemKeysNum.js +1 -1
  47. package/core/constants/Items/OrnnItemNames.d.ts +0 -8
  48. package/core/constants/Items/OrnnItemNames.js +1 -1
  49. package/core/constants/Runes/NonStatRuneIds.d.ts +1 -1
  50. package/core/constants/Runes/NonStatRuneIds.js +1 -1
  51. package/core/constants/Runes/NonStatRuneIdsNum.d.ts +1 -1
  52. package/core/constants/Runes/NonStatRuneIdsNum.js +1 -1
  53. package/core/constants/Runes/NonStatRuneNames.d.ts +1 -1
  54. package/core/constants/Runes/NonStatRuneNames.js +1 -1
  55. package/core/constants/Runes/RuneIconFileNames.js +1 -1
  56. package/core/constants/Runes/RuneSets.d.ts +8 -8
  57. package/core/constants/Runes/RuneSets.js +3 -3
  58. package/core/constants/Runes/RuneSetsByRuneNames.d.ts +8 -8
  59. package/core/constants/Runes/RuneSetsByRuneNames.js +3 -3
  60. package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +8 -8
  61. package/core/constants/Runes/RuneSetsByRuneNamesNum.js +3 -3
  62. package/core/helpers/makeRiotId.d.ts +4 -0
  63. package/core/helpers/makeRiotId.js +9 -0
  64. package/core/helpers/splitRiotId.d.ts +2 -2
  65. package/core/index.d.ts +1 -5
  66. package/core/index.js +1 -5
  67. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RuneSetsByRuneNames = exports.StatRuneHSetsByRuneNames = exports.RuneHSetsByRuneNames = exports.RuneIds = exports.StatRuneIds = exports.KeystoneIds = exports.SecondaryRuneTreesByRuneNames = exports.PrimaryRuneTreesByRuneNames = void 0;
4
- exports.PrimaryRuneTreesByRuneNames = { "Domination": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" }, "Precision": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" }, "Resolve": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" }, "Sorcery": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230", "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } };
5
- exports.SecondaryRuneTreesByRuneNames = { "Domination": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" }, "Precision": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" }, "Resolve": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" }, "Sorcery": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } };
4
+ exports.PrimaryRuneTreesByRuneNames = { "Domination": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Triple Tonic": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" }, "Precision": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" }, "Resolve": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" }, "Sorcery": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230", "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } };
5
+ exports.SecondaryRuneTreesByRuneNames = { "Domination": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Triple Tonic": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" }, "Precision": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" }, "Resolve": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" }, "Sorcery": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } };
6
6
  exports.KeystoneIds = { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" };
7
7
  exports.StatRuneIds = { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008", "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f", "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003" };
8
8
  exports.RuneIds = { ...exports.PrimaryRuneTreesByRuneNames.Precision, ...exports.PrimaryRuneTreesByRuneNames.Domination, ...exports.PrimaryRuneTreesByRuneNames.Sorcery, ...exports.PrimaryRuneTreesByRuneNames.Resolve, ...exports.PrimaryRuneTreesByRuneNames.Inspiration, ...exports.StatRuneIds };
9
- exports.RuneHSetsByRuneNames = { "Domination": { "0": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923" }, "1": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143" }, "2": { "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138" }, "3": { "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" } }, "Inspiration": { "0": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369" }, "1": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313" }, "2": { "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345" }, "3": { "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" } }, "Precision": { "0": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010" }, "1": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009" }, "2": { "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103" }, "3": { "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" } }, "Resolve": { "0": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465" }, "1": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401" }, "2": { "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473" }, "3": { "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" } }, "Sorcery": { "0": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" }, "1": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275" }, "2": { "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233" }, "3": { "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } } };
9
+ exports.RuneHSetsByRuneNames = { "Domination": { "0": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923" }, "1": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143" }, "2": { "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138" }, "3": { "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" } }, "Inspiration": { "0": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369" }, "1": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Triple Tonic": "8313" }, "2": { "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345" }, "3": { "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" } }, "Precision": { "0": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010" }, "1": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009" }, "2": { "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103" }, "3": { "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" } }, "Resolve": { "0": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465" }, "1": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401" }, "2": { "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473" }, "3": { "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" } }, "Sorcery": { "0": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" }, "1": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275" }, "2": { "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233" }, "3": { "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } } };
10
10
  exports.StatRuneHSetsByRuneNames = { "0": { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008" }, "1": { "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f" }, "2": { "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003" } };
11
11
  /**
12
12
  * Contains all Rune IDs that are known to man in the game of League of Legends. Sorted by various useful categories. There are a total of 72 runes in the game.
@@ -21,7 +21,7 @@ export declare const PrimaryRuneTreesByRuneNamesNum: {
21
21
  readonly "First Strike": 8369;
22
22
  readonly "Hextech Flashtraption": 8306;
23
23
  readonly "Magical Footwear": 8304;
24
- readonly "Perfect Timing": 8313;
24
+ readonly "Triple Tonic": 8313;
25
25
  readonly "Future's Market": 8321;
26
26
  readonly "Minion Dematerializer": 8316;
27
27
  readonly "Biscuit Delivery": 8345;
@@ -89,7 +89,7 @@ export declare const SecondaryRuneTreesByRuneNamesNum: {
89
89
  readonly Inspiration: {
90
90
  readonly "Hextech Flashtraption": 8306;
91
91
  readonly "Magical Footwear": 8304;
92
- readonly "Perfect Timing": 8313;
92
+ readonly "Triple Tonic": 8313;
93
93
  readonly "Future's Market": 8321;
94
94
  readonly "Minion Dematerializer": 8316;
95
95
  readonly "Biscuit Delivery": 8345;
@@ -199,7 +199,7 @@ export declare const RuneIdsNum: {
199
199
  readonly "First Strike": 8369;
200
200
  readonly "Hextech Flashtraption": 8306;
201
201
  readonly "Magical Footwear": 8304;
202
- readonly "Perfect Timing": 8313;
202
+ readonly "Triple Tonic": 8313;
203
203
  readonly "Future's Market": 8321;
204
204
  readonly "Minion Dematerializer": 8316;
205
205
  readonly "Biscuit Delivery": 8345;
@@ -315,7 +315,7 @@ export declare const RuneHSetsByRuneNamesNum: {
315
315
  readonly "1": {
316
316
  readonly "Hextech Flashtraption": 8306;
317
317
  readonly "Magical Footwear": 8304;
318
- readonly "Perfect Timing": 8313;
318
+ readonly "Triple Tonic": 8313;
319
319
  };
320
320
  readonly "2": {
321
321
  readonly "Future's Market": 8321;
@@ -440,7 +440,7 @@ export declare const RuneSetsByRuneNamesNum: {
440
440
  readonly "First Strike": 8369;
441
441
  readonly "Hextech Flashtraption": 8306;
442
442
  readonly "Magical Footwear": 8304;
443
- readonly "Perfect Timing": 8313;
443
+ readonly "Triple Tonic": 8313;
444
444
  readonly "Future's Market": 8321;
445
445
  readonly "Minion Dematerializer": 8316;
446
446
  readonly "Biscuit Delivery": 8345;
@@ -508,7 +508,7 @@ export declare const RuneSetsByRuneNamesNum: {
508
508
  readonly Inspiration: {
509
509
  readonly "Hextech Flashtraption": 8306;
510
510
  readonly "Magical Footwear": 8304;
511
- readonly "Perfect Timing": 8313;
511
+ readonly "Triple Tonic": 8313;
512
512
  readonly "Future's Market": 8321;
513
513
  readonly "Minion Dematerializer": 8316;
514
514
  readonly "Biscuit Delivery": 8345;
@@ -595,7 +595,7 @@ export declare const RuneSetsByRuneNamesNum: {
595
595
  readonly "First Strike": 8369;
596
596
  readonly "Hextech Flashtraption": 8306;
597
597
  readonly "Magical Footwear": 8304;
598
- readonly "Perfect Timing": 8313;
598
+ readonly "Triple Tonic": 8313;
599
599
  readonly "Future's Market": 8321;
600
600
  readonly "Minion Dematerializer": 8316;
601
601
  readonly "Biscuit Delivery": 8345;
@@ -688,7 +688,7 @@ export declare const RuneSetsByRuneNamesNum: {
688
688
  readonly "1": {
689
689
  readonly "Hextech Flashtraption": 8306;
690
690
  readonly "Magical Footwear": 8304;
691
- readonly "Perfect Timing": 8313;
691
+ readonly "Triple Tonic": 8313;
692
692
  };
693
693
  readonly "2": {
694
694
  readonly "Future's Market": 8321;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RuneSetsByRuneNamesNum = exports.StatRuneHSetsByRuneNamesNum = exports.RuneHSetsByRuneNamesNum = exports.RuneIdsNum = exports.StatRuneIdsNum = exports.KeystoneIdsNum = exports.SecondaryRuneTreesByRuneNamesNum = exports.PrimaryRuneTreesByRuneNamesNum = void 0;
4
- exports.PrimaryRuneTreesByRuneNamesNum = { "Domination": { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923, "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143, "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138, "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 }, "Inspiration": { "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369, "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Perfect Timing": 8313, "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345, "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352 }, "Precision": { "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010, "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009, "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103, "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299 }, "Resolve": { "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465, "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401, "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473, "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 }, "Sorcery": { "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230, "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275, "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233, "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } };
5
- exports.SecondaryRuneTreesByRuneNamesNum = { "Domination": { "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143, "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138, "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 }, "Inspiration": { "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Perfect Timing": 8313, "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345, "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352 }, "Precision": { "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009, "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103, "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299 }, "Resolve": { "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401, "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473, "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 }, "Sorcery": { "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275, "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233, "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } };
4
+ exports.PrimaryRuneTreesByRuneNamesNum = { "Domination": { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923, "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143, "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138, "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 }, "Inspiration": { "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369, "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Triple Tonic": 8313, "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345, "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352 }, "Precision": { "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010, "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009, "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103, "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299 }, "Resolve": { "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465, "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401, "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473, "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 }, "Sorcery": { "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230, "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275, "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233, "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } };
5
+ exports.SecondaryRuneTreesByRuneNamesNum = { "Domination": { "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143, "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138, "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 }, "Inspiration": { "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Triple Tonic": 8313, "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345, "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352 }, "Precision": { "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009, "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103, "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299 }, "Resolve": { "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401, "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473, "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 }, "Sorcery": { "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275, "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233, "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } };
6
6
  exports.KeystoneIdsNum = { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923, "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369, "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010, "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465, "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230 };
7
7
  exports.StatRuneIdsNum = { "Offense (AS)": 5005, "Offense (AH)": 5007, "Offense (AF)": 5008, "Flex (AR)": 5002, "Flex (MR)": 5003, "Flex (AF)": 5008, "Defense (HP)": 5001, "Defense (AR)": 5002, "Defense (MR)": 5003 };
8
8
  exports.RuneIdsNum = { ...exports.PrimaryRuneTreesByRuneNamesNum.Precision, ...exports.PrimaryRuneTreesByRuneNamesNum.Domination, ...exports.PrimaryRuneTreesByRuneNamesNum.Sorcery, ...exports.PrimaryRuneTreesByRuneNamesNum.Resolve, ...exports.PrimaryRuneTreesByRuneNamesNum.Inspiration, ...exports.StatRuneIdsNum };
9
- exports.RuneHSetsByRuneNamesNum = { "Domination": { "0": { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923 }, "1": { "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143 }, "2": { "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138 }, "3": { "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 } }, "Inspiration": { "0": { "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369 }, "1": { "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Perfect Timing": 8313 }, "2": { "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345 }, "3": { "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352 } }, "Precision": { "0": { "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010 }, "1": { "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009 }, "2": { "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103 }, "3": { "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299 } }, "Resolve": { "0": { "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465 }, "1": { "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401 }, "2": { "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473 }, "3": { "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 } }, "Sorcery": { "0": { "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230 }, "1": { "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275 }, "2": { "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233 }, "3": { "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } } };
9
+ exports.RuneHSetsByRuneNamesNum = { "Domination": { "0": { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923 }, "1": { "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143 }, "2": { "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138 }, "3": { "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 } }, "Inspiration": { "0": { "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369 }, "1": { "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Triple Tonic": 8313 }, "2": { "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345 }, "3": { "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352 } }, "Precision": { "0": { "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010 }, "1": { "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009 }, "2": { "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103 }, "3": { "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299 } }, "Resolve": { "0": { "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465 }, "1": { "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401 }, "2": { "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473 }, "3": { "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 } }, "Sorcery": { "0": { "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230 }, "1": { "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275 }, "2": { "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233 }, "3": { "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } } };
10
10
  exports.StatRuneHSetsByRuneNamesNum = { "0": { "Offense (AS)": 5005, "Offense (AH)": 5007, "Offense (AF)": 5008 }, "1": { "Flex (AR)": 5002, "Flex (MR)": 5003, "Flex (AF)": 5008 }, "2": { "Defense (HP)": 5001, "Defense (AR)": 5002, "Defense (MR)": 5003 } };
11
11
  /**
12
12
  * Contains all Rune IDs that are known to man in the game of League of Legends. Sorted by various useful categories. There are a total of 72 runes in the game.
@@ -0,0 +1,4 @@
1
+ import { RiotId } from './splitRiotId';
2
+ export declare function makeRiotId(riotId: RiotId,
3
+ /** @default '#' */
4
+ splitChar?: string): string;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.makeRiotId = void 0;
4
+ function makeRiotId(riotId,
5
+ /** @default '#' */
6
+ splitChar = '#') {
7
+ return riotId.name + splitChar + riotId.tag;
8
+ }
9
+ exports.makeRiotId = makeRiotId;
@@ -3,8 +3,8 @@
3
3
  */
4
4
  export declare function splitRiotId(riotId: string,
5
5
  /** @default '#' */
6
- splitChar?: string): SplitRiotId;
7
- export type SplitRiotId = {
6
+ splitChar?: string): RiotId;
7
+ export type RiotId = {
8
8
  name: string;
9
9
  tag: string;
10
10
  };
package/core/index.d.ts CHANGED
@@ -45,9 +45,6 @@ export * from './constants/Items/ItemTypes';
45
45
  export * from './constants/Items/LegendaryItemKeys';
46
46
  export * from './constants/Items/LegendaryItemKeysNum';
47
47
  export * from './constants/Items/LegendaryItemNames';
48
- export * from './constants/Items/MythicItemKeys';
49
- export * from './constants/Items/MythicItemKeysNum';
50
- export * from './constants/Items/MythicItemNames';
51
48
  export * from './constants/Items/OrnnItemKeys';
52
49
  export * from './constants/Items/OrnnItemKeysNum';
53
50
  export * from './constants/Items/OrnnItemNames';
@@ -70,6 +67,7 @@ export * from './constants/Spells/SpellKeysNum';
70
67
  export * from './constants/Spells/SpellNames';
71
68
  export * from './helpers/getPositionImageUrl';
72
69
  export * from './helpers/isRiotId';
70
+ export * from './helpers/makeRiotId';
73
71
  export * from './helpers/splitRiotId';
74
72
  export * from './helpers/Champions/getChampionIdByKey';
75
73
  export * from './helpers/Champions/getChampionIdByName';
@@ -90,8 +88,6 @@ export * from './helpers/Items/isItemKeyNum';
90
88
  export * from './helpers/Items/isItemName';
91
89
  export * from './helpers/Items/isLegendaryItemKey';
92
90
  export * from './helpers/Items/isLegendaryItemName';
93
- export * from './helpers/Items/isMythicItemKey';
94
- export * from './helpers/Items/isMythicItemName';
95
91
  export * from './helpers/Items/isOrnnItemKey';
96
92
  export * from './helpers/Items/isOrnnItemKeyNum';
97
93
  export * from './helpers/Items/isOrnnItemName';
package/core/index.js CHANGED
@@ -64,9 +64,6 @@ __exportStar(require("./constants/Items/ItemTypes"), exports);
64
64
  __exportStar(require("./constants/Items/LegendaryItemKeys"), exports);
65
65
  __exportStar(require("./constants/Items/LegendaryItemKeysNum"), exports);
66
66
  __exportStar(require("./constants/Items/LegendaryItemNames"), exports);
67
- __exportStar(require("./constants/Items/MythicItemKeys"), exports);
68
- __exportStar(require("./constants/Items/MythicItemKeysNum"), exports);
69
- __exportStar(require("./constants/Items/MythicItemNames"), exports);
70
67
  __exportStar(require("./constants/Items/OrnnItemKeys"), exports);
71
68
  __exportStar(require("./constants/Items/OrnnItemKeysNum"), exports);
72
69
  __exportStar(require("./constants/Items/OrnnItemNames"), exports);
@@ -92,6 +89,7 @@ __exportStar(require("./constants/Spells/SpellNames"), exports);
92
89
  // # helpers
93
90
  __exportStar(require("./helpers/getPositionImageUrl"), exports);
94
91
  __exportStar(require("./helpers/isRiotId"), exports);
92
+ __exportStar(require("./helpers/makeRiotId"), exports);
95
93
  __exportStar(require("./helpers/splitRiotId"), exports);
96
94
  // ## Champions
97
95
  __exportStar(require("./helpers/Champions/getChampionIdByKey"), exports);
@@ -114,8 +112,6 @@ __exportStar(require("./helpers/Items/isItemKeyNum"), exports);
114
112
  __exportStar(require("./helpers/Items/isItemName"), exports);
115
113
  __exportStar(require("./helpers/Items/isLegendaryItemKey"), exports);
116
114
  __exportStar(require("./helpers/Items/isLegendaryItemName"), exports);
117
- __exportStar(require("./helpers/Items/isMythicItemKey"), exports);
118
- __exportStar(require("./helpers/Items/isMythicItemName"), exports);
119
115
  __exportStar(require("./helpers/Items/isOrnnItemKey"), exports);
120
116
  __exportStar(require("./helpers/Items/isOrnnItemKeyNum"), exports);
121
117
  __exportStar(require("./helpers/Items/isOrnnItemName"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "2.19.0",
3
+ "version": "2.20.0",
4
4
  "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
5
5
  "main": "core/index.js",
6
6
  "types": "core/index.d.ts",