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.
- package/assets/constants/Champion.d.ts +174 -174
- package/assets/constants/Champion.js +1 -1
- package/assets/constants/Item.d.ts +706 -412
- package/assets/constants/Item.js +1 -1
- package/assets/constants/RunesReforged.d.ts +12 -12
- package/assets/constants/RunesReforged.js +1 -1
- package/assets/constants/Summoner.d.ts +4 -4
- package/assets/constants/Summoner.js +1 -1
- package/assets/scripts/generate-categorized-item-keys-num.js +12 -0
- package/assets/scripts/generate-categorized-item-keys.js +12 -0
- package/assets/scripts/generate-categorized-item-names.js +12 -0
- package/assets/scripts/generate-item-keys-num.js +3 -0
- package/assets/scripts/generate-item-keys.js +3 -0
- package/assets/scripts/generate-item-names.js +3 -0
- package/assets/scripts/helpers/generateIndexFile.d.ts +1 -0
- package/assets/scripts/helpers/generateIndexFile.js +7 -0
- package/assets/scripts/helpers/writeToTmpFile.d.ts +2 -0
- package/assets/scripts/helpers/writeToTmpFile.js +1 -1
- package/assets/scripts/print-file-names.js +0 -25
- package/core/constants/DataDragonUrls.d.ts +16 -16
- package/core/constants/DataDragonUrls.js +2 -2
- package/core/constants/Items/BootsItemKeys.d.ts +6 -6
- package/core/constants/Items/BootsItemKeys.js +1 -1
- package/core/constants/Items/BootsItemKeysNum.d.ts +6 -6
- package/core/constants/Items/BootsItemKeysNum.js +1 -1
- package/core/constants/Items/BootsItemNames.d.ts +0 -6
- package/core/constants/Items/BootsItemNames.js +1 -1
- package/core/constants/Items/ItemKeys.d.ts +130 -156
- package/core/constants/Items/ItemKeys.js +1 -1
- package/core/constants/Items/ItemKeysNum.d.ts +130 -156
- package/core/constants/Items/ItemKeysNum.js +1 -1
- package/core/constants/Items/ItemNames.d.ts +1 -163
- package/core/constants/Items/ItemNames.js +1 -1
- package/core/constants/Items/LegendaryItemKeys.d.ts +65 -66
- package/core/constants/Items/LegendaryItemKeys.js +1 -1
- package/core/constants/Items/LegendaryItemKeysNum.d.ts +65 -66
- package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
- package/core/constants/Items/LegendaryItemNames.d.ts +0 -67
- package/core/constants/Items/LegendaryItemNames.js +1 -1
- package/core/constants/Items/MythicItemKeys.d.ts +58 -58
- package/core/constants/Items/MythicItemKeys.js +1 -1
- package/core/constants/Items/MythicItemKeysNum.d.ts +58 -58
- package/core/constants/Items/MythicItemKeysNum.js +1 -1
- package/core/constants/Items/MythicItemNames.d.ts +0 -58
- package/core/constants/Items/MythicItemNames.js +1 -1
- package/core/constants/Items/OrnnItemKeys.d.ts +28 -28
- package/core/constants/Items/OrnnItemKeys.js +1 -1
- package/core/constants/Items/OrnnItemKeysNum.d.ts +28 -28
- package/core/constants/Items/OrnnItemKeysNum.js +1 -1
- package/core/constants/Items/OrnnItemNames.d.ts +0 -28
- package/core/constants/Items/OrnnItemNames.js +1 -1
- package/core/constants/LeagueTexts.d.ts +49 -0
- package/core/constants/LeagueTexts.js +58 -0
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- 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"
|
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": "
|
3
|
-
readonly "Ceaseless Hunger": "
|
4
|
-
readonly Caesura: "
|
5
|
-
readonly "Draktharr's Shadowcarver": "
|
6
|
-
readonly Deicide: "
|
7
|
-
readonly Dreamshatter: "
|
8
|
-
readonly Equinox: "
|
9
|
-
readonly "Edge of Finality": "
|
10
|
-
readonly "Eye of Luden": "
|
11
|
-
readonly "Eternal Winter": "
|
12
|
-
readonly "Frozen Fist": "
|
13
|
-
readonly Flicker: "
|
14
|
-
readonly "Infinite Convergence": "
|
15
|
-
readonly "Icathia's Curse": "
|
16
|
-
readonly "Infinity Force": "
|
17
|
-
readonly Leviathan: "
|
18
|
-
readonly "Liandry's Lament": "
|
19
|
-
readonly "Primordial Dawn": "
|
20
|
-
readonly "Reliquary of the Golden Dawn": "
|
21
|
-
readonly Syzygy: "
|
22
|
-
readonly "Shurelya's Requiem": "
|
23
|
-
readonly Starcaster: "
|
24
|
-
readonly "Seething Sorrow": "
|
25
|
-
readonly "The Unspoken Parasite": "
|
26
|
-
readonly Typhoon: "
|
27
|
-
readonly "Upgraded Aeropack": "
|
28
|
-
readonly Vespertide: "
|
29
|
-
readonly "Youmuu's Wake": "
|
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": "
|
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":
|
3
|
-
readonly "Ceaseless Hunger":
|
4
|
-
readonly Caesura:
|
5
|
-
readonly "Draktharr's Shadowcarver":
|
6
|
-
readonly Deicide:
|
7
|
-
readonly Dreamshatter:
|
8
|
-
readonly Equinox:
|
9
|
-
readonly "Edge of Finality":
|
10
|
-
readonly "Eye of Luden":
|
11
|
-
readonly "Eternal Winter":
|
12
|
-
readonly "Frozen Fist":
|
13
|
-
readonly Flicker:
|
14
|
-
readonly "Infinite Convergence":
|
15
|
-
readonly "Icathia's Curse":
|
16
|
-
readonly "Infinity Force":
|
17
|
-
readonly Leviathan:
|
18
|
-
readonly "Liandry's Lament":
|
19
|
-
readonly "Primordial Dawn":
|
20
|
-
readonly "Reliquary of the Golden Dawn":
|
21
|
-
readonly Syzygy:
|
22
|
-
readonly "Shurelya's Requiem":
|
23
|
-
readonly Starcaster:
|
24
|
-
readonly "Seething Sorrow":
|
25
|
-
readonly "The Unspoken Parasite":
|
26
|
-
readonly Typhoon:
|
27
|
-
readonly "Upgraded Aeropack":
|
28
|
-
readonly Vespertide:
|
29
|
-
readonly "Youmuu's Wake":
|
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":
|
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"
|
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.
|
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
|
},
|