lol-constants 2.23.0 → 2.24.0
Sign up to get free protection for your applications and to get access to all the features.
- package/assets/constants/BootsItemNames.js +1 -4
- package/assets/constants/Champion.js +1 -4
- package/assets/constants/Item.js +1 -4
- package/assets/constants/LegendaryItemNames.d.ts +1 -1
- package/assets/constants/LegendaryItemNames.js +4 -5
- package/assets/constants/RunesReforged.js +1 -4
- package/assets/constants/StatRunes.js +1 -4
- package/assets/constants/StatRunesByRow.js +1 -4
- package/assets/constants/Summoner.js +1 -4
- package/assets/index.js +4 -20
- package/assets/scripts/asset-scripts/champion.js +5 -7
- package/assets/scripts/asset-scripts/generate-all.js +4 -6
- package/assets/scripts/asset-scripts/item.js +5 -7
- package/assets/scripts/asset-scripts/runes-reforged.js +5 -7
- package/assets/scripts/asset-scripts/summoner.js +5 -7
- package/assets/scripts/constants/RuneIdComment.js +1 -4
- package/assets/scripts/generate-categorized-item-keys-num.js +15 -17
- package/assets/scripts/generate-categorized-item-keys.js +12 -14
- package/assets/scripts/generate-categorized-item-names.js +12 -14
- package/assets/scripts/generate-champion-ids-by-name.js +5 -7
- package/assets/scripts/generate-champion-ids.js +5 -7
- package/assets/scripts/generate-champion-keys-num.js +7 -9
- package/assets/scripts/generate-champion-keys.js +5 -7
- package/assets/scripts/generate-champion-names.js +5 -7
- package/assets/scripts/generate-item-keys-num.js +7 -9
- package/assets/scripts/generate-item-keys.js +5 -7
- package/assets/scripts/generate-item-names.js +5 -7
- package/assets/scripts/generate-non-stat-rune-ids-num.js +4 -6
- package/assets/scripts/generate-non-stat-rune-ids.js +6 -8
- package/assets/scripts/generate-non-stat-rune-names.js +4 -6
- package/assets/scripts/generate-rune-ids.js +8 -10
- package/assets/scripts/generate-rune-names.js +6 -8
- package/assets/scripts/generate-rune-picking-relationships.js +4 -6
- package/assets/scripts/generate-rune-sets-by-rune-names-num.js +12 -14
- package/assets/scripts/generate-rune-sets-by-rune-names.js +10 -12
- package/assets/scripts/generate-rune-sets.js +7 -9
- package/assets/scripts/generate-spell-ids-by-name.js +5 -7
- package/assets/scripts/generate-spell-ids.js +5 -7
- package/assets/scripts/generate-spell-keys-num.js +7 -9
- package/assets/scripts/generate-spell-keys.js +5 -7
- package/assets/scripts/generate-spell-names.js +5 -7
- package/assets/scripts/generate-stat-rune-ids.js +6 -8
- package/assets/scripts/generate-stat-rune-names.js +4 -6
- package/assets/scripts/helpers/enableEscapedValues.js +1 -5
- package/assets/scripts/helpers/generateIndexFile.js +1 -5
- package/assets/scripts/helpers/getExportStatement.js +6 -10
- package/assets/scripts/helpers/getFmtdComment.js +1 -5
- package/assets/scripts/helpers/validateNumber.js +1 -5
- package/assets/scripts/helpers/writeToTmpFile.js +5 -9
- package/assets/scripts/print-file-names.js +5 -7
- package/core/constants/Abilities.js +6 -11
- package/core/constants/BuildingTypes.js +3 -7
- package/core/constants/Champions/ChampionClasses.d.ts +17 -0
- package/core/constants/Champions/ChampionClasses.js +25 -0
- package/core/constants/Champions/ChampionIds.js +1 -4
- package/core/constants/Champions/ChampionIdsByName.js +1 -4
- package/core/constants/Champions/ChampionKeys.js +1 -4
- package/core/constants/Champions/ChampionKeysNum.js +1 -4
- package/core/constants/Champions/ChampionNames.js +1 -4
- package/core/constants/Continents.js +3 -7
- package/core/constants/DataDragonUrls.d.ts +16 -16
- package/core/constants/DataDragonUrls.js +3 -6
- package/core/constants/DragonTypes.js +3 -7
- package/core/constants/GameModes.js +3 -7
- package/core/constants/GameTypes.js +3 -7
- package/core/constants/Items/BootsItemKeys.js +1 -4
- package/core/constants/Items/BootsItemKeysNum.js +1 -4
- package/core/constants/Items/BootsItemNames.js +1 -4
- package/core/constants/Items/ItemKeys.js +1 -4
- package/core/constants/Items/ItemKeysNum.js +1 -4
- package/core/constants/Items/ItemNames.js +1 -4
- package/core/constants/Items/ItemTypes.js +3 -7
- package/core/constants/Items/LegendaryItemKeys.js +1 -4
- package/core/constants/Items/LegendaryItemKeysNum.js +1 -4
- package/core/constants/Items/LegendaryItemNames.js +1 -4
- package/core/constants/KillTypes.js +3 -7
- package/core/constants/LaneTypes.js +3 -7
- package/core/constants/Lanes.js +3 -7
- package/core/constants/LeagueTexts.js +3 -7
- package/core/constants/Levels.js +3 -7
- package/core/constants/Locales.js +3 -7
- package/core/constants/MapIds.js +3 -7
- package/core/constants/MonsterTypes.d.ts +2 -1
- package/core/constants/MonsterTypes.js +5 -8
- package/core/constants/ParticipantIds.js +3 -7
- package/core/constants/PlatformApiUris.js +3 -7
- package/core/constants/PlatformIds.js +6 -11
- package/core/constants/Positions.js +3 -7
- package/core/constants/QueueIds.js +5 -9
- package/core/constants/QueueTypes.js +3 -7
- package/core/constants/RankedRanks.js +3 -7
- package/core/constants/RankedTiers.js +3 -7
- package/core/constants/RegionalApiUris.js +3 -7
- package/core/constants/Regions.js +6 -11
- package/core/constants/RelativeTeams.js +3 -7
- package/core/constants/Roles.js +3 -7
- package/core/constants/Runes/NonStatRuneIds.js +1 -4
- package/core/constants/Runes/NonStatRuneIdsNum.js +1 -4
- package/core/constants/Runes/NonStatRuneNames.js +1 -4
- package/core/constants/Runes/RuneIconFileNames.js +1 -4
- package/core/constants/Runes/RunePickingRelationships.js +1 -4
- package/core/constants/Runes/RuneSets.js +8 -11
- package/core/constants/Runes/RuneSetsByRuneNames.js +8 -11
- package/core/constants/Runes/RuneSetsByRuneNamesNum.js +8 -11
- package/core/constants/Runes/RuneTreeIds.js +6 -11
- package/core/constants/Runes/RuneTreeIdsNum.js +6 -11
- package/core/constants/Runes/RuneTreeNames.js +6 -11
- package/core/constants/Runes/RuneTreeTypes.js +3 -7
- package/core/constants/SkillSlots.js +3 -7
- package/core/constants/Skills.js +3 -7
- package/core/constants/Spells/SpellIds.js +1 -4
- package/core/constants/Spells/SpellIdsByName.js +1 -4
- package/core/constants/Spells/SpellKeys.js +1 -4
- package/core/constants/Spells/SpellKeysNum.js +1 -4
- package/core/constants/Spells/SpellNames.js +1 -4
- package/core/constants/TeamIds.js +3 -7
- package/core/constants/TowerTypes.js +3 -7
- package/core/constants/WardTypes.js +3 -7
- package/core/helpers/Champions/getChampionIdByKey.js +3 -7
- package/core/helpers/Champions/getChampionIdByName.js +3 -7
- package/core/helpers/Champions/getChampionKeyById.js +3 -7
- package/core/helpers/Champions/getChampionKeyByName.js +4 -8
- package/core/helpers/Champions/getChampionNameById.js +4 -8
- package/core/helpers/Champions/getChampionNameByKey.js +3 -7
- package/core/helpers/Champions/isChampionId.js +3 -7
- package/core/helpers/Champions/isChampionKey.js +3 -7
- package/core/helpers/Champions/isChampionKeyNum.js +3 -7
- package/core/helpers/Champions/isChampionName.js +3 -7
- package/core/helpers/Items/getItemKeyByName.js +3 -7
- package/core/helpers/Items/getItemNameByKey.js +3 -7
- package/core/helpers/Items/isBootsItemKey.js +3 -7
- package/core/helpers/Items/isBootsItemKeyNum.js +3 -7
- package/core/helpers/Items/isBootsItemName.js +3 -7
- package/core/helpers/Items/isItemKey.js +3 -7
- package/core/helpers/Items/isItemKeyNum.js +3 -7
- package/core/helpers/Items/isItemName.js +3 -7
- package/core/helpers/Items/isLegendaryItemKey.js +3 -7
- package/core/helpers/Items/isLegendaryItemKeyNum.js +3 -7
- package/core/helpers/Items/isLegendaryItemName.js +3 -7
- package/core/helpers/Items/isTier2Boots.d.ts +3 -0
- package/core/helpers/Items/isTier2Boots.js +9 -0
- package/core/helpers/Runes/getNonStatRuneIdByName.js +3 -7
- package/core/helpers/Runes/getNonStatRuneNameById.js +3 -7
- package/core/helpers/Runes/getRuneCategoryName.js +8 -12
- package/core/helpers/Runes/getRuneCdnUrl.js +16 -20
- package/core/helpers/Runes/getRuneIdByName.js +3 -7
- package/core/helpers/Runes/getRuneNameById.js +3 -7
- package/core/helpers/Runes/getStatRuneIdByName.js +3 -7
- package/core/helpers/Runes/getStatRuneNameById.js +3 -7
- package/core/helpers/Runes/isDominationRuneId.js +3 -7
- package/core/helpers/Runes/isDominationRuneIdNum.js +3 -7
- package/core/helpers/Runes/isDominationRuneName.js +3 -7
- package/core/helpers/Runes/isInspirationRuneId.js +3 -7
- package/core/helpers/Runes/isInspirationRuneIdNum.js +3 -7
- package/core/helpers/Runes/isInspirationRuneName.js +3 -7
- package/core/helpers/Runes/isKeystoneRuneId.js +3 -7
- package/core/helpers/Runes/isKeystoneRuneIdNum.js +3 -7
- package/core/helpers/Runes/isKeystoneRuneName.js +3 -7
- package/core/helpers/Runes/isNonStatRuneId.js +3 -7
- package/core/helpers/Runes/isNonStatRuneIdNum.js +3 -7
- package/core/helpers/Runes/isNonStatRuneName.js +3 -7
- package/core/helpers/Runes/isPrecisionRuneId.js +3 -7
- package/core/helpers/Runes/isPrecisionRuneIdNum.js +3 -7
- package/core/helpers/Runes/isPrecisionRuneName.js +3 -7
- package/core/helpers/Runes/isResolveRuneId.js +3 -7
- package/core/helpers/Runes/isResolveRuneIdNum.js +3 -7
- package/core/helpers/Runes/isResolveRuneName.js +3 -7
- package/core/helpers/Runes/isRuneId.js +3 -7
- package/core/helpers/Runes/isRuneIdNum.js +3 -7
- package/core/helpers/Runes/isRuneName.js +3 -7
- package/core/helpers/Runes/isSorceryRuneId.js +3 -7
- package/core/helpers/Runes/isSorceryRuneIdNum.js +3 -7
- package/core/helpers/Runes/isSorceryRuneName.js +3 -7
- package/core/helpers/Runes/isStatRuneId.js +3 -7
- package/core/helpers/Runes/isStatRuneIdNum.js +3 -7
- package/core/helpers/Runes/isStatRuneName.js +3 -7
- package/core/helpers/Spells/getSpellIdByKey.js +3 -7
- package/core/helpers/Spells/getSpellIdByName.js +3 -7
- package/core/helpers/Spells/getSpellKeyById.js +3 -7
- package/core/helpers/Spells/getSpellKeyByName.js +4 -8
- package/core/helpers/Spells/getSpellNameById.js +4 -8
- package/core/helpers/Spells/getSpellNameByKey.js +3 -7
- package/core/helpers/Spells/isSpellId.js +3 -7
- package/core/helpers/Spells/isSpellKey.js +3 -7
- package/core/helpers/Spells/isSpellKeyNum.js +3 -7
- package/core/helpers/Spells/isSpellName.js +3 -7
- package/core/helpers/getPositionImageUrl.js +3 -7
- package/core/helpers/isRiotId.js +7 -11
- package/core/helpers/makeRiotId.js +1 -5
- package/core/helpers/splitRiotId.js +1 -5
- package/core/index.d.ts +4 -0
- package/core/index.js +138 -150
- package/core/types/championJson.js +1 -2
- package/core/types/interfaces.js +1 -2
- package/core/types/types.js +1 -2
- package/package.json +9 -7
- package/assets/constants/OrnnItemNames.d.ts +0 -1
- package/assets/constants/OrnnItemNames.js +0 -33
- package/assets/scripts/generate-all.d.ts +0 -23
- package/assets/scripts/generate-all.js +0 -29
- package/core/constants/Items/OrnnItemKeys.d.ts +0 -23
- package/core/constants/Items/OrnnItemKeys.js +0 -4
- package/core/constants/Items/OrnnItemKeysNum.d.ts +0 -23
- package/core/constants/Items/OrnnItemKeysNum.js +0 -4
- package/core/constants/Items/OrnnItemNames.d.ts +0 -23
- package/core/constants/Items/OrnnItemNames.js +0 -4
- package/core/helpers/Items/isOrnnItemKey.d.ts +0 -2
- package/core/helpers/Items/isOrnnItemKey.js +0 -8
- package/core/helpers/Items/isOrnnItemKeyNum.d.ts +0 -2
- package/core/helpers/Items/isOrnnItemKeyNum.js +0 -8
- package/core/helpers/Items/isOrnnItemName.d.ts +0 -2
- package/core/helpers/Items/isOrnnItemName.js +0 -8
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isLeagueText = exports.LeagueTexts = void 0;
|
4
|
-
exports.LeagueTexts = {
|
1
|
+
export const LeagueTexts = {
|
5
2
|
'HP': 'health',
|
6
3
|
'HPR': 'health regeneration',
|
7
4
|
'MP': 'mana',
|
@@ -52,7 +49,6 @@ exports.LeagueTexts = {
|
|
52
49
|
'🧢': 'cap',
|
53
50
|
'➊➑📈': 'based on level',
|
54
51
|
};
|
55
|
-
function isLeagueText(value) {
|
56
|
-
return typeof value == 'string' && value in
|
52
|
+
export function isLeagueText(value) {
|
53
|
+
return typeof value == 'string' && value in LeagueTexts;
|
57
54
|
}
|
58
|
-
exports.isLeagueText = isLeagueText;
|
package/core/constants/Levels.js
CHANGED
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isLevel = exports.Levels = void 0;
|
4
|
-
exports.Levels = {
|
1
|
+
export const Levels = {
|
5
2
|
1: 1,
|
6
3
|
2: 2,
|
7
4
|
3: 3,
|
@@ -21,7 +18,6 @@ exports.Levels = {
|
|
21
18
|
17: 17,
|
22
19
|
18: 18,
|
23
20
|
};
|
24
|
-
function isLevel(level) {
|
25
|
-
return level in
|
21
|
+
export function isLevel(level) {
|
22
|
+
return level in Levels;
|
26
23
|
}
|
27
|
-
exports.isLevel = isLevel;
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isLocale = exports.Locales = void 0;
|
4
|
-
exports.Locales = {
|
1
|
+
export const Locales = {
|
5
2
|
/** Czech (Czech Republic) */
|
6
3
|
'cs_CZ': 'cs_CZ',
|
7
4
|
/** Greek (Greece) */
|
@@ -59,7 +56,6 @@ exports.Locales = {
|
|
59
56
|
/** Chinese (Taiwan) */
|
60
57
|
'zh_TW': 'zh_TW',
|
61
58
|
};
|
62
|
-
function isLocale(value) {
|
63
|
-
return typeof value == 'string' && value in
|
59
|
+
export function isLocale(value) {
|
60
|
+
return typeof value == 'string' && value in Locales;
|
64
61
|
}
|
65
|
-
exports.isLocale = isLocale;
|
package/core/constants/MapIds.js
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isMapId = exports.MapIds = void 0;
|
4
1
|
/**
|
5
2
|
* 11 — Summoner's Rift
|
6
3
|
*
|
@@ -10,13 +7,12 @@ exports.isMapId = exports.MapIds = void 0;
|
|
10
7
|
*
|
11
8
|
* 22 — Convergence
|
12
9
|
*/
|
13
|
-
|
10
|
+
export const MapIds = {
|
14
11
|
11: 11,
|
15
12
|
12: 12,
|
16
13
|
21: 21,
|
17
14
|
22: 22,
|
18
15
|
};
|
19
|
-
function isMapId(value) {
|
20
|
-
return value in
|
16
|
+
export function isMapId(value) {
|
17
|
+
return value in MapIds;
|
21
18
|
}
|
22
|
-
exports.isMapId = isMapId;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const MonsterTypes: {
|
2
|
-
readonly
|
2
|
+
readonly HORDE: "HORDE";
|
3
3
|
readonly DRAGON: "DRAGON";
|
4
|
+
readonly RIFTHERALD: "RIFTHERALD";
|
4
5
|
readonly BARON_NASHOR: "BARON_NASHOR";
|
5
6
|
};
|
6
7
|
export type MonsterType = typeof MonsterTypes[keyof typeof MonsterTypes];
|
@@ -1,12 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
exports.isMonsterType = exports.MonsterTypes = void 0;
|
4
|
-
exports.MonsterTypes = {
|
5
|
-
'RIFTHERALD': 'RIFTHERALD',
|
1
|
+
export const MonsterTypes = {
|
2
|
+
'HORDE': 'HORDE',
|
6
3
|
'DRAGON': 'DRAGON',
|
4
|
+
'RIFTHERALD': 'RIFTHERALD',
|
7
5
|
'BARON_NASHOR': 'BARON_NASHOR',
|
8
6
|
};
|
9
|
-
function isMonsterType(value) {
|
10
|
-
return typeof value == 'string' && value in
|
7
|
+
export function isMonsterType(value) {
|
8
|
+
return typeof value == 'string' && value in MonsterTypes;
|
11
9
|
}
|
12
|
-
exports.isMonsterType = isMonsterType;
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isParticipantId = exports.ParticipantIds = void 0;
|
4
|
-
exports.ParticipantIds = {
|
1
|
+
export const ParticipantIds = {
|
5
2
|
1: 1,
|
6
3
|
2: 2,
|
7
4
|
3: 3,
|
@@ -13,7 +10,6 @@ exports.ParticipantIds = {
|
|
13
10
|
9: 9,
|
14
11
|
10: 10,
|
15
12
|
};
|
16
|
-
function isParticipantId(value) {
|
17
|
-
return value in
|
13
|
+
export function isParticipantId(value) {
|
14
|
+
return value in ParticipantIds;
|
18
15
|
}
|
19
|
-
exports.isParticipantId = isParticipantId;
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isPlatformApiUri = exports.PlatformApiUris = void 0;
|
4
|
-
exports.PlatformApiUris = {
|
1
|
+
export const PlatformApiUris = {
|
5
2
|
'BR1': 'br1.api.riotgames.com',
|
6
3
|
'EUN1': 'eun1.api.riotgames.com',
|
7
4
|
'EUW1': 'euw1.api.riotgames.com',
|
@@ -19,7 +16,6 @@ exports.PlatformApiUris = {
|
|
19
16
|
'TW2': 'tw2.api.riotgames.com',
|
20
17
|
'VN2': 'vn2.api.riotgames.com',
|
21
18
|
};
|
22
|
-
function isPlatformApiUri(value) {
|
23
|
-
return typeof value == 'string' && value in
|
19
|
+
export function isPlatformApiUri(value) {
|
20
|
+
return typeof value == 'string' && value in PlatformApiUris;
|
24
21
|
}
|
25
|
-
exports.isPlatformApiUri = isPlatformApiUri;
|
@@ -1,8 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
exports.getPlatformIdByRegion = exports.isPlatformId = exports.PlatformIds = void 0;
|
4
|
-
const Regions_1 = require("./Regions");
|
5
|
-
exports.PlatformIds = {
|
1
|
+
import { Regions } from './Regions';
|
2
|
+
export const PlatformIds = {
|
6
3
|
'BR': 'BR1',
|
7
4
|
'EUNE': 'EUN1',
|
8
5
|
'EUW': 'EUW1',
|
@@ -21,11 +18,9 @@ exports.PlatformIds = {
|
|
21
18
|
'VN': 'VN2',
|
22
19
|
'PBE': 'PBE1',
|
23
20
|
};
|
24
|
-
function isPlatformId(value) {
|
25
|
-
return typeof value == 'string' && value in
|
21
|
+
export function isPlatformId(value) {
|
22
|
+
return typeof value == 'string' && value in Regions;
|
26
23
|
}
|
27
|
-
|
28
|
-
|
29
|
-
return exports.PlatformIds[region];
|
24
|
+
export function getPlatformIdByRegion(region) {
|
25
|
+
return PlatformIds[region];
|
30
26
|
}
|
31
|
-
exports.getPlatformIdByRegion = getPlatformIdByRegion;
|
@@ -1,14 +1,10 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isPosition = exports.Positions = void 0;
|
4
|
-
exports.Positions = {
|
1
|
+
export const Positions = {
|
5
2
|
'TOP': 'TOP',
|
6
3
|
'JUNGLE': 'JUNGLE',
|
7
4
|
'MIDDLE': 'MIDDLE',
|
8
5
|
'BOTTOM': 'BOTTOM',
|
9
6
|
'UTILITY': 'UTILITY',
|
10
7
|
};
|
11
|
-
function isPosition(position) {
|
12
|
-
return typeof position == 'string' && position in
|
8
|
+
export function isPosition(position) {
|
9
|
+
return typeof position == 'string' && position in Positions;
|
13
10
|
}
|
14
|
-
exports.isPosition = isPosition;
|
@@ -1,6 +1,3 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.QueueDescriptionsToIds = exports.QueueDescriptions = exports.isQueueId = exports.QueueIds = void 0;
|
4
1
|
/**
|
5
2
|
* 0 — Custom games
|
6
3
|
*
|
@@ -54,7 +51,7 @@ exports.QueueDescriptionsToIds = exports.QueueDescriptions = exports.isQueueId =
|
|
54
51
|
*
|
55
52
|
* 2020 — Tutorial 3
|
56
53
|
*/
|
57
|
-
|
54
|
+
export const QueueIds = {
|
58
55
|
0: 0,
|
59
56
|
400: 400,
|
60
57
|
420: 420,
|
@@ -82,11 +79,10 @@ exports.QueueIds = {
|
|
82
79
|
2010: 2010,
|
83
80
|
2020: 2020,
|
84
81
|
};
|
85
|
-
function isQueueId(value) {
|
86
|
-
return value in
|
82
|
+
export function isQueueId(value) {
|
83
|
+
return value in QueueIds;
|
87
84
|
}
|
88
|
-
|
89
|
-
exports.QueueDescriptions = {
|
85
|
+
export const QueueDescriptions = {
|
90
86
|
0: 'Custom',
|
91
87
|
400: '5v5 Draft Pick',
|
92
88
|
420: '5v5 Ranked Solo',
|
@@ -114,7 +110,7 @@ exports.QueueDescriptions = {
|
|
114
110
|
2010: 'Tutorial 2',
|
115
111
|
2020: 'Tutorial 3',
|
116
112
|
};
|
117
|
-
|
113
|
+
export const QueueDescriptionsToIds = {
|
118
114
|
'Custom': 0,
|
119
115
|
'5v5 Draft Pick': 400,
|
120
116
|
'5v5 Ranked Solo': 420,
|
@@ -1,12 +1,8 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isQueueType = exports.QueueTypes = void 0;
|
4
|
-
exports.QueueTypes = {
|
1
|
+
export const QueueTypes = {
|
5
2
|
'RANKED_SOLO_5x5': 'RANKED_SOLO_5x5',
|
6
3
|
'RANKED_FLEX_SR': 'RANKED_FLEX_SR',
|
7
4
|
'RANKED_TFT': 'RANKED_TFT',
|
8
5
|
};
|
9
|
-
function isQueueType(value) {
|
10
|
-
return typeof value == 'string' && value in
|
6
|
+
export function isQueueType(value) {
|
7
|
+
return typeof value == 'string' && value in QueueTypes;
|
11
8
|
}
|
12
|
-
exports.isQueueType = isQueueType;
|
@@ -1,13 +1,9 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRankedRank = exports.RankedRanks = void 0;
|
4
|
-
exports.RankedRanks = {
|
1
|
+
export const RankedRanks = {
|
5
2
|
'I': 'I',
|
6
3
|
'II': 'II',
|
7
4
|
'III': 'III',
|
8
5
|
'IV': 'IV',
|
9
6
|
};
|
10
|
-
function isRankedRank(value) {
|
11
|
-
return typeof value == 'string' && value in
|
7
|
+
export function isRankedRank(value) {
|
8
|
+
return typeof value == 'string' && value in RankedRanks;
|
12
9
|
}
|
13
|
-
exports.isRankedRank = isRankedRank;
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRankedTier = exports.RankedTiers = void 0;
|
4
|
-
exports.RankedTiers = {
|
1
|
+
export const RankedTiers = {
|
5
2
|
'CHALLENGER': 'CHALLENGER',
|
6
3
|
'GRANDMASTER': 'GRANDMASTER',
|
7
4
|
'MASTER': 'MASTER',
|
@@ -13,7 +10,6 @@ exports.RankedTiers = {
|
|
13
10
|
'BRONZE': 'BRONZE',
|
14
11
|
'IRON': 'IRON',
|
15
12
|
};
|
16
|
-
function isRankedTier(value) {
|
17
|
-
return typeof value == 'string' && value in
|
13
|
+
export function isRankedTier(value) {
|
14
|
+
return typeof value == 'string' && value in RankedTiers;
|
18
15
|
}
|
19
|
-
exports.isRankedTier = isRankedTier;
|
@@ -1,13 +1,9 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRegionalApiUri = exports.RegionalApiUris = void 0;
|
4
|
-
exports.RegionalApiUris = {
|
1
|
+
export const RegionalApiUris = {
|
5
2
|
'AMERICAS': 'americas.api.riotgames.com',
|
6
3
|
'ASIA': 'asia.api.riotgames.com',
|
7
4
|
'EUROPE': 'europe.api.riotgames.com',
|
8
5
|
'SEA': 'sea.api.riotgames.com',
|
9
6
|
};
|
10
|
-
function isRegionalApiUri(value) {
|
11
|
-
return typeof value == 'string' && value in
|
7
|
+
export function isRegionalApiUri(value) {
|
8
|
+
return typeof value == 'string' && value in RegionalApiUris;
|
12
9
|
}
|
13
|
-
exports.isRegionalApiUri = isRegionalApiUri;
|
@@ -1,8 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
exports.getRegionByPlatformId = exports.isRegion = exports.Regions = void 0;
|
4
|
-
const PlatformIds_1 = require("./PlatformIds");
|
5
|
-
exports.Regions = {
|
1
|
+
import { PlatformIds } from './PlatformIds';
|
2
|
+
export const Regions = {
|
6
3
|
'BR1': 'BR',
|
7
4
|
'EUN1': 'EUNE',
|
8
5
|
'EUW1': 'EUW',
|
@@ -21,11 +18,9 @@ exports.Regions = {
|
|
21
18
|
'VN2': 'VN',
|
22
19
|
'PBE1': 'PBE',
|
23
20
|
};
|
24
|
-
function isRegion(value) {
|
25
|
-
return typeof value == 'string' && value in
|
21
|
+
export function isRegion(value) {
|
22
|
+
return typeof value == 'string' && value in PlatformIds;
|
26
23
|
}
|
27
|
-
|
28
|
-
|
29
|
-
return exports.Regions[platformId];
|
24
|
+
export function getRegionByPlatformId(platformId) {
|
25
|
+
return Regions[platformId];
|
30
26
|
}
|
31
|
-
exports.getRegionByPlatformId = getRegionByPlatformId;
|
@@ -1,11 +1,7 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRelativeTeam = exports.RelativeTeams = void 0;
|
4
|
-
exports.RelativeTeams = {
|
1
|
+
export const RelativeTeams = {
|
5
2
|
'ally': 'ally',
|
6
3
|
'enemy': 'enemy',
|
7
4
|
};
|
8
|
-
function isRelativeTeam(type) {
|
9
|
-
return typeof type == 'string' && type in
|
5
|
+
export function isRelativeTeam(type) {
|
6
|
+
return typeof type == 'string' && type in RelativeTeams;
|
10
7
|
}
|
11
|
-
exports.isRelativeTeam = isRelativeTeam;
|
package/core/constants/Roles.js
CHANGED
@@ -1,13 +1,9 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRole = exports.Roles = void 0;
|
4
|
-
exports.Roles = {
|
1
|
+
export const Roles = {
|
5
2
|
'NONE': 'NONE',
|
6
3
|
'SOLO': 'SOLO',
|
7
4
|
'CARRY': 'CARRY',
|
8
5
|
'SUPPORT': 'SUPPORT',
|
9
6
|
};
|
10
|
-
function isRole(value) {
|
11
|
-
return typeof value == 'string' && value in
|
7
|
+
export function isRole(value) {
|
8
|
+
return typeof value == 'string' && value in Roles;
|
12
9
|
}
|
13
|
-
exports.isRole = isRole;
|
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NonStatRuneIds = void 0;
|
4
|
-
exports.NonStatRuneIds = { "Electrocute": "8112", "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", "Relentless Hunter": "8105", "Ultimate Hunter": "8106", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Cash Back": "8321", "Triple Tonic": "8313", "Time Warp Tonic": "8352", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Jack Of All Trades": "8316", "Press the Attack": "8005", "Fleet Footwork": "8021", "Conqueror": "8010", "Absorb Life": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Haste": "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" };
|
1
|
+
export const NonStatRuneIds = { "Electrocute": "8112", "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", "Relentless Hunter": "8105", "Ultimate Hunter": "8106", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Cash Back": "8321", "Triple Tonic": "8313", "Time Warp Tonic": "8352", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Jack Of All Trades": "8316", "Press the Attack": "8005", "Fleet Footwork": "8021", "Conqueror": "8010", "Absorb Life": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Haste": "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" };
|
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NonStatRuneIdsNum = void 0;
|
4
|
-
exports.NonStatRuneIdsNum = { "Electrocute": 8112, "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, "Relentless Hunter": 8105, "Ultimate Hunter": 8106, "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369, "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Cash Back": 8321, "Triple Tonic": 8313, "Time Warp Tonic": 8352, "Biscuit Delivery": 8345, "Cosmic Insight": 8347, "Approach Velocity": 8410, "Jack Of All Trades": 8316, "Press the Attack": 8005, "Fleet Footwork": 8021, "Conqueror": 8010, "Absorb Life": 9101, "Triumph": 9111, "Presence of Mind": 8009, "Legend: Alacrity": 9104, "Legend: Haste": 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 };
|
1
|
+
export const NonStatRuneIdsNum = { "Electrocute": 8112, "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, "Relentless Hunter": 8105, "Ultimate Hunter": 8106, "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369, "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Cash Back": 8321, "Triple Tonic": 8313, "Time Warp Tonic": 8352, "Biscuit Delivery": 8345, "Cosmic Insight": 8347, "Approach Velocity": 8410, "Jack Of All Trades": 8316, "Press the Attack": 8005, "Fleet Footwork": 8021, "Conqueror": 8010, "Absorb Life": 9101, "Triumph": 9111, "Presence of Mind": 8009, "Legend: Alacrity": 9104, "Legend: Haste": 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 };
|
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NonStatRuneNames = void 0;
|
4
|
-
exports.NonStatRuneNames = { "8005": "Press the Attack", "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", "8126": "Cheap Shot", "8128": "Dark Harvest", "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": "Triple Tonic", "8316": "Jack Of All Trades", "8321": "Cash Back", "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": "Absorb Life", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Haste", "9111": "Triumph", "9923": "Hail of Blades" };
|
1
|
+
export const NonStatRuneNames = { "8005": "Press the Attack", "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", "8126": "Cheap Shot", "8128": "Dark Harvest", "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": "Triple Tonic", "8316": "Jack Of All Trades", "8321": "Cash Back", "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": "Absorb Life", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Haste", "9111": "Triumph", "9923": "Hail of Blades" };
|
@@ -1,6 +1,3 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RuneIconFileNames = void 0;
|
4
1
|
/**
|
5
2
|
* The file names themselves for runes,
|
6
3
|
* according to https://raw.communitydragon.org.
|
@@ -9,7 +6,7 @@ exports.RuneIconFileNames = void 0;
|
|
9
6
|
* @see https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/statmods/
|
10
7
|
* @see https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/styles/
|
11
8
|
*/
|
12
|
-
|
9
|
+
export const RuneIconFileNames = {
|
13
10
|
// ## Rune Trees
|
14
11
|
'Precision': '7201_precision',
|
15
12
|
'Domination': '7200_domination',
|
@@ -1,7 +1,4 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RunePickingRelationships = void 0;
|
4
1
|
/**
|
5
2
|
* All of the runes and their relationships to other runes in terms of picking. Only one rune can be picked in a rune horizontal-set, each main rune that has a relationship to another rune unselects the other rune if the main rune is picked.
|
6
3
|
*/
|
7
|
-
|
4
|
+
export const RunePickingRelationships = { "5001": ["5002", "5003"], "5002": ["5001", "5003"], "5003": ["5001", "5002"], "5005": ["5007", "5008"], "5007": ["5005", "5008"], "5008": ["5005", "5007"], "8005": ["8021", "8010"], "8009": ["9101", "9111"], "8010": ["8005", "8021"], "8014": ["8017", "8299"], "8017": ["8014", "8299"], "8021": ["8005", "8010"], "8105": ["8135", "8106"], "8106": ["8135", "8105"], "8112": ["8128", "9923"], "8120": ["8136", "8138"], "8126": ["8139", "8143"], "8128": ["8112", "9923"], "8135": ["8105", "8106"], "8136": ["8120", "8138"], "8138": ["8136", "8120"], "8139": ["8126", "8143"], "8143": ["8126", "8139"], "8210": ["8234", "8233"], "8214": ["8229", "8230"], "8224": ["8226", "8275"], "8226": ["8224", "8275"], "8229": ["8214", "8230"], "8230": ["8214", "8229"], "8232": ["8237", "8236"], "8233": ["8210", "8234"], "8234": ["8210", "8233"], "8236": ["8237", "8232"], "8237": ["8232", "8236"], "8242": ["8451", "8453"], "8275": ["8224", "8226"], "8299": ["8014", "8017"], "8304": ["8306", "8321"], "8306": ["8304", "8321"], "8313": ["8352", "8345"], "8316": ["8347", "8410"], "8321": ["8306", "8304"], "8345": ["8313", "8352"], "8347": ["8410", "8316"], "8351": ["8360", "8369"], "8352": ["8313", "8345"], "8360": ["8351", "8369"], "8369": ["8351", "8360"], "8401": ["8446", "8463"], "8410": ["8347", "8316"], "8429": ["8444", "8473"], "8437": ["8439", "8465"], "8439": ["8437", "8465"], "8444": ["8429", "8473"], "8446": ["8463", "8401"], "8451": ["8453", "8242"], "8453": ["8451", "8242"], "8463": ["8446", "8401"], "8465": ["8437", "8439"], "8473": ["8429", "8444"], "9101": ["9111", "8009"], "9103": ["9104", "9105"], "9104": ["9105", "9103"], "9105": ["9104", "9103"], "9111": ["9101", "8009"], "9923": ["8112", "8128"], "5002f": ["5003f", "5008f"], "5003f": ["5002f", "5008f"], "5008f": ["5002f", "5003f"] };
|
@@ -1,14 +1,11 @@
|
|
1
|
-
"
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
exports.RuneNames = { ...exports.PrimaryRuneTrees.Precision, ...exports.PrimaryRuneTrees.Domination, ...exports.PrimaryRuneTrees.Sorcery, ...exports.PrimaryRuneTrees.Resolve, ...exports.PrimaryRuneTrees.Inspiration, ...exports.StatRuneNames };
|
9
|
-
exports.RuneHSets = { "Domination": { "0": { "8112": "Electrocute", "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", "8135": "Treasure Hunter" } }, "Inspiration": { "0": { "8351": "Glacial Augment", "8360": "Unsealed Spellbook", "8369": "First Strike" }, "1": { "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8321": "Cash Back" }, "2": { "8313": "Triple Tonic", "8345": "Biscuit Delivery", "8352": "Time Warp Tonic" }, "3": { "8316": "Jack Of All Trades", "8347": "Cosmic Insight", "8410": "Approach Velocity" } }, "Precision": { "0": { "8005": "Press the Attack", "8010": "Conqueror", "8021": "Fleet Footwork" }, "1": { "8009": "Presence of Mind", "9101": "Absorb Life", "9111": "Triumph" }, "2": { "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Haste" }, "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
|
-
exports.StatRuneHSets = { "0": { "5005": "Offense (AS)", "5007": "Offense (AH)", "5008": "Offense (AF)" }, "1": { "5008f": "Flex (AF)", "5010f": "Flex (MS)", "5001f": "Flex (HP+)" }, "2": { "5001": "Defense (HP+)", "5011": "Defense (HP)", "5013": "Defense (Tenacity + Slow Resist)" } };
|
1
|
+
export const PrimaryRuneTrees = { "Domination": { "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8112": "Electrocute", "8120": "Ghost Poro", "8126": "Cheap Shot", "8128": "Dark Harvest", "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": "Triple Tonic", "8316": "Jack Of All Trades", "8321": "Cash Back", "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", "8009": "Presence of Mind", "8010": "Conqueror", "8014": "Coup de Grace", "8017": "Cut Down", "8021": "Fleet Footwork", "8299": "Last Stand", "9101": "Absorb Life", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Haste", "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" } };
|
2
|
+
export const SecondaryRuneTrees = { "Domination": { "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8120": "Ghost Poro", "8126": "Cheap Shot", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact" }, "Inspiration": { "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Triple Tonic", "8316": "Jack Of All Trades", "8321": "Cash Back", "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": "Absorb Life", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Haste", "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" } };
|
3
|
+
export const KeystoneNames = { "8005": "Press the Attack", "8010": "Conqueror", "8021": "Fleet Footwork", "8112": "Electrocute", "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" };
|
4
|
+
export const StatRuneNames = { "5001": "Defense (HP+)", "5005": "Offense (AS)", "5007": "Offense (AH)", "5008": "Offense (AF)", "5011": "Defense (HP)", "5013": "Defense (Tenacity + Slow Resist)", "5008f": "Flex (AF)", "5010f": "Flex (MS)", "5001f": "Flex (HP+)" };
|
5
|
+
export const RuneNames = { ...PrimaryRuneTrees.Precision, ...PrimaryRuneTrees.Domination, ...PrimaryRuneTrees.Sorcery, ...PrimaryRuneTrees.Resolve, ...PrimaryRuneTrees.Inspiration, ...StatRuneNames };
|
6
|
+
export const RuneHSets = { "Domination": { "0": { "8112": "Electrocute", "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", "8135": "Treasure Hunter" } }, "Inspiration": { "0": { "8351": "Glacial Augment", "8360": "Unsealed Spellbook", "8369": "First Strike" }, "1": { "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8321": "Cash Back" }, "2": { "8313": "Triple Tonic", "8345": "Biscuit Delivery", "8352": "Time Warp Tonic" }, "3": { "8316": "Jack Of All Trades", "8347": "Cosmic Insight", "8410": "Approach Velocity" } }, "Precision": { "0": { "8005": "Press the Attack", "8010": "Conqueror", "8021": "Fleet Footwork" }, "1": { "8009": "Presence of Mind", "9101": "Absorb Life", "9111": "Triumph" }, "2": { "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Haste" }, "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" } } };
|
7
|
+
export const StatRuneHSets = { "0": { "5005": "Offense (AS)", "5007": "Offense (AH)", "5008": "Offense (AF)" }, "1": { "5008f": "Flex (AF)", "5010f": "Flex (MS)", "5001f": "Flex (HP+)" }, "2": { "5001": "Defense (HP+)", "5011": "Defense (HP)", "5013": "Defense (Tenacity + Slow Resist)" } };
|
11
8
|
/**
|
12
9
|
* 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 69 runes in the game.
|
13
10
|
*/
|
14
|
-
|
11
|
+
export const RuneSets = { PrimaryRuneTrees, SecondaryRuneTrees, KeystoneNames, StatRuneNames, RuneNames, RuneHSets, StatRuneHSets };
|
@@ -1,14 +1,11 @@
|
|
1
|
-
"
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
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", "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", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" } }, "Inspiration": { "0": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369" }, "1": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Cash Back": "8321" }, "2": { "Triple Tonic": "8313", "Time Warp Tonic": "8352", "Biscuit Delivery": "8345" }, "3": { "Cosmic Insight": "8347", "Approach Velocity": "8410", "Jack Of All Trades": "8316" } }, "Precision": { "0": { "Press the Attack": "8005", "Fleet Footwork": "8021", "Conqueror": "8010" }, "1": { "Absorb Life": "9101", "Triumph": "9111", "Presence of Mind": "8009" }, "2": { "Legend: Alacrity": "9104", "Legend: Haste": "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
|
-
exports.StatRuneHSetsByRuneNames = { "0": { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008" }, "1": { "Flex (AF)": "5008f", "Flex (MS)": "5010f", "Flex (HP+)": "5001f" }, "2": { "Defense (HP+)": "5001", "Defense (HP)": "5011", "Defense (Tenacity + Slow Resist)": "5013" } };
|
1
|
+
export const PrimaryRuneTreesByRuneNames = { "Domination": { "Electrocute": "8112", "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", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Cash Back": "8321", "Triple Tonic": "8313", "Time Warp Tonic": "8352", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Jack Of All Trades": "8316" }, "Precision": { "Press the Attack": "8005", "Fleet Footwork": "8021", "Conqueror": "8010", "Absorb Life": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Haste": "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" } };
|
2
|
+
export const SecondaryRuneTreesByRuneNames = { "Domination": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Cash Back": "8321", "Triple Tonic": "8313", "Time Warp Tonic": "8352", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Jack Of All Trades": "8316" }, "Precision": { "Absorb Life": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Haste": "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" } };
|
3
|
+
export const KeystoneIds = { "Electrocute": "8112", "Dark Harvest": "8128", "Hail of Blades": "9923", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Press the Attack": "8005", "Fleet Footwork": "8021", "Conqueror": "8010", "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" };
|
4
|
+
export const StatRuneIds = { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008", "Flex (AF)": "5008f", "Flex (MS)": "5010f", "Flex (HP+)": "5001f", "Defense (HP+)": "5001", "Defense (HP)": "5011", "Defense (Tenacity + Slow Resist)": "5013" };
|
5
|
+
export const RuneIds = { ...PrimaryRuneTreesByRuneNames.Precision, ...PrimaryRuneTreesByRuneNames.Domination, ...PrimaryRuneTreesByRuneNames.Sorcery, ...PrimaryRuneTreesByRuneNames.Resolve, ...PrimaryRuneTreesByRuneNames.Inspiration, ...StatRuneIds };
|
6
|
+
export const RuneHSetsByRuneNames = { "Domination": { "0": { "Electrocute": "8112", "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", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" } }, "Inspiration": { "0": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369" }, "1": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Cash Back": "8321" }, "2": { "Triple Tonic": "8313", "Time Warp Tonic": "8352", "Biscuit Delivery": "8345" }, "3": { "Cosmic Insight": "8347", "Approach Velocity": "8410", "Jack Of All Trades": "8316" } }, "Precision": { "0": { "Press the Attack": "8005", "Fleet Footwork": "8021", "Conqueror": "8010" }, "1": { "Absorb Life": "9101", "Triumph": "9111", "Presence of Mind": "8009" }, "2": { "Legend: Alacrity": "9104", "Legend: Haste": "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" } } };
|
7
|
+
export const StatRuneHSetsByRuneNames = { "0": { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008" }, "1": { "Flex (AF)": "5008f", "Flex (MS)": "5010f", "Flex (HP+)": "5001f" }, "2": { "Defense (HP+)": "5001", "Defense (HP)": "5011", "Defense (Tenacity + Slow Resist)": "5013" } };
|
11
8
|
/**
|
12
9
|
* 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 69 runes in the game.
|
13
10
|
*/
|
14
|
-
|
11
|
+
export const RuneSetsByRuneNames = { PrimaryRuneTreesByRuneNames, SecondaryRuneTreesByRuneNames, KeystoneIds, StatRuneIds, RuneIds, RuneHSetsByRuneNames, StatRuneHSetsByRuneNames };
|