lol-constants 2.22.0 → 2.24.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/assets/constants/BootsItemNames.js +1 -4
- package/assets/constants/Champion.d.ts +175 -175
- package/assets/constants/Champion.js +1 -4
- package/assets/constants/Item.d.ts +4758 -7569
- package/assets/constants/Item.js +1 -4
- package/assets/constants/LegendaryItemNames.d.ts +1 -1
- package/assets/constants/LegendaryItemNames.js +4 -7
- package/assets/constants/RunesReforged.d.ts +2 -2
- 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.d.ts +1 -1
- package/assets/constants/Summoner.js +1 -4
- package/assets/index.js +4 -21
- package/assets/scripts/asset-scripts/champion.d.ts +1 -0
- package/assets/scripts/asset-scripts/champion.js +9 -0
- package/assets/scripts/asset-scripts/generate-all.d.ts +4 -0
- package/assets/scripts/asset-scripts/generate-all.js +4 -0
- package/assets/scripts/asset-scripts/item.d.ts +1 -0
- package/assets/scripts/asset-scripts/item.js +9 -0
- package/assets/scripts/asset-scripts/runes-reforged.d.ts +1 -0
- package/assets/scripts/asset-scripts/runes-reforged.js +9 -0
- package/assets/scripts/asset-scripts/summoner.d.ts +1 -0
- package/assets/scripts/asset-scripts/summoner.js +9 -0
- package/assets/scripts/constants/RuneIdComment.js +1 -4
- package/assets/scripts/generate-categorized-item-keys-num.js +15 -37
- package/assets/scripts/generate-categorized-item-keys.js +12 -34
- package/assets/scripts/generate-categorized-item-names.js +12 -34
- 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 +17 -16
- package/core/constants/DataDragonUrls.js +4 -7
- 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.d.ts +0 -34
- package/core/constants/Items/ItemKeys.js +1 -4
- package/core/constants/Items/ItemKeysNum.d.ts +0 -34
- package/core/constants/Items/ItemKeysNum.js +1 -4
- package/core/constants/Items/ItemNames.d.ts +0 -34
- package/core/constants/Items/ItemNames.js +1 -4
- package/core/constants/Items/ItemTypes.js +3 -7
- package/core/constants/Items/LegendaryItemKeys.d.ts +0 -20
- package/core/constants/Items/LegendaryItemKeys.js +1 -4
- package/core/constants/Items/LegendaryItemKeysNum.d.ts +0 -20
- package/core/constants/Items/LegendaryItemKeysNum.js +1 -4
- package/core/constants/Items/LegendaryItemNames.d.ts +0 -20
- 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 -6
- package/core/index.js +138 -156
- package/core/types/championJson.js +1 -2
- package/core/types/interfaces.js +1 -2
- package/core/types/types.js +1 -2
- package/package.json +11 -6
- 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/constants/QueueDescriptions.d.ts +0 -4
- package/core/constants/QueueDescriptions.js +0 -31
- 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,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 };
|
@@ -1,14 +1,11 @@
|
|
1
|
-
"
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
exports.RuneIdsNum = { ...exports.PrimaryRuneTreesByRuneNamesNum.Precision, ...exports.PrimaryRuneTreesByRuneNamesNum.Domination, ...exports.PrimaryRuneTreesByRuneNamesNum.Sorcery, ...exports.PrimaryRuneTreesByRuneNamesNum.Resolve, ...exports.PrimaryRuneTreesByRuneNamesNum.Inspiration, ...exports.StatRuneIdsNum };
|
9
|
-
exports.RuneHSetsByRuneNamesNum = { "Domination": { "0": { "Electrocute": 8112, "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.StatRuneHSetsByRuneNamesNum = { "0": { "Offense (AS)": 5005, "Offense (AH)": 5007, "Offense (AF)": 5008 }, "1": { "Flex (AF)": 5008, "Flex (MS)": 5010, "Flex (HP+)": 5001 }, "2": { "Defense (HP+)": 5001, "Defense (HP)": 5011, "Defense (Tenacity + Slow Resist)": 5013 } };
|
1
|
+
export const PrimaryRuneTreesByRuneNamesNum = { "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 SecondaryRuneTreesByRuneNamesNum = { "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 KeystoneIdsNum = { "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 StatRuneIdsNum = { "Offense (AS)": 5005, "Offense (AH)": 5007, "Offense (AF)": 5008, "Flex (AF)": 5008, "Flex (MS)": 5010, "Flex (HP+)": 5001, "Defense (HP+)": 5001, "Defense (HP)": 5011, "Defense (Tenacity + Slow Resist)": 5013 };
|
5
|
+
export const RuneIdsNum = { ...PrimaryRuneTreesByRuneNamesNum.Precision, ...PrimaryRuneTreesByRuneNamesNum.Domination, ...PrimaryRuneTreesByRuneNamesNum.Sorcery, ...PrimaryRuneTreesByRuneNamesNum.Resolve, ...PrimaryRuneTreesByRuneNamesNum.Inspiration, ...StatRuneIdsNum };
|
6
|
+
export const RuneHSetsByRuneNamesNum = { "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 StatRuneHSetsByRuneNamesNum = { "0": { "Offense (AS)": 5005, "Offense (AH)": 5007, "Offense (AF)": 5008 }, "1": { "Flex (AF)": 5008, "Flex (MS)": 5010, "Flex (HP+)": 5001 }, "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 RuneSetsByRuneNamesNum = { PrimaryRuneTreesByRuneNamesNum, SecondaryRuneTreesByRuneNamesNum, KeystoneIdsNum, StatRuneIdsNum, RuneIdsNum, RuneHSetsByRuneNamesNum, StatRuneHSetsByRuneNamesNum };
|
@@ -1,19 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
exports.getRuneTreeIdByName = exports.isRuneTreeId = exports.RuneTreeIds = void 0;
|
4
|
-
const RuneTreeNames_1 = require("./RuneTreeNames");
|
5
|
-
exports.RuneTreeIds = {
|
1
|
+
import { RuneTreeNames } from './RuneTreeNames';
|
2
|
+
export const RuneTreeIds = {
|
6
3
|
'Precision': '8000',
|
7
4
|
'Domination': '8100',
|
8
5
|
'Sorcery': '8200',
|
9
6
|
'Resolve': '8400',
|
10
7
|
'Inspiration': '8300',
|
11
8
|
};
|
12
|
-
function isRuneTreeId(id) {
|
13
|
-
return typeof id == 'string' && id in
|
9
|
+
export function isRuneTreeId(id) {
|
10
|
+
return typeof id == 'string' && id in RuneTreeNames;
|
14
11
|
}
|
15
|
-
|
16
|
-
|
17
|
-
return exports.RuneTreeIds[name];
|
12
|
+
export function getRuneTreeIdByName(name) {
|
13
|
+
return RuneTreeIds[name];
|
18
14
|
}
|
19
|
-
exports.getRuneTreeIdByName = getRuneTreeIdByName;
|
@@ -1,19 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
exports.getRuneTreeIdNumByName = exports.isRuneTreeIdNum = exports.RuneTreeIdsNum = void 0;
|
4
|
-
const RuneTreeNames_1 = require("./RuneTreeNames");
|
5
|
-
exports.RuneTreeIdsNum = {
|
1
|
+
import { RuneTreeNames } from './RuneTreeNames';
|
2
|
+
export const RuneTreeIdsNum = {
|
6
3
|
Precision: 8000,
|
7
4
|
Domination: 8100,
|
8
5
|
Sorcery: 8200,
|
9
6
|
Resolve: 8400,
|
10
7
|
Inspiration: 8300,
|
11
8
|
};
|
12
|
-
function isRuneTreeIdNum(id) {
|
13
|
-
return typeof id == 'number' && id in
|
9
|
+
export function isRuneTreeIdNum(id) {
|
10
|
+
return typeof id == 'number' && id in RuneTreeNames;
|
14
11
|
}
|
15
|
-
|
16
|
-
|
17
|
-
return exports.RuneTreeIdsNum[name];
|
12
|
+
export function getRuneTreeIdNumByName(name) {
|
13
|
+
return RuneTreeIdsNum[name];
|
18
14
|
}
|
19
|
-
exports.getRuneTreeIdNumByName = getRuneTreeIdNumByName;
|
@@ -1,19 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
exports.getRuneTreeNameById = exports.isRuneTreeName = exports.RuneTreeNames = void 0;
|
4
|
-
const RuneTreeIds_1 = require("./RuneTreeIds");
|
5
|
-
exports.RuneTreeNames = {
|
1
|
+
import { RuneTreeIds } from './RuneTreeIds';
|
2
|
+
export const RuneTreeNames = {
|
6
3
|
'8000': 'Precision',
|
7
4
|
'8100': 'Domination',
|
8
5
|
'8200': 'Sorcery',
|
9
6
|
'8400': 'Resolve',
|
10
7
|
'8300': 'Inspiration',
|
11
8
|
};
|
12
|
-
function isRuneTreeName(name) {
|
13
|
-
return typeof name == 'string' && name in
|
9
|
+
export function isRuneTreeName(name) {
|
10
|
+
return typeof name == 'string' && name in RuneTreeIds;
|
14
11
|
}
|
15
|
-
|
16
|
-
|
17
|
-
return exports.RuneTreeNames[id];
|
12
|
+
export function getRuneTreeNameById(id) {
|
13
|
+
return RuneTreeNames[id];
|
18
14
|
}
|
19
|
-
exports.getRuneTreeNameById = getRuneTreeNameById;
|
@@ -1,11 +1,7 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRuneTreeType = exports.RuneTreeTypes = void 0;
|
4
|
-
exports.RuneTreeTypes = {
|
1
|
+
export const RuneTreeTypes = {
|
5
2
|
'Primary': 'Primary',
|
6
3
|
'Secondary': 'Secondary',
|
7
4
|
};
|
8
|
-
function isRuneTreeType(type) {
|
9
|
-
return typeof type == 'string' && type in
|
5
|
+
export function isRuneTreeType(type) {
|
6
|
+
return typeof type == 'string' && type in RuneTreeTypes;
|
10
7
|
}
|
11
|
-
exports.isRuneTreeType = isRuneTreeType;
|
@@ -1,13 +1,9 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isSkillSlot = exports.SkillSlots = void 0;
|
4
|
-
exports.SkillSlots = {
|
1
|
+
export const SkillSlots = {
|
5
2
|
1: 1,
|
6
3
|
2: 2,
|
7
4
|
3: 3,
|
8
5
|
4: 4,
|
9
6
|
};
|
10
|
-
function isSkillSlot(value) {
|
11
|
-
return value in
|
7
|
+
export function isSkillSlot(value) {
|
8
|
+
return value in SkillSlots;
|
12
9
|
}
|
13
|
-
exports.isSkillSlot = isSkillSlot;
|
package/core/constants/Skills.js
CHANGED
@@ -1,13 +1,9 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isSkill = exports.Skills = void 0;
|
4
|
-
exports.Skills = {
|
1
|
+
export const Skills = {
|
5
2
|
'Q': 'Q',
|
6
3
|
'W': 'W',
|
7
4
|
'E': 'E',
|
8
5
|
'R': 'R',
|
9
6
|
};
|
10
|
-
function isSkill(skill) {
|
11
|
-
return typeof skill == 'string' && skill in
|
7
|
+
export function isSkill(skill) {
|
8
|
+
return typeof skill == 'string' && skill in Skills;
|
12
9
|
}
|
13
|
-
exports.isSkill = isSkill;
|
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SpellIds = void 0;
|
4
|
-
exports.SpellIds = { "1": "SummonerBoost", "3": "SummonerExhaust", "4": "SummonerFlash", "6": "SummonerHaste", "7": "SummonerHeal", "11": "SummonerSmite", "12": "SummonerTeleport", "13": "SummonerMana", "14": "SummonerDot", "21": "SummonerBarrier", "30": "SummonerPoroRecall", "31": "SummonerPoroThrow", "32": "SummonerSnowball", "39": "SummonerSnowURFSnowball_Mark", "54": "Summoner_UltBookPlaceholder", "55": "Summoner_UltBookSmitePlaceholder", "2201": "SummonerCherryHold", "2202": "SummonerCherryFlash" };
|
1
|
+
export const SpellIds = { "1": "SummonerBoost", "3": "SummonerExhaust", "4": "SummonerFlash", "6": "SummonerHaste", "7": "SummonerHeal", "11": "SummonerSmite", "12": "SummonerTeleport", "13": "SummonerMana", "14": "SummonerDot", "21": "SummonerBarrier", "30": "SummonerPoroRecall", "31": "SummonerPoroThrow", "32": "SummonerSnowball", "39": "SummonerSnowURFSnowball_Mark", "54": "Summoner_UltBookPlaceholder", "55": "Summoner_UltBookSmitePlaceholder", "2201": "SummonerCherryHold", "2202": "SummonerCherryFlash" };
|
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SpellIdsByName = void 0;
|
4
|
-
exports.SpellIdsByName = { "Barrier": "SummonerBarrier", "Cleanse": "SummonerBoost", "Flash": "SummonerFlash", "Flee": "SummonerCherryHold", "Ignite": "SummonerDot", "Exhaust": "SummonerExhaust", "Ghost": "SummonerHaste", "Heal": "SummonerHeal", "Clarity": "SummonerMana", "To the King!": "SummonerPoroRecall", "Poro Toss": "SummonerPoroThrow", "Smite": "SummonerSmite", "Mark": "SummonerSnowball", "Teleport": "SummonerTeleport", "Placeholder": "Summoner_UltBookPlaceholder", "Placeholder and Attack-Smite": "Summoner_UltBookSmitePlaceholder" };
|
1
|
+
export const SpellIdsByName = { "Barrier": "SummonerBarrier", "Cleanse": "SummonerBoost", "Flash": "SummonerFlash", "Flee": "SummonerCherryHold", "Ignite": "SummonerDot", "Exhaust": "SummonerExhaust", "Ghost": "SummonerHaste", "Heal": "SummonerHeal", "Clarity": "SummonerMana", "To the King!": "SummonerPoroRecall", "Poro Toss": "SummonerPoroThrow", "Smite": "SummonerSmite", "Mark": "SummonerSnowball", "Teleport": "SummonerTeleport", "Placeholder": "Summoner_UltBookPlaceholder", "Placeholder and Attack-Smite": "Summoner_UltBookSmitePlaceholder" };
|
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SpellKeys = void 0;
|
4
|
-
exports.SpellKeys = { "SummonerBarrier": "21", "SummonerBoost": "1", "SummonerCherryFlash": "2202", "SummonerCherryHold": "2201", "SummonerDot": "14", "SummonerExhaust": "3", "SummonerFlash": "4", "SummonerHaste": "6", "SummonerHeal": "7", "SummonerMana": "13", "SummonerPoroRecall": "30", "SummonerPoroThrow": "31", "SummonerSmite": "11", "SummonerSnowURFSnowball_Mark": "39", "SummonerSnowball": "32", "SummonerTeleport": "12", "Summoner_UltBookPlaceholder": "54", "Summoner_UltBookSmitePlaceholder": "55" };
|
1
|
+
export const SpellKeys = { "SummonerBarrier": "21", "SummonerBoost": "1", "SummonerCherryFlash": "2202", "SummonerCherryHold": "2201", "SummonerDot": "14", "SummonerExhaust": "3", "SummonerFlash": "4", "SummonerHaste": "6", "SummonerHeal": "7", "SummonerMana": "13", "SummonerPoroRecall": "30", "SummonerPoroThrow": "31", "SummonerSmite": "11", "SummonerSnowURFSnowball_Mark": "39", "SummonerSnowball": "32", "SummonerTeleport": "12", "Summoner_UltBookPlaceholder": "54", "Summoner_UltBookSmitePlaceholder": "55" };
|
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SpellKeysNum = void 0;
|
4
|
-
exports.SpellKeysNum = { "SummonerBarrier": 21, "SummonerBoost": 1, "SummonerCherryFlash": 2202, "SummonerCherryHold": 2201, "SummonerDot": 14, "SummonerExhaust": 3, "SummonerFlash": 4, "SummonerHaste": 6, "SummonerHeal": 7, "SummonerMana": 13, "SummonerPoroRecall": 30, "SummonerPoroThrow": 31, "SummonerSmite": 11, "SummonerSnowURFSnowball_Mark": 39, "SummonerSnowball": 32, "SummonerTeleport": 12, "Summoner_UltBookPlaceholder": 54, "Summoner_UltBookSmitePlaceholder": 55 };
|
1
|
+
export const SpellKeysNum = { "SummonerBarrier": 21, "SummonerBoost": 1, "SummonerCherryFlash": 2202, "SummonerCherryHold": 2201, "SummonerDot": 14, "SummonerExhaust": 3, "SummonerFlash": 4, "SummonerHaste": 6, "SummonerHeal": 7, "SummonerMana": 13, "SummonerPoroRecall": 30, "SummonerPoroThrow": 31, "SummonerSmite": 11, "SummonerSnowURFSnowball_Mark": 39, "SummonerSnowball": 32, "SummonerTeleport": 12, "Summoner_UltBookPlaceholder": 54, "Summoner_UltBookSmitePlaceholder": 55 };
|
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SpellNames = void 0;
|
4
|
-
exports.SpellNames = { "1": "Cleanse", "3": "Exhaust", "4": "Flash", "6": "Ghost", "7": "Heal", "11": "Smite", "12": "Teleport", "13": "Clarity", "14": "Ignite", "21": "Barrier", "30": "To the King!", "31": "Poro Toss", "32": "Mark", "39": "Mark", "54": "Placeholder", "55": "Placeholder and Attack-Smite", "2201": "Flee", "2202": "Flash" };
|
1
|
+
export const SpellNames = { "1": "Cleanse", "3": "Exhaust", "4": "Flash", "6": "Ghost", "7": "Heal", "11": "Smite", "12": "Teleport", "13": "Clarity", "14": "Ignite", "21": "Barrier", "30": "To the King!", "31": "Poro Toss", "32": "Mark", "39": "Mark", "54": "Placeholder", "55": "Placeholder and Attack-Smite", "2201": "Flee", "2202": "Flash" };
|
@@ -1,11 +1,7 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isTeamId = exports.TeamIds = void 0;
|
4
|
-
exports.TeamIds = {
|
1
|
+
export const TeamIds = {
|
5
2
|
100: 100,
|
6
3
|
200: 200,
|
7
4
|
};
|
8
|
-
function isTeamId(value) {
|
9
|
-
return value in
|
5
|
+
export function isTeamId(value) {
|
6
|
+
return value in TeamIds;
|
10
7
|
}
|
11
|
-
exports.isTeamId = isTeamId;
|
@@ -1,13 +1,9 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isTowerType = exports.TowerTypes = void 0;
|
4
|
-
exports.TowerTypes = {
|
1
|
+
export const TowerTypes = {
|
5
2
|
'OUTER_TURRET': 'OUTER_TURRET',
|
6
3
|
'INNER_TURRET': 'INNER_TURRET',
|
7
4
|
'BASE_TURRET': 'BASE_TURRET',
|
8
5
|
'NEXUS_TURRET': 'NEXUS_TURRET',
|
9
6
|
};
|
10
|
-
function isTowerType(value) {
|
11
|
-
return typeof value == 'string' && value in
|
7
|
+
export function isTowerType(value) {
|
8
|
+
return typeof value == 'string' && value in TowerTypes;
|
12
9
|
}
|
13
|
-
exports.isTowerType = isTowerType;
|
@@ -1,14 +1,10 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isWardType = exports.WardTypes = void 0;
|
4
|
-
exports.WardTypes = {
|
1
|
+
export const WardTypes = {
|
5
2
|
'UNDEFINED': 'UNDEFINED',
|
6
3
|
'YELLOW_TRINKET': 'YELLOW_TRINKET',
|
7
4
|
'CONTROL_WARD': 'CONTROL_WARD',
|
8
5
|
'SIGHT_WARD': 'SIGHT_WARD',
|
9
6
|
'BLUE_TRINKET': 'BLUE_TRINKET',
|
10
7
|
};
|
11
|
-
function isWardType(value) {
|
12
|
-
return typeof value == 'string' && value in
|
8
|
+
export function isWardType(value) {
|
9
|
+
return typeof value == 'string' && value in WardTypes;
|
13
10
|
}
|
14
|
-
exports.isWardType = isWardType;
|