Loot Filter Syntax - need help TYTY

For the following loot filter BaseType == "item"
Please assume I know which item to place in there.

1) How would I add a Rarity depending on white, magic, or rare?
2) How would I add item only displays if item level 81 or higher?

In response to simplify for me, pleae include:
All lines of syntax
One rarity type only
and item level 81 or higher.

Thank you very much!!



Show
Basetype == "Item base goes here"
SetFontSize 45
SetTextColor 255 0 0 255
SetBorderColor 255 0 0 255
SetBackgroundColor 255 255 255 255
PlayAlertSound 3 300
PlayEffect Red
MinimapIcon 0 Red Star
youtube.com/@poe2boss
Last bumped on Dec 31, 2024, 1:15:17 PM
There are a few ways of achieving your desired result.
As an example let's say you wanted to see items that were Magic or higher in rarity.
You could either use:
Rarity > Normal
To match anything that is over Normal rarity.
Or you can use:
Rarity >= Magic
To match anything that is either over or equal to Magic rarity.
If all you wanted to filter for was a single type of rarity such as Rare items then you can simply use:
Rarity Rare

For item level the line is:
ItemLevel
In your example of 81 or higher, just like above you can either use:
ItemLevel > 80
To filter for items that are over 80.
Or:
ItemLevel >= 81
For items that are over or equal to 81.

Using your provided template, this is how you would add the filters for rarity and item level:

Show
Basetype == "Item base goes here"
Rarity Rare
ItemLevel >= 81
SetFontSize 45
SetTextColor 255 0 0 255
SetBorderColor 255 0 0 255
SetBackgroundColor 255 255 255 255
PlayAlertSound 3 300
PlayEffect Red
MinimapIcon 0 Red Star

Report Forum Post

Report Account:

Report Type

Additional Info