mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2025-12-14 12:06:28 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user