Fix missing properties in item search setup

these should be unified maybe to avoid duplicated code
This commit is contained in:
hppeng 2023-12-29 19:15:43 -08:00
parent f3b4429b2e
commit 02c4ace7ae

View file

@ -167,6 +167,14 @@ const itemQueryProps = (function() {
maxId(['lootbonus', 'lb'], 'lb'); maxId(['lootbonus', 'lb'], 'lb');
maxId(['xpbonus', 'xpb', 'xb'], 'xpb'); maxId(['xpbonus', 'xpb', 'xb'], 'xpb');
maxId(['stealing', 'esteal'], 'eSteal'); maxId(['stealing', 'esteal'], 'eSteal');
maxId(['lq', 'quality'], 'lq');
maxId('gxp', 'gXp');
maxId('gspd', 'gSpd');
maxId(['healeff', 'healpct'], 'healPct');
maxId('kb', 'kb');
maxId('weakenenemy', 'weakenEnemy');
maxId('slowenemy', 'slowEnemy');
prop(['powderslots', 'powders', 'slots', 'sockets'], 'number', (i, ie) => i.slots || 0); prop(['powderslots', 'powders', 'slots', 'sockets'], 'number', (i, ie) => i.slots || 0);
return props; return props;