lol-constants 2.12.0 โ†’ 2.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. package/assets/constants/Champion.d.ts +174 -174
  2. package/assets/constants/Champion.js +1 -1
  3. package/assets/constants/Item.d.ts +706 -412
  4. package/assets/constants/Item.js +1 -1
  5. package/assets/constants/RunesReforged.d.ts +12 -12
  6. package/assets/constants/RunesReforged.js +1 -1
  7. package/assets/constants/Summoner.d.ts +4 -4
  8. package/assets/constants/Summoner.js +1 -1
  9. package/assets/scripts/generate-categorized-item-keys-num.js +12 -0
  10. package/assets/scripts/generate-categorized-item-keys.js +12 -0
  11. package/assets/scripts/generate-categorized-item-names.js +12 -0
  12. package/assets/scripts/generate-item-keys-num.js +3 -0
  13. package/assets/scripts/generate-item-keys.js +3 -0
  14. package/assets/scripts/generate-item-names.js +3 -0
  15. package/assets/scripts/helpers/generateIndexFile.d.ts +1 -0
  16. package/assets/scripts/helpers/generateIndexFile.js +7 -0
  17. package/assets/scripts/helpers/writeToTmpFile.d.ts +2 -0
  18. package/assets/scripts/helpers/writeToTmpFile.js +1 -1
  19. package/assets/scripts/print-file-names.js +0 -25
  20. package/core/constants/DataDragonUrls.d.ts +16 -16
  21. package/core/constants/DataDragonUrls.js +2 -2
  22. package/core/constants/Items/BootsItemKeys.d.ts +6 -6
  23. package/core/constants/Items/BootsItemKeys.js +1 -1
  24. package/core/constants/Items/BootsItemKeysNum.d.ts +6 -6
  25. package/core/constants/Items/BootsItemKeysNum.js +1 -1
  26. package/core/constants/Items/BootsItemNames.d.ts +0 -6
  27. package/core/constants/Items/BootsItemNames.js +1 -1
  28. package/core/constants/Items/ItemKeys.d.ts +130 -156
  29. package/core/constants/Items/ItemKeys.js +1 -1
  30. package/core/constants/Items/ItemKeysNum.d.ts +130 -156
  31. package/core/constants/Items/ItemKeysNum.js +1 -1
  32. package/core/constants/Items/ItemNames.d.ts +1 -163
  33. package/core/constants/Items/ItemNames.js +1 -1
  34. package/core/constants/Items/LegendaryItemKeys.d.ts +65 -66
  35. package/core/constants/Items/LegendaryItemKeys.js +1 -1
  36. package/core/constants/Items/LegendaryItemKeysNum.d.ts +65 -66
  37. package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
  38. package/core/constants/Items/LegendaryItemNames.d.ts +0 -67
  39. package/core/constants/Items/LegendaryItemNames.js +1 -1
  40. package/core/constants/Items/MythicItemKeys.d.ts +58 -58
  41. package/core/constants/Items/MythicItemKeys.js +1 -1
  42. package/core/constants/Items/MythicItemKeysNum.d.ts +58 -58
  43. package/core/constants/Items/MythicItemKeysNum.js +1 -1
  44. package/core/constants/Items/MythicItemNames.d.ts +0 -58
  45. package/core/constants/Items/MythicItemNames.js +1 -1
  46. package/core/constants/Items/OrnnItemKeys.d.ts +28 -28
  47. package/core/constants/Items/OrnnItemKeys.js +1 -1
  48. package/core/constants/Items/OrnnItemKeysNum.d.ts +28 -28
  49. package/core/constants/Items/OrnnItemKeysNum.js +1 -1
  50. package/core/constants/Items/OrnnItemNames.d.ts +0 -28
  51. package/core/constants/Items/OrnnItemNames.js +1 -1
  52. package/core/constants/LeagueTexts.d.ts +49 -0
  53. package/core/constants/LeagueTexts.js +58 -0
  54. package/core/index.d.ts +1 -0
  55. package/core/index.js +1 -0
  56. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MythicItemNames = void 0;
4
- exports.MythicItemNames = { "2065": "Shurelya's Battlesong", "3001": "Evenshroud", "3031": "Infinity Edge", "3078": "Trinity Force", "3084": "Heartsteel", "3124": "Guinsoo's Rageblade", "3142": "Youmuu's Ghostblade", "3152": "Hextech Rocketbelt", "3190": "Locket of the Iron Solari", "4005": "Imperial Mandate", "4633": "Riftmaker", "4636": "Night Harvester", "4644": "Crown of the Shattered Queen", "6617": "Moonstone Renewer", "6620": "Echoes of Helia", "6630": "Goredrinker", "6631": "Stridebreaker", "6632": "Divine Sunderer", "6653": "Liandry's Anguish", "6655": "Luden's Tempest", "6656": "Everfrost", "6657": "Rod of Ages", "6662": "Iceborn Gauntlet", "6664": "Turbo Chemtank", "6665": "Jak'Sho, The Protean", "6667": "Radiant Virtue", "6671": "Galeforce", "6675": "Navori Quickblades", "6691": "Duskblade of Draktharr", "6692": "Eclipse", "7001": "Syzygy", "7002": "Draktharr's Shadowcarver", "7005": "Frozen Fist", "7006": "Typhoon", "7009": "Icathia's Curse", "7010": "Vespertide", "7011": "Upgraded Aeropack", "7012": "Liandry's Lament", "7013": "Eye of Luden", "7014": "Eternal Winter", "7015": "Ceaseless Hunger", "7016": "Dreamshatter", "7017": "Deicide", "7018": "Infinity Force", "7019": "Reliquary of the Golden Dawn", "7020": "Shurelya's Requiem", "7021": "Starcaster", "7023": "Equinox", "7024": "Caesura", "7025": "Leviathan", "7026": "The Unspoken Parasite", "7027": "Primordial Dawn", "7028": "Infinite Convergence", "7029": "Youmuu's Wake", "7030": "Seething Sorrow", "7031": "Edge of Finality", "7032": "Flicker", "7033": "Cry of the Shrieking City", "222065": "Shurelya's Battlesong", "223001": "Evenshroud", "223031": "Infinity Edge", "223078": "Trinity Force", "223084": "Heartsteel", "223124": "Guinsoo's Rageblade", "223142": "Youmuu's Ghostblade", "223152": "Hextech Rocketbelt", "223190": "Locket of the Iron Solari", "224005": "Imperial Mandate", "224633": "Riftmaker", "224636": "Night Harvester", "224644": "Crown of the Shattered Queen", "226617": "Moonstone Renewer", "226620": "Echoes of Helia", "226630": "Goredrinker", "226631": "Stridebreaker", "226632": "Divine Sunderer", "226653": "Liandry's Anguish", "226655": "Luden's Tempest", "226656": "Everfrost", "226657": "Rod of Ages", "226662": "Iceborn Gauntlet", "226664": "Turbo Chemtank", "226665": "Jak'Sho, The Protean", "226667": "Radiant Virtue", "226671": "Galeforce", "226675": "Navori Quickblades", "226691": "Duskblade of Draktharr", "226692": "Eclipse", "227001": "Syzygy", "227002": "Draktharr's Shadowcarver", "227005": "Frozen Fist", "227006": "Typhoon", "227009": "Icathia's Curse", "227010": "Vespertide", "227011": "Upgraded Aeropack", "227012": "Liandry's Lament", "227013": "Eye of Luden", "227014": "Eternal Winter", "227015": "Ceaseless Hunger", "227016": "Dreamshatter", "227017": "Deicide", "227018": "Infinity Force", "227019": "Reliquary of the Golden Dawn", "227020": "Shurelya's Requiem", "227021": "Starcaster", "227023": "Equinox", "227024": "Caesura", "227025": "Leviathan", "227026": "The Unspoken Parasite", "227027": "Primordial Dawn", "227028": "Infinite Convergence", "227029": "Youmuu's Wake", "227030": "Seething Sorrow", "227031": "Edge of Finality", "227032": "Flicker", "227033": "Cry of the Shrieking City" };
4
+ exports.MythicItemNames = { "2065": "Shurelya's Battlesong", "3001": "Evenshroud", "3031": "Infinity Edge", "3078": "Trinity Force", "3084": "Heartsteel", "3124": "Guinsoo's Rageblade", "3142": "Youmuu's Ghostblade", "3152": "Hextech Rocketbelt", "3190": "Locket of the Iron Solari", "4005": "Imperial Mandate", "4633": "Riftmaker", "4636": "Night Harvester", "4644": "Crown of the Shattered Queen", "6617": "Moonstone Renewer", "6620": "Echoes of Helia", "6630": "Goredrinker", "6631": "Stridebreaker", "6632": "Divine Sunderer", "6653": "Liandry's Anguish", "6655": "Luden's Tempest", "6656": "Everfrost", "6657": "Rod of Ages", "6662": "Iceborn Gauntlet", "6664": "Turbo Chemtank", "6665": "Jak'Sho, The Protean", "6667": "Radiant Virtue", "6671": "Galeforce", "6675": "Navori Quickblades", "6691": "Duskblade of Draktharr", "6692": "Eclipse", "7001": "Syzygy", "7002": "Draktharr's Shadowcarver", "7005": "Frozen Fist", "7006": "Typhoon", "7009": "Icathia's Curse", "7010": "Vespertide", "7011": "Upgraded Aeropack", "7012": "Liandry's Lament", "7013": "Eye of Luden", "7014": "Eternal Winter", "7015": "Ceaseless Hunger", "7016": "Dreamshatter", "7017": "Deicide", "7018": "Infinity Force", "7019": "Reliquary of the Golden Dawn", "7020": "Shurelya's Requiem", "7021": "Starcaster", "7023": "Equinox", "7024": "Caesura", "7025": "Leviathan", "7026": "The Unspoken Parasite", "7027": "Primordial Dawn", "7028": "Infinite Convergence", "7029": "Youmuu's Wake", "7030": "Seething Sorrow", "7031": "Edge of Finality", "7032": "Flicker", "7033": "Cry of the Shrieking City" };
@@ -1,31 +1,31 @@
1
1
  export declare const OrnnItemKeys: {
2
- readonly "Cry of the Shrieking City": "227033";
3
- readonly "Ceaseless Hunger": "227015";
4
- readonly Caesura: "227024";
5
- readonly "Draktharr's Shadowcarver": "227002";
6
- readonly Deicide: "227017";
7
- readonly Dreamshatter: "227016";
8
- readonly Equinox: "227023";
9
- readonly "Edge of Finality": "227031";
10
- readonly "Eye of Luden": "227013";
11
- readonly "Eternal Winter": "227014";
12
- readonly "Frozen Fist": "227005";
13
- readonly Flicker: "227032";
14
- readonly "Infinite Convergence": "227028";
15
- readonly "Icathia's Curse": "227009";
16
- readonly "Infinity Force": "227018";
17
- readonly Leviathan: "227025";
18
- readonly "Liandry's Lament": "227012";
19
- readonly "Primordial Dawn": "227027";
20
- readonly "Reliquary of the Golden Dawn": "227019";
21
- readonly Syzygy: "227001";
22
- readonly "Shurelya's Requiem": "227020";
23
- readonly Starcaster: "227021";
24
- readonly "Seething Sorrow": "227030";
25
- readonly "The Unspoken Parasite": "227026";
26
- readonly Typhoon: "227006";
27
- readonly "Upgraded Aeropack": "227011";
28
- readonly Vespertide: "227010";
29
- readonly "Youmuu's Wake": "227029";
2
+ readonly "Cry of the Shrieking City": "7033";
3
+ readonly "Ceaseless Hunger": "7015";
4
+ readonly Caesura: "7024";
5
+ readonly "Draktharr's Shadowcarver": "7002";
6
+ readonly Deicide: "7017";
7
+ readonly Dreamshatter: "7016";
8
+ readonly Equinox: "7023";
9
+ readonly "Edge of Finality": "7031";
10
+ readonly "Eye of Luden": "7013";
11
+ readonly "Eternal Winter": "7014";
12
+ readonly "Frozen Fist": "7005";
13
+ readonly Flicker: "7032";
14
+ readonly "Infinite Convergence": "7028";
15
+ readonly "Icathia's Curse": "7009";
16
+ readonly "Infinity Force": "7018";
17
+ readonly Leviathan: "7025";
18
+ readonly "Liandry's Lament": "7012";
19
+ readonly "Primordial Dawn": "7027";
20
+ readonly "Reliquary of the Golden Dawn": "7019";
21
+ readonly Syzygy: "7001";
22
+ readonly "Shurelya's Requiem": "7020";
23
+ readonly Starcaster: "7021";
24
+ readonly "Seething Sorrow": "7030";
25
+ readonly "The Unspoken Parasite": "7026";
26
+ readonly Typhoon: "7006";
27
+ readonly "Upgraded Aeropack": "7011";
28
+ readonly Vespertide: "7010";
29
+ readonly "Youmuu's Wake": "7029";
30
30
  };
31
31
  export type OrnnItemKey = typeof OrnnItemKeys[keyof typeof OrnnItemKeys];
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OrnnItemKeys = void 0;
4
- exports.OrnnItemKeys = { "Cry of the Shrieking City": "227033", "Ceaseless Hunger": "227015", "Caesura": "227024", "Draktharr's Shadowcarver": "227002", "Deicide": "227017", "Dreamshatter": "227016", "Equinox": "227023", "Edge of Finality": "227031", "Eye of Luden": "227013", "Eternal Winter": "227014", "Frozen Fist": "227005", "Flicker": "227032", "Infinite Convergence": "227028", "Icathia's Curse": "227009", "Infinity Force": "227018", "Leviathan": "227025", "Liandry's Lament": "227012", "Primordial Dawn": "227027", "Reliquary of the Golden Dawn": "227019", "Syzygy": "227001", "Shurelya's Requiem": "227020", "Starcaster": "227021", "Seething Sorrow": "227030", "The Unspoken Parasite": "227026", "Typhoon": "227006", "Upgraded Aeropack": "227011", "Vespertide": "227010", "Youmuu's Wake": "227029" };
4
+ exports.OrnnItemKeys = { "Cry of the Shrieking City": "7033", "Ceaseless Hunger": "7015", "Caesura": "7024", "Draktharr's Shadowcarver": "7002", "Deicide": "7017", "Dreamshatter": "7016", "Equinox": "7023", "Edge of Finality": "7031", "Eye of Luden": "7013", "Eternal Winter": "7014", "Frozen Fist": "7005", "Flicker": "7032", "Infinite Convergence": "7028", "Icathia's Curse": "7009", "Infinity Force": "7018", "Leviathan": "7025", "Liandry's Lament": "7012", "Primordial Dawn": "7027", "Reliquary of the Golden Dawn": "7019", "Syzygy": "7001", "Shurelya's Requiem": "7020", "Starcaster": "7021", "Seething Sorrow": "7030", "The Unspoken Parasite": "7026", "Typhoon": "7006", "Upgraded Aeropack": "7011", "Vespertide": "7010", "Youmuu's Wake": "7029" };
@@ -1,31 +1,31 @@
1
1
  export declare const OrnnItemKeysNum: {
2
- readonly "Cry of the Shrieking City": 227033;
3
- readonly "Ceaseless Hunger": 227015;
4
- readonly Caesura: 227024;
5
- readonly "Draktharr's Shadowcarver": 227002;
6
- readonly Deicide: 227017;
7
- readonly Dreamshatter: 227016;
8
- readonly Equinox: 227023;
9
- readonly "Edge of Finality": 227031;
10
- readonly "Eye of Luden": 227013;
11
- readonly "Eternal Winter": 227014;
12
- readonly "Frozen Fist": 227005;
13
- readonly Flicker: 227032;
14
- readonly "Infinite Convergence": 227028;
15
- readonly "Icathia's Curse": 227009;
16
- readonly "Infinity Force": 227018;
17
- readonly Leviathan: 227025;
18
- readonly "Liandry's Lament": 227012;
19
- readonly "Primordial Dawn": 227027;
20
- readonly "Reliquary of the Golden Dawn": 227019;
21
- readonly Syzygy: 227001;
22
- readonly "Shurelya's Requiem": 227020;
23
- readonly Starcaster: 227021;
24
- readonly "Seething Sorrow": 227030;
25
- readonly "The Unspoken Parasite": 227026;
26
- readonly Typhoon: 227006;
27
- readonly "Upgraded Aeropack": 227011;
28
- readonly Vespertide: 227010;
29
- readonly "Youmuu's Wake": 227029;
2
+ readonly "Cry of the Shrieking City": 7033;
3
+ readonly "Ceaseless Hunger": 7015;
4
+ readonly Caesura: 7024;
5
+ readonly "Draktharr's Shadowcarver": 7002;
6
+ readonly Deicide: 7017;
7
+ readonly Dreamshatter: 7016;
8
+ readonly Equinox: 7023;
9
+ readonly "Edge of Finality": 7031;
10
+ readonly "Eye of Luden": 7013;
11
+ readonly "Eternal Winter": 7014;
12
+ readonly "Frozen Fist": 7005;
13
+ readonly Flicker: 7032;
14
+ readonly "Infinite Convergence": 7028;
15
+ readonly "Icathia's Curse": 7009;
16
+ readonly "Infinity Force": 7018;
17
+ readonly Leviathan: 7025;
18
+ readonly "Liandry's Lament": 7012;
19
+ readonly "Primordial Dawn": 7027;
20
+ readonly "Reliquary of the Golden Dawn": 7019;
21
+ readonly Syzygy: 7001;
22
+ readonly "Shurelya's Requiem": 7020;
23
+ readonly Starcaster: 7021;
24
+ readonly "Seething Sorrow": 7030;
25
+ readonly "The Unspoken Parasite": 7026;
26
+ readonly Typhoon: 7006;
27
+ readonly "Upgraded Aeropack": 7011;
28
+ readonly Vespertide: 7010;
29
+ readonly "Youmuu's Wake": 7029;
30
30
  };
31
31
  export type OrnnItemKeyNum = typeof OrnnItemKeysNum[keyof typeof OrnnItemKeysNum];
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OrnnItemKeysNum = void 0;
4
- exports.OrnnItemKeysNum = { "Cry of the Shrieking City": 227033, "Ceaseless Hunger": 227015, "Caesura": 227024, "Draktharr's Shadowcarver": 227002, "Deicide": 227017, "Dreamshatter": 227016, "Equinox": 227023, "Edge of Finality": 227031, "Eye of Luden": 227013, "Eternal Winter": 227014, "Frozen Fist": 227005, "Flicker": 227032, "Infinite Convergence": 227028, "Icathia's Curse": 227009, "Infinity Force": 227018, "Leviathan": 227025, "Liandry's Lament": 227012, "Primordial Dawn": 227027, "Reliquary of the Golden Dawn": 227019, "Syzygy": 227001, "Shurelya's Requiem": 227020, "Starcaster": 227021, "Seething Sorrow": 227030, "The Unspoken Parasite": 227026, "Typhoon": 227006, "Upgraded Aeropack": 227011, "Vespertide": 227010, "Youmuu's Wake": 227029 };
4
+ exports.OrnnItemKeysNum = { "Cry of the Shrieking City": 7033, "Ceaseless Hunger": 7015, "Caesura": 7024, "Draktharr's Shadowcarver": 7002, "Deicide": 7017, "Dreamshatter": 7016, "Equinox": 7023, "Edge of Finality": 7031, "Eye of Luden": 7013, "Eternal Winter": 7014, "Frozen Fist": 7005, "Flicker": 7032, "Infinite Convergence": 7028, "Icathia's Curse": 7009, "Infinity Force": 7018, "Leviathan": 7025, "Liandry's Lament": 7012, "Primordial Dawn": 7027, "Reliquary of the Golden Dawn": 7019, "Syzygy": 7001, "Shurelya's Requiem": 7020, "Starcaster": 7021, "Seething Sorrow": 7030, "The Unspoken Parasite": 7026, "Typhoon": 7006, "Upgraded Aeropack": 7011, "Vespertide": 7010, "Youmuu's Wake": 7029 };
@@ -27,33 +27,5 @@ export declare const OrnnItemNames: {
27
27
  readonly "7031": "Edge of Finality";
28
28
  readonly "7032": "Flicker";
29
29
  readonly "7033": "Cry of the Shrieking City";
30
- readonly "227001": "Syzygy";
31
- readonly "227002": "Draktharr's Shadowcarver";
32
- readonly "227005": "Frozen Fist";
33
- readonly "227006": "Typhoon";
34
- readonly "227009": "Icathia's Curse";
35
- readonly "227010": "Vespertide";
36
- readonly "227011": "Upgraded Aeropack";
37
- readonly "227012": "Liandry's Lament";
38
- readonly "227013": "Eye of Luden";
39
- readonly "227014": "Eternal Winter";
40
- readonly "227015": "Ceaseless Hunger";
41
- readonly "227016": "Dreamshatter";
42
- readonly "227017": "Deicide";
43
- readonly "227018": "Infinity Force";
44
- readonly "227019": "Reliquary of the Golden Dawn";
45
- readonly "227020": "Shurelya's Requiem";
46
- readonly "227021": "Starcaster";
47
- readonly "227023": "Equinox";
48
- readonly "227024": "Caesura";
49
- readonly "227025": "Leviathan";
50
- readonly "227026": "The Unspoken Parasite";
51
- readonly "227027": "Primordial Dawn";
52
- readonly "227028": "Infinite Convergence";
53
- readonly "227029": "Youmuu's Wake";
54
- readonly "227030": "Seething Sorrow";
55
- readonly "227031": "Edge of Finality";
56
- readonly "227032": "Flicker";
57
- readonly "227033": "Cry of the Shrieking City";
58
30
  };
59
31
  export type OrnnItemName = typeof OrnnItemNames[keyof typeof OrnnItemNames];
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OrnnItemNames = void 0;
4
- exports.OrnnItemNames = { "7001": "Syzygy", "7002": "Draktharr's Shadowcarver", "7005": "Frozen Fist", "7006": "Typhoon", "7009": "Icathia's Curse", "7010": "Vespertide", "7011": "Upgraded Aeropack", "7012": "Liandry's Lament", "7013": "Eye of Luden", "7014": "Eternal Winter", "7015": "Ceaseless Hunger", "7016": "Dreamshatter", "7017": "Deicide", "7018": "Infinity Force", "7019": "Reliquary of the Golden Dawn", "7020": "Shurelya's Requiem", "7021": "Starcaster", "7023": "Equinox", "7024": "Caesura", "7025": "Leviathan", "7026": "The Unspoken Parasite", "7027": "Primordial Dawn", "7028": "Infinite Convergence", "7029": "Youmuu's Wake", "7030": "Seething Sorrow", "7031": "Edge of Finality", "7032": "Flicker", "7033": "Cry of the Shrieking City", "227001": "Syzygy", "227002": "Draktharr's Shadowcarver", "227005": "Frozen Fist", "227006": "Typhoon", "227009": "Icathia's Curse", "227010": "Vespertide", "227011": "Upgraded Aeropack", "227012": "Liandry's Lament", "227013": "Eye of Luden", "227014": "Eternal Winter", "227015": "Ceaseless Hunger", "227016": "Dreamshatter", "227017": "Deicide", "227018": "Infinity Force", "227019": "Reliquary of the Golden Dawn", "227020": "Shurelya's Requiem", "227021": "Starcaster", "227023": "Equinox", "227024": "Caesura", "227025": "Leviathan", "227026": "The Unspoken Parasite", "227027": "Primordial Dawn", "227028": "Infinite Convergence", "227029": "Youmuu's Wake", "227030": "Seething Sorrow", "227031": "Edge of Finality", "227032": "Flicker", "227033": "Cry of the Shrieking City" };
4
+ exports.OrnnItemNames = { "7001": "Syzygy", "7002": "Draktharr's Shadowcarver", "7005": "Frozen Fist", "7006": "Typhoon", "7009": "Icathia's Curse", "7010": "Vespertide", "7011": "Upgraded Aeropack", "7012": "Liandry's Lament", "7013": "Eye of Luden", "7014": "Eternal Winter", "7015": "Ceaseless Hunger", "7016": "Dreamshatter", "7017": "Deicide", "7018": "Infinity Force", "7019": "Reliquary of the Golden Dawn", "7020": "Shurelya's Requiem", "7021": "Starcaster", "7023": "Equinox", "7024": "Caesura", "7025": "Leviathan", "7026": "The Unspoken Parasite", "7027": "Primordial Dawn", "7028": "Infinite Convergence", "7029": "Youmuu's Wake", "7030": "Seething Sorrow", "7031": "Edge of Finality", "7032": "Flicker", "7033": "Cry of the Shrieking City" };
@@ -0,0 +1,49 @@
1
+ export declare const LeagueTexts: {
2
+ readonly HP: "health";
3
+ readonly HPR: "health regeneration";
4
+ readonly MP: "mana";
5
+ readonly MPR: "mana regeneration";
6
+ readonly EP: "energy";
7
+ readonly EPR: "energy regeneration";
8
+ readonly AR: "armor";
9
+ readonly MR: "magic resistance";
10
+ readonly MS: "movement speed";
11
+ readonly AD: "attack damage";
12
+ readonly AP: "ability power";
13
+ readonly CSD: "critical strike damage";
14
+ readonly 'CS%': "critical strike chance";
15
+ readonly AS: "attack speed";
16
+ readonly HP_b: "bonus health";
17
+ readonly HP_max: "maximum health";
18
+ readonly HP_current: "current health";
19
+ readonly HP_missing: "missing health";
20
+ readonly AR_bonus: "bonus armor";
21
+ readonly MR_bonus: "bonus magic resistance";
22
+ readonly AD_b: "bonus attack damage";
23
+ readonly AS_base: "base attack speed";
24
+ readonly AS_bonus: "bonus attack speed";
25
+ readonly AWindup: "attack windup";
26
+ readonly ARatio: "attack ratio";
27
+ readonly PD: "physical damage";
28
+ readonly MD: "magic damage";
29
+ readonly PD_min: "minimum physical damage";
30
+ readonly MD_min: "minimum magic damage";
31
+ readonly PD_max: "maximum physical damage";
32
+ readonly MD_max: "maximum magic damage";
33
+ readonly R: "radius";
34
+ readonly D: "diamater";
35
+ readonly W: "width";
36
+ readonly u: "unit(s)";
37
+ readonly 'u/s': "units per second";
38
+ readonly 'ef.': "effect";
39
+ readonly '\u2A01': "range";
40
+ readonly '\uD83D\uDDE1\uFE0F': "attack";
41
+ readonly '\u23F3': "cooldown";
42
+ readonly '\u23F1\uFE0F': "cast duration";
43
+ readonly '\uD83D\uDCA7': "ability cost";
44
+ readonly '\uD83E\uDDE2': "cap";
45
+ readonly '\u278A\u2791\uD83D\uDCC8': "based on level";
46
+ };
47
+ export type LeagueText = typeof LeagueTexts[keyof typeof LeagueTexts];
48
+ export type Abbreviation = keyof typeof LeagueTexts;
49
+ export declare function isLeagueText(value: any): value is LeagueText;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isLeagueText = exports.LeagueTexts = void 0;
4
+ exports.LeagueTexts = {
5
+ 'HP': 'health',
6
+ 'HPR': 'health regeneration',
7
+ 'MP': 'mana',
8
+ 'MPR': 'mana regeneration',
9
+ 'EP': 'energy',
10
+ 'EPR': 'energy regeneration',
11
+ 'AR': 'armor',
12
+ 'MR': 'magic resistance',
13
+ 'MS': 'movement speed',
14
+ 'AD': 'attack damage',
15
+ 'AP': 'ability power',
16
+ 'CSD': 'critical strike damage',
17
+ 'CS%': 'critical strike chance',
18
+ 'AS': 'attack speed',
19
+ //
20
+ 'HP_b': 'bonus health',
21
+ 'HP_max': 'maximum health',
22
+ 'HP_current': 'current health',
23
+ 'HP_missing': 'missing health',
24
+ 'AR_bonus': 'bonus armor',
25
+ 'MR_bonus': 'bonus magic resistance',
26
+ 'AD_b': 'bonus attack damage',
27
+ 'AS_base': 'base attack speed',
28
+ 'AS_bonus': 'bonus attack speed',
29
+ 'AWindup': 'attack windup',
30
+ 'ARatio': 'attack ratio',
31
+ //
32
+ 'PD': 'physical damage',
33
+ 'MD': 'magic damage',
34
+ 'PD_min': 'minimum physical damage',
35
+ 'MD_min': 'minimum magic damage',
36
+ 'PD_max': 'maximum physical damage',
37
+ 'MD_max': 'maximum magic damage',
38
+ //
39
+ 'R': 'radius',
40
+ 'D': 'diamater',
41
+ 'W': 'width',
42
+ 'u': 'unit(s)',
43
+ 'u/s': 'units per second',
44
+ 'ef.': 'effect',
45
+ //
46
+ 'โจ': 'range',
47
+ '๐Ÿ—ก๏ธ': 'attack',
48
+ 'โณ': 'cooldown',
49
+ 'โฑ๏ธ': 'cast duration',
50
+ '๐Ÿ’ง': 'ability cost',
51
+ //
52
+ '๐Ÿงข': 'cap',
53
+ 'โžŠโž‘๐Ÿ“ˆ': 'based on level',
54
+ };
55
+ function isLeagueText(value) {
56
+ return typeof value == 'string' && value in exports.LeagueTexts;
57
+ }
58
+ exports.isLeagueText = isLeagueText;
package/core/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from './constants/GameTypes';
7
7
  export * from './constants/KillTypes';
8
8
  export * from './constants/Lanes';
9
9
  export * from './constants/LaneTypes';
10
+ export * from './constants/LeagueTexts';
10
11
  export * from './constants/Levels';
11
12
  export * from './constants/Locales';
12
13
  export * from './constants/MapIds';
package/core/index.js CHANGED
@@ -24,6 +24,7 @@ __exportStar(require("./constants/GameTypes"), exports);
24
24
  __exportStar(require("./constants/KillTypes"), exports);
25
25
  __exportStar(require("./constants/Lanes"), exports);
26
26
  __exportStar(require("./constants/LaneTypes"), exports);
27
+ __exportStar(require("./constants/LeagueTexts"), exports);
27
28
  __exportStar(require("./constants/Levels"), exports);
28
29
  __exportStar(require("./constants/Locales"), exports);
29
30
  __exportStar(require("./constants/MapIds"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "2.12.0",
3
+ "version": "2.13.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",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "scripts": {
13
13
  "build:clean": "rmdir /s /q core && rmdir /s /q assets && tsc",
14
- "generate": "node assets/scripts/generate-all",
14
+ "generate": "tsc && node assets/scripts/generate-all",
15
15
  "print-file-names": "node assets/scripts/print-file-names",
16
16
  "dev": "vite"
17
17
  },