lol-constants 2.24.4 → 2.24.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
const slightlyMagicalBootsItemKey = 2422;
|
1
|
+
import { getItemKeyNumByName } from './getItemKeyNumByName';
|
3
2
|
const tier1Boots = {
|
4
|
-
[
|
5
|
-
[
|
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.
|
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",
|