feat: Adds block chance as equipment filter

Adds block chance for the equipment filter of shields and bucklers. also fixes a few issues with how bucklers were interpreted internally
This commit is contained in:
kvan7
2025-06-07 09:36:53 -05:00
parent 98f56009eb
commit 5959501a14
17 changed files with 44 additions and 27 deletions

View File

@@ -1141,7 +1141,8 @@ function parseUnneededText(section: string[], item: ParsedItem) {
item.category !== ItemCategory.Wand &&
item.category !== ItemCategory.Staff &&
item.category !== ItemCategory.Shield &&
item.category !== ItemCategory.Spear
item.category !== ItemCategory.Spear &&
item.category !== ItemCategory.Buckler
)
return "PARSER_SKIPPED";
@@ -1557,6 +1558,7 @@ function getMaxSockets(category: ItemCategory | undefined) {
case ItemCategory.Spear:
case ItemCategory.Flail:
case ItemCategory.Wand:
case ItemCategory.Buckler:
return 1;
default:
return 0;