Item Filtering

From Project Diablo 2
Revision as of 04:39, 9 January 2023 by Ubercyrus (talk | contribs) (→‎SUFFIX and PREFIX IDs: Moved suffix/prefix/automod IDs out into a spreadsheet to prevent revision bloat [these were raw tables from the text files, which made them not only giant but also hard to read/filter. They also accounted for 60% of the total text on this page])
Jump to navigation Jump to search

Item filtering allows players to filter out items they don't want to see, and also change the appearance of items that are not filtered out. While there are in-game options for simple item filtering, players can use item filters to customize this to their liking. PD2's Filtering is open-source and based on BH 1.9.9.

For other out-of-game customization options, see Customization.

Filters

Item filters (often called lootfilters) are text files which contain rules for describing how items should be displayed in-game. The default filter only has a few simple rules for adding descriptions to some items (map orbs and stackable gems/runes), and otherwise displays all items the same as they would be in vanilla.

By default, filtering is done using default.filter in the ProjectD2 directory - unless changed, it only has a few simple rules. If loot.filter is present in the same directory, it will be used instead of the default file. If a filter is selected from the launcher, it will be saved in ProjectD2\filters and be used instead via a loot.filter system link from the ProjectD2 directory.

These files will function if encoded in UTF-8 (default), but ANSI encoding is needed to allow special characters to display properly.


Filters can be selected from the launcher and enabled via the in-game Settings menu.

To install manually, download a filter file and save it to Diablo II\ProjectD2\filters\local and then select it from the launcher. Make sure the relevant in-game settings are enabled.

In-Game Settings

In-Game Settings
Settings menu

The Settings menu can be accessed in-game from the lower left corner. Hotkeys can be set for each option.

These two options are not affected by lootfilters:

  • Always Show Items: shows items on the ground without needing to hold alt
  • Always Show Item Stat Ranges: shows ranges in item tooltips for variable attributes

The following options enable simple rules for changing how certain items are displayed. Except for the tooltip changes made by Show Item Level, they'll be overwritten if Enable Loot Filter is checked.

  • Show Item Level: adds item levels such as (L99)
    • adds ILVL to tooltips for all items
    • adds ALVL to tooltips for magic/rare/crafted items unless ALVL = ILVL
  • Show Ethereal: adds (Eth)
  • Show Sockets: adds sockets such as (4)
  • Show Rune Numbers: adds rune numbers such as [33]
  • Alt Style: uses different style for Ethereal, Item Level, and Rune Number options
  • Color Mod: rune numbers are colored (1-10 white, 11-16 tan, 17-22 orange, 23-33 red)
  • Shorten Names: shortens potion/scroll names

These are the main options that affect custom filtering:

  • Enable Loot Filter: enables the filter
  • Drop Notifications: shows notifications when specified items drop
  • Close Notifications: shows notifications when getting close to specified items
  • Detailed Notifications: makes notifications match the displayed item name
  • Verbose Notifications: adds "drop" or "close" to the notification (overridden by Detailed Notifications)

Filter Level: changes which rules/notifications will be enabled within the filter

The default hotkey to reload the filter file is Numpad 0 and can be changed in the configuration file.

List of Public Filters

The Filter column has links for each filter's github page where you can read more about them. Many authors also list their discord handles if you'd like to contact them. Filters updated for the current season are highlighted green. Older filters are highlighted red.

Dates are not updated automatically, so check the link for each to see when they've actually been updated.

Filter Updated Author Brief Description
Kryszard's PD2 Loot Filter 2024-05-13
ver 9.1.1
Kryszard
Kryszard#5460
Filter should suit most players needs - It's good for both: leveling and endgame experience. You'll find more info on my GitHub
Reddit discussion thread: Kryszard's PD2 Loot-Filter - Discussion Thread
eqN's PD2 Filters 2024-04-23
(Season 9)
eqNj A refined filter with several tiers (Relaxed, Medium, Strict, and ShowRecipes) designed for beginners and veterans alike. Every level is tailored to ensure anything of use always shows based on your class and progress. Useful info about items is in descriptions: Defense range, weapon speed/range, max sockets, runewords, and if an item is of high value. All runes and uniques notify on drop. Valuable items are made easy to see and pick up. Sockets, superior ED %, and staffmods show in item names. Crafting bases are marked/notified. Detailed recipes, runewords, and crafting info is available by switching to the ShowRecipes filter level.
Feather 2024-04-08 BetweenWalls This filter is less strict than most and has all the usual improvements, so it's ideal for new players. It's also great for experienced players who like the simple aesthetic of the original game. Multiple strictness levels are available to help the filter better match your preferences.
Kassahi's Filter 2024-22-09
(Season 9)
Kassahi My GitHub (README) is Finally Been Updated With my Filters Info, Also Blame onion For Everything !!!
HiimFilter 2024-04-11
(Season 9)
Maaaaaaarrk
Hiimdave
Has an ring & amulet pts system to show value. Levels that cover season reset to End Game loot filter. Shows many important stats when the item is on the ground. Utilizes the filter levels functionality. Has helpful hints to new to PD2 players on what to do. Has LLD tags to know what is valuable to the LLD community. Has LLD specific Rung Amulet and Jewel pts grading system. See the readme for many more features!
TalRasha's PD2 Item Filter 2023-10-01
(Season 8)
talrasha#4179 Updated for Season 8. Highlights good items in bright colors and adds design elements to names. Shows crafting recipes on magic/rare items and maps. Reveals names of most uniques and sets unidentified.
Erazure's PD2 Loot Filter 2024-04-08
(Season 9)
Erazure_OwO
Discord: erazure
- Highly stylized, visually polished loot filter with customizable strictness; Valuable items and high runes display and notify with a splash of color on the screen; Distinct intuitive symbols for maps, charms, runes, gems, jewels, potions, and more!
- Features four different tiers of filter levels (excellent for ladder resets, midgame leveling/farming, as well as endgame mapping); Players have the ability to select what kind of potions to show or hide on demand (e.g. choose a filter level subtier to hide H5, M5, or Rejuvenation potions)
- For more information, check out my GitHub or message on Discord: Erazure#5126
PiLLLa PD2 Filter 2023-10-02
(Season 8)
PiLLLa#2972 When you visit my github, you can see updated Information. If you have any other idea for filter, let me know that by discord and reddit. Thanks
<Normal1:Recommended/Base filter> <Normal2/4:Different Color&Symbol> <Normal3:Different Filter level>.
Wolfie's Filters 9999-12-31 WolfieeifloW#6431 Always updated for the newest season! Multiple versions to fit any style - Detailed/Revealed/Compact for less strict, Wolfie for stricter, BT for strictest. Shows/pings all Sets, Uniques, Runes, etc.
Join my Discord for questions or more info!
RetroCro's Loot Filter 2024-05-09 (Season 9) RetroCro#7154 Ladder Reset to End Game mapping loot filter. Shows the identified names of set and unique items. Set your desired strictness in game!
Dauracul's Loot Filter 2024-04-09
(Season 9)
Dauracul Clean and informative lootfilter, focused on attribute and item management notes (socket counts, weapon speed, cube recipes, automod/staffmod rolls, runeword recipes, etc.). Runeword recipes are divided into Filter Levels and displayed on all normal bases with sockets. Most high value items will trigger notifications.
ADevDH 2023-09-28 ADevelopment,
DarkHumility
PD2 All-Purpose Early-Late Game Filter Focuses on Updated Item Tiering + Map Tiering/Immunities + Highlights Jewels and Other Items for GG Stats. Includes all Crafting/Socket Bases you'll ever need! Low Overall Strictness! Filters out the garbage though!
Archived Filters
Filter Updated Author Description
TheIrateSeagoer's Loot Filter 2023-03-04 TheIrateSeagoer
CaptainJack#6308
This filter has all of the values from Arreat Summit listed on the equipment, ensuring you always know the max sockets/max defense of any piece of equipment (with ilvl specific information). Every magic item has the rune needed for the crafting recipes in preparation for their use in season 2. Runes are colored by the difficulty they start to drop in. Every set and unique is alerted by default at low levels. Armors are marked with a perfect and good suffix for their base armor roll. Perfect rolls are denoted with purple information, red denote good rolls.
Equa1ity's PD2 Filter 2022-07-11 equa1ity#7704 ADD RACE LEAGUE FILTER, rewriting for S5 Many improvements!
ElPocoBurrito's Filter 2021-12-23 ElPocoBurrito#0001 S4 Ready A heavily modified version of Wolfie's "Wolfie" filter tailored to be filled with features including some which are absent from many others (like telling you the set name next to the set drop). My philosophy is to be slightly strict and to keep somewhat vanilla looking item names with few exceptions (I make sure to have rare and valuable items stand out). Please give me feedback and comments on discord through DMs or the #lootfilter channel.
1l4u's Loot Filter 2021-08-12 1l4u Update for season 3. Super strict end game filter.
Baneazy's Loot Filter 2021-08-06 Baneazy A good filter from beginning to end game. It's mostly tailored toward end game but should taper items off from Normal to Hell.
scrollsjay's Loot Filter 2021-04-01 scrollsjay This Loot Filter uses Kryszard's PD2 Loot-Filter for most of it's filter rules. Most changes allow for a briefer appearance of basic items to present a unified look. Full details with screenshots at the github repository. Contact me via reddit.com here
Gothablo's Loot Filter 2021-03-16 Gothablo It is a filter based on the code "Kryszard's PD2 Loot Filter". The main changes are aesthetic elements, but there are a few changes added from me. From the beginning of the game to END GAME, items that we do not need or are of little value are removed. All MAGIC and RARE items should be and identified to check if they are worth to the trader. In addition, the filter code can be easily changed by yourself.
Pj's Loot Filter 2020-12-07 Pj#5884 Pretty strict end-game loot filter. Based loosely on Kryszard's filter with a lot of changes. Hides all normal and exceptional stuff, only shows top-end elite items. Shows all set/unique items but only alerts on exceptional/elite versions. Hides tons of garbage. Only shows full rejuvs/super potions. Heavily commented for clarity. Work in progress, check back frequently for updates.
Luke's late game filter 2020-11-24 Luke My late game filter i updated on fly. No leveling rules. Good as reference if you want to write your own filter. Filter has been updated to be less hostile. Make sure you check for sets, bases, magic and rares. It's not recommended to use it without checking :) (fix all res on paladin shields, show light elite chests (0,3,4 os) 10+ed, show all eth chests (0,3,4 os) 5+ed) Thanks to WolfieeifloW.
Lhaetes
PD2 Loot Filter
2020-11-19 Lhaete A filter that preserves the games original aesthetic, and shows Runeword recipes & Magic Crafting recipes on items!
In-Game Screenshots
Rinku's Loot Filter 2020-11-11 Rinku#1352 A basic filter that hides clutter and shows item info at a glance, not much customization, just some QOL :) Definitely not for everyone but I thought I'd share.

Some tools are available on the Guides and Links page that may be useful when editing filters.

FAQ

This section lists common issues and frequently asked questions about filters.

  1. Which is the best filter for me?
    • There isn't a "best" filter. Different filters are made for different reasons, and vary in terms of how strict they are with the items they show or notify, how much and what kind of extra information they provide, and how they alter the appearance of items. It's difficult to make recommendations without knowing what you're looking for in a filter and people may not be familiar with more than a few filters, so comparing filters yourself may be the best way to find a filter that suits you.
  2. What's the best way to compare different filters?
    • Filters usually include descriptions about how strict they are, what features they have, and how items are displayed. Some even include example images. If that isn't enough, FilterBird can be used to compare most items between filters one-at-a-time, and singleplayer can be used with an item pack and local filter so that the filter can be altered and reloaded in-game to compare any number of items.
  3. If I want to use a customized filter, how do I save my changes?
    • Put the customized filter into ProjectD2\filters\local and select it from "Local" in the launcher. Local filters won't be updated automatically, so if yours is based on a public filter, you may want to follow that filter in case any important changes are made to it.
  4. How do I turn off the filter or go back to original?
    • The filter can be turned off by disabling Enable Loot Filter in the in-game settings. To reset everything to default, close the game and launcher, delete the filters folder as well as default.filter and loot.filter in the ProjectD2 folder, and then relaunch the game.
  5. How do I use a filter with PlugY?
    • The same filter configuration you have for multiplayer will also be used for singleplayer. The filter configuration is updated when the game is opened from the launcher - select a filter from the launcher and press Play in order to update it. This also updates the filter itself if you're using a non-local version. Afterward, close the game/launcher and open the game with PlugY.
  6. Will a loot filter from older seasons work in the current season?
    • Unless the older filter was extremely simple, it will likely behave in unexpected and undesireable ways. Using an outdated filter is not recommended.
  7. My settings button is gone
    • Close the game & launcher, delete UI.ini, and then relaunch the game to return the settings button to its default position.
  8. My launcher shows no filters in the list
    • Close the launcher and re-open it. Repeat if they still don't show or if the server/GitHub is down. Also, try whitelisting the launcher and game in your antivirus and/or firewall.
  9. My launcher says "Coming Soon!" for item filters
  10. My filter isn't working
    • Make sure the in-game settings are setup correctly.
    • Use the launcher to select your filter. If you don't use the launcher, these may be common issues:
      • Having two PD2 installations and pasting your filter into the wrong one
      • Saving the filter file with the wrong name (e.g. default.filter.filter, default.txt, or default.filter.txt)
      • Having a PD2 installation inside of a Diablo II folder which is inside another Diablo II folder (folderception!)
      • Not saving and closing the filter file after pasting rules into it
  11. My filter is displaying strange characters for certain items
    • Certain special characters will only be displayed correctly if your filter file is encoded in ANSI rather than the default of UTF-8. Most text editors will allow the encoding to be modified - for example, Notepad++ includes "Encoding" as one of the primary menu options.


Filter Syntax

Filters contain rules for how items should be displayed in-game. Each rule has Input and Output and follows this basic format:

ItemDisplay[ Input ]: Output

The Input specifies a set of conditions an item must satisfy for the rule to apply to it, and Output specifies the actions (text or keywords) used when a matching item is found.

If a line doesn't follow this format, it won't be considered a rule, which means it won't affect how items will be displayed in-game. If a line is intentionally ignored like this, it should begin with // (double slash) so the computer can ignore it immediately rather than spend time checking the rest of the line to determine whether it's a rule or not.


Filter rules are processed in-order from top to bottom. Items are displayed according to the output of the first rule whose conditions they satisfy. If the matching rule doesn't include %CONTINUE%, the procedure is halted and no additional rules are checked. In this way, rules that are higher than others have higher priority. The only exception is for notification keywords, which apply regardless of where they are in the filter.


The simplest rule is one without any conditions or output. Sans conditions, the rule will apply to all items. Sans output, nothing will be displayed for those items.

ItemDisplay[]: hides all items


The next simplest rule is one that displays all items with their default appearances. The output keyword %NAME% refers to an item's default appearance, and varies depending on which item is being shown. All items are displayed by default - the game essentially adds this rule to the bottom of the filter before beginning to process the filter's rules.

ItemDisplay[]: %NAME% displays all items with their default appearances

Conditions

Conditions describe which item(s) the rule should apply to.

Many conditions refer to a single item or item group. These boolean conditions will be either true or false, depending on which item is being looked at.

ItemDisplay[key]: hides keys (they can still be purchased from merchants)


Value conditions typically refer to the value of a specific property on the item being looked at. They each have three parts: code, comparison operator (<,>,=), and value to compare against.

ItemDisplay[GOLD<100]: hides gold stacks if they are less than 100


Rules with multiple conditions may use logic operators (AND,OR,!) to specify how the conditions relate to each other. If no operator is used between conditions, AND will be assumed.

ItemDisplay[NMAG AND SOCK=1 AND CLVL>10]: hides regular 1-socket items if the character is above level 10

ItemDisplay[NMAG SOCK=1 CLVL>10]: hides regular 1-socket items if the character is above level 10


To make a rule apply to any item from within a group of conditions, use OR and parentheses.

ItemDisplay[NMAG (BOOTS OR GLOVES OR BELT) CLVL>10]: hides regular boots/gloves/belts if the character is above level 10

Parentheses can help combine conditions in other ways too.

ItemDisplay[(GOLD<100 OR (GOLD<1000 CLVL>50))]: hides gold stacks if they are less than 100, or less than 1000 if the character is above level 50


Negation (sometimes called the "NOT" operator) makes conditions mean the opposite of what they would otherwise. To negate a condition, use "!" in front of it.

ItemDisplay[MAG ETH ARMOR !ID]: hides magic ethereal armor that is not identified

Groups of conditions can be negated in the same way.

ItemDisplay[MAG !ID HELM !(BAR OR DRU OR ELT)]: hides magic unidentified helms that are not barbarian helms, druid pelts, or elite

Output

A rule's output (text and keywords in the second part of the rule) describe how the matching item(s) should be displayed.

An item's default name can be referenced with the %NAME% keyword and modified by adding text. To shorten a name or change it entirely, write-out the new name instead. Valid text characters include all those in the Basic Latin and Latin-1 Supplement Unicode blocks (except · and ¸).

Valid Text Characters
Category Characters
capital letters (eng) ABCDEFGHIJKLMNOPQRSTUVWXYZ
small letters (eng) abcdefghijklmnopqrstuvwxyz
numerals 0123456789
common symbols ~!?@#$%^&*=-+_"'`,.:;<>|\()[]{}
space  
other symbols µ¶¢£¥®©§¿¡¯¨¬­­¦«»÷×±ªº´¤°¹²³¼½¾
other capital letters ÐÞÆØÁÀÂÄÃÅÇÉÈÊËÍÌÎÏÑÓÒÔÖÕÚÙÛÜÝ
other small letters ðþæøáàâäãåçéèêëíìîïñóòôöõúùûüýÿß
  • The last three categories require the filter file to be encoded in ANSI rather than the default UTF-8
  • The soft hyphen character doesn't display correctly here


ItemDisplay[hdm]: %NAME% Horadric Malus

ItemDisplay[hdm]: Charsi's %NAME% Charsi's Horadric Malus

ItemDisplay[hdm]: Charsi's Favorite Hammer Charsi's Favorite Hammer


Text and keywords can be used together to add extra information, change parts of the name to be different colors, and more. See all keywords below.

ItemDisplay[SOCK>0]: %NAME% %GRAY%[%SOCKETS%] displays socketed items with [X] appended in gray, where X is the number of sockets


As with elsewhere, the double slash (//) functions as an in-file way to write comments that will be ignored by the computer.

ItemDisplay[NMAG (aqv OR cqv)]: // hides regular arrows/bolts

ItemDisplay[tsc]: //%NAME% // Scroll of Town Portal this rule hides TP scrolls, but can be changed to display them instead by deleting the first //

//ItemDisplay[MAG cm2]: // hides magic large charms this "rule" is ignored, but can be quickly re-enabled by deleting the first //


Items can be highlighted by adding spaces to either side of their name, so long as there is a keyword or non-space character between them and the edge of the name. Whitespace surrounding the Output of each rule gets removed prior to evaluation (spaces first, followed by tabs), so tabs are often the best non-space character to use.

ItemDisplay[RUNE>9]: %ORANGE% %NAME% %ORANGE% adds 1 space of highlighting for runes above #9 (tabs don't display properly on the wiki, so %ORANGE% is used instead)


The %CONTINUE% keyword replaces the contents of %NAME% with the current rule's Output (overwriting the default name or previously stored output) and makes the program continue checking rules. This allows multiple rules to modify an item's appearance based on different conditions.

ItemDisplay[SOCK>0]: %NAME% [%SOCKETS%]%CONTINUE% appends [X] to socketed items, where X is the number of sockets (continues)

ItemDisplay[ETH]: eth %NAME%%CONTINUE% prepends eth to ethereal items (continues)

ItemDisplay[]: %NAME% displays all items (with modifications from previous rules)

Without %CONTINUE%, this would require a separate rule for every possible combination of different conditions, the number of rules growing exponentially with each additional condition:

ItemDisplay[ETH SOCK>0]: eth %NAME% [%SOCKETS%]

ItemDisplay[!ETH SOCK>0]: %NAME% [%SOCKETS%]

ItemDisplay[ETH SOCK=0]: eth %NAME%

ItemDisplay[!ETH SOCK=0]: %NAME%


Item descriptions can be modified by using text and keywords within {} (braces). Anything outside the braces applies to the item name while anything inside the braces applies to the item description.

Item Description Example

ItemDisplay[]: %NAME%{$DARK_GREEN%$%PRICE%} item price is shown in the description like $35000 in dark green

Item descriptions aren't taken into account when hiding items, so descriptions can still be shown for hidden items if they have one.

ItemDisplay[]: %NAME%{%NAME%} items displayed with their descriptions

ItemDisplay[]: {%NAME%} items hidden but their descriptions still shown

ItemDisplay[]: items hidden and their descriptions hidden too


The %CONTINUE% keyword only functions when used outside the braces and applies to both the item name and the item description.

ItemDisplay[]: %NAME%{Item Level: %ILVL%}%CONTINUE% Shows item level in description (continues)

ItemDisplay[]: %NAME%{%NAME%, Affix Level: %ALVL%} Appends affix level in description with comma separator


The %NL% keyword adds a new line above the previous line and can only be used within item descriptions.

ItemDisplay[]: %NAME%{Affix Level: %ALVL%%NL%Item Level: %ILVL%} Shows item/affix levels on separate lines in description (same effect as Show iLvl setting)


Filter Strictness

Default Filter Strictness Levels

Filter levels can be selected from the in-game settings menu and will change which rules/notifications are enabled based on the FILTLVL/TIER codes used in the filter. By default, there are two levels: "Standard" and "Show All Items". The "Standard" level is the normal filter behavior that would be seen without any filter level changes, whereas "Show All Items" will just prevent any items from being filtered out (hidden).

To enable custom filter levels, use the following format at the top of the filter:

ItemDisplayFilterName[]: Custom Level 1 Adds a new filter strictness level named "Custom Level 1"

ItemDisplayFilterName[]: Custom Level 2 Adds a new filter strictness level named "Custom Level 2"


In addition to level 0 ("Show All Items") which is always available, up to 9 other levels can be enabled and the order in which they're listed at the top of the filter determines which number will reference them when used with the FILTLVL/TIER codes (e.g. FILTLVL=1 and %TIER-1% for the first custom level).

These codes can be used to create separate versions of the same filter with varying levels of strictness, make separate versions which includes extra info so that players can more easily reference niche item info without it cluttering item tooltips during normal gameplay (the levels could be swapped to when needed), or even combine drastically different filters into one just so they can be more easily swapped between.

ItemDisplay[yps FILTLVL>1]: Hides Antidote Potions if filter level 2+ is selected

ItemDisplay[MAG !ID cm1]: %NAME%%TIER-2%%DOT-97% Shows notifications for unidentified magic small charms if filter level 2 or lower is selected (still shows map icons at all levels)


If a rule doesn't include FILTLVL as a condition, it won't be restricted by whatever filter level is selected.

If a rule includes a notification keyword and doesn't include a TIER keyword, it'll act as if %TIER-9% is included - it'll notify at all filter levels instead of being restricted by whatever filter level is selected.


Filter Codes

Output Keywords

Colors

Text Colors:
Normal vs Glide

These keywords change the color for subsequent text. If absent, the item's default color will be used instead.

Code Color Default Use Hex
%WHITE% White regular items 20
%GRAY% Gray regular items (ethereal or socketed) 1D
%BLUE% Blue magic items, item descriptions 97
%YELLOW% Yellow rare items 6D
%GOLD% Gold unique items, runeword names 53
%GREEN% Green set items 84
%DARK_GREEN% Dark Green 77
%TAN% Tan 5A
%BLACK% Black 00
%PURPLE% Purple 9B
%RED% Red broken/unusable items 62
%ORANGE% Orange crafted items, endgame quest items, runes 60
%CORAL% Coral only works with Glide ?
%SAGE% Sage only works with Glide ?
%TEAL% Teal only works with Glide ?
%LIGHT_GRAY% Light Gray only works with Glide ?

Some items have their default color built into %NAME%, so their color won't change unless their name is rewritten completely. This is likely unintended behavior, and applies to runes, Standard of Heroes, and the PD2-specific non-equipment items other than map/arena scrolls and jewel fragments.

ItemDisplay[wss]: %RED%%NAME% Worldstone Shard

ItemDisplay[wss]: %RED%Worldstone Shard Worldstone Shard

Value References

Code Output Details
%NAME% item name item's default appearance - can be modified/replaced with %CONTINUE%
%ILVL% item level 1 - 99
%ALVL% affix level 1 - 99
used to determine which affixes can roll for magic/rare/crafted items
%CRAFTALVL% prospective crafted ALVL 1 - 99
what the resulting crafted item's ALVL will be if the item is used by the character as a crafting ingredient
%LVLREQ% level requirement 0 - 99
%PRICE% item vendor price 1 - 35000
%QTY% quantity 0 - 350
%SOCKETS% number of sockets 0 - 6
%RANGE% melee range adder 0 - 5
%WPNSPD% weapon speed modifier -60 - 20
%RUNENUM% rune number 0 - 33
%RUNENAME% rune name excludes "Rune" (e.g. "Vex" instead of "Vex Rune")
%GEMLEVEL% gem quality Chipped, Flawed, Normal, Flawless, Perfect
%GEMTYPE% gem type Amethyst, Diamond, Emerald, Ruby, Sapphire, Topaz, Skull
%CODE% item code

Notification Keywords

Minimap Icon Colors

These keywords add the item to the notification list and create a minimap icon for it.

The color of the minimap icon corresponds to the keyword's hexadecimal 2-digit color code. The icon may be black (00), green (84), red (62), or any of the other colors shown in the chart image. Note that %MAP% may be used without a 2-digit color code, in which case the icon will use the current text color (or white if no color has been set). The hexadecimal codes which correspond to the text colors are listed above.

Multiple keywords can be used together to create multi-colored minimap icons.

Code Details
%BORDER-00% notification & minimap icon (large)
%MAP-00% notification & minimap icon (medium)
%DOT-00% notification & minimap icon (small)
%PX-00% notification & minimap icon (tiny)


The following keyword only applies if Detailed Notifications is disabled, which is not recommended. To disable text notifications for items while keeping their minimap icons, use %TIER-0% instead.

Code Details
%NOTIFY-0% changes the item's text notification color
%NOTIFY-DEAD% disables text notifications for the item

The NOTIFY keyword may use a 1-digit color code (0-F) which corresponds to these colors in order: WHITE, RED, GREEN, BLUE, GOLD, GRAY, BLACK, TAN, ORANGE, YELLOW, DARK_GREEN, PURPLE, GREEN, WHITE, BLACK, WHITE. If DEAD is used instead of a color code, the item's notifications will be disabled instead.

Most filters are made to be used with Detailed Notifications, so NOTIFY is incompatible with them. Note that without Detailed Notifications enabled, Drop Notifications will only apply to items when they initially drop (prior to being picked up for the first time).


All notification keywords seem to bypass the normal rule-handling procedure. Normally, the rules are processed top-to-bottom and this process halts when a matching rule (without %CONTINUE%) is found. Notification keywords, however, can apply even after the process has halted. This may be unintended behavior.

Special Keywords

Code Details
%CONTINUE% the item is compared against additional rules instead of being displayed by the current rule
the current rule's output is stored in %NAME%
%NL% specifies a new line, only works within braces
{} anything within the braces applies to the item's description rather than the item's name/title
%TIER-1% enables notification keywords for the item if the filter strictness level is at least 1 (can be 1-9)


Boolean Conditions

Mutable Codes

Contrary to most "immutable" codes which refer to static item properties, these conditions depend on where and how the item is being viewed. Some value conditions such as CLVL and DIFF are also "mutable" in this way.

Code Description
AMAZON character is an Amazon
ASSASSIN character is an Assassin
BARBARIAN character is a Barbarian
DRUID character is a Druid
NECROMANCER character is a Necromancer
PALADIN character is a Paladin
SORCERESS character is a Sorceress
SHOP item is in a merchant's shop window
EQUIPPED item is equipped by the character

ItemDisplay[key ASSASSIN]: hides keys when playing as an Assassin

Both SHOP and EQUIPPED behave as expected in most scenarios, but they each have a bug associated with them. Most notably, EQUIPPED incorrectly applies to items that begin the game within the multiplayer shared stash.

Item Group Codes

General Groups
  • Item Rarities
    Code Group
    NMAG Regular
    most non-equipment items
    MAG Magic
    RARE Rare
    UNI Unique
    SET Set
    CRAFT Crafted
  • Item Tiers
    Code Group
    NORM Normal
    EXC Exceptional
    ELT Elite
  • Item Properties
    Code Group
    ID Identified
    INF Inferior
    SUP Superior
    ETH Ethereal
    RW Runeword
    GEMMED Socketed with a gem/rune/jewel
Armor Groups
Code Code Group Details
EQ1 HELM Helmets includes class helms
EQ2 CHEST Chests
EQ3 SHIELD Shields includes class shields
EQ4 GLOVES Gloves
EQ5 BOOTS Boots
EQ6 BELT Belts
EQ7 CIRC Circlets
ARMOR All armors includes class-restricted armors
Weapon Groups
Code Code Group Details
WP1 AXE Axes includes throwing axes
WP2 MACE Maces
WP3 SWORD Swords
WP4 DAGGER Daggers includes throwing knives
WP5 THROWING Throwing Weapons includes all javelins, throwing potions
WP6 JAV Javelins includes all throwing weapons, all spears, Amazon javelins
WP7 SPEAR Spears includes Amazon spears & all javelins
WP8 POLEARM Polearms
WP9 BOW Bows includes Amazon bows
WP10 XBOW Crossbows
WP11 STAFF Staves
WP12 WAND Wands
WP13 SCEPTER Scepters
WEAPON All weapons includes class-restricted weapons
1H 1-Handed Weapons
2H 2-Handed Weapons

Since WP6 overlaps entirely with both WP5 and WP7 (two very different kinds of weapons), it's rarely useful.

The 1H code is currently bugged and doesn't include Hand Axe.

Class-Restricted Item Groups
Code Code Group
CL1 DRU Druid pelts
CL2 BAR Barbarian helmets
CL3 DIN Paladin shields
CL4 NEC Necromancer shields
CL5 SIN Assassin weapons
CL6 SOR Sorceress weapons
CL7 ZON Amazon weapons

Item Codes

Armor
Code Item (Normal) Code Item (Exceptional) Code Item (Elite)
cap Cap xap War Hat uap Shako
skp Skull Cap xkp Sallet ukp Hydraskull
hlm Helm xlm Casque ulm Armet
fhl Full Helm xhl Basinet uhl Giant Conch
msk Mask xsk Death Mask usk Demonhead
bhm Bone Helm xh9 Grim Helm uh9 Bone Visage
ghm Great Helm xhm Winged Helm uhm Spired Helm
crn Crown xrn Grand Crown urn Corona
qui Quilted Armor xui Ghost Armor uui Dusk Shroud
lea Leather Armor xea Serpentskin Armor uea Wyrmhide
hla Hard Leather Armor xla Demonhide Armor ula Scarab Husk
stu Studded Leather xtu Trellised Armor utu Wire Fleece
rng Ring Mail xng Linked Mail ung Diamond Mail
scl Scale Mail xcl Tigulated Mail ucl Loricated Mail
chn Chain Mail xhn Mesh Armor uhn Boneweave
brs Breast Plate xrs Cuirass urs Great Hauberk
spl Splint Mail xpl Russet Armor upl Balrog Skin
plt Plate Mail xlt Templar Coat ult Hellforge Plate
fld Field Plate xld Sharktooth Armor uld Kraken Shell
gth Gothic Plate xth Embossed Plate uth Lacquered Plate
ltp Light Plate xtp Mage Plate utp Archon Plate
ful Full Plate Mail xul Chaos Armor uul Shadow Plate
aar Ancient Armor xar Ornate Plate uar Sacred Armor
buc Buckler xuc Defender uuc Heater
sml Small Shield xml Round Shield uml Luna
lrg Large Shield xrg Scutum urg Hyperion
spk Spiked Shield xpk Barbed Shield upk Blade Barrier
kit Kite Shield xit Dragon Shield uit Monarch
bsh Bone Shield xsh Grim Shield ush Troll Nest
tow Tower Shield xow Pavise uow Aegis
gts Gothic Shield xts Ancient Shield uts Ward
lgl Leather Gloves xlg Demonhide Gloves ulg Bramble Mitts
vgl Heavy Gloves xvg Sharkskin Gloves uvg Vampirebone Gloves
mgl Chain Gloves xmg Heavy Bracers umg Vambraces
tgl Light Gauntlets xtg Battle Gauntlets utg Crusader Gauntlets
hgl Gauntlets xhg War Gauntlets uhg Ogre Gauntlets
lbt Boots xlb Demonhide Boots ulb Wyrmhide Boots
vbt Heavy Boots xvb Sharkskin Boots uvb Scarabshell Boots
mbt Chain Boots xmb Mesh Boots umb Boneweave Boots
tbt Light Plated Boots xtb Battle Boots utb Mirrored Boots
hbt Greaves xhb War Boots uhb Myrmidon Greaves
lbl Sash zlb Demonhide Sash ulc Spiderweb Sash
vbl Light Belt zvb Sharkskin Belt uvc Vampirefang Belt
mbl Belt zmb Mesh Belt umc Mithril Coil
tbl Heavy Belt ztb Battle Belt utc Troll Belt
hbl Plated Belt zhb War Belt uhc Colossus Girdle
ci0 Circlet ci2 Tiara ci3 Diadem
ci1 Coronet
dr1 Wolf Head dr6 Alpha Helm drb Blood Spirit
dr2 Hawk Helm dr7 Griffon Headress drc Sun Spirit
dr3 Antlers dr8 Hunter's Guise drd Earth Spirit
dr4 Falcon Mask dr9 Sacred Feathers dre Sky Spirit
dr5 Spirit Mask dra Totemic Mask drf Dream Spirit
ba1 Jawbone Cap ba6 Jawbone Visor bab Carnage Helm
ba2 Fanged Helm ba7 Lion Helm bac Fury Visor
ba3 Horned Helm ba8 Rage Mask bad Destroyer Helm
ba4 Assault Helmet ba9 Savage Helmet bae Conqueror Crown
ba5 Avenger Guard baa Slayer Guard baf Guardian Crown
pa1 Targe pa6 Akaran Targe pab Sacred Targe
pa2 Rondache pa7 Akaran Rondache pac Sacred Rondache
pa3 Heraldic Shield pa8 Protector Shield pad Kurast Shield
pa4 Aerin Shield pa9 Gilded Shield pae Zakarum Shield
pa5 Crown Shield paa Royal Shield paf Vortex Shield
ne1 Preserved Head ne6 Mummified Trophy neb Minion Skull
ne2 Zombie Head ne7 Fetish Trophy neg Hellspawn Skull
ne3 Unraveller Head ne8 Sexton Trophy ned Overseer Skull
ne4 Gargoyle Head ne9 Cantor Trophy nee Succubus Skull
ne5 Demon Head nea Hierophant Trophy nef Bloodlord Skull
Weapons
Code Item (Normal) Code Item (Exceptional) Code Item (Elite)
hax Hand Axe 9ha Hatchet 7ha Tomahawk
axe Axe 9ax Cleaver 7ax Small Crescent
2ax Double Axe 92a Twin Axe 72a Ettin Axe
mpi Military Pick 9mp Crowbill 7mp War Spike
wax War Axe 9wa Naga 7wa Berserker Axe
lax Large Axe 9la Military Axe 7la Feral Axe
bax Broad Axe 9ba Bearded Axe 7ba Silver-edged Axe
btx Battle Axe 9bt Tabar 7bt Decapitator
gax Great Axe 9ga Gothic Axe 7ga Champion Axe
gix Giant Axe 9gi Ancient Axe 7gi Glorious Axe
clb Club 9cl Cudgel 7cl Truncheon
spc Spiked Club 9sp Barbed Club 7sp Tyrant Club
mac Mace 9ma Flanged Mace 7ma Reinforced Mace
mst Morning Star 9mt Jagged Star 7mt Devil Star
fla Flail 9fl Knout 7fl Scourge
whm War Hammer 9wh Battle Hammer 7wh Legendary Mallet
mau Maul 9m9 War Club 7m7 Ogre Maul
gma Great Maul 9gm Martel de Fer 7gm Thunder Maul
ssd Short Sword 9ss Gladius 7ss Falcata
scm Scimitar 9sm Cutlass 7sm Ataghan
sbr Sabre 9sb Shamshir 7sb Elegant Blade
flc Falchion 9fc Tulwar 7fc Hydra Edge
crs Crystal Sword 9cr Dimensional Blade 7cr Phase Blade
bsd Broad Sword 9bs Battle Sword 7bs Conquest Sword
lsd Long Sword 9ls Rune Sword 7ls Cryptic Sword
wsd War Sword 9wd Ancient Sword 7wd Mythical Sword
2hs Two-handed Sword 92h Espandon 72h Legend Sword
clm Claymore 9cm Dacian Falx 7cm Highland Blade
gis Giant Sword 9gs Tusk Sword 7gs Balrog Blade
bsw Bastard Sword 9b9 Gothic Sword 7b7 Champion Sword
flb Flamberge 9fb Zweihander 7fb Colossus Sword
gsd Great Sword 9gd Executioner Sword 7gd Colossus Blade
dgr Dagger 9dg Poignard 7dg Bone Knife
dir Dirk 9di Rondel 7di Mithril Point
kri Kris 9kr Cinquedeas 7kr Fanged Knife
bld Blade 9bl Stiletto 7bl Legend Spike
tkf Throwing Knife 9tk Battle Dart 7tk Flying Knife
tax Throwing Axe 9ta Francisca 7ta Flying Axe
bkf Balanced Knife 9bk War Dart 7bk Winged Knife
bal Balanced Axe 9b8 Hurlbat 7b8 Winged Axe
jav Javelin 9ja War Javelin 7ja Hyperion Javelin
pil Pilum 9pi Great Pilum 7pi Stygian Pilum
ssp Short Spear 9s9 Simbilan 7s7 Balrog Spear
glv Glaive 9gl Spiculum 7gl Ghost Glaive
tsp Throwing Spear 9ts Harpoon 7ts Winged Harpoon
spr Spear 9sr War Spear 7sr Hyperion Spear
tri Trident 9tr Fuscina 7tr Stygian Pike
brn Brandistock 9br War Fork 7br Mancatcher
spt Spetum 9st Yari 7st Ghost Spear
pik Pike 9p9 Lance 7p7 War Pike
bar Bardiche 9b7 Lochaber Axe 7o7 Ogre Axe
vou Voulge 9vo Bill 7vo Colossus Voulge
scy Scythe 9s8 Battle Scythe 7s8 Thresher
pax Poleaxe 9pa Partizan 7pa Cryptic Axe
hal Halberd 9h9 Bec-de-Corbin 7h7 Great Poleaxe
wsc War Scythe 9wc Grim Scythe 7wc Giant Thresher
sbw Short Bow 8sb Edge Bow 6sb Spider Bow
hbw Hunter’s Bow 8hb Razor Bow 6hb Blade Bow
lbw Long Bow 8lb Cedar Bow 6lb Shadow Bow
cbw Composite Bow 8cb Double Bow 6cb Great Bow
sbb Short Battle Bow 8s8 Short Siege Bow 6s7 Diamond Bow
lbb Long Battle Bow 8l8 Large Siege Bow 6l7 Crusader Bow
swb Short War Bow 8sw Rune Bow 6sw Ward Bow
lwb Long War Bow 8lw Gothic Bow 6lw Hydra Bow
lxb Light Crossbow 8lx Arbalest 6lx Pellet Bow
mxb Crossbow 8mx Siege Crossbow 6mx Gorgon Crossbow
hxb Heavy Crossbow 8hx Ballista 6hx Colossus Crossbow
rxb Repeating Crossbow 8rx Chu-Ko-Nu 6rx Demon Crossbow
sst Short Staff 8ss Jo Staff 6ss Walking Stick
lst Long Staff 8ls Quarterstaff 6ls Stalagmite
cst Gnarled Staff 8cs Cedar Staff 6cs Elder Staff
bst Battle Staff 8bs Gothic Staff 6bs Shillelagh
wst War Staff 8ws Rune Staff 6ws Archon Staff
wnd Wand 9wn Burnt Wand 7wn Polished Wand
ywn Yew Wand 9yw Petrified Wand 7yw Ghost Wand
bwn Bone Wand 9bw Tomb Wand 7bw Lich Wand
gwn Grim Wand 9gw Grave Wand 7gw Unearthed Wand
scp Scepter 9sc Rune Scepter 7sc Mighty Scepter
gsc Grand Scepter 9qs Holy Water Sprinkler 7qs Seraph Rod
wsp War Scepter 9ws Divine Scepter 7ws Caduceus
ktr Katar 9ar Quhab 7ar Suwayyah
wrb Wrist Blade 9wb Wrist Spike 7wb Wrist Sword
axf Hatchet Hands 9xf Fascia 7xf War Fist
ces Cestus 9cs Hand Scythe 7cs Battle Cestus
clw Claws 9lw Greater Claws 7lw Feral Claws
btl Blade Talons 9tw Greater Talons 7tw Runic Talons
skr Scissors Katar 9qr Scissors Quhab 7qr Scissors Suwayyah
ob1 Eagle Orb ob6 Glowing Orb obb Heavenly Stone
ob2 Sacred Globe ob7 Crystalline Globe obc Eldritch Orb
ob3 Smoked Sphere ob8 Cloudy Sphere obd Demon Heart
ob4 Clasped Orb ob9 Sparkling Ball obe Vortex Orb
ob5 Jared's Stone oba Swirling Crystal obf Dimensional Shard
am1 Stag Bow am6 Ashwood Bow amb Matriarchal Bow
am2 Reflex Bow am7 Ceremonial Bow amc Grand Matron Bow
am3 Maiden Spear am8 Ceremonial Spear amd Matriarchal Spear
am4 Maiden Pike am9 Ceremonial Pike ame Matriarchal Pike
am5 Maiden Javelin ama Ceremonial Javelin amf Matriarchal Javelin
Other Items
Potions
Code Item Code Item Code Item Code Item Code Item
rvl Full Rejuvenation Potion hp1 Minor Healing Potion mp1 Minor Mana Potion opl Fulminating Potion gpl Strangling Potion
rvs Rejuvenation Potion hp2 Lesser Healing Potion mp2 Lesser Mana Potion opm Exploding Potion gpm Choking Potion
yps Antidote Potion hp3 Healing Potion mp3 Mana Potion ops Oil Potion gps Rancid Potion
wms Thawing Potion hp4 Greater Healing Potion mp4 Greater Mana Potion
vps Stamina Potion hp5 Super Healing Potion mp5 Super Mana Potion
Gems

Also see GEMLEVEL and GEMTYPE

Code Item Code Item Code Item Code Item Code Item
gcv Chipped Amethyst gfv Flawed Amethyst gsv Amethyst gzv Flawless Amethyst gpv Perfect Amethyst
gcy Chipped Topaz gfy Flawed Topaz gsy Topaz gly Flawless Topaz gpy Perfect Topaz
gcb Chipped Sapphire gfb Flawed Sapphire gsb Sapphire glb Flawless Sapphire gpb Perfect Sapphire
gcg Chipped Emerald gfg Flawed Emerald gsg Emerald glg Flawless Emerald gpg Perfect Emerald
gcr Chipped Ruby gfr Flawed Ruby gsr Ruby glr Flawless Ruby gpr Perfect Ruby
gcw Chipped Diamond gfw Flawed Diamond gsw Diamond glw Flawless Diamond gpw Perfect Diamond
skc Chipped Skull skf Flawed Skull sku Skull skl Flawless Skull skz Perfect Skull
Code Item Code Item
gzvs Flawless Amethyst Stack gpvs Perfect Amethyst Stack
glys Flawless Topaz Stack gpys Perfect Topaz Stack
glbs Flawless Sapphire Stack gpbs Perfect Sapphire Stack
glgs Flawless Emerald Stack gpgs Perfect Emerald Stack
glrs Flawless Ruby Stack gprs Perfect Ruby Stack
glws Flawless Diamond Stack gpws Perfect Diamond Stack
skls Flawless Skull Stack skzs Perfect Skull Stack
Runes

Also see RUNE

Code Item Code Item Code Item
r01 El Rune r12 Sol Rune r23 Mal Rune
r02 Eld Rune r13 Shael Rune r24 Ist Rune
r03 Tir Rune r14 Dol Rune r25 Gul Rune
r04 Nef Rune r15 Hel Rune r26 Vex Rune
r05 Eth Rune r16 Io Rune r27 Ohm Rune
r06 Ith Rune r17 Lum Rune r28 Lo Rune
r07 Tal Rune r18 Ko Rune r29 Sur Rune
r08 Ral Rune r19 Fal Rune r30 Ber Rune
r09 Ort Rune r20 Lem Rune r31 Jah Rune
r10 Thul Rune r21 Pul Rune r32 Cham Rune
r11 Amn Rune r22 Um Rune r33 Zod Rune
Code Item Code Item Code Item
r01s El Rune Stack r12s Sol Rune Stack r23s Mal Rune Stack
r02s Eld Rune Stack r13s Shael Rune Stack r24s Ist Rune Stack
r03s Tir Rune Stack r14s Dol Rune Stack r25s Gul Rune Stack
r04s Nef Rune Stack r15s Hel Rune Stack r26s Vex Rune Stack
r05s Eth Rune Stack r16s Io Rune Stack r27s Ohm Rune Stack
r06s Ith Rune Stack r17s Lum Rune Stack r28s Lo Rune Stack
r07s Tal Rune Stack r18s Ko Rune Stack r29s Sur Rune Stack
r08s Ral Rune Stack r19s Fal Rune Stack r30s Ber Rune Stack
r09s Ort Rune Stack r20s Lem Rune Stack r31s Jah Rune Stack
r10s Thul Rune Stack r21s Pul Rune Stack r32s Cham Rune Stack
r11s Amn Rune Stack r22s Um Rune Stack r33s Zod Rune Stack
Quest Items
  • Code Item
    bks Scroll of Inifuss
    bkd Key to the Cairn Stones
    hdm Horadric Malus
    tr1 Horadric Scroll
    ass Book of Skill
    box Horadric Cube
    msf Staff of Kings
    vip Viper Amulet
    hst Horadric Staff
    j34 Jade Figurine
    g34 Golden Bird
    xyz Potion of Life
    g33 Gidbinn
    bbb Lam Esen's Tome
    qbr Khalim's Brain
    qey Khalim's Eye
    qhr Khalim's Heart
    qf1 Khalim's Flail
    qf2 Khalim's Will
    mss Mephisto's Soulstone
    hfh Hellforge Hammer
    ice Malah's Potion
    tr2 Scroll of Resistance
  • Code Item Details
    tes Twisted Essence of Suffering Andariel & Duriel
    ceh Charged Essence of Hatred Mephisto
    bet Burning Essence of Terror Diablo
    fed Festering Essence of Destruction Baal
    toa Token of Absolution
    pk1 Key of Terror Countess
    pk2 Key of Hatred Summoner
    pk3 Key of Destruction Nihlathak
    dhn Diablo's Horn Lilith (uber Andariel)
    bey Baal's Eye Duriel (uber)
    mbr Mephisto's Brain Izual (uber)
  • Unique quest items (not essences/tokens or uber keys/organs) cannot be sold so they have no price
PD2 Items
  • Maps & Arenas
    Code Item Tier
    t11 Ruins of Viz-Jun Map 2
    t12 Horazon's Memory Map 1
    t13 Bastion Keep Map 1
    t14 Sanatorium Map 2
    t15 Royal Crypts Map 2
    t16 Ruined Cistern Map 1
    t21 Phlegethon Map 1
    t22 Torajan Jungle Map 1
    t23 Arreat Battlefield Map 1
    t24 Tomb of Zoltun Kulle Map 3
    t25 Sewers of Harrogath Map 3
    t26 Shadows of Westmarch Map 2
    t31 River of Blood Map 3
    t32 Throne of Insanity Map 3
    t33 Lost Temple Map 1
    t34 Ancestral Trial Map 2
    t35 Blood Moon Map 3
    t36 Fall of Caldeum Map 2
    t37 Pandemonium Citadel Map 3
    t38 Canyon of Sescheron Map 3
    t39 Kehjistan Marketplace Map 3
    t39 Ashen Plains Map 3
    t41 Cathedral of Light Map 4 (dungeon)
    t42 Plains of Torment Map 4 (dungeon)
    t43 Sanctuary of Sin Map 4 (dungeon)
    t61 Desert Duel Arena PvP arena
    t62 Moor Duel Arena PvP arena
  • Uber-Related
    Code Item Details
    uba Relic of the Ancients accesses Uber Ancients
    ubaa Sigil of Madawc Uber Ancients ingredient, from T1 maps
    ubab Sigil of Talic Uber Ancients ingredient, from T2 maps
    ubac Sigil of Korlic Uber Ancients ingredient, from T3 maps
    ubtm Pandemonium Talisman accesses Uber Tristram
    dcma Vision of Terror accesses Diablo Clone
    dcso Prime Evil Soul DClone ingredient, from Hell Diablo/Baal
    dcbl Pure Demonic Essence Diablo Clone ingredient, from map bosses
    dcho Black Soulstone Diablo Clone ingredient, from Uber Tristram
    rtma Voidstone accesses Rathma
    rtmv Splinter of the Void Rathma ingredient, from Mendeln map event
    rtmo Trang-Oul's Jawbone Rathma ingredient, from undead
    rtmf Ancient Bone Fragments Trang-Oul's Jawbone ingredient (legacy)
  • Map Orbs
    Code Item Details
    imma Arcane Orb upgrade map (common -> magic)
    imra Zakarum Orb upgrade map (common -> rare)
    upma Angelic Orb upgrade map (magic -> rare)
    scou Orb of Destruction downgrade map (to common)
    rera Horadrim Orb reroll rare map
    upmp Cartographer's Orb combine maps into a higher tier
    fort Orb of Fortification halves monsters & doubles loot/experience/life
    scrb Horadrim Scarab turns t3 maps into dungeons
  • General-Purpose
    Code Item Details
    wss Worldstone Shard corrupts items
    lbox Larzuk's Puzzlebox sockets items
    lpp Larzuk's Puzzlepiece sockets items (not uniques/sets)
    lmal Larzuk's Malus sockets items (1 socket)
    jewf Jewel Fragments stackable jewel
    lsvl Vial of Lightsong Makes item Ethereal (drops anywhere, 1 in 7.5 million chance)
    llmr Lilith's Mirror Mirrors items (drops anywhere, 1 in 25 million chance)
    rkey Skeleton Key unlimited-use key (drops anywhere, 1 in 5 million chance)
    rtp Horadrim Navigator unlimited TP tome, from Rathma
    rid Horadrim Almanac unlimited ID tome, from Rathma
    cwss Tainted Worldstone Shard corrupts Annihilus, from Rathma
  • Equipment
    Code Item Notes
    rar Cage of the Unsullied Boneweave (uhn doesn't apply, but ARMOR/CHEST do)
    rbe Band of Skulls Troll Belt (utc doesn't apply, but ARMOR/BELT do)
    ram The Third Eye Amulet (amu doesn't apply)
Misc
  • Code Item
    tsc Scroll of Town Portal
    isc Scroll of Identify
    tbk Tome of Town Portal
    ibk Tome of Identify
    key Key
    leg Wirt's Leg
    ear Player Ear
    std Standard of Heroes
  • Code Item
    cm1 Small Charm
    cm2 Large Charm
    cm3 Grand Charm
    jew Jewel
    rin Ring
    amu Amulet
    aqv Arrows
    cqv Bolts

  • Tome of Town Portal and Tome of Identify can only have their name modified, not their description


Value Conditions

Info Codes

Code Description Details
GOLD Gold can be hidden, but not modified (always displays as "N Gold")
GEMLEVEL gem quality level 1 - 5 (Chipped-Perfect)
doesn't apply to unstacked Flawless/Perfect gems
GEMTYPE gem type 1 - 7 (Amethyst-Skull)
RUNE rune number 1 - 33 (El-Zod)
QTY quantity
DEF total defense
LVLREQ level requirement
PRICE vendor sell value
ALVL affix level used to determine which affixes can roll for magic/rare/crafted items
CRAFTALVL prospective crafted ALVL what the resulting crafted item's ALVL will be if the item is used as a crafting ingredient by the character
QLVL quality level
ILVL item level
CLVL character level
DIFF difficulty 0 - 2 (Normal-Hell)
MAPID item's initial location 1 - 175 (see details)
SUFFIX item suffix 1 - 849 (see details)
PREFIX item prefix 850 - 1644 (see details)
FILTLVL filter strictness level 1 - 9

There is currently a bug with hiding stacked gems/runes - if the lootfilter attempts to hide them, they'll usually be loaded regardless and appear with an empty name.

Named Attribute Codes

Code Description Item Appearance Details
SOCK total sockets Socketed (N)
ED enhanced defense/damage +N% Enhanced Defense
+N% Enhanced Damage
refers to defense for armor,
damage for weapons
MAXDUR max durability Increase Maximum Durability N%
AR attack rating +N to Attack Rating
RES all res All Resistances +N
FRES fire res Fire Resist +N%
CRES cold res Cold Resist +N%
LRES lightning res Lightning Resist +N%
PRES poison res Poison Resist +N%
FRW faster run/walk +N% Faster Run/Walk
IAS attack rate +N% Increased Attack Speed
FCR Faster Cast Rate +N% Faster Cast Rate
FHR Faster Hit Recovery +N% Faster Hit Recovery
FBR Faster Block Rate +N% Faster Block Rate
MINDMG minimum damage +N to Minimum Damage
MAXDMG maximum damage +N to Maximum Damage
STR strength +N to Strength
DEX dexterity +N to Dexterity
LIFE max hp +N to Life
MANA max mana +N to Mana
MFIND magic find N% Better Chance of Getting Magic Items
GFIND gold find N% Extra Gold from Monsters
MAEK mana per kill +N to Mana after each Kill
DTM damage to mana N% Damage Taken Gained as Mana when Hit
REPLIFE life replenish Replenish Life +N
REPAIR auto-repair Repairs X Durability in Y Seconds N = 100 / Y
ARPER AR bonus N% Bonus to Attack Rating
FOOLS fool's mod +X to Attack Rating (Based on Character Level)
+Y to Maximum Damage (Based on Character Level)
boolean condition

Some attributes (STR, DEX, LIFE, MANA, FRES, CRES, LRES, PRES) can have addition applied between them prior to the condition being evaluated.

ItemDisplay[RARE FRES+CRES+LRES+PRES>79]: %NAME% %RED%! appends a red ! to rares with 80+ total resistance


It seems values get converted to unsigned integers before comparison. For negative values, this means that instead of counting backwards from 0, they count backwards from the maximum storeable value (a few billion). The following examples illustrate this point, but they're outdated since medium/heavy armors no longer have movement speed penalties.

ItemDisplay[NMAG !ELT (FRW=-5 OR FRW=-10)]: hides regular non-elite medium/heavy armors

ItemDisplay[NMAG !ELT FRW>1000]: hides regular non-elite medium/heavy armors

ItemDisplay[NMAG !ELT FRW>-20]: hides regular non-elite medium/heavy armors

Numbered Attribute Codes

The relevant number for each code is shown as N. In many cases, if N is absent, it is either 0 or 1. For codes that refer to attributes which are based on character level, N is often a multiple of Y (+Y per Character Level) such as 8Y for STAT214 or 2Y for STAT224.

Some numbered attribute codes (shown in gray) refer to the same attributes as named attribute codes or other named codes, which can be used instead for better readability.

  • General
    Code Item Appearance
    STAT0 +N to Strength
    STAT1 +N to Energy
    STAT2 +N to Dexterity
    STAT3 +N to Vitality
    STAT7 +X to Life (N = 256X)
    STAT9 +X to Mana (N = 256X)
    STAT11 +N Maximum Stamina
    STAT16 +N% Enhanced Defense
    STAT19 +N to Attack Rating
    STAT20 Chance to Block: N%
    STAT27 Regenerate Mana N%
    STAT28 Heal Stamina +N%
    STAT31 +N Defense
    STAT32 +N Defense vs. Missile
    STAT33 +N Defense vs. Melee
    STAT34 Physical Damage Taken Reduced by N
    STAT35 Magic & Elemental Damage Taken Reduced by N
    STAT36 Physical Damage Taken Reduced by N%
    STAT60 N% Life Stolen per Hit
    STAT62 N% Mana Stolen per Hit
    STAT68 +N% Increased Attack Speed
    STAT70 Quantity: N
    STAT72 Durability: N of Y
    STAT73 Durability: X of N
    STAT74 Replenish Life +N
    STAT75 Increase Maximum Durability N%
    STAT76 Increase Maximum Life N%
    STAT77 Increase Maximum Mana N%
    STAT78 Attacker Takes Damage of N
    STAT79 N% Extra Gold from Monsters
    STAT80 N% Better Chance of Getting Magic Items
    STAT81 Knockback
    STAT83 +N to Amazon Skill Levels
    STAT85 +N% to Experience Gained
    STAT86 +N Life after each Kill
    STAT87 Reduces All Vendor Prices N%
    STAT89 +N to Light Radius
    STAT91 Requirements -N%
    STAT93 +N% Increased Attack Speed
    STAT96 +N% Faster Run/Walk
    STAT99 +N% Faster Hit Recovery
    STAT102 +N% Faster Block Rate
    STAT105 +N% Faster Cast Rate
    STAT108 Slain Monsters Rest in Peace
    STAT109 N% Reduced Curse Duration
    STAT110 Poison Length Reduced by N%
    STAT112 Hit Causes Monster to Flee N%
    STAT113 Hit Blinds Target +N
    STAT114 N% Damage Taken Gained as Mana when Hit
    STAT115 Ignore Target's Defense
    STAT116 -N% Target Defense
    STAT117 Prevent Monster Heal
    STAT118 Half Freeze Duration
    STAT119 N% Bonus to Attack Rating
    STAT120 -N to Monster Defense per Hit
    STAT123 +N to Attack Rating against Demons
    STAT124 +N to Attack Rating against Undead
    STAT127 +N to All Skills
    STAT128 Attacker Takes Lightning Damage of N
    STAT134 Freezes Target +N
    STAT135 N% Chance of Open Wounds
    STAT136 N% Chance of Crushing Blow
    STAT138 +N to Mana after each Kill
    STAT139 +N Life after each Demon Kill
    STAT140 N% Extra Bloody (Hidden Cosmetic)
    STAT141 N% Deadly Strike
    STAT150 Slows Target by N%
    STAT152 Indestructible
    STAT153 Cannot Be Frozen
    STAT154 N% Slower Stamina Drain
    STAT156 +N% Chance to Pierce
    STAT157 Fires Magic Arrows
    STAT158 Fires Explosive Arrows or Bolts
    STAT188 +N to Bow and Crossbow Skills
    STAT194 Socketed (N)
    STAT252 Repairs X Durability in Y Seconds (N = 100/Y)
    STAT360 Corruption (values for N)
    STAT422 Replenishes 1 Charge in 3 Seconds
    STAT424 +N Life after each Hit
    STAT425 -N% to Enemy Physical Resistance
    STAT486 Mirrored
  • Elements
    Code Item Appearance
    STAT37 Magic Resist +N%
    STAT38 +N% to Maximum Magic Resist
    STAT39 Fire Resist +N%
    STAT40 +N% to Maximum Fire Resist
    STAT41 Lightning Resist +N%
    STAT42 +N% to Maximum Lightning Resist
    STAT43 Cold Resist +N%
    STAT44 +N% to Maximum Cold Resist
    STAT45 Poison Resist +N%
    STAT46 +N% to Maximum Poison Resist
    STAT142 Fire Absorb N%
    STAT143 +N Fire Absorb
    STAT144 Lightning Absorb N%
    STAT145 +N Lightning Absorb
    STAT146 Magic Absorb N%
    STAT147 +N Magic Absorb
    STAT148 Cold Absorb N%
    STAT149 +N Cold Absorb
    STAT333 -N% to Enemy Fire Resistance
    STAT334 -N% to Enemy Lightning Resistance
    STAT335 -N% to Enemy Cold Resistance
    STAT336 -N% to Enemy Poison Resistance
    STAT362 +N to Cold Skills
    STAT363 +N to Fire Skills
    STAT364 +N to Lightning Skills
    STAT365 +N to Poison Skills
    STAT366 +N to Magic Skills
  • Damage
    Code Item Appearance
    STAT17 +N% Enhanced Damage
    (off-weapon minimum)
    STAT18 +N% Enhanced Damage
    (off-weapon maximum)
    STAT21 Damage: N to Y
    +N to Minimum Damage
    (one-handed weapons)
    STAT22 Damage: X to N
    +N to Maximum Damage
    (one-handed weapons)
    STAT23 +N to Minimum Damage
    (two-handed weapons)
    STAT24 +N to Maximum Damage
    (two-handed weapons)
    STAT25 +N% Damage
    STAT48 Adds N-Y Fire Damage
    STAT49 Adds X-N Fire Damage
    STAT50 Adds N-Y Lightning Damage
    STAT51 Adds 1-N Lightning Damage
    STAT52 Adds N-Y Magic Damage
    STAT53 Adds X-N Magic Damage
    STAT54 Adds N-Y Cold Damage
    STAT55 Adds X-N Cold Damage
    STAT56 Adds X-Y Cold Damage
    N = duration
    STAT57 +X Poison Damage over Y Seconds
    bitrate N = (256X) / (25Y)
    STAT58 +X Poison Damage over Y Seconds
    bitrate N = (256X) / (25Y)
    STAT59 +X Poison Damage over N Seconds
    STAT111 Damage +N
    STAT121 +N% Damage to Demons
    STAT122 +N% Damage to Undead
    STAT159 Damage: N to Y
    +N to Minimum Damage
    (throwing weapons)
    STAT160 Damage: X to N
    +N to Maximum Damage
    (throwing weapons)
    STAT326 +X Poison Damage over Y Seconds
    STAT329 +N% to Fire Skill Damage
    STAT330 +N% to Lightning Skill Damage
    STAT331 +N% to Cold Skill Damage
    STAT332 +N% to Poison Skill Damage
    STAT357 +N% to Magic Skill Damage
  • Based on Character Level
    Code Item Appearance
    STAT214 +X Defense (...)
    STAT216 +X to Life (...)
    STAT217 +X to Mana (...)
    STAT218 +X to Maximum Damage (...)
    STAT219 +X% Enhanced Maximum Damage (...)
    STAT220 +X to Strength (...)
    STAT221 +X to Dexterity (...)
    STAT222 +X to Energy (...)
    STAT223 +X to Vitality (...)
    STAT224 +X to Attack Rating (...)
    STAT225 X% Bonus to Attack Rating (...)
    STAT226 +X to Maximum Cold Damage (...)
    STAT227 +X to Maximum Fire Damage (...)
    STAT228 +X to Maximum Lightning Damage (...)
    STAT229 +X to Maximum Poison Damage (...)
    STAT230 Cold Resist +X% (...)
    STAT231 Fire Resist +X% (...)
    STAT232 Lightning Resist +X% (...)
    STAT233 Poison Resist +X% (...)
    STAT234 +X Absorbs Cold Damage (...)
    STAT235 +X Absorbs Fire Damage (...)
    STAT236 +X Absorbs Lightning Damage (...)
    STAT237 +X Absorbs Poison Damage (...)
    STAT238 Attacker Takes Damage of X (...)
    STAT239 X% Extra Gold from Monsters (...)
    STAT240 X% Better Chance of Getting Magic Items (...)
    STAT241 Heal Stamina Plus X% (...)
    STAT242 +X Maximum Stamina (...)
    STAT243 +X% Damage to Demons (...)
    STAT244 +X% Damage to Undead (...)
    STAT245 +X to Attack Rating against Demons (...)
    STAT246 +X to Attack Rating against Undead (...)
    STAT249 +X Kick Damage (...)
    STAT250 X% Deadly Strike (...)
Maps
Code Item Appearance
STAT370 Map Magic Find: +N%
STAT371 Map Gold Find: +N%
STAT372 Map Monster Density: +N%
STAT373 Map Experience: +N%
STAT374 Map Monster Rarity: +N%
STAT388 Monsters have +N% to Fire Skill Damage
STAT389 Monsters have +N% to Lightning Skill Damage
STAT390 Monsters have +N% to Cold Skill Damage
STAT391 Monsters have +N% to Poison Skill Damage
STAT392 Monsters have +N% Increased Cast Speed
STAT393 Monsters have +N% Increased Attack Speed
STAT394 Monsters have +N% Attack Rating
STAT395 Monsters have +N% Enhanced Defense
STAT396 Monsters have N% Cold Absorb
STAT397 Monsters have N% Magic Absorb
STAT398 Monsters have N% Lightning Absorb
STAT399 Monsters have N% Fire Absorb
STAT400 Monsters take N Reduced Physical Damage
STAT401 Monsters have N% Increased Velocity
STAT402 Monsters have +N Replenish Life
STAT403 Monsters have N% Life Stolen per Hit
STAT404 Monsters have +N% Faster Hit Recovery
STAT405 Monsters have N% Increased Maximum Life
STAT406 Monsters have +N% Chance to Pierce
STAT407 Monsters have N% Chance of Open Wounds
STAT408 Monsters have N% Chance of Crushing Blow
STAT409 Monsters have N% Curse Duration Reduction
STAT410 Players have -N% Enhanced Defense
STAT411 Players have -N% Faster Hit Recovery
STAT412 Players have -N% Chance to Block
STAT413 Players have -N Drain Life
STAT426 Monsters have +N% Enhanced Physical Damage
STAT428 Players have -N% to All Resistances
STAT429 Players have -N% to All Resistances
STAT430 Players have -N% to All Resistances
STAT431 Players have -N% to All Resistances
STAT432 Monsters have +N% of Physical Damage as Extra Lightning Damage
STAT433 Monsters have +N% of Physical Damage as Extra Cold Damage
STAT434 Monsters have +N% of Physical Damage as Extra Fire Damage
STAT435 Monsters have +N% of Physical Damage as Extra Poison Damage over 5 seconds
STAT436 Monsters have +N% of Physical Damage as Extra Magic Damage
STAT437 Map contains Stygian Dolls
STAT438 Map contains Succubus Witches
STAT439 Map contains Vampire Lords
STAT440 Map contains Hell Bovines
STAT441 Map contains Reanimated Horde
STAT442 Map contains Ghosts
STAT449 Monsters have N% Deadly Strike
STAT450 Monsters have Cannot Be Frozen
STAT451 Players have N% Attack and Cast Speed
STAT452 Players have N% Attack and Cast Speed
STAT457 Players have N% to Velocity
STAT458 Heoric
STAT470 Map contains Burning Souls
STAT471 Map contains Fetishes
Other
Code Item Appearance
STAT368 You May Apply an Additional Curse
STAT423 +N% to Leap and Leap Attack Movement Speed
STAT444 You May Now Summon N Additional Revives
STAT459 You May Now Summon 1 Additional Spirit
STAT460 Gust's Cooldown is Reduced by N Seconds
STAT461 You May Summon N Additional Skeleton Mages
STAT462 You May Summon N Additional Skeleton Warriors
STAT463 You May Summon 1 Additional Hydra
STAT464 You May Summon 1 Additional Valkyrie
STAT465 Joust's Cooldown is Reduced by N Seconds
STAT466 You May Summon N Additional Skeleton Mages
STAT468 Blood Warp Costs N% Less Health
STAT475 extra_skele_archer
STAT476 extra_golem
STAT478 inc_splash_radius
STAT483 Dragon Flight's Cooldown is Reduced by N Seconds
STAT484 item_dmgpercent_pereth
STAT485 Corpse Explosion Radius Increased by N Yards
STAT487 item_dmgpercent_permissinghppercent
STAT488 lifedrain_percentcap
STAT489 inc_splash_radius_permissinghp
STAT490 eaglehorn_raven

Skill Codes

Group Skills

Also see STAT362-STAT366 (Cold, Fire, Lightning, Poison, Magic)

  • Code Skill Group
    ALLSK All Skills
    CLSK0 Amazon Skills
    CLSK1 Sorceress Skills
    CLSK2 Necromancer Skills
    CLSK3 Paladin Skills
    CLSK4 Barbarian Skills
    CLSK5 Druid Skills
    CLSK6 Assassin Skills
  • Code Class Skill Group
    TABSK0 Amazon Bow and Crossbow Skills
    TABSK1 Amazon Passive and Magic Skills
    TABSK2 Amazon Javelin and Spear Skills
    TABSK8 Sorceress Fire Spells
    TABSK9 Sorceress Lightning Spells
    TABSK10 Sorceress Cold Spells
    TABSK16 Necromancer Curses
    TABSK17 Necromancer Poison & Bone Spells
    TABSK18 Necromancer Summoning Spells
    TABSK24 Paladin Combat Skills
    TABSK25 Paladin Offensive Auras
    TABSK26 Paladin Defensive Auras
    TABSK32 Barbarian Combat Skills
    TABSK33 Barbarian Combat Masteries
    TABSK34 Barbarian Warcries
    TABSK40 Druid Summoning
    TABSK41 Druid Shape Shifting
    TABSK42 Druid Elemental
    TABSK48 Assassin Traps
    TABSK49 Assassin Shadow Disciplines
    TABSK50 Assassin Martial Arts
    Individual Skills

    In addition to these "SK" codes, there are equivalent "CHSK" codes for skill charges and "OS" codes for oskills. For example, CHSK54 refers to skill charges for Teleport. "CHSK" codes for curse charges use separate 'proc' versions of those skills: CHSK445 for Life Tap and CHSK447 for Lower Resist.

    • Skills with gray names are not in the skill tree.
    • Skills with gray codes do not appear on items as pointmods/staffmods under normal circumstances.
    • Amazon
      Code Skill
      SK6 Magic Arrow
      SK7 Fire Arrow
      SK8 Inner Sight
      SK9 Critical Strike
      SK10 Jab
      SK11 Cold Arrow
      SK12 Multiple Shot
      SK13 Dodge
      SK14 Power Strike
      SK15 Poison Javelin
      SK16 Exploding Arrow
      SK17 Slow Movement
      SK18 Avoid
      SK19 Javelin and Spear Mastery
      SK20 Lightning Bolt
      SK21 Ice Arrow
      SK22 Guided Arrow
      SK23 Penetrate
      SK24 Charged Strike
      SK25 Plague Javelin
      SK26 Strafe
      SK27 Immolation Arrow
      SK28 Decoy
      SK29 Evade
      SK30 Fend
      SK31 Freezing Arrow
      SK32 Valkyrie
      SK33 Pierce
      SK34 Lightning Strike
      SK35 Lightning Fury
    • Sorceress
      Code Skill
      SK36 Fire Bolt
      SK37 Warmth
      SK38 Charged Bolt
      SK39 Ice Bolt
      SK40 Cold Enchant
      SK41 Inferno
      SK42 Static Field
      SK43 Telekinesis
      SK44 Frost Nova
      SK45 Ice Blast
      SK46 Blaze
      SK47 Fire Ball
      SK48 Nova
      SK49 Lightning
      SK50 Shiver Armor
      SK51 Fire Wall
      SK52 Enchant Fire
      SK53 Chain Lightning
      SK54 Teleport
      SK55 Glacial Spike
      SK56 Meteor
      SK57 Thunder Storm
      SK58 Energy Shield
      SK59 Blizzard
      SK60 Chilling Armor
      SK61 Fire Mastery
      SK62 Hydra
      SK63 Lightning Mastery
      SK64 Frozen Orb
      SK65 Cold Mastery
      SK369 Ice Barrage
      SK376 Combustion
      SK383 Lesser Hydra
    • Necromancer
      Code Skill
      SK66 Amplify Damage
      SK67 Teeth
      SK68 Bone Armor
      SK69 Skeleton Mastery
      SK70 Raise Skeleton Warrior
      SK71 Dim Vision
      SK72 Weaken
      SK73 Poison Strike
      SK74 Corpse Explosion
      SK75 Clay Golem
      SK76 Iron Maiden
      SK77 Terror
      SK78 Bone Wall
      SK79 Golem Mastery
      SK80 Raise Skeletal Mage
      SK81 Confuse
      SK82 Life Tap
      SK83 Desecrate
      SK84 Bone Spear
      SK85 Blood Golem
      SK86 Attract
      SK87 Decrepify
      SK88 Bone Prison
      SK89 Raise Skeleton Archer
      SK90 Iron Golem
      SK91 Lower Resist
      SK92 Poison Nova
      SK93 Bone Spirit
      SK94 Fire Golem
      SK95 Revive
      SK367 Blood Warp
      SK374 Curse Mastery
      SK381 Dark Pact
    • Paladin
      Code Skill
      SK96 Sacrifice
      SK97 Smite
      SK98 Might
      SK99 Prayer
      SK100 Resist Fire
      SK101 Holy Bolt
      SK102 Holy Fire
      SK103 Thorns
      SK104 Defiance
      SK105 Resist Cold
      SK106 Zeal
      SK107 Charge
      SK108 Blessed Aim
      SK109 Cleansing
      SK110 Resist Lightning
      SK111 Vengeance
      SK112 Blessed Hammer
      SK113 Concentration
      SK114 Holy Freeze
      SK115 Vigor
      SK116 Conversion
      SK117 Holy Shield
      SK118 Holy Shock
      SK119 Sanctuary
      SK120 Meditation
      SK121 Fist of the Heavens
      SK122 Fanaticism
      SK123 Conviction
      SK124 Redemption
      SK125 Salvation
      SK364 Holy Nova
      SK371 Holy Light
      SK378 Joust
    • Barbarian
      Code Skill
      SK126 Bash
      SK127 Sword Mastery
      SK128 General Mastery
      SK129 Mace Mastery
      SK130 Howl
      SK131 Find Potion
      SK132 Leap
      SK133 Double Swing
      SK134 Polearm and Spear Mastery
      SK135 Throwing Mastery
      SK136 Spear Mastery
      SK137 Taunt
      SK138 Shout
      SK139 Stun
      SK140 Double Throw
      SK141 Combat Reflexes
      SK142 Find Item
      SK143 Leap Attack
      SK144 Concentrate
      SK145 Iron Skin
      SK146 Battle Cry
      SK147 Frenzy
      SK148 Increased Speed
      SK149 Battle Orders
      SK150 Grim Ward
      SK151 Whirlwind
      SK152 Berserk
      SK153 Natural Resistance
      SK154 War Cry
      SK155 Battle Command
    • Druid
      Code Skill
      SK221 Raven
      SK222 Poison Creeper
      SK223 Werewolf
      SK224 Lycanthropy
      SK225 Firestorm
      SK226 Oak Sage
      SK227 Summon Spirit Wolf
      SK228 Werebear
      SK229 Molten Boulder
      SK230 Arctic Blast
      SK231 Carrion Vine
      SK232 Feral Rage
      SK233 Maul
      SK234 Fissure
      SK235 Cyclone Armor
      SK236 Heart of Wolverine
      SK237 Summon Dire Wolf
      SK238 Rabies
      SK239 Fire Claws
      SK240 Twister
      SK241 Solar Creeper
      SK242 Hunger
      SK243 Shock Wave
      SK244 Volcano
      SK245 Tornado
      SK246 Spirit of Barbs
      SK247 Summon Grizzly
      SK248 Fury
      SK249 Armageddon
      SK250 Hurricane
      SK370 Gust
    • Assassin
      Code Skill
      SK251 Fire Blast
      SK252 Claw and Dagger Mastery
      SK253 Psychic Hammer
      SK254 Tiger Strike
      SK255 Dragon Talon
      SK256 Shock Web
      SK257 Blade Sentinel
      SK258 Burst of Speed
      SK259 Fists of Fire
      SK260 Dragon Claw
      SK261 Charged Bolt Sentry
      SK262 Wake of Fire
      SK263 Weapon Block
      SK264 Cloak of Shadows
      SK265 Cobra Strike
      SK266 Blade Fury
      SK267 Fade
      SK268 Shadow Warrior
      SK269 Claws of Thunder
      SK270 Dragon Tail
      SK271 Chain Lightning Sentry
      SK272 Wake of Inferno
      SK273 Mind Blast
      SK274 Blades of Ice
      SK275 Dragon Flight
      SK276 Death Sentry
      SK277 Blade Shield
      SK278 Venom
      SK279 Shadow Master
      SK280 Phoenix Strike
      SK366 Lightning Sentry
    • Other
      Code Skill
      SK357 Blink
      SK380 Blade Dance
      SK391 Lesser Fade
      SK400 Bone Nova

      Value Condition IDs

      Certain value conditions (MAPID, PREFIX, SUFFIX, STAT360) are slightly different than most others, referring to distinct zone/affix/corruption IDs instead of the value for attributes or other item stats with value ranges. Some other value conditions such as GEMLEVEL, GEMTYPE, RUNE, or DIFF behave in a similar fashion, but their IDs aren't listed in this section due to having relatively few possible values.

      MAPID IDs

      MAPID refers to the zone (or map) the character is currently in. When using a portal, the zone ID won't update immediately so any items within a screen length of the portal will be displayed as if the character was still in the previous zone. If the character walks a couple screen lengths away and returns, the ID will be updated and those items will be displayed as expected.

      ItemDisplay[(MAPID=1 OR MAPID=40 OR MAPID=75 OR MAPID=103 OR MAPID=109)]: %NAME%{%NAME%} shows all items from towns, including shopped items and any items in character inventories/stashes when the game began

      ItemDisplay[yps CLVL>89 !(MAPID>160 MAPID<164)]: hides antidotes at level 90+ unless they're found in Rathma zones

      ItemDisplay[key !MAPID=39]: hides keys unless they were found within the cow level

      ItemDisplay[ear (MAPID=157 OR MAPID=159)]: hides player ears found within the PvP duel arenas

      • ID Zone
        1 Rogue Encampment
        2 Blood Moor
        3 Cold Plains
        4 Stony Field
        5 Dark Wood
        6 Black Marsh
        7 Tamoe Highland
        8 Den of Evil
        9 Cave Level 1
        10 Underground Passage Level 1
        11 Hole Level 1
        12 Pit Level 1
        13 Cave Level 2
        14 Underground Passage Level 2
        15 Hole Level 2
        16 Pit Level 2
        17 Burial Grounds
        18 Crypt
        19 Mausoleum
        20 Forgotten Tower
        21 Tower Cellar Level 1
        22 Tower Cellar Level 2
        23 Tower Cellar Level 3
        24 Tower Cellar Level 4
        25 Tower Cellar Level 5
        26 Monastery Gate
        27 Outer Cloister
        28 Barracks
        29 Jail Level 1
        30 Jail Level 2
        31 Jail Level 3
        32 Inner Cloister
        33 Cathedral
        34 Catacombs Level 1
        35 Catacombs Level 2
        36 Catacombs Level 3
        37 Catacombs Level 4
        38 Tristram
        39 Moo Moo Farm (Cows)
      • ID Zone
        40 Lut Gholein
        41 Rocky Waste
        42 Dry Hills
        43 Far Oasis
        44 Lost City
        45 Valley of Snakes
        46 Canyon of the Magi
        47 Sewers Level 1 (Act 2)
        48 Sewers Level 2 (Act 2)
        49 Sewers Level 3
        50 Harem Level 1
        51 Harem Level 2
        52 Palace Cellar Level 1
        53 Palace Cellar Level 2
        54 Palace Cellar Level 3
        55 Stony Tomb Level 1
        56 Halls of the Dead Level 1
        57 Halls of the Dead Level 2
        58 Claw Viper Temple Level 1
        59 Stony Tomb Level 2
        60 Halls of the Dead Level 3
        61 Claw Viper Temple Level 2
        62 Maggot Lair Level 1
        63 Maggot Lair Level 2
        64 Maggot Lair Level 3
        65 Ancient Tunnels
        66 Tal Rasha's Tomb 1
        67 Tal Rasha's Tomb 2
        68 Tal Rasha's Tomb 3
        69 Tal Rasha's Tomb 4
        70 Tal Rasha's Tomb 5
        71 Tal Rasha's Tomb 6
        72 Tal Rasha's Tomb 7
        73 Tal Rasha's Chamber
        74 Arcane Sanctuary
      • ID Zone
        75 Kurast Docks
        76 Spider Forest
        77 Great Marsh
        78 Flayer Jungle
        79 Lower Kurast
        80 Kurast Bazaar
        81 Upper Kurast
        82 Kurast Causeway
        83 Travincal
        84 Arachnid Lair
        85 Spider Cavern
        86 Swampy Pit Level 1
        87 Swampy Pit Level 2
        88 Flayer Dungeon Level 1
        89 Flayer Dungeon Level 2
        90 Swampy Pit Level 3
        91 Flayer Dungeon Level 3
        92 Sewers Level 1 (Act 3)
        93 Sewers Level 2 (Act 3)
        94 Ruined Temple
        95 Disused Fane
        96 Forgotten Reliquary
        97 Forgotten Temple
        98 Ruined Fane
        99 Disused Reliquary
        100 Durance of Hate Level 1
        101 Durance of Hate Level 2
        102 Durance of Hate Level 3
      • ID Zone
        103 The Pandemonium Fortress
        104 Outer Steppes
        105 Plains of Despair
        106 City of the Damned
        107 River of Flame
        108 Chaos Sanctuary
        109 Harrogath
        110 Bloody Foothills
        111 Frigid Highlands
        112 Arreat Plateau
        113 Crystalline Passage
        114 Frozen River
        115 Glacial Trail
        116 Drifter Cavern
        117 Frozen Tundra
        118 The Ancients' Way
        119 Icy Cellar
        120 Arreat Summit
        121 Nihlathak's Temple
        122 Halls of Anguish
        123 Halls of Pain
        124 Halls of Vaught
        125 Abaddon
        126 Pit of Acheron
        127 Infernal Pit
        128 Worldstone Keep Level 1
        129 Worldstone Keep Level 2
        130 Worldstone Keep Level 3
        131 Throne of Destruction
        132 Worldstone Chamber
      • ID Zone
        133 Matron's Den
        134 Forgotten Sands
        135 Furnace of Pain
        136 Uber Tristram
        137 Diablo-Clone's Fortress
        138 Unused
        139 Arreat Battlefield
        140 Unused
        141 Sewers of Harrogath
        142 Horazon's Memory
        143 Ruins of Viz-Jun
        144 River Of Blood
        145 Phlegethon
        146 Ancestral Trial
        147 Kehjistan Marketplace
        148 Torajan Jungle
        149 Bastion Keep
        150 Throne of Insanity
        151 Tomb of Zoltun Kulle
        152 Cathedral of Light
        153 Cathedral of Light Basement
        154 Blood Moon
        155 Fall of Caldeum
        156 Pandemonium Citadel
        157 Desert PvP Duel Arena
        158 Lost Temple
        159 Moor PvP Duel Arena
        160 Canyon of Sescheron
        161 Ruins of Necropolis
        162 Decaying Swamplands
        163 The Void
        164 Plains of Torment
        165 Pit of Despair
        166 Battle Royale Arena
        167 Sanatorium
        168 Uber Ancients
        169 Shadows of Westmarch
        170 Royal Crypts
        171 Sanctuary of Sin
        172 Black Abyss
        173 Unused
        174 Ruined Cistern
        175 Ashen Plain

        SUFFIX and PREFIX IDs

        SUFFIX refers to the suffixes items have whereas PREFIX refers to the prefixes they have. They're similar to the numbered attribute codes, but refer to affixes rather than affix attributes.

        Unlike other value conditions, IDs for SUFFIX and PREFIX are not all mutually exclusive with eachother. Rules can have multiple SUFFIX or PREFIX conditions and still match with valid items.

        ItemDisplay[RARE SUFFIX=662 SUFFIX=158]: appends a red ! to rare items that have a chance to cast Amplify Damage on hit and also have Ignore Target's Defense


        Affix IDs

        STAT360 IDs

        STAT360 refers to which corruption items have.

        ItemDisplay[STAT360>0]: %RED%%NAME% changes corrupted items to be red

        • ID Corruption
          0 Not Corrupted
          1 ?
          2 Enhanced Damage
          3 Attack Rating
          4 Life after Hit
          5 Attack Rating vs Demons, Damage to Demons
          6 Reduced Requirements
          7 Magic Find
          8 Life After Each Kill
          9 Mana After Each Kill
          10 Max Mana
          11 Faster Hit Recovery
          12 Ps Enemy Fire Res Reduc
          13 Ps Enemy Lightn Res Reduc
          14 Ps Enemy Cold Res Reduc
          15 Ps Enemy Psn Res Reduc
          16 Faster Cast
          17 Life Leech, Enhanced Damage
          18 Thorns per Level
          19 Deadly Strike
          20 Increased Attack Speed
          21 Crushing Blow
          22 Increased Attack Speed, Enhanced Damage
          23 Increased Attack Speed, Crushing Blow
          24 Ignore Targets Defense, Enhanced Damage
          25 Deadly Strike, Enhanced Damage
        • ID Corruption
          26 Attack Rating, Enhanced Damage
          27 All Skills
          28 Fire Mastery, Faster Cast
          29 Cold Mastery, Faster Cast
          30 Lightning Mastery, Faster Cast
          31 Poison Mastery, Faster Cast
          32 Sockets
          33 Enhanced Defense
          34 Replenish Life
          35 Faster Hit Recovery
          36 Fire Resist
          37 Cold Resist
          38 Lightning Resist
          39 Poison Resist
          40 Mana Recovery Bonus
          41 Thorns per Level
          42 Faster Cast
          43 Enhanced Life
          44 Faster Run Walk
          45 Cannot Be Frozen
          46 Dmg Reduction
          47 Magic Dmg Reduction
          48 Indestructible
          49 Indestructible, Enhanced Defense
          50 All Skills
        • ID Corruption
          51 All Res
          52 Dmg Reduction Pct
          53 Max Fire Resist, Fire Resist
          54 Max Cold Resist, Cold Resist
          55 Max Lightning Resist, Lightning Resist
          56 Max Poison Resist, Poison Resist
          57 Life Leech
          58 Mana Leech
          59 Attack Rating, Light Radius
          60 Gold Find
          61 Max Hp
          62 Curse Resistance
          63 Piercing Attack
          64 Faster Block
          65 All Attributes
          66 Reduce Targets Defense
          67 To Block
          68 Strength
          69 Dexterity
          70 Vitality
          71 Energy
          72 All Res Max
          73 To Block, Faster Block


          Source of Information on this Page

          Corruption IDs can be determined from PD2's BH files.

          See PD2's text files for updated info when game changes are made. The files are best viewed in table format since they are tab-delineated, so they should be opened with Microsoft Excel (or similar programs) or their text should be copy/pasted into a spreadsheet. For convenience, many of the game's text files are also saved on Google Drive: D2 Text File Tables.

          Prefix/suffix IDs can be determined from PD2's MagicPrefix.txt and MagicSuffix.txt files. All lines have their own ID except the line between the classic affixes and the expansion affixes, which is skipped. The suffix IDs begin counting from 1 and the prefix IDs continue from where the suffixes end.

          Zone IDs can be determined from PD2's Levels.txt file.

          If the files in these locations are not updated by others, you can extract them yourself from patch_d2.mpq (found in Diablo II/ProjectD2) using an MPQ editor and D2 listfile - the text files will be in /data/global/excel.