lol-constants 2.3.1 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +17 -0
- package/assets/constants/BootsItemNames.d.ts +1 -1
- package/assets/constants/BootsItemNames.js +1 -1
- package/assets/constants/Champion.d.ts +164 -164
- package/assets/constants/Champion.js +1 -1
- package/assets/constants/Item.d.ts +1051 -647
- package/assets/constants/Item.js +1 -1
- package/assets/constants/LegendaryItemNames.d.ts +1 -1
- package/assets/constants/LegendaryItemNames.js +4 -4
- package/assets/constants/MythicItemNames.d.ts +1 -1
- package/assets/constants/MythicItemNames.js +34 -3
- package/assets/constants/RunesReforged.d.ts +1 -1
- package/assets/constants/RunesReforged.js +1 -1
- package/assets/constants/Summoner.d.ts +2 -2
- package/assets/constants/Summoner.js +1 -1
- package/assets/scripts/constants/RuneIdComment.d.ts +1 -1
- package/assets/scripts/constants/RuneIdComment.js +14 -6
- package/assets/scripts/generate-all.d.ts +3 -3
- package/assets/scripts/generate-all.js +3 -3
- package/assets/scripts/generate-non-stat-rune-ids-num.d.ts +1 -0
- package/assets/scripts/generate-non-stat-rune-ids-num.js +23 -0
- package/assets/scripts/generate-non-stat-rune-ids.d.ts +1 -0
- package/assets/scripts/generate-non-stat-rune-ids.js +24 -0
- package/assets/scripts/generate-non-stat-rune-names.d.ts +1 -0
- package/assets/scripts/generate-non-stat-rune-names.js +22 -0
- package/assets/scripts/generate-rune-sets-by-rune-names-num.js +16 -11
- package/assets/scripts/generate-rune-sets-by-rune-names.js +11 -11
- package/assets/scripts/generate-rune-sets.js +11 -11
- package/core/constants/Continents.d.ts +8 -0
- package/core/constants/Continents.js +13 -0
- package/core/constants/DataDragonUrls.d.ts +11 -0
- package/core/constants/DataDragonUrls.js +14 -2
- package/core/constants/Items/ItemKeys.d.ts +10 -0
- package/core/constants/Items/ItemKeys.js +1 -1
- package/core/constants/Items/ItemKeysNum.d.ts +10 -0
- package/core/constants/Items/ItemKeysNum.js +1 -1
- package/core/constants/Items/ItemNames.d.ts +10 -0
- package/core/constants/Items/ItemNames.js +1 -1
- package/core/constants/Items/LegendaryItemKeys.d.ts +4 -4
- package/core/constants/Items/LegendaryItemKeys.js +1 -1
- package/core/constants/Items/LegendaryItemKeysNum.d.ts +4 -4
- package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
- package/core/constants/Items/LegendaryItemNames.d.ts +4 -4
- package/core/constants/Items/LegendaryItemNames.js +1 -1
- package/core/constants/Items/MythicItemKeys.d.ts +33 -3
- package/core/constants/Items/MythicItemKeys.js +1 -1
- package/core/constants/Items/MythicItemKeysNum.d.ts +33 -3
- package/core/constants/Items/MythicItemKeysNum.js +1 -1
- package/core/constants/Items/MythicItemNames.d.ts +33 -3
- package/core/constants/Items/MythicItemNames.js +1 -1
- package/core/constants/Locales.d.ts +29 -1
- package/core/constants/Locales.js +29 -1
- package/core/constants/MapIds.d.ts +17 -0
- package/core/constants/MapIds.js +22 -0
- package/core/constants/ParticipantIds.d.ts +14 -0
- package/core/constants/ParticipantIds.js +19 -0
- package/core/constants/PlatformApiUris.d.ts +20 -0
- package/core/constants/PlatformApiUris.js +25 -0
- package/core/constants/PlatformIds.d.ts +8 -0
- package/core/constants/PlatformIds.js +11 -1
- package/core/constants/QueueIds.d.ts +56 -0
- package/core/constants/QueueIds.js +61 -0
- package/core/constants/RegionalApiUris.d.ts +8 -0
- package/core/constants/RegionalApiUris.js +13 -0
- package/core/constants/Regions.d.ts +8 -0
- package/core/constants/Regions.js +11 -8
- package/core/constants/Runes/NonStatRuneIds.d.ts +88 -0
- package/core/constants/Runes/NonStatRuneIds.js +4 -0
- package/core/constants/Runes/NonStatRuneIdsNum.d.ts +66 -0
- package/core/constants/Runes/NonStatRuneIdsNum.js +4 -0
- package/core/constants/Runes/NonStatRuneNames.d.ts +66 -0
- package/core/constants/Runes/NonStatRuneNames.js +4 -0
- package/core/constants/Runes/RuneSets.d.ts +2 -2
- package/core/constants/Runes/RuneSets.js +3 -3
- package/core/constants/Runes/RuneSetsByRuneNames.d.ts +30 -14
- package/core/constants/Runes/RuneSetsByRuneNames.js +3 -3
- package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +48 -2
- package/core/constants/Runes/RuneSetsByRuneNamesNum.js +3 -3
- package/core/constants/Runes/TreeRuneIds.d.ts +5 -5
- package/core/constants/SkillSlots.d.ts +1 -1
- package/core/constants/SkillSlots.js +1 -1
- package/core/constants/TeamIds.d.ts +6 -0
- package/core/constants/TeamIds.js +11 -0
- package/core/helpers/Champions/isChampionKeyNum.d.ts +2 -0
- package/core/helpers/Champions/isChampionKeyNum.js +8 -0
- package/core/helpers/Items/isItemKeyNum.d.ts +2 -0
- package/core/helpers/Items/isItemKeyNum.js +8 -0
- package/core/helpers/Runes/getNonStatRuneIdByName.d.ts +3 -0
- package/core/helpers/Runes/getNonStatRuneIdByName.js +8 -0
- package/core/helpers/Runes/getNonStatRuneNameById.d.ts +3 -0
- package/core/helpers/Runes/getNonStatRuneNameById.js +8 -0
- package/core/helpers/Runes/isDominationRuneId.d.ts +2 -0
- package/core/helpers/Runes/isDominationRuneId.js +8 -0
- package/core/helpers/Runes/isDominationRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isDominationRuneIdNum.js +8 -0
- package/core/helpers/Runes/isDominationRuneName.d.ts +2 -0
- package/core/helpers/Runes/isDominationRuneName.js +8 -0
- package/core/helpers/Runes/isInspirationRuneId.d.ts +2 -0
- package/core/helpers/Runes/isInspirationRuneId.js +8 -0
- package/core/helpers/Runes/isInspirationRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isInspirationRuneIdNum.js +8 -0
- package/core/helpers/Runes/isInspirationRuneName.d.ts +2 -0
- package/core/helpers/Runes/isInspirationRuneName.js +8 -0
- package/core/helpers/Runes/isKeystoneRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isKeystoneRuneIdNum.js +8 -0
- package/core/helpers/Runes/isKeystoneRuneName.d.ts +2 -0
- package/core/helpers/Runes/isKeystoneRuneName.js +8 -0
- package/core/helpers/Runes/isNonStatRuneId.d.ts +2 -0
- package/core/helpers/Runes/isNonStatRuneId.js +8 -0
- package/core/helpers/Runes/isNonStatRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isNonStatRuneIdNum.js +8 -0
- package/core/helpers/Runes/isNonStatRuneName.d.ts +2 -0
- package/core/helpers/Runes/isNonStatRuneName.js +8 -0
- package/core/helpers/Runes/isPrecisionRuneId.d.ts +2 -0
- package/core/helpers/Runes/isPrecisionRuneId.js +8 -0
- package/core/helpers/Runes/isPrecisionRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isPrecisionRuneIdNum.js +8 -0
- package/core/helpers/Runes/isPrecisionRuneName.d.ts +2 -0
- package/core/helpers/Runes/isPrecisionRuneName.js +8 -0
- package/core/helpers/Runes/isResolveRuneId.d.ts +2 -0
- package/core/helpers/Runes/isResolveRuneId.js +8 -0
- package/core/helpers/Runes/isResolveRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isResolveRuneIdNum.js +8 -0
- package/core/helpers/Runes/isResolveRuneName.d.ts +2 -0
- package/core/helpers/Runes/isResolveRuneName.js +8 -0
- package/core/helpers/Runes/isRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isRuneIdNum.js +8 -0
- package/core/helpers/Runes/isSorceryRuneId.d.ts +2 -0
- package/core/helpers/Runes/isSorceryRuneId.js +8 -0
- package/core/helpers/Runes/isSorceryRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isSorceryRuneIdNum.js +8 -0
- package/core/helpers/Runes/isSorceryRuneName.d.ts +2 -0
- package/core/helpers/Runes/isSorceryRuneName.js +8 -0
- package/core/helpers/Runes/isStatRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isStatRuneIdNum.js +8 -0
- package/core/helpers/Spells/isSpellKeyNum.d.ts +2 -0
- package/core/helpers/Spells/isSpellKeyNum.js +8 -0
- package/core/index.d.ts +33 -12
- package/core/index.js +33 -12
- package/core/types/types.d.ts +199 -82
- package/package.json +1 -1
@@ -0,0 +1,14 @@
|
|
1
|
+
export declare const ParticipantIds: {
|
2
|
+
readonly 1: 1;
|
3
|
+
readonly 2: 2;
|
4
|
+
readonly 3: 3;
|
5
|
+
readonly 4: 4;
|
6
|
+
readonly 5: 5;
|
7
|
+
readonly 6: 6;
|
8
|
+
readonly 7: 7;
|
9
|
+
readonly 8: 8;
|
10
|
+
readonly 9: 9;
|
11
|
+
readonly 10: 10;
|
12
|
+
};
|
13
|
+
export type ParticipantId = typeof ParticipantIds[keyof typeof ParticipantIds];
|
14
|
+
export declare function isParticipantId(value: number): value is ParticipantId;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isParticipantId = exports.ParticipantIds = void 0;
|
4
|
+
exports.ParticipantIds = {
|
5
|
+
1: 1,
|
6
|
+
2: 2,
|
7
|
+
3: 3,
|
8
|
+
4: 4,
|
9
|
+
5: 5,
|
10
|
+
6: 6,
|
11
|
+
7: 7,
|
12
|
+
8: 8,
|
13
|
+
9: 9,
|
14
|
+
10: 10,
|
15
|
+
};
|
16
|
+
function isParticipantId(value) {
|
17
|
+
return value in exports.ParticipantIds;
|
18
|
+
}
|
19
|
+
exports.isParticipantId = isParticipantId;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export declare const PlatformApiUris: {
|
2
|
+
readonly BR1: "br1.api.riotgames.com";
|
3
|
+
readonly EUN1: "eun1.api.riotgames.com";
|
4
|
+
readonly EUW1: "euw1.api.riotgames.com";
|
5
|
+
readonly JP1: "jp1.api.riotgames.com";
|
6
|
+
readonly KR: "kr.api.riotgames.com";
|
7
|
+
readonly LA1: "la1.api.riotgames.com";
|
8
|
+
readonly LA2: "la2.api.riotgames.com";
|
9
|
+
readonly NA1: "na1.api.riotgames.com";
|
10
|
+
readonly OC1: "oc1.api.riotgames.com";
|
11
|
+
readonly TR1: "tr1.api.riotgames.com";
|
12
|
+
readonly RU: "ru.api.riotgames.com";
|
13
|
+
readonly PH2: "ph2.api.riotgames.com";
|
14
|
+
readonly SG2: "sg2.api.riotgames.com";
|
15
|
+
readonly TH2: "th2.api.riotgames.com";
|
16
|
+
readonly TW2: "tw2.api.riotgames.com";
|
17
|
+
readonly VN2: "vn2.api.riotgames.com";
|
18
|
+
};
|
19
|
+
export type PlatformApiUri = typeof PlatformApiUris[keyof typeof PlatformApiUris];
|
20
|
+
export declare function isPlatformApiUri(value: any): value is PlatformApiUri;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isPlatformApiUri = exports.PlatformApiUris = void 0;
|
4
|
+
exports.PlatformApiUris = {
|
5
|
+
'BR1': 'br1.api.riotgames.com',
|
6
|
+
'EUN1': 'eun1.api.riotgames.com',
|
7
|
+
'EUW1': 'euw1.api.riotgames.com',
|
8
|
+
'JP1': 'jp1.api.riotgames.com',
|
9
|
+
'KR': 'kr.api.riotgames.com',
|
10
|
+
'LA1': 'la1.api.riotgames.com',
|
11
|
+
'LA2': 'la2.api.riotgames.com',
|
12
|
+
'NA1': 'na1.api.riotgames.com',
|
13
|
+
'OC1': 'oc1.api.riotgames.com',
|
14
|
+
'TR1': 'tr1.api.riotgames.com',
|
15
|
+
'RU': 'ru.api.riotgames.com',
|
16
|
+
'PH2': 'ph2.api.riotgames.com',
|
17
|
+
'SG2': 'sg2.api.riotgames.com',
|
18
|
+
'TH2': 'th2.api.riotgames.com',
|
19
|
+
'TW2': 'tw2.api.riotgames.com',
|
20
|
+
'VN2': 'vn2.api.riotgames.com',
|
21
|
+
};
|
22
|
+
function isPlatformApiUri(value) {
|
23
|
+
return typeof value == 'string' && value in exports.PlatformApiUris;
|
24
|
+
}
|
25
|
+
exports.isPlatformApiUri = isPlatformApiUri;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Region } from './Regions';
|
1
2
|
export declare const PlatformIds: {
|
2
3
|
readonly BR: "BR1";
|
3
4
|
readonly EUNE: "EUN1";
|
@@ -10,6 +11,13 @@ export declare const PlatformIds: {
|
|
10
11
|
readonly OCE: "OC1";
|
11
12
|
readonly TR: "TR1";
|
12
13
|
readonly RU: "RU";
|
14
|
+
readonly PH: "PH2";
|
15
|
+
readonly SG: "SG2";
|
16
|
+
readonly TH: "TH2";
|
17
|
+
readonly TW: "TW2";
|
18
|
+
readonly VN: "VN2";
|
19
|
+
readonly PBE: "PBE1";
|
13
20
|
};
|
14
21
|
export type PlatformId = typeof PlatformIds[keyof typeof PlatformIds];
|
15
22
|
export declare function isPlatformId(value: any): value is PlatformId;
|
23
|
+
export declare function getPlatformIdByRegion(region: Region): PlatformId;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isPlatformId = exports.PlatformIds = void 0;
|
3
|
+
exports.getPlatformIdByRegion = exports.isPlatformId = exports.PlatformIds = void 0;
|
4
4
|
const Regions_1 = require("./Regions");
|
5
5
|
exports.PlatformIds = {
|
6
6
|
'BR': 'BR1',
|
@@ -14,8 +14,18 @@ exports.PlatformIds = {
|
|
14
14
|
'OCE': 'OC1',
|
15
15
|
'TR': 'TR1',
|
16
16
|
'RU': 'RU',
|
17
|
+
'PH': 'PH2',
|
18
|
+
'SG': 'SG2',
|
19
|
+
'TH': 'TH2',
|
20
|
+
'TW': 'TW2',
|
21
|
+
'VN': 'VN2',
|
22
|
+
'PBE': 'PBE1',
|
17
23
|
};
|
18
24
|
function isPlatformId(value) {
|
19
25
|
return typeof value == 'string' && value in Regions_1.Regions;
|
20
26
|
}
|
21
27
|
exports.isPlatformId = isPlatformId;
|
28
|
+
function getPlatformIdByRegion(region) {
|
29
|
+
return exports.PlatformIds[region];
|
30
|
+
}
|
31
|
+
exports.getPlatformIdByRegion = getPlatformIdByRegion;
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/**
|
2
|
+
* 0 — Custom games
|
3
|
+
*
|
4
|
+
* 400 — 5v5 Draft Pick games
|
5
|
+
*
|
6
|
+
* 420 — 5v5 Ranked Solo games
|
7
|
+
*
|
8
|
+
* 430 — 5v5 Blind Pick games
|
9
|
+
*
|
10
|
+
* 440 — 5v5 Ranked Flex games
|
11
|
+
*
|
12
|
+
* 450 — 5v5 ARAM games
|
13
|
+
*
|
14
|
+
* 700 — Clash games
|
15
|
+
*
|
16
|
+
* 900 — ARURF games
|
17
|
+
*
|
18
|
+
* 920 — Legend of the Poro King games
|
19
|
+
*
|
20
|
+
* 1020 — One for All games
|
21
|
+
*
|
22
|
+
* 1090 — Teamfight Tactics games
|
23
|
+
*
|
24
|
+
* 1100 — Ranked Teamfight Tactics games
|
25
|
+
*
|
26
|
+
* 1110 — Teamfight Tactics Tutorial games
|
27
|
+
*
|
28
|
+
* 1111 — Teamfight Tactics test games
|
29
|
+
*
|
30
|
+
* 1300 — Nexus Blitz games
|
31
|
+
*
|
32
|
+
* 1400 — Ultimate Spellbook games
|
33
|
+
*
|
34
|
+
* 1900 — Pick URF games
|
35
|
+
*/
|
36
|
+
export declare const QueueIds: {
|
37
|
+
readonly 0: 0;
|
38
|
+
readonly 400: 400;
|
39
|
+
readonly 420: 420;
|
40
|
+
readonly 430: 430;
|
41
|
+
readonly 440: 440;
|
42
|
+
readonly 450: 450;
|
43
|
+
readonly 700: 700;
|
44
|
+
readonly 900: 900;
|
45
|
+
readonly 920: 920;
|
46
|
+
readonly 1020: 1020;
|
47
|
+
readonly 1090: 1090;
|
48
|
+
readonly 1100: 1100;
|
49
|
+
readonly 1110: 1110;
|
50
|
+
readonly 1111: 1111;
|
51
|
+
readonly 1300: 1300;
|
52
|
+
readonly 1400: 1400;
|
53
|
+
readonly 1900: 1900;
|
54
|
+
};
|
55
|
+
export type QueueId = typeof QueueIds[keyof typeof QueueIds];
|
56
|
+
export declare function isQueueId(value: number): value is QueueId;
|
@@ -0,0 +1,61 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isQueueId = exports.QueueIds = void 0;
|
4
|
+
/**
|
5
|
+
* 0 — Custom games
|
6
|
+
*
|
7
|
+
* 400 — 5v5 Draft Pick games
|
8
|
+
*
|
9
|
+
* 420 — 5v5 Ranked Solo games
|
10
|
+
*
|
11
|
+
* 430 — 5v5 Blind Pick games
|
12
|
+
*
|
13
|
+
* 440 — 5v5 Ranked Flex games
|
14
|
+
*
|
15
|
+
* 450 — 5v5 ARAM games
|
16
|
+
*
|
17
|
+
* 700 — Clash games
|
18
|
+
*
|
19
|
+
* 900 — ARURF games
|
20
|
+
*
|
21
|
+
* 920 — Legend of the Poro King games
|
22
|
+
*
|
23
|
+
* 1020 — One for All games
|
24
|
+
*
|
25
|
+
* 1090 — Teamfight Tactics games
|
26
|
+
*
|
27
|
+
* 1100 — Ranked Teamfight Tactics games
|
28
|
+
*
|
29
|
+
* 1110 — Teamfight Tactics Tutorial games
|
30
|
+
*
|
31
|
+
* 1111 — Teamfight Tactics test games
|
32
|
+
*
|
33
|
+
* 1300 — Nexus Blitz games
|
34
|
+
*
|
35
|
+
* 1400 — Ultimate Spellbook games
|
36
|
+
*
|
37
|
+
* 1900 — Pick URF games
|
38
|
+
*/
|
39
|
+
exports.QueueIds = {
|
40
|
+
0: 0,
|
41
|
+
400: 400,
|
42
|
+
420: 420,
|
43
|
+
430: 430,
|
44
|
+
440: 440,
|
45
|
+
450: 450,
|
46
|
+
700: 700,
|
47
|
+
900: 900,
|
48
|
+
920: 920,
|
49
|
+
1020: 1020,
|
50
|
+
1090: 1090,
|
51
|
+
1100: 1100,
|
52
|
+
1110: 1110,
|
53
|
+
1111: 1111,
|
54
|
+
1300: 1300,
|
55
|
+
1400: 1400,
|
56
|
+
1900: 1900,
|
57
|
+
};
|
58
|
+
function isQueueId(value) {
|
59
|
+
return value in exports.QueueIds;
|
60
|
+
}
|
61
|
+
exports.isQueueId = isQueueId;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare const RegionalApiUris: {
|
2
|
+
readonly AMERICAS: "americas.api.riotgames.com";
|
3
|
+
readonly ASIA: "asia.api.riotgames.com";
|
4
|
+
readonly EUROPE: "europe.api.riotgames.com";
|
5
|
+
readonly SEA: "sea.api.riotgames.com";
|
6
|
+
};
|
7
|
+
export type RegionalApiUri = typeof RegionalApiUris[keyof typeof RegionalApiUris];
|
8
|
+
export declare function isRegionalApiUri(value: any): value is RegionalApiUri;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isRegionalApiUri = exports.RegionalApiUris = void 0;
|
4
|
+
exports.RegionalApiUris = {
|
5
|
+
'AMERICAS': 'americas.api.riotgames.com',
|
6
|
+
'ASIA': 'asia.api.riotgames.com',
|
7
|
+
'EUROPE': 'europe.api.riotgames.com',
|
8
|
+
'SEA': 'sea.api.riotgames.com',
|
9
|
+
};
|
10
|
+
function isRegionalApiUri(value) {
|
11
|
+
return typeof value == 'string' && value in exports.RegionalApiUris;
|
12
|
+
}
|
13
|
+
exports.isRegionalApiUri = isRegionalApiUri;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { PlatformId } from './PlatformIds';
|
1
2
|
export declare const Regions: {
|
2
3
|
readonly BR1: "BR";
|
3
4
|
readonly EUN1: "EUNE";
|
@@ -10,6 +11,13 @@ export declare const Regions: {
|
|
10
11
|
readonly OC1: "OCE";
|
11
12
|
readonly TR1: "TR";
|
12
13
|
readonly RU: "RU";
|
14
|
+
readonly PH2: "PH";
|
15
|
+
readonly SG2: "SG";
|
16
|
+
readonly TH2: "TH";
|
17
|
+
readonly TW2: "TW";
|
18
|
+
readonly VN2: "VN";
|
19
|
+
readonly PBE1: "PBE";
|
13
20
|
};
|
14
21
|
export type Region = typeof Regions[keyof typeof Regions];
|
15
22
|
export declare function isRegion(value: any): value is Region;
|
23
|
+
export declare function getRegionByPlatformId(platformId: PlatformId): Region;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRegion = exports.Regions = void 0;
|
3
|
+
exports.getRegionByPlatformId = exports.isRegion = exports.Regions = void 0;
|
4
4
|
const PlatformIds_1 = require("./PlatformIds");
|
5
5
|
exports.Regions = {
|
6
6
|
'BR1': 'BR',
|
@@ -14,15 +14,18 @@ exports.Regions = {
|
|
14
14
|
'OC1': 'OCE',
|
15
15
|
'TR1': 'TR',
|
16
16
|
'RU': 'RU',
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
// 'PH': 'PH',
|
17
|
+
'PH2': 'PH',
|
18
|
+
'SG2': 'SG',
|
19
|
+
'TH2': 'TH',
|
20
|
+
'TW2': 'TW',
|
21
|
+
'VN2': 'VN',
|
22
|
+
'PBE1': 'PBE',
|
24
23
|
};
|
25
24
|
function isRegion(value) {
|
26
25
|
return typeof value == 'string' && value in PlatformIds_1.PlatformIds;
|
27
26
|
}
|
28
27
|
exports.isRegion = isRegion;
|
28
|
+
function getRegionByPlatformId(platformId) {
|
29
|
+
return exports.Regions[platformId];
|
30
|
+
}
|
31
|
+
exports.getRegionByPlatformId = getRegionByPlatformId;
|
@@ -0,0 +1,88 @@
|
|
1
|
+
export declare const NonStatRuneIds: {
|
2
|
+
readonly Electrocute: "8112";
|
3
|
+
readonly Predator: "8124";
|
4
|
+
readonly "Dark Harvest": "8128";
|
5
|
+
readonly "Hail of Blades": "9923";
|
6
|
+
readonly "Cheap Shot": "8126";
|
7
|
+
readonly "Taste of Blood": "8139";
|
8
|
+
readonly "Sudden Impact": "8143";
|
9
|
+
readonly "Zombie Ward": "8136";
|
10
|
+
readonly "Ghost Poro": "8120";
|
11
|
+
readonly "Eyeball Collection": "8138";
|
12
|
+
readonly "Treasure Hunter": "8135";
|
13
|
+
readonly "Ingenious Hunter": "8134";
|
14
|
+
readonly "Relentless Hunter": "8105";
|
15
|
+
readonly "Ultimate Hunter": "8106";
|
16
|
+
readonly "Glacial Augment": "8351";
|
17
|
+
readonly "Unsealed Spellbook": "8360";
|
18
|
+
readonly "First Strike": "8369";
|
19
|
+
readonly "Hextech Flashtraption": "8306";
|
20
|
+
readonly "Magical Footwear": "8304";
|
21
|
+
readonly "Perfect Timing": "8313";
|
22
|
+
readonly "Future's Market": "8321";
|
23
|
+
readonly "Minion Dematerializer": "8316";
|
24
|
+
readonly "Biscuit Delivery": "8345";
|
25
|
+
readonly "Cosmic Insight": "8347";
|
26
|
+
readonly "Approach Velocity": "8410";
|
27
|
+
readonly "Time Warp Tonic": "8352";
|
28
|
+
readonly "Press the Attack": "8005";
|
29
|
+
readonly "Lethal Tempo": "8008";
|
30
|
+
readonly "Fleet Footwork": "8021";
|
31
|
+
readonly Conqueror: "8010";
|
32
|
+
readonly Overheal: "9101";
|
33
|
+
readonly Triumph: "9111";
|
34
|
+
readonly "Presence of Mind": "8009";
|
35
|
+
readonly "Legend: Alacrity": "9104";
|
36
|
+
readonly "Legend: Tenacity": "9105";
|
37
|
+
readonly "Legend: Bloodline": "9103";
|
38
|
+
readonly "Coup de Grace": "8014";
|
39
|
+
readonly "Cut Down": "8017";
|
40
|
+
readonly "Last Stand": "8299";
|
41
|
+
readonly "Grasp of the Undying": "8437";
|
42
|
+
readonly Aftershock: "8439";
|
43
|
+
readonly Guardian: "8465";
|
44
|
+
readonly Demolish: "8446";
|
45
|
+
readonly "Font of Life": "8463";
|
46
|
+
readonly "Shield Bash": "8401";
|
47
|
+
readonly Conditioning: "8429";
|
48
|
+
readonly "Second Wind": "8444";
|
49
|
+
readonly "Bone Plating": "8473";
|
50
|
+
readonly Overgrowth: "8451";
|
51
|
+
readonly Revitalize: "8453";
|
52
|
+
readonly Unflinching: "8242";
|
53
|
+
readonly "Summon Aery": "8214";
|
54
|
+
readonly "Arcane Comet": "8229";
|
55
|
+
readonly "Phase Rush": "8230";
|
56
|
+
readonly "Nullifying Orb": "8224";
|
57
|
+
readonly "Manaflow Band": "8226";
|
58
|
+
readonly "Nimbus Cloak": "8275";
|
59
|
+
readonly Transcendence: "8210";
|
60
|
+
readonly Celerity: "8234";
|
61
|
+
readonly "Absolute Focus": "8233";
|
62
|
+
readonly Scorch: "8237";
|
63
|
+
readonly Waterwalking: "8232";
|
64
|
+
readonly "Gathering Storm": "8236";
|
65
|
+
};
|
66
|
+
/**
|
67
|
+
* There are 3 main Rune ID types:
|
68
|
+
* - `RuneId` (all),
|
69
|
+
* - `NonStatRuneId` (all but stat runes),
|
70
|
+
* - `StatRuneId` (only stat runes).
|
71
|
+
*
|
72
|
+
* There are 6 more specific Rune ID types as well:
|
73
|
+
* - `KeystoneRuneId`,
|
74
|
+
* - `PrecisionRuneId`,
|
75
|
+
* - `DominationRuneId`,
|
76
|
+
* - `SorceryRuneId`,
|
77
|
+
* - `ResolveRuneId`,
|
78
|
+
* - `InspirationRuneId`.
|
79
|
+
*
|
80
|
+
* There are 6 numerical Rune ID types:
|
81
|
+
* - `KeystoneRuneIdNum`,
|
82
|
+
* - `PrecisionRuneIdNum`,
|
83
|
+
* - `DominationRuneIdNum`,
|
84
|
+
* - `SorceryRuneIdNum`,
|
85
|
+
* - `ResolveRuneIdNum`,
|
86
|
+
* - `InspirationRuneIdNum`.
|
87
|
+
*/
|
88
|
+
export type NonStatRuneId = typeof NonStatRuneIds[keyof typeof NonStatRuneIds];
|
@@ -0,0 +1,4 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NonStatRuneIds = void 0;
|
4
|
+
exports.NonStatRuneIds = { "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", "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", "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", "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", "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" };
|
@@ -0,0 +1,66 @@
|
|
1
|
+
export declare const NonStatRuneIdsNum: {
|
2
|
+
readonly Electrocute: 8112;
|
3
|
+
readonly Predator: 8124;
|
4
|
+
readonly "Dark Harvest": 8128;
|
5
|
+
readonly "Hail of Blades": 9923;
|
6
|
+
readonly "Cheap Shot": 8126;
|
7
|
+
readonly "Taste of Blood": 8139;
|
8
|
+
readonly "Sudden Impact": 8143;
|
9
|
+
readonly "Zombie Ward": 8136;
|
10
|
+
readonly "Ghost Poro": 8120;
|
11
|
+
readonly "Eyeball Collection": 8138;
|
12
|
+
readonly "Treasure Hunter": 8135;
|
13
|
+
readonly "Ingenious Hunter": 8134;
|
14
|
+
readonly "Relentless Hunter": 8105;
|
15
|
+
readonly "Ultimate Hunter": 8106;
|
16
|
+
readonly "Glacial Augment": 8351;
|
17
|
+
readonly "Unsealed Spellbook": 8360;
|
18
|
+
readonly "First Strike": 8369;
|
19
|
+
readonly "Hextech Flashtraption": 8306;
|
20
|
+
readonly "Magical Footwear": 8304;
|
21
|
+
readonly "Perfect Timing": 8313;
|
22
|
+
readonly "Future's Market": 8321;
|
23
|
+
readonly "Minion Dematerializer": 8316;
|
24
|
+
readonly "Biscuit Delivery": 8345;
|
25
|
+
readonly "Cosmic Insight": 8347;
|
26
|
+
readonly "Approach Velocity": 8410;
|
27
|
+
readonly "Time Warp Tonic": 8352;
|
28
|
+
readonly "Press the Attack": 8005;
|
29
|
+
readonly "Lethal Tempo": 8008;
|
30
|
+
readonly "Fleet Footwork": 8021;
|
31
|
+
readonly Conqueror: 8010;
|
32
|
+
readonly Overheal: 9101;
|
33
|
+
readonly Triumph: 9111;
|
34
|
+
readonly "Presence of Mind": 8009;
|
35
|
+
readonly "Legend: Alacrity": 9104;
|
36
|
+
readonly "Legend: Tenacity": 9105;
|
37
|
+
readonly "Legend: Bloodline": 9103;
|
38
|
+
readonly "Coup de Grace": 8014;
|
39
|
+
readonly "Cut Down": 8017;
|
40
|
+
readonly "Last Stand": 8299;
|
41
|
+
readonly "Grasp of the Undying": 8437;
|
42
|
+
readonly Aftershock: 8439;
|
43
|
+
readonly Guardian: 8465;
|
44
|
+
readonly Demolish: 8446;
|
45
|
+
readonly "Font of Life": 8463;
|
46
|
+
readonly "Shield Bash": 8401;
|
47
|
+
readonly Conditioning: 8429;
|
48
|
+
readonly "Second Wind": 8444;
|
49
|
+
readonly "Bone Plating": 8473;
|
50
|
+
readonly Overgrowth: 8451;
|
51
|
+
readonly Revitalize: 8453;
|
52
|
+
readonly Unflinching: 8242;
|
53
|
+
readonly "Summon Aery": 8214;
|
54
|
+
readonly "Arcane Comet": 8229;
|
55
|
+
readonly "Phase Rush": 8230;
|
56
|
+
readonly "Nullifying Orb": 8224;
|
57
|
+
readonly "Manaflow Band": 8226;
|
58
|
+
readonly "Nimbus Cloak": 8275;
|
59
|
+
readonly Transcendence: 8210;
|
60
|
+
readonly Celerity: 8234;
|
61
|
+
readonly "Absolute Focus": 8233;
|
62
|
+
readonly Scorch: 8237;
|
63
|
+
readonly Waterwalking: 8232;
|
64
|
+
readonly "Gathering Storm": 8236;
|
65
|
+
};
|
66
|
+
export type NonStatRuneIdNum = typeof NonStatRuneIdsNum[keyof typeof NonStatRuneIdsNum];
|
@@ -0,0 +1,4 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NonStatRuneIdsNum = void 0;
|
4
|
+
exports.NonStatRuneIdsNum = { "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, "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, "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, "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, "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 };
|
@@ -0,0 +1,66 @@
|
|
1
|
+
export declare const NonStatRuneNames: {
|
2
|
+
readonly "8005": "Press the Attack";
|
3
|
+
readonly "8008": "Lethal Tempo";
|
4
|
+
readonly "8009": "Presence of Mind";
|
5
|
+
readonly "8010": "Conqueror";
|
6
|
+
readonly "8014": "Coup de Grace";
|
7
|
+
readonly "8017": "Cut Down";
|
8
|
+
readonly "8021": "Fleet Footwork";
|
9
|
+
readonly "8105": "Relentless Hunter";
|
10
|
+
readonly "8106": "Ultimate Hunter";
|
11
|
+
readonly "8112": "Electrocute";
|
12
|
+
readonly "8120": "Ghost Poro";
|
13
|
+
readonly "8124": "Predator";
|
14
|
+
readonly "8126": "Cheap Shot";
|
15
|
+
readonly "8128": "Dark Harvest";
|
16
|
+
readonly "8134": "Ingenious Hunter";
|
17
|
+
readonly "8135": "Treasure Hunter";
|
18
|
+
readonly "8136": "Zombie Ward";
|
19
|
+
readonly "8138": "Eyeball Collection";
|
20
|
+
readonly "8139": "Taste of Blood";
|
21
|
+
readonly "8143": "Sudden Impact";
|
22
|
+
readonly "8210": "Transcendence";
|
23
|
+
readonly "8214": "Summon Aery";
|
24
|
+
readonly "8224": "Nullifying Orb";
|
25
|
+
readonly "8226": "Manaflow Band";
|
26
|
+
readonly "8229": "Arcane Comet";
|
27
|
+
readonly "8230": "Phase Rush";
|
28
|
+
readonly "8232": "Waterwalking";
|
29
|
+
readonly "8233": "Absolute Focus";
|
30
|
+
readonly "8234": "Celerity";
|
31
|
+
readonly "8236": "Gathering Storm";
|
32
|
+
readonly "8237": "Scorch";
|
33
|
+
readonly "8242": "Unflinching";
|
34
|
+
readonly "8275": "Nimbus Cloak";
|
35
|
+
readonly "8299": "Last Stand";
|
36
|
+
readonly "8304": "Magical Footwear";
|
37
|
+
readonly "8306": "Hextech Flashtraption";
|
38
|
+
readonly "8313": "Perfect Timing";
|
39
|
+
readonly "8316": "Minion Dematerializer";
|
40
|
+
readonly "8321": "Future's Market";
|
41
|
+
readonly "8345": "Biscuit Delivery";
|
42
|
+
readonly "8347": "Cosmic Insight";
|
43
|
+
readonly "8351": "Glacial Augment";
|
44
|
+
readonly "8352": "Time Warp Tonic";
|
45
|
+
readonly "8360": "Unsealed Spellbook";
|
46
|
+
readonly "8369": "First Strike";
|
47
|
+
readonly "8401": "Shield Bash";
|
48
|
+
readonly "8410": "Approach Velocity";
|
49
|
+
readonly "8429": "Conditioning";
|
50
|
+
readonly "8437": "Grasp of the Undying";
|
51
|
+
readonly "8439": "Aftershock";
|
52
|
+
readonly "8444": "Second Wind";
|
53
|
+
readonly "8446": "Demolish";
|
54
|
+
readonly "8451": "Overgrowth";
|
55
|
+
readonly "8453": "Revitalize";
|
56
|
+
readonly "8463": "Font of Life";
|
57
|
+
readonly "8465": "Guardian";
|
58
|
+
readonly "8473": "Bone Plating";
|
59
|
+
readonly "9101": "Overheal";
|
60
|
+
readonly "9103": "Legend: Bloodline";
|
61
|
+
readonly "9104": "Legend: Alacrity";
|
62
|
+
readonly "9105": "Legend: Tenacity";
|
63
|
+
readonly "9111": "Triumph";
|
64
|
+
readonly "9923": "Hail of Blades";
|
65
|
+
};
|
66
|
+
export type NonStatRuneName = typeof NonStatRuneNames[keyof typeof NonStatRuneNames];
|
@@ -0,0 +1,4 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NonStatRuneNames = void 0;
|
4
|
+
exports.NonStatRuneNames = { "8005": "Press the Attack", "8008": "Lethal Tempo", "8009": "Presence of Mind", "8010": "Conqueror", "8014": "Coup de Grace", "8017": "Cut Down", "8021": "Fleet Footwork", "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8112": "Electrocute", "8120": "Ghost Poro", "8124": "Predator", "8126": "Cheap Shot", "8128": "Dark Harvest", "8134": "Ingenious Hunter", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact", "8210": "Transcendence", "8214": "Summon Aery", "8224": "Nullifying Orb", "8226": "Manaflow Band", "8229": "Arcane Comet", "8230": "Phase Rush", "8232": "Waterwalking", "8233": "Absolute Focus", "8234": "Celerity", "8236": "Gathering Storm", "8237": "Scorch", "8242": "Unflinching", "8275": "Nimbus Cloak", "8299": "Last Stand", "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing", "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery", "8347": "Cosmic Insight", "8351": "Glacial Augment", "8352": "Time Warp Tonic", "8360": "Unsealed Spellbook", "8369": "First Strike", "8401": "Shield Bash", "8410": "Approach Velocity", "8429": "Conditioning", "8437": "Grasp of the Undying", "8439": "Aftershock", "8444": "Second Wind", "8446": "Demolish", "8451": "Overgrowth", "8453": "Revitalize", "8463": "Font of Life", "8465": "Guardian", "8473": "Bone Plating", "9101": "Overheal", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity", "9111": "Triumph", "9923": "Hail of Blades" };
|
@@ -237,7 +237,7 @@ export declare const RuneNames: {
|
|
237
237
|
readonly "9111": "Triumph";
|
238
238
|
};
|
239
239
|
export type RuneName = typeof RuneNames[keyof typeof RuneNames];
|
240
|
-
export declare const
|
240
|
+
export declare const RuneHSets: {
|
241
241
|
readonly Domination: {
|
242
242
|
readonly "0": {
|
243
243
|
readonly "8112": "Electrocute";
|
@@ -610,7 +610,7 @@ export declare const RuneSets: {
|
|
610
610
|
readonly "9105": "Legend: Tenacity";
|
611
611
|
readonly "9111": "Triumph";
|
612
612
|
};
|
613
|
-
readonly
|
613
|
+
readonly RuneHSets: {
|
614
614
|
readonly Domination: {
|
615
615
|
readonly "0": {
|
616
616
|
readonly "8112": "Electrocute";
|
@@ -1,14 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RuneSets = exports.StatRuneHSets = exports.
|
3
|
+
exports.RuneSets = exports.StatRuneHSets = exports.RuneHSets = exports.RuneNames = exports.StatRuneNames = exports.KeystoneNames = exports.SecondaryRuneTrees = exports.PrimaryRuneTrees = void 0;
|
4
4
|
exports.PrimaryRuneTrees = { "Domination": { "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8112": "Electrocute", "8120": "Ghost Poro", "8124": "Predator", "8126": "Cheap Shot", "8128": "Dark Harvest", "8134": "Ingenious Hunter", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact", "9923": "Hail of Blades" }, "Inspiration": { "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing", "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery", "8347": "Cosmic Insight", "8351": "Glacial Augment", "8352": "Time Warp Tonic", "8360": "Unsealed Spellbook", "8369": "First Strike", "8410": "Approach Velocity" }, "Precision": { "8005": "Press the Attack", "8008": "Lethal Tempo", "8009": "Presence of Mind", "8010": "Conqueror", "8014": "Coup de Grace", "8017": "Cut Down", "8021": "Fleet Footwork", "8299": "Last Stand", "9101": "Overheal", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity", "9111": "Triumph" }, "Resolve": { "8242": "Unflinching", "8401": "Shield Bash", "8429": "Conditioning", "8437": "Grasp of the Undying", "8439": "Aftershock", "8444": "Second Wind", "8446": "Demolish", "8451": "Overgrowth", "8453": "Revitalize", "8463": "Font of Life", "8465": "Guardian", "8473": "Bone Plating" }, "Sorcery": { "8210": "Transcendence", "8214": "Summon Aery", "8224": "Nullifying Orb", "8226": "Manaflow Band", "8229": "Arcane Comet", "8230": "Phase Rush", "8232": "Waterwalking", "8233": "Absolute Focus", "8234": "Celerity", "8236": "Gathering Storm", "8237": "Scorch", "8275": "Nimbus Cloak" } };
|
5
5
|
exports.SecondaryRuneTrees = { "Domination": { "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8120": "Ghost Poro", "8126": "Cheap Shot", "8134": "Ingenious Hunter", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact" }, "Inspiration": { "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing", "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery", "8347": "Cosmic Insight", "8352": "Time Warp Tonic", "8410": "Approach Velocity" }, "Precision": { "8009": "Presence of Mind", "8014": "Coup de Grace", "8017": "Cut Down", "8299": "Last Stand", "9101": "Overheal", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity", "9111": "Triumph" }, "Resolve": { "8242": "Unflinching", "8401": "Shield Bash", "8429": "Conditioning", "8444": "Second Wind", "8446": "Demolish", "8451": "Overgrowth", "8453": "Revitalize", "8463": "Font of Life", "8473": "Bone Plating" }, "Sorcery": { "8210": "Transcendence", "8224": "Nullifying Orb", "8226": "Manaflow Band", "8232": "Waterwalking", "8233": "Absolute Focus", "8234": "Celerity", "8236": "Gathering Storm", "8237": "Scorch", "8275": "Nimbus Cloak" } };
|
6
6
|
exports.KeystoneNames = { "8005": "Press the Attack", "8008": "Lethal Tempo", "8010": "Conqueror", "8021": "Fleet Footwork", "8112": "Electrocute", "8124": "Predator", "8128": "Dark Harvest", "8214": "Summon Aery", "8229": "Arcane Comet", "8230": "Phase Rush", "8351": "Glacial Augment", "8360": "Unsealed Spellbook", "8369": "First Strike", "8437": "Grasp of the Undying", "8439": "Aftershock", "8465": "Guardian", "9923": "Hail of Blades" };
|
7
7
|
exports.StatRuneNames = { "5001": "Defense (HP)", "5002": "Defense (AR)", "5003": "Defense (MR)", "5005": "Offense (AS)", "5007": "Offense (AH)", "5008": "Offense (AF)", "5002f": "Flex (AR)", "5003f": "Flex (MR)", "5008f": "Flex (AF)" };
|
8
8
|
exports.RuneNames = { ...exports.PrimaryRuneTrees.Precision, ...exports.PrimaryRuneTrees.Domination, ...exports.PrimaryRuneTrees.Sorcery, ...exports.PrimaryRuneTrees.Resolve, ...exports.PrimaryRuneTrees.Inspiration, ...exports.StatRuneNames };
|
9
|
-
exports.
|
9
|
+
exports.RuneHSets = { "Domination": { "0": { "8112": "Electrocute", "8124": "Predator", "8128": "Dark Harvest", "9923": "Hail of Blades" }, "1": { "8126": "Cheap Shot", "8139": "Taste of Blood", "8143": "Sudden Impact" }, "2": { "8120": "Ghost Poro", "8136": "Zombie Ward", "8138": "Eyeball Collection" }, "3": { "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8134": "Ingenious Hunter", "8135": "Treasure Hunter" } }, "Inspiration": { "0": { "8351": "Glacial Augment", "8360": "Unsealed Spellbook", "8369": "First Strike" }, "1": { "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing" }, "2": { "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery" }, "3": { "8347": "Cosmic Insight", "8352": "Time Warp Tonic", "8410": "Approach Velocity" } }, "Precision": { "0": { "8005": "Press the Attack", "8008": "Lethal Tempo", "8010": "Conqueror", "8021": "Fleet Footwork" }, "1": { "8009": "Presence of Mind", "9101": "Overheal", "9111": "Triumph" }, "2": { "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity" }, "3": { "8014": "Coup de Grace", "8017": "Cut Down", "8299": "Last Stand" } }, "Resolve": { "0": { "8437": "Grasp of the Undying", "8439": "Aftershock", "8465": "Guardian" }, "1": { "8401": "Shield Bash", "8446": "Demolish", "8463": "Font of Life" }, "2": { "8429": "Conditioning", "8444": "Second Wind", "8473": "Bone Plating" }, "3": { "8242": "Unflinching", "8451": "Overgrowth", "8453": "Revitalize" } }, "Sorcery": { "0": { "8214": "Summon Aery", "8229": "Arcane Comet", "8230": "Phase Rush" }, "1": { "8224": "Nullifying Orb", "8226": "Manaflow Band", "8275": "Nimbus Cloak" }, "2": { "8210": "Transcendence", "8233": "Absolute Focus", "8234": "Celerity" }, "3": { "8232": "Waterwalking", "8236": "Gathering Storm", "8237": "Scorch" } } };
|
10
10
|
exports.StatRuneHSets = { "0": { "5005": "Offense (AS)", "5007": "Offense (AH)", "5008": "Offense (AF)" }, "1": { "5002f": "Flex (AR)", "5003f": "Flex (MR)", "5008f": "Flex (AF)" }, "2": { "5001": "Defense (HP)", "5002": "Defense (AR)", "5003": "Defense (MR)" } };
|
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.
|
13
13
|
*/
|
14
|
-
exports.RuneSets = { PrimaryRuneTrees: exports.PrimaryRuneTrees, SecondaryRuneTrees: exports.SecondaryRuneTrees, KeystoneNames: exports.KeystoneNames, StatRuneNames: exports.StatRuneNames, RuneNames: exports.RuneNames,
|
14
|
+
exports.RuneSets = { PrimaryRuneTrees: exports.PrimaryRuneTrees, SecondaryRuneTrees: exports.SecondaryRuneTrees, KeystoneNames: exports.KeystoneNames, StatRuneNames: exports.StatRuneNames, RuneNames: exports.RuneNames, RuneHSets: exports.RuneHSets, StatRuneHSets: exports.StatRuneHSets };
|