veiset / poe-vendor-string

Path of Exile Vendor Search tool
61 stars 17 forks source link

"Monsters blind on hit" getting flagged by the "reduced chance to block" regex string #73

Closed Sunscorcher closed 1 year ago

Sunscorcher commented 1 year ago

on https://poe.re/#/maps

When you select the mod Players have #% reduced Chance to Block Players have #% less Armour

The generated string is "o bl" Which also flags "Monsters Blind on Hit"

veiset commented 1 year ago

I can't reproduce this. Please reopen this with a copy of the maps you didnt expect to match.

Testcase, using regex o bl:

Map expected to match:

Item Class: Maps
Rarity: Rare
Ancient Waste
Coral Ruins Map
--------
Map Tier: 15
Item Quantity: +81% (augmented)
Item Rarity: +35% (augmented)
Monster Pack Size: +23% (augmented)
Quality: +20% (augmented)
--------
Item Level: 83
--------
Monsters Poison on Hit
Monsters deal 96% extra Physical Damage as Lightning
Players have 30% less Armour
Players have 40% reduced Chance to Block
Players cannot Regenerate Life, Mana or Energy Shield
--------
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
--------
Corrupted

Map expected to also match (from this report):

Item Class: Maps
Rarity: Rare
Ancestral Solitude
Basilica Map
--------
Map Tier: 16
Item Quantity: +117% (augmented)
Item Rarity: +60% (augmented)
Monster Pack Size: +39% (augmented)
Quality: +16% (augmented)
--------
Item Level: 85
--------
Players are Cursed with Enfeeble
43% more Monster Life
Monsters reflect 18% of Physical Damage
Monsters Poison on Hit
Monsters deal 101% extra Physical Damage as Cold
Monsters gain an Endurance Charge on Hit
Monsters cannot be Taunted
Monsters Blind on Hit
Monsters' Action Speed cannot be modified to below base value
--------
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
--------
Corrupted

Result: Only first map gets matched by the regex, which is the expected behaviour.