fix: cluster jewel missing ilvl

This commit is contained in:
Alexander Drozdov
2020-03-24 21:01:41 +02:00
parent da34b709ed
commit abb126ed2e
3 changed files with 25 additions and 23 deletions
+21 -21
View File
@@ -1854,6 +1854,27 @@
"icon": "https://web.poecdn.com/image/Art/2DItems/Weapons/OneHandWeapons/Claws/Claw6.png?scale=1&w=2&h=2"
}
],
[
"Large Cluster Jewel",
{
"category": "Cluster Jewel",
"icon": "https://web.poecdn.com/image/Art/2DItems/Jewels/NewGemBase3.png?scale=1&w=1&h=1"
}
],
[
"Medium Cluster Jewel",
{
"category": "Cluster Jewel",
"icon": "https://web.poecdn.com/image/Art/2DItems/Jewels/NewGemBase2.png?scale=1&w=1&h=1"
}
],
[
"Small Cluster Jewel",
{
"category": "Cluster Jewel",
"icon": "https://web.poecdn.com/image/Art/2DItems/Jewels/NewGemBase1.png?scale=1&w=1&h=1"
}
],
[
"Ambusher",
{
@@ -3068,20 +3089,6 @@
"icon": "https://web.poecdn.com/image/Art/2DItems/Jewels/basicstr.png?scale=1&w=1&h=1"
}
],
[
"Large Cluster Jewel",
{
"category": "Jewel",
"icon": "https://web.poecdn.com/image/Art/2DItems/Jewels/NewGemBase3.png?scale=1&w=1&h=1"
}
],
[
"Medium Cluster Jewel",
{
"category": "Jewel",
"icon": "https://web.poecdn.com/image/Art/2DItems/Jewels/NewGemBase2.png?scale=1&w=1&h=1"
}
],
[
"Prismatic Jewel",
{
@@ -3089,13 +3096,6 @@
"icon": "https://web.poecdn.com/image/Art/2DItems/Jewels/Mastery.png?scale=1&w=1&h=1"
}
],
[
"Small Cluster Jewel",
{
"category": "Jewel",
"icon": "https://web.poecdn.com/image/Art/2DItems/Jewels/NewGemBase1.png?scale=1&w=1&h=1"
}
],
[
"Timeless Jewel",
{
+2 -1
View File
@@ -29,7 +29,8 @@ export enum ItemCategory {
OneHandedMace = 'One-Handed Mace',
TwoHandedMace = 'Two-Handed Mace',
OneHandedSword = 'One-Handed Sword',
TwoHandedSword = 'Two-Handed Sword'
TwoHandedSword = 'Two-Handed Sword',
ClusterJewel = 'Cluster Jewel',
}
export const WEAPON_ONE_HANDED_MELEE = new Set([
@@ -32,7 +32,8 @@ export const CATEGORY_TO_TRADE_ID = new Map([
[ItemCategory.TwoHandedMace, 'weapon.twomace'],
[ItemCategory.TwoHandedSword, 'weapon.twosword'],
[ItemCategory.Wand, 'weapon.wand'],
[ItemCategory.Warstaff, 'weapon.warstaff']
[ItemCategory.Warstaff, 'weapon.warstaff'],
[ItemCategory.ClusterJewel, 'jewel.cluster']
])
type FilterBoolean = { option?: 'true' | 'false' }