lol-constants 2.24.4 → 2.24.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- const tier1BootsItemKey = 1001;
2
- const slightlyMagicalBootsItemKey = 2422;
1
+ import { getItemKeyNumByName } from './getItemKeyNumByName';
3
2
  const tier1Boots = {
4
- [tier1BootsItemKey]: tier1BootsItemKey,
5
- [slightlyMagicalBootsItemKey]: slightlyMagicalBootsItemKey,
3
+ [getItemKeyNumByName('Boots')]: true,
4
+ [getItemKeyNumByName('Slightly Magical Footwear')]: true,
5
+ [getItemKeyNumByName('Symbiotic Soles')]: true,
6
6
  };
7
7
  export function isTier2Boots(itemKey) {
8
8
  return !(itemKey in tier1Boots);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "2.24.4",
3
+ "version": "2.24.5",
4
4
  "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells. Provides a plathera of functions to easily convert between ID, Name, and Key for champions and other game constants.",
5
5
  "main": "core/index.js",
6
6
  "types": "core/index.d.ts",