Item Filtering

来自Project Diablo 2 国服 wiki
跳到导航 跳到搜索

物品过滤器可以让玩家们去筛选出不想看到的物品,并可改变那些未被过滤物品的显示情况。游戏内设置有一些物品过滤的简单设置,玩家也可根据自己的喜好自定义过滤细则。PD2's Filtering 是基于 BH 1.9.9做的开源项目.

其他自定义选择,请参考 Customization.

过滤器

物品过滤器(Item filters,也称lootfilters)是对游戏中物品显示的规则和描述的文档。默认的过滤器只有一些简单的规则,可对一些物品添加描述(比如map orbs和可堆叠的珠宝/符文),其他的都跟原版游戏中一样。

默认情况下,我们的过滤器不想再使用ProjectD2 directory 目录下的default.filter文件了,它只有几条简单的过滤规则,除非被特别改动过。如果loot.filter也在同样的目录下,它会生效去替代默认的文件。如果在游戏登录器界面中选择了一个过滤器,它就存于 ProjectD2\filters 目录,并通过ProjectD2 directory 目录下loot.filter系统关联到游戏中。 这些文件只有用UTF-8 编码方可生效(默认情况下)。但也需要ANSI编码来支持以显示一些特殊字符:special characters


在游戏登录器界面 launcher 可以选择过滤器,在游戏中设置菜单中可以启用。

如需手动安装,请下载过滤器并保存到Diablo II\ProjectD2\filters\local 目录下,然后在游戏登录器上选它。游戏中的与之相关的设置必须启用。

游戏内设置

In-Game Settings
Settings menu

设置菜单可以从游戏内左下角进入。每个选项都可以设置热键。

这两个选项不受过滤器影响:

  • 永久显示物品: 地上的物品全部显示出来,无需按住alt查看。
  • 显示物品变量: 在物品信息中显示物品属性的变量范围

以下选项 simple rules 可改变某些特定物品的显示. 如果开启了物品过滤器,除了 显示物品等级 所改变的提示信息,其他的都将被覆盖

  • 显示物品等级: 添加了物品等级信息如 (L99)
    • 所有物品都添加了物品等级
    • 为魔法/黄金/手工物品添加词缀等级,除非词缀等级=物品等级
  • 显示无形物品: 添加 (Eth)
  • 显示孔数: 添加镶孔数如 (4)
  • 显示符文编号: 添加符文编号如 [33]
  • Alt物品样式: 对无形物品、物品等级和符文编号选项使用不同的样式
  • 多彩模式: 根据符文编号显示特定颜色(1-10白色,1-16棕黄色,17-22桔色,23-33红色)
  • 物品短名称: 简写药水/卷轴名称

以下是会影响自定义过滤的一些主要选项:

  • 开启Loot过滤: 开启过滤
  • 物品掉落提示: 某些物品掉落时显示通知
  • 物品接近提示: 正在接近某些物品时显示靠近通知
  • 物品明细提示: 使通知内容符合显示的物品名
  • 提示更加丰富: 在通知中添加“掉落”或“靠近”(优先级低于 物品明细提示)

过滤等级: 影响过滤器内使用的规则和通知模式

默认的重新加载过滤的热键是数字键盘0,在配置文件中可修改 configuration file.

公用过滤器表

当前赛季 season 更新的用绿色左了高亮. 旧过滤器用红色做了高亮.

Filter Updated Author Brief Description
Kryszard's PD2 Loot Filter 2024-04-17
ver 9.0.7
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-16
(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-16-09
(Season 9)
Kassahi 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 2023-09-21 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!
比较旧的过滤器
Filter Updated Author Description
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.com 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.

Guides and Links指引和帮助,这页面里有一些可以对编辑过滤器有帮助的工具

常见问题

这一部分列出了一些关于过滤器的常见问题

  1. 对我来说那个过滤器是最好的?
    • 没有所谓“最好”的过滤器。o 不同的过滤器都是依据不同的原因而制作的。物品筛选层级显示,提供哪些、多少额外的信息,如何修改了物品的外观,理念和设计都各有不同。如果不清楚您对过滤器的具体需求,那评价其高下实属困难。大家可能都只了解几款过滤器而已。所以建议您根据自己所需去挑选,适合自己的才是最好的。
  2. 对比不同的过滤器最好的方法是什么?
    • 过滤器一般包含了它的筛选描述、特点、和物品显示方式。有一些甚至包含图示。• 如果这些参考还不够,您可以访问FilterBird逐一对比查看不同的滤器显示的物品。并且,单机游戏也可以使用物品过滤,在游戏中可以修改也可以重新加载过滤器。
  3. 如果我想用个自定义的过滤器,我怎么保存我改过的内容?
    • 把自己定义过滤器放在目录 ProjectD2\filters\local 下(咱们养老服是ZYLPD2\filters\local),然后在游戏登录器上选择本地过滤器。• 本地游戏过滤器无法自动更新,如果您的是一款公共过滤器,您就得经常关注它,如果有重要内容更新就及时同步。
  4. 想回到最初的游戏的样子,如何关闭过滤器?
    • 可以通过在游戏中关闭游戏过滤器来关闭。 如果要彻底恢复默认,需要关闭游戏和登录器,在ProjuctD2文件夹中(我们是ZYLPD2)删除过滤器的文件夹以及 default.filter 和 loot.filter,然后再登录游戏
  5. 我和把过滤器和插件一起用吗?
    • 同一套过滤器配置即可被用于线上游戏,也可以被用于单机游戏。• 从登录器进入游戏时,过滤器就会自动更新 —— 在登录器上选一个过滤器,点开始游戏,会自动更新。• 如果您玩的是线上游戏,这一步也可以使过滤器升级。然后,关闭游戏/登录器,再打开游戏和插件。
  6. 过往赛季的过滤器在这个赛季还能用吗?
    • 除非旧版过滤器过于简易,它很可能表现得不尽如人意。这里不建议您使用老旧的的过滤器
  7. 我找不到设置按钮了
    • 关闭游戏和登录器,删除UI.ini,然后重新登录游戏,设置按钮会复原了。
  8. 我的游戏登录器上没有任何过滤器可选
    • 关闭游戏登录器并重新启动它。如果还不显示,再重复以上操作,也有可能是因为服务器挂了。另外,如果您电脑上有杀毒软件或者防火墙,请试下把游戏登录器加入杀软或防火墙白名单.
  9. 我的游戏登录器上过滤器位置上显示“敬请期待”
  10. 我的过滤器不生效
    • in-game settings 游戏内设置必须设置正确.
    • 使用游戏登录器选择过滤器。如果您没使用游戏登录器,以下是比较可能的情况:
      • 您有两套PD2,过滤器放错文件夹了。
      • 过滤器另存时起错名了。(比如:default.filter.filter, default.txt, or default.filter.tx)
      • PD2所在的父文件夹DiabloII文件夹的外层,还有一个DiabloII的文件夹(文件夹套娃了)
      • 在过滤器文件里粘贴进规则后,没有保存并关闭。
  11. 我的过滤器在显示某些物品时出现奇怪字符
    • special characters某些特殊字符只有当您的过滤器文件是ANSI编码时才会正确显示,而不是默认的UTF-8编码。 • 大多数文本编辑器都允许修改编码。例如Notepad++里,编码 是主菜单栏上的一个主要功能。


筛选语法规则

过滤器包含物品如何在游戏内显示的规则。. 每条规则都有输入(Input)输出(Output) 并遵循以下基本语法格式:

ItemDisplay[ 输入(Input) ]: 输出(Output)

“输入”指定物品必须满足的一组“条件”,规则才能应用于该物品,“输出”指定找到匹配物品时使用的操作(“文本”或“关键字”)。

如果某一行语句不遵循这种格式,它将不会被视为规则,这意味着它不会影响对应物品在游戏中的显示方式。如果想故意忽略这一行,它应该以“”//“”(双斜线)开头,这样计算机就可以立即忽略它,而不是花时间检查行的其余部分以确定它是否是一条规则。

过滤规则按从上到下的顺序进行处理。根据它们满足的条件的第一规则的输出来显示项目。如果对应的规则不包括“”“%CONTINUE%”“”“”,则该过程将暂停,并且不再检查其他规则。通过这种方式,比其他规则更高的规则具有更高的优先级。唯一的例外是notification keywords,无论它们在筛选器中的位置如何,都适用。

最简单的规则是没有任何条件或输出的规则。在没有条件的情况下,该规则将适用于所有物品。如果没有输出,则不会显示这些物品的任何内容。

ItemDisplay[]: 隐藏所有物品

下一个最简单的规则是使用默认名称外观显示所有物品。输出关键字“”“%NAME%”“”“”指的是物品的默认名称外观,并且根据显示的项目而有所不同。默认情况下,所有物品都会显示出来——在开始处理过滤器的规则之前,游戏基本上将此规则添加到过滤器的底部。

ItemDisplay[]: %NAME% 以默认名称显示所有物品

ItemDisplay[]: %NAME%{%NAME%} 以默认名称和描述显示所有物品

条件Conditions

条件描述规则应应用于哪些物品。

大部分条件指的是单个物品或物品组的判定。判定遵循布尔逻辑(即是与否),具体判定(判定为是或者不是某个物品)取决于要查看的物品是否符合规则。

ItemDisplay[key]: 隐藏钥匙(仍然可以从商家那里购买)

注释:输入条件为“KEY”(即是否是钥匙),如果是钥匙,则隐藏不显示(因为输出部分为空,即不显示)。

“值”条件通常指被查看项的特定属性的值。它们每个都有三部分:代码、比较运算符(<,>,=), 和要比较的值

ItemDisplay[GOLD<100]: 如果金币<100,则隐藏它们

具有多个条件的规则可以使用逻辑运算符(“AND”、“OR”、“!”)来指定条件之间的关系。如果在条件之间不使用运算符(即只有1个空格),则规则会假定逻辑运算符为为“AND”。

ItemDisplay[NMAG AND SOCKETS=1 AND CLVL>10]: 如果角色在10级以上,则隐藏仅1孔的普通物品

注释:输入条件为“非魔法物品 AND 孔数=1 AND 角色等级>10”,如果符合这个条件则隐藏名称。

ItemDisplay[NMAG SOCKETS=1 CLVL>10]: 如果角色在10级以上,则隐藏仅1孔的普通物品(同上)

注释:这条语法规则与上一条相比,少了逻辑运算符“AND”,即没有任何逻辑运算符,则规则仍默认多个条件间的逻辑运算符为“AND”

若要将规则应用于一组条件中的任何一个物品,请使用“OR”和圆括号()。

ItemDisplay[NMAG (BOOTS OR GLOVES OR BELT) CLVL>10]: 如果角色在10级以上,则隐藏普通的靴子/手套/腰带

()括号也可以在其他方面帮助完成条件组合。 ItemDisplay[(GOLD<100 OR (GOLD<1000 CLVL>50))]: 如果金币小于100,则隐藏金币;如果角色在50级以上,则小于1000的金币都被隐藏

否定(有时称为“NOT”运算符)使条件的含义与其他条件的含义相反。若要否定条件,请在其前面使用“”。

ItemDisplay[MAG ETH ARMOR !ID]: 隐藏未鉴定的无形的魔法防具

注释:输入条件为“魔法物品+无形+防具+未鉴定(ID表示已鉴定,前面加了!表示未鉴定)”

条件组合可以用同样的方式进行否定

ItemDisplay[MAG !ID HELM !(BAR OR DRU OR ELT)]: 隐藏非野蛮人头盔、德鲁伊头盔或精英的未鉴定魔法头盔

注释:输入条件为“魔法物品+未鉴定(!鉴定)+非野蛮人头盔、德鲁伊头盔或精英的头盔”,同时满足这3个条件的被隐藏


In addition to the standard comparison operators, value conditions can also be used with the "BETWEEN" operator (~) to specify value ranges.

ItemDisplay[NMAG SOCKETS~1-2]: hides regular items with 1-2 sockets

ItemDisplay[NMAG SOCKETS>0 SOCKETS<3]: hides regular items with 1-2 sockets (same as above)


The following attribute codes can have addition applied between them prior to the condition being evaluated: STR, DEX, STAT3 (vitality) LIFE, MANA, FRES, CRES, LRES, PRES, EDEF, EDAM, FCR, AR, REPLIFE, STAT60 (life leech), STAT62 (mana leech)

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

输出

规则的输出(规则第二部分中的文本和关键字)描述了匹配项应该如何显示

项目的默认名称可以用关键字“”“%name%”“”引用,并通过添加文本进行修改。要缩短名称或完全更改名称,请写出新名称. 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 in many places (including this wiki) but does show up in-game
  • These characters display as "?" if HD text is disabled: ·¸
  • These characters aren't displayed at all if HD text is enabled: ¬­÷±¤ (including soft hyphen)


ItemDisplay[hdm]: %NAME% 赫拉迪克·马勒斯 注释:显示默认名称

ItemDisplay[hdm]: 恰西的 %NAME% “恰西的”赫拉迪克·马勒斯 注释:在默认名称前增加修饰词

ItemDisplay[hdm]: 恰西最喜欢的锤子 恰西最喜欢的锤子 注释:用自己的描述文本取代了默认的名称


文本和关键字可以一起使用来添加额外的信息,将名称的某些部分更改为不同的颜色,等等。 请参阅下面的 all keywords.

ItemDisplay[SOCKETS>0]: %NAME% %GRAY%[%SOCKETS%] 在有凹槽物品的物品名称后面显示灰色的[X],X为凹槽的数量

The price of an item (displayed above the name when a merchant is selling it) can be recolored by using a color keyword after the rest of the output.

ItemDisplay[SHOP]: %NAME%%WHITE% changes the price color for shop items to white

与其他地方一样,双斜杠(//)的功能是在文件中写入注释,这些注释将被计算机忽略。 Everything afterward will be ignored.

ItemDisplay[NMAG (aqv OR cqv)]: // 隐藏普通的箭矢/弩矢


When frequently enabling or disabling parts of a filter, putting // in front of those parts instead of deleting them can result in faster editing.

ItemDisplay[tsc]: //%NAME% 这条规则隐藏了TP滚动。但可以通过删除%NAME%前面的"//"来将规则改为显示它们。

//ItemDisplay[MAG (aqv OR cqv)]: // hides magic quivers if enabled 这条 "规则 "将被忽略,但可以通过删除ItemDisplay前的第一个"//"来实现重新启用。


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. 物品可以通过在其名称的两侧添加空格来突出显示,只要在它们和物品名称的边缘之间有一个关键词或非空格字符。每条规则的Output,周围的空白会在评估前被移除(先是空格,后是制表符),所以制表符往往是最好的非空格字符。

ItemDisplay[RUNE>9]: %ORANGE% %NAME% %ORANGE% 为#9以上的符文增加了1个空格的高亮显示(标签在维基上不能正常显示,所以用%ORANGE%代替)。


%CONTINUE% 关键字将%NAME% 的内容替换为当前规则的Output(覆盖默认名称或先前存储的输出)并使程序继续检查规则。这允许多个规则根据不同的条件来修改一个物品的外观。

ItemDisplay[SOCKETS>0]: %NAME% [%SOCKETS%]%CONTINUE% 在有凹槽物品的物品名称后面显示灰色的[X],X为凹槽的数量(continues)

ItemDisplay[ETH]: eth %NAME%%CONTINUE% 在无形物品的名称前面显示eth(continues)

ItemDisplay[]: %NAME% 显示所有的项目(根据这条规则前面的规则进行显示修正)

如果没有%CONTINUE%,这就需要为不同条件的每一个可能的组合制定单独的规则,每增加一个条件,规则的数量就会呈指数增长:

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

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

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

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


物品描述可以通过在{}(大括号)内使用文本和关键词进行修改。大括号外的内容适用于物品名称,大括号内的内容适用于物品描述

Item Description Example

ItemDisplay[]: %NAME%{$DARK_GREEN%$%PRICE%} 物品价格显示在描述中,如深绿色的$35000

隐藏物品时不考虑物品描述,所以如果隐藏的物品有描述,仍然可以显示。

ItemDisplay[]: %NAME%{%NAME%} 显示的物品名称和它们的描述

ItemDisplay[]: {%NAME%} 物品名称被隐藏,但其描述仍然显示

ItemDisplay[]: 物品名称和它们的描述都被隐藏


%CONTINUE% 关键字只有在大括号外使用时才起作用,并且同时适用于物品名称和物品描述。

ItemDisplay[]: %NAME%{Item Level: %ILVL%}%CONTINUE% 在物品描述中显示物品等级 (continues)

ItemDisplay[]: %NAME%{%NAME%, Affix Level: %ALVL%} 在物品描述中添加显示带有逗号分隔符的词缀等级


%NL% 关键字在前一行之上添加一个新行,可以用在所有物品的描述或这些物品名称:已识别的魔法或以上等级物品,符文之语,以及商店中的物品。

ItemDisplay[]: %NAME%{Affix Level: %ALVL%%NL%Item Level: %ILVL%} 在物品描述中分行显示物品/词缀等级(与Show Item Level的设置效果相同)。


The number of displayed characters for an item's name is capped at 56. The internal limit for an item's name includes additional characters for color keywords (3 characters each) and %NL% (2 characters each) and goes up to 125.

For example, a name that uses all 56 text characters and also uses 23 color keywords (69 internal characters) would have an internal size of 125 (56+69) and work as expected, but attempting to add another color will break things.

The cap for item descriptions is much higher at 500 total characters and, unlike for item names, is the same for both displayed characters and internal characters.


过滤 等级

Default Filter Strictness Levels

过滤级别可以从游戏内的设置菜单中选择,并将根据过滤器中使用的FILTLVL/TIER代码来改变哪些规则/通知被启用。默认情况下,有两个级别: "标准"和 "显示所有物品"。"标准"级别是正常的过滤器行为,在没有任何过滤器级别变化的情况下会看到,而 "显示所有物品 "将只是防止任何项目被过滤掉(隐藏)。

要启用自定义过滤器级别,在过滤器文本的顶部使用以下格式:

ItemDisplayFilterName[]: Low Strictness 增加了一个新的过滤器筛选级别,命名为 "Low Strictness"

ItemDisplayFilterName[]: Medium Strictness 增加了一个新的过滤器筛选级别,命名为"Medium Strictness"

ItemDisplayFilterName[]: High Strictness 增加了一个新的过滤器筛选级别,命名为"High Strictness"


除了始终可用的0级("显示所有物品")之外,最多可以启用9个其他级别,它们在过滤器顶部列出的顺序决定了在与FILTLVL/TIER代码一起使用时,哪个数字将引用它们(例如,FILTLVL=1%TIER-1%,用于第一个自定义级别)。

这些代码可以用来创建具有不同筛选等级的同一过滤器的独立版本(在需要时可以交换级别),包括额外信息的独立版本,制作让玩家可以更容易地参考的不常见物品的信息提示工具,让玩家在正常游戏中不会混淆物品。或者甚至将完全不同的过滤器合并成一个,以便它们可以更容易地在不同的场景地交换着使用。


ItemDisplay[yps FILTLVL>1]: 当过滤等级设置为2或者更高级别时,隐藏解毒药水

ItemDisplay[MAG !ID cm1]: %NAME%%TIER-2%%DOT-97% 如果选择了2级或更低的过滤级别,则显示未鉴定的魔法小符的通知(所有级别下仍会显示小地图图标)


如果一条规则不包括FILTLVL 作为条件,那么无论选择什么过滤级别,它都不会受到限制。

如果一个规则包括notification keyword,但包括TIER关键字,它将像%TIER-9% 那样运作:它将在所有过滤级别上发出通知,而不是受限于所选的任何过滤级别


筛选语法 代码

输出 关键字

颜色

Text Colors:
Normal vs Glide

这些关键字改变后续文本的颜色。如果没有,将使用物品名称的默认颜色来代替。

Code Color Default Use
%WHITE% White regular items
%GRAY% Gray regular items (ethereal or socketed)
%BLUE% Blue magic items, item descriptions
%YELLOW% Yellow rare items
%GOLD% Gold unique items, runeword names
%GREEN% Green set items
%DARK_GREEN% Dark Green
%TAN% Tan
%BLACK% Black
%PURPLE% Purple
%RED% Red broken/unusable items
%ORANGE% Orange crafted items, endgame quest items, runes
%CORAL% Coral custom
%SAGE% Sage custom
%TEAL% Teal custom
%LIGHT_GRAY% Light Gray custom
  • 自定义文本颜色只适用于Glide或启用HD文本,其他功能与%GRAY% 相同。

一些物品的默认颜色被内置在%NAME%,所以除非它们的名字被完全重写,否则它们的颜色不会改变。这可能是unintended behavior,适用于符文、英雄旗帜以及除地图/竞技场卷轴和宝石碎片之外的PD2专用非装备物品。

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

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

输出代码 示例

代码 输出 详情
%NAME% 物品名称 物品的默认显示名称 -可以被%CONTINUE%修改/替换
%ILVL% 物品等级 1 - 99
%ALVL% 词缀等级 1 - 99
used to determine which affixes can roll for magic/rare/crafted items
%CRAFTALVL% 预期的手工物品词缀等级 1 - 99
如果该物品被角色用作手工材料,成品的ALVL将是多少?
%LVLREQ% 需求等级 0 - 99
%PRICE% 商店售价 1 - 35000
%QTY% 数量 0 - 350
%RANGE% 武器范围 0 - 5
%WPNSPD% 武器速度 -60 - 20
%RUNENUM% 符文编号 0 - 33
%RUNENAME% 符文名称 excludes "Rune" (e.g. "Vex" instead of "Vex Rune")
%GEMLEVEL% 宝石品质 1-5:碎裂的, 裂开的, 普通, 无瑕疵, 完美
%GEMTYPE% 宝石种类 Amethyst, Diamond, Emerald, Ruby, Sapphire, Topaz, Skull
%CODE% 物品类别

此外,每个named attribute code(除了MAXDUR)和每个numbered attribute code也存在关键词。示例如下:

代码 输出 详情
%SOCKETS% 凹槽总数
%DEF% 总防御
%ED% 防御/伤害强化 用于防具为防御,
用于武器为伤害
%EDEF% +N% 防御强化 包含从符文之语和镶嵌物获得的加成
(ED 不包含这些)
%EDAM% +N% 伤害强化 包含从符文之语和镶嵌物获得的加成
(ED 不包含这些)
%AR% +N 命中值
%RES% 所有抗性 +N
%STR% +N 力量h
%DEX% +N 敏捷
%STAT1% +N 能量
%STAT3% +N 活力
%STAT36% 物理伤害减少 N%
%STAT58% +X 毒素伤害于 Y 秒内
bitrate N = (256X) / (25Y)
%STAT60% N% 生命于击中时偷取
%STAT62% N% 法力于击中时偷取
%STAT86% +N 生命于每杀一个敌人后
%STAT91% 需求 +N%
%STAT329% N% 火焰系伤害
%STAT330% N% 闪电系伤害
%STAT331% N% to 冰霜系伤害
%STAT332% N% to 毒素系伤害
%STAT357% N% 魔法系伤害
%SK48% +N 闪电新星 (仅限于法师) see multi-layered stats

通知 关键字

Minimap Icon Colors

这些关键词将物品目添加到通知列表中,并为其创建一个迷你地图图标。

迷你地图图标的颜色与关键词的十六进制2位颜色代码相对应。图标可以是黑色(00)、绿色(84)、红色(62),或图表中显示的任何其他颜色。请注意,'%MAP%可以不使用2位数的颜色代码,在这种情况下,图标将使用当前的文本颜色(如果没有设置颜色,则使用白色)。

多个关键词可以一起使用,以创建多色的迷你地图图标。


代码 详情
%BORDER-00% 通知 & 迷你地图图标 (大)
%MAP-00% 通知 & 迷你地图图标 (中等)
%DOT-00% 通知 & 迷你地图图标 (小)
%PX-00% 通知 & 迷你地图图标 (最小)

text colors相对应的2位十六进制代码列在下面。文本颜色有一个固定的内部机制,它们的边缘平滑处理以提高清晰度,所以它们的正常颜色在某些情况下看起来略有不同。

文本颜色 Hex (内部) Hex (常规)
White 1F 20
Gray C6 1D
Blue 94 97
Yellow 6A 6D
Gold D3 53
Green 7D 84
Dark Green 76 77
Tan 0E 5A
Black 00 00
Purple 9B 9B
Red 55 62
Orange 0B 60
Coral ? ?
Sage ? ?
Teal ? 9F
Light Gray ? ?


以下关键词只适用于详细通知被禁用的情况,不推荐使用。要禁用项目的文字通知,同时保留它们的迷你地图图标,请使用%TIER-0%代替

Code Details
%NOTIFY-0% 改变物品的文本通知颜色
%NOTIFY-DEAD% 禁用该物品的文本通知

NOTIFY关键词可以使用1位数的颜色代码(0-F),依次对应于这些颜色: 白,红,绿,蓝,金,灰,黑,棕,橙,黄,深绿,紫,绿,白,黑,白。如果用DEAD来代替颜色代码,该物品的通知将被禁用。

大多数过滤器都是为了与详细通知一起使用,所以通知与它们不兼容。请注意,如果没有启用详细通知掉落通知将只适用于物品最初掉落时(在第一次被拾起之前)。


所有的通知关键字都绕过了正常的规则处理程序。通常,规则是从上到下处理的,当找到一个匹配的规则(没有%CONTINUE%)时,这个过程就会停止。然而,通知关键字甚至可以在该过程停止后适用。这很可能是由于游戏对通知关键字的过滤文件进行了单独的处理--第一次处理忽略了通知关键字,第二次处理忽略了其他的东西。

特殊 关键字

代码 详情
%CONTINUE% 该项目将与其他规则进行比较,而不是直接基于当前规则显示
当前规则的输出被存储在%NAME%中。
%NL% 指定一个新的行(行是自下而上构建的)
只对ID !NMAG, RW, 或 SHOP物品(已鉴定的魔法或更高品质的物品,符文之语,或商店里面的物品)生效
{} 大括号内的内容适用于物品的描述,而不是物品的名称/标题
%TIER-0% 如果filter strictness级别高于0(数值可以是0-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 are also "mutable" in this way: CLVL, CRAFTALVL, DIFF, FILTLVL, MAPID, and CHARSTAT codes.

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

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 Helms 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 throwing knives/axes, all javelins, throwing potions
WP6 JAV Javelins includes Amazon javelins
WP7 SPEAR Spears includes Amazon spears
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
CLUB Clubs (mace subtype)
TMACE Tipped Maces (mace subtype)
HAMMER Hammers (mace subtype)
Class-Restricted Item Groups
Code Code Group
CL1 DRU Druid pelts
CL2 BAR Barbarian helms
CL3 DIN Paladin shields
CL4 NEC Necromancer shields
CL5 SIN Assassin weapons
CL6 SOR Sorceress weapons
CL7 ZON Amazon weapons
CLASS All class-restricted items


Item Codes

Armor
Type Code Item (Normal) Unique/Set Versions Code Item (Exceptional) Unique/Set Versions Code Item (Elite) Unique/Set Versions
Helms cap Cap Biggin's Bonnet
Infernal Cranium
Sander's Paragon
xap War Hat Peasant Crown
Cow King's Horns
uap Shako Harlequin Crest
skp Skull Cap Tarnhelm
Arcanna's Head
xkp Sallet Rockstopper ukp Hydraskull
hlm Helm Coif of Glory
Berserker's Headgear
xlm Casque Stealskull ulm Armet Steel Shade
fhl Full Helm Duskdeep
Isenhart's Horns
xhl Basinet Darksight Helm
Sazabi's Mental Sheath
uhl Giant Conch Overlord's Helm* (new)
msk Mask The Face of Horror
Cathan's Visage
xsk Death Mask Blackhorn's Face
Tal Rasha's Horadric Crest
usk Demonhead Andariel's Visage
bhm Bone Helm Wormskull
Tancred's Skull
xh9 Grim Helm Vampire Gaze
Natalya's Totem
uh9 Bone Visage Giant Skull
Trang-Oul's Guise
ghm Great Helm Howltusk
Sigon's Visor
xhm Winged Helm Valkyrie Wing
Guillaume's Face
uhm Spired Helm Veil of Steel
Nightwing's Veil
Ondal's Almighty
crn Crown Undead Crown
Iratha's Coil
Milabrega's Diadem
xrn Grand Crown Crown of Thieves
Hwanin's Splendor
urn Corona Crown of Ages
Griswold's Valor
Circlets ci0 Circlet Naj's Circlet ci2 Tiara Kira's Guardian ci3 Diadem Griffon's Eye
M'avina's True Sight
ci1 Coronet
Chests qui Quilted Armor Greyform
Arctic Furs
xui Ghost Armor Spirit Shroud uui Dusk Shroud Ormus' Robes
Dark Adherent
lea Leather Armor Blinkbat's Form
Vidala's Ambush
xea Serpentskin Armor Skin of the Vipermagi uea Wyrmhide
hla Hard Leather Armor The Centurion xla Demonhide Armor Skin of the Flayed One ula Scarab Husk
stu Studded Leather Twitchthroe
Cow King's Hide
xtu Trellised Armor Iron Pelt utu Wire Fleece The Gladiator's Bane
rng Ring Mail Darkglow
Angelic Mantle
xng Linked Mail Spirit Forge ung Diamond Mail
scl Scale Mail Hawkmail xcl Tigulated Mail Crow Caw
Hwanin's Refuge
ucl Loricated Mail Natalya's Shadow
chn Chain Mail Sparking Mail
Cathan's Mesh
xhn Mesh Armor Shaftstop uhn Boneweave Cage of the Unsullied* (new)
• rar instead of uhn
brs Breast Plate Venom Ward
Isenhart's Case
xrs Cuirass Duriel's Shell
Haemosu's Adamant
urs Great Hauberk
spl Splint Mail Iceblink
Berserker's Hauberk
xpl Russet Armor Skullder's Ire upl Balrog Skin Arkaine's Valor
Sazabi's Ghost Liberator
plt Plate Mail Boneflesh xlt Templar Coat Guardian Angel ult Hellforge Plate Naj's Light Plate
fld Field Plate Rockfleece xld Sharktooth Armor Toothrow uld Kraken Shell Leviathan
M'avina's Embrace
gth Gothic Plate Rattlecage
Sigon's Shelter
xth Embossed Plate Atma's Wail uth Lacquered Plate Dark Abyss* (new)
Tal Rasha's Guardianship
ltp Light Plate Heavenly Garb
Arcanna's Flesh
xtp Mage Plate Que-Hegan's Wisdom utp Archon Plate Purgatory (new)
ful Full Plate Mail Goldskin
Tancred's Spine
xul Chaos Armor Black Hades
Trang-Oul's Scales
uul Shadow Plate Steel Carapace
Aldur's Deception
aar Ancient Armor Silks of the Victor
Milabrega's Robe
xar Ornate Plate Corpsemourn
Griswold's Heart
uar Sacred Armor Templar's Might
Tyrael's Might
Immortal King's Soul Cage
Shields buc Buckler Pelta Lunata
Hsarus' Iron Fist
xuc Defender Visceratuant uuc Heater
sml Small Shield Umbral Disk
Cleglaw's Claw
xml Round Shield Moser's Blessed Circle
Whitstan's Guard
uml Luna Blackoak Shield
lrg Large Shield Stormguild
Civerb's Ward
xrg Scutum Stormchaser urg Hyperion
spk Spiked Shield Swordback Hold xpk Barbed Shield Lance Guard upk Blade Barrier Spike Thorn
kit Kite Shield Steelclash
Milabrega's Orb
xit Dragon Shield Tiamat's Rebuke uit Monarch Stormshield
bsh Bone Shield Wall of the Eyeless xsh Grim Shield Lidless Wall ush Troll Nest Head Hunter's Glory
tow Tower Shield Bverrit Keep
Sigon's Guard
xow Pavise Gerke's Sanctuary uow Aegis Medusa's Gaze
gts Gothic Shield The Ward
Isenhart's Parry
xts Ancient Shield Radament's Sphere uts Ward Spirit Ward
Taebaek's Glory
Gloves lgl Leather Gloves The Hand of Broc
Death's Hand
xlg Demonhide Gloves Venom Grip ulg Bramble Mitts Laying of Hands
vgl Heavy Gloves Bloodfist
Sander's Taboo
xvg Sharkskin Gloves Gravepalm
Magnus' Skin
uvg Vampirebone Gloves Dracul's Grasp
mgl Chain Gloves Chance Guards
Cleglaw's Pincers
xmg Heavy Bracers Ghoulhide
Trang-Oul's Claws
umg Vambraces Soul Drainer
tgl Light Gauntlets Magefist
Arctic Mitts
Iratha's Cuff
xtg Battle Gauntlets Lava Gout
M'avina's Icy Clutch
utg Crusader Gauntlets Occultist (new)
hgl Gauntlets Frostburn
Sigon's Gage
xhg War Gauntlets Hellmouth
Immortal King's Forge
uhg Ogre Gauntlets Steelrend
Boots lbt Boots Hotspur
Tancred's Hobnails
xlb Demonhide Boots Infernostride
Rite of Passage
ulb Wyrmhide Boots Merman's Sprocket (new)
vbt Heavy Boots Gorefoot
Cow King's Hooves
Sander's Riprap
xvb Sharkskin Boots Waterwalk uvb Scarabshell Boots Sandstorm Trek
mbt Chain Boots Treads of Cthon
Hsarus' Iron Heel
xmb Mesh Boots Silkweave
Natalya's Soul
umb Boneweave Boots Marrowwalk
tbt Light Plated Boots Goblin Toe
Vidala's Fetlock
xtb Battle Boots War Traveler
Aldur's Advance
utb Mirrored Boots Ithereal's Path* (new)
hbt Greaves Tearhaunch
Sigon's Sabot
xhb War Boots Gore Rider
Immortal King's Pillar
uhb Myrmidon Greaves Shadow Dancer
Belts lbl Sash Lenymo
Death's Guard
zlb Demonhide Sash String of Ears ulc Spiderweb Sash Arachnid Mesh
vbl Light Belt Snakecord
Arctic Binding
zvb Sharkskin Belt Razortail
M'avina's Tenet
uvc Vampirefang Belt Nosferatu's Coil
mbl Belt Nightsmoke
Hsarus' Iron Stay
Hwanin's Blessing
zmb Mesh Belt Gloom's Trap
Tal Rasha's Fine-Spun Cloth
umc Mithril Coil Verdungo's Hearty Cord
Credendum
tbl Heavy Belt Goldwrap
Infernal Sign
Iratha's Cord
ztb Battle Belt Snowclash
Wilhelm's Pride
utc Troll Belt Band of Skulls* (new)
• rbe instead of utc
Trang-Oul's Girth
hbl Plated Belt Bladebuckle
Sigon's Wrap
zhb War Belt Thundergod's Vigor
Immortal King's Detail
uhc Colossus Girdle
Druid
Helms
dr1 Wolf Head dr6 Alpha Helm drb Blood Spirit Cerebus' Bite
dr2 Hawk Helm Quetzalcoatl (new) dr7 Griffon Headress drc Sun Spirit
dr3 Antlers dr8 Hunter's Guise Aldur's Stony Gaze drd Earth Spirit Spirit Keeper
dr4 Falcon Mask dr9 Sacred Feathers dre Sky Spirit Ravenlore
dr5 Spirit Mask dra Totemic Mask Jalal's Mane drf Dream Spirit Ursa's Nightmare (new)
Barbarian
Helms
ba1 Jawbone Cap ba6 Jawbone Visor Cyclopean Roar (new) bab Carnage Helm
ba2 Fanged Helm ba7 Lion Helm bac Fury Visor Wolfhowl
ba3 Horned Helm ba8 Rage Mask bad Destroyer Helm Demonhorn's Edge
ba4 Assault Helmet ba9 Savage Helmet bae Conqueror Crown Halaberd's Reign
ba5 Avenger Guard Immortal King's Will baa Slayer Guard Arreat's Face baf Guardian Crown Raekor's Virtue (new)
Paladin
Shields
pa1 Targe pa6 Akaran Targe pab Sacred Targe
pa2 Rondache pa7 Akaran Rondache pac Sacred Rondache Alma Negra
pa3 Heraldic Shield Sankekur's Fall (new) pa8 Protector Shield pad Kurast Shield
pa4 Aerin Shield pa9 Gilded Shield Herald of Zakarum pae Zakarum Shield Dragonscale
pa5 Crown Shield paa Royal Shield paf Vortex Shield Griswold's Honor
Necro
Shields
ne1 Preserved Head ne6 Mummified Trophy Kalan's Legacy (new) neb Minion Skull
ne2 Zombie Head ne7 Fetish Trophy neg Hellspawn Skull
ne3 Unraveller Head ne8 Sexton Trophy ned Overseer Skull Martyrdom (new)
ne4 Gargoyle Head ne9 Cantor Trophy Trang-Oul's Wing nee Succubus Skull Boneflame
ne5 Demon Head nea Hierophant Trophy Homunculus nef Bloodlord Skull Darkforce Spawn

* these items have exclusive generation conditions and only appear in specific scenarios

Weapons
Type Code Item (Normal) Unique/Set Versions Code Item (Exceptional) Unique/Set Versions Code Item (Elite) Unique/Set Versions
Axes hax Hand Axe The Gnasher 9ha Hatchet Coldkill 7ha Tomahawk Razor's Edge
axe Axe Deathspade 9ax Cleaver Butcher's Pupil 7ax Small Crescent
2ax Double Axe Bladebone
Berserker's Hatchet
92a Twin Axe Islestrike 72a Ettin Axe Rune Master
mpi Military Pick Skull Splitter
Tancred's Crowbill
9mp Crowbill Pompeii's Wrath 7mp War Spike Cranebeak
wax War Axe Rakescar 9wa Naga Guardian Naga 7wa Berserker Axe Death Cleaver
lax Large Axe Axe of Fechmar 9la Military Axe Warlord's Trust 7la Feral Axe
bax Broad Axe Goreshovel 9ba Bearded Axe Spellsteel 7ba Silver-edged Axe Ethereal Edge
btx Battle Axe The Chieftain 9bt Tabar Stormrider 7bt Decapitator Hellslayer
gax Great Axe Brainhew 9ga Gothic Axe Boneslayer Blade 7ga Champion Axe Messerschmidt's Reaver
gix Giant Axe Humongous 9gi Ancient Axe The Minotaur 7gi Glorious Axe Executioner's Justice
Maces clb Club Felloak 9cl Cudgel Dark Clan Crusher 7cl Truncheon Nord's Tenderizer
spc Spiked Club Stoutnail 9sp Barbed Club Fleshrender 7sp Tyrant Club Demon Limb
mac Mace Crushflange 9ma Flanged Mace Sureshrill Frost 7ma Reinforced Mace Dangoon's Teaching
mst Morning Star Bloodrise 9mt Jagged Star Moonfall
Aldur's Rhythm
7mt Devil Star Baranar's Star
fla Flail The General's Tan Do Li Ga 9fl Knout Baezil's Vortex 7fl Scourge Horizon's Tornado
Stormlash
whm War Hammer Ironstone 9wh Battle Hammer Earthshaker 7wh Legendary Mallet Stone Crusher
Schaefer's Hammer
mau Maul Bonesnap 9m9 War Club Bloodtree Stump 7m7 Ogre Maul Windhammer
Immortal King's Stone Crusher
gma Great Maul Steeldriver 9gm Martel de Fer The Gavel of Pain 7gm Thunder Maul Earth Shifter
The Cranium Basher
Swords ssd Short Sword Rixot's Keen 9ss Gladius Bloodletter 7ss Falcata
scm Scimitar Blood Crescent 9sm Cutlass Coldsteel Eye 7sm Ataghan Djinn Slayer
sbr Sabre Skewer of Krintiz
Angelic Sickle
9sb Shamshir Hexfire 7sb Elegant Blade Bloodmoon
flc Falchion Gleamscythe 9fc Tulwar Blade of Ali Baba 7fc Hydra Edge
crs Crystal Sword 9cr Dimensional Blade Ginther's Rift 7cr Phase Blade Lightsabre
Azurewrath
bsd Broad Sword Griswold's Edge
Isenhart's Lightbrand
9bs Battle Sword Headstriker 7bs Conquest Sword Hadriel's Hand* (new)
lsd Long Sword Hellplague
Cleglaw's Tooth
9ls Rune Sword Plague Bearer 7ls Cryptic Sword Frostwind
Sazabi's Cobalt Redeemer
wsd War Sword Culwen's Point
Death's Touch
9wd Ancient Sword The Atlantean 7wd Mythical Sword
2hs Two-handed Sword Shadowfang 92h Espandon Crainte Vomir 72h Legend Sword
clm Claymore Soulflay 9cm Dacian Falx Bing Sz Wang 7cm Highland Blade Leoric's Mithril Bane (new)
gis Giant Sword Kinemil's Awl 9gs Tusk Sword The Vile Husk 7gs Balrog Blade Flamebellow
bsw Bastard Sword Blacktongue 9b9 Gothic Sword Cloudcrack 7b7 Champion Sword Doombringer
flb Flamberge Ripsaw 9fb Zweihander Todesfaelle Flamme 7fb Colossus Sword Odium (new)
Bul-Kathos' Tribal Guardian
gsd Great Sword The Patriarch 9gd Executioner Sword Swordguard 7gd Colossus Blade The Grandfather
Bul-Kathos' Sacred Charge
Daggers dgr Dagger Gull
Infernal Spire
9dg Poignard Spineripper 7dg Bone Knife Wizardspike
dir Dirk The Diggler 9di Rondel Heart Carver 7di Mithril Point
kri Kris The Jade Tan Do 9kr Cinquedeas Blackbog's Sharp 7kr Fanged Knife Fleshripper
bld Blade Spectral Shard 9bl Stiletto Stormspike 7bl Legend Spike Ghostflame
Throwing
Axes
&
Throwing
Knives
tkf Throwing Knife 9tk Battle Dart Deathbit 7tk Flying Knife
tax Throwing Axe 9ta Francisca The Scalper 7ta Flying Axe Gimmershred
bkf Balanced Knife 9bk War Dart 7bk Winged Knife Warshrike
bal Balanced Axe 9b8 Hurlbat 7b8 Winged Axe Lacerator
Javelins jav Javelin 9ja War Javelin 7ja Hyperion Javelin
pil Pilum 9pi Great Pilum 7pi Stygian Pilum
ssp Short Spear 9s9 Simbilan 7s7 Balrog Spear Demon's Arch
glv Glaive 9gl Spiculum 7gl Ghost Glaive Wraith Flight
tsp Throwing Spear 9ts Harpoon 7ts Winged Harpoon Gargoyle's Bite
Spears spr Spear The Dragon Chang 9sr War Spear The Impaler 7sr Hyperion Spear Arioc's Needle
tri Trident Razortine 9tr Fuscina Kelpie Snare 7tr Stygian Pike
brn Brandistock Bloodthief 9br War Fork Soulfeast Tine 7br Mancatcher Viperfork
spt Spetum Lance of Yaggai 9st Yari Hone Sundan 7st Ghost Spear Uldyssian's Awakening (new)
pik Pike The Tannr Gorerod 9p9 Lance Spire of Honor 7p7 War Pike Steel Pillar
Polearms bar Bardiche Dimoak's Hew 9b7 Lochaber Axe The Meat Scraper 7o7 Ogre Axe Bonehew
vou Voulge Steelgoad 9vo Bill Blackleach Blade
Hwanin's Justice
7vo Colossus Voulge
scy Scythe Soul Harvest 9s8 Battle Scythe Athena's Wrath 7s8 Thresher The Reaper's Toll
pax Poleaxe The Battlebranch 9pa Partizan Pierre Tombale Couant 7pa Cryptic Axe Tomb Reaver
hal Halberd Woestave 9h9 Bec-de-Corbin Husoldal Evo 7h7 Great Poleaxe
wsc War Scythe The Grim Reaper 9wc Grim Scythe Grim's Burning Dead 7wc Giant Thresher Stormspire
Bows sbw Short Bow Pluckeye 8sb Edge Bow Skystrike 6sb Spider Bow
hbw Hunter’s Bow Witherstring 8hb Razor Bow Riphook 6hb Blade Bow
lbw Long Bow Raven Claw 8lb Cedar Bow Kuko Shakaku 6lb Shadow Bow
cbw Composite Bow Rogue's Bow 8cb Double Bow Endlesshail 6cb Great Bow
sbb Short Battle Bow Stormstrike 8s8 Short Siege Bow Witchwild String 6s7 Diamond Bow
lbb Long Battle Bow Wizendraw
Vidala's Barb
8l8 Large Siege Bow Cliffkiller 6l7 Crusader Bow Eaglehorn
swb Short War Bow Hellclap
Arctic Horn
8sw Rune Bow Magewrath 6sw Ward Bow Widowmaker
lwb Long War Bow Blastbark 8lw Gothic Bow Goldstrike Arch 6lw Hydra Bow Windforce
Crossbows lxb Light Crossbow Leadcrow 8lx Arbalest Langer Briser 6lx Pellet Bow
mxb Crossbow Ichorsting 8mx Siege Crossbow Pus Spitter 6mx Gorgon Crossbow
hxb Heavy Crossbow Hellcast 8hx Ballista Buriza-Do Kyanon 6hx Colossus Crossbow Hellrack
rxb Repeating Crossbow Doomslinger 8rx Chu-Ko-Nu Demon Machine 6rx Demon Crossbow Gut Siphon
Staves sst Short Staff Bane Ash 8ss Jo Staff Razorswitch 6ss Walking Stick
lst Long Staff Serpent Lord 8ls Quarterstaff Ribcracker 6ls Stalagmite
cst Gnarled Staff Spire of Lazarus 8cs Cedar Staff Chromatic Ire 6cs Elder Staff Ondal's Wisdom
Naj's Puzzler
bst Battle Staff The Salamander
Cathan's Rule
8bs Gothic Staff Warpspear 6bs Shillelagh Brimstone Rain (new)
wst War Staff The Iron Jang Bong
Arcanna's Deathwand
8ws Rune Staff Skull Collector 6ws Archon Staff Mang Song's Lesson
Wands wnd Wand Torch of Iro 9wn Burnt Wand Suicide Branch 7wn Polished Wand
ywn Yew Wand Maelstrom 9yw Petrified Wand Carin Shard 7yw Ghost Wand
bwn Bone Wand Gravenspine
Sander's Superstition
9bw Tomb Wand Arm of King Leoric 7bw Lich Wand Boneshade
gwn Grim Wand Ume's Lament 9gw Grave Wand Blackhand Key 7gw Unearthed Wand Death's Web
Scepters scp Scepter Knell Striker 9sc Rune Scepter Zakarum's Hand 7sc Mighty Scepter Heaven's Light
The Redeemer
gsc Grand Scepter Rusthandle
Civerb's Cudgel
9qs Holy Water Sprinkler The Fetid Sprinkler 7qs Seraph Rod Akarat's Devotion (new)
wsp War Scepter Stormeye
Milabrega's Rod
9ws Divine Scepter Hand of Blessed Light 7ws Caduceus Astreon's Iron Ward
Griswold's Redemption
Assassin
Claws
ktr Katar 9ar Quhab Mage Slayer (new) 7ar Suwayyah
wrb Wrist Blade 9wb Wrist Spike 7wb Wrist Sword Jade Talon
axf Hatchet Hands 9xf Fascia 7xf War Fist
ces Cestus 9cs Hand Scythe 7cs Battle Cestus Shadow Killer
clw Claws 9lw Greater Claws 7lw Feral Claws Firelizard's Talons
btl Blade Talons 9tw Greater Talons Bartuc's Cut-Throat 7tw Runic Talons Stalker's Cull (new)
skr Scissors Katar 9qr Scissors Quhab 7qr Scissors Suwayyah Aidan's Scar* (new)
Natalya's Mark
Sorc
Orbs
ob1 Eagle Orb ob6 Glowing Orb Tempest (new) obb Heavenly Stone
ob2 Sacred Globe ob7 Crystalline Globe obc Eldritch Orb Eschuta's Temper
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 The Oculus
Tal Rasha's Lidless Eye
obf Dimensional Shard Death's Fathom
Amazon
Weapons
am1 Stag Bow am6 Ashwood Bow amb Matriarchal Bow Blood Raven's Charge
am2 Reflex Bow am7 Ceremonial Bow Lycander's Aim amc Grand Matron Bow M'avina's Caster
am3 Maiden Spear am8 Ceremonial Spear amd Matriarchal Spear Stoneraven
am4 Maiden Pike am9 Ceremonial Pike Lycander's Flank ame Matriarchal Pike Zerae's Resolve (new)
am5 Maiden Javelin True Silver (new) ama Ceremonial Javelin Titan's Revenge amf Matriarchal Javelin Thunderstroke

* these items have exclusive generation conditions and only appear in specific scenarios

Other Items
Misc Gear
  • 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 Unique Versions
    cm1 Small Charm Annihilus*
    cm2 Large Charm Hellfire Torch*
    cm3 Grand Charm Gheed's Fortune
    jew Jewel Rainbow Facet
    rin Ring see below
    amu Amulet see below
    aqv Arrows
    cqv Bolts

  • Tome of Town Portal and Tome of Identify can only have their name modified, not their description
  • Unique/Set Amulets
    Code Unique Versions Set Versions
    amu Nokozan Relic Civerb's Icon
    Eye of Etlich Cathan's Sigil
    The Mahim Oak Curio Angelic Wings
    Saracen's Chance Vidala's Snare
    Crescent Moon Arcanna's Sign
    The Cat's Eye Iratha's Collar
    Atma's Scarab Tal Rasha's Adjudication
    Highlord's Wrath Tancred's Weird
    The Rising Sun Telling of Beads
    Seraph's Hymn
    Mara's Kaleidoscope
    Metalgrid
    ram The Third Eye* (new)
  • Unique/Set Rings
    Code Unique Versions Set Versions
    rin Nagelring Cathan's Seal
    Manald Heal Angelic Halo
    Stone of Jordan Bul-Kathos' Death Band (new)
    Dwarf Star
    Raven Frost
    Bul-Kathos' Wedding Band
    Carrion Wind
    Nature's Peace
    Wisp Projector
    Kadala's Heirloom* (new)

* these items have exclusive generation conditions and only appear in specific scenarios

Gems

Also see GEMLEVEL and GEMTYPE

Code Item Code Item Code Item Code Code Item Code Code Item
gcv Chipped Amethyst gfv Flawed Amethyst gsv Amethyst gzv gzvs Flawless Amethyst gpv gpvs Perfect Amethyst
gcy Chipped Topaz gfy Flawed Topaz gsy Topaz gly glys Flawless Topaz gpy gpys Perfect Topaz
gcb Chipped Sapphire gfb Flawed Sapphire gsb Sapphire glb glbs Flawless Sapphire gpb gpbs Perfect Sapphire
gcg Chipped Emerald gfg Flawed Emerald gsg Emerald glg glgs Flawless Emerald gpg gpgs Perfect Emerald
gcr Chipped Ruby gfr Flawed Ruby gsr Ruby glr glrs Flawless Ruby gpr gprs Perfect Ruby
gcw Chipped Diamond gfw Flawed Diamond gsw Diamond glw glws Flawless Diamond gpw gpws Perfect Diamond
skc Chipped Skull skf Flawed Skull sku Skull skl skls Flawless Skull skz skzs Perfect Skull
  • For gems with two codes, the second code refers to the stacked version of the gem
Runes

Also see RUNE

Code Code Item Code Code Item Code Code Item
r01 r01s El Rune r12 r12s Sol Rune r23 r23s Mal Rune
r02 r02s Eld Rune r13 r13s Shael Rune r24 r24s Ist Rune
r03 r03s Tir Rune r14 r14s Dol Rune r25 r25s Gul Rune
r04 r04s Nef Rune r15 r15s Hel Rune r26 r26s Vex Rune
r05 r05s Eth Rune r16 r16s Io Rune r27 r27s Ohm Rune
r06 r06s Ith Rune r17 r17s Lum Rune r28 r28s Lo Rune
r07 r07s Tal Rune r18 r18s Ko Rune r29 r29s Sur Rune
r08 r08s Ral Rune r19 r19s Fal Rune r30 r30s Ber Rune
r09 r09s Ort Rune r20 r20s Lem Rune r31 r31s Jah Rune
r10 r10s Thul Rune r21 r21s Pul Rune r32 r32s Cham Rune
r11 r11s Amn Rune r22 r22s Um Rune r33 r33s Zod Rune
  • The second code refers to the stacked version of the rune
  • For a list of runewords and the runes required for each, see All Runewords
Potions
Code Item Code Item Code Item
rvl Full Rejuvenation Potion hp1 Minor Healing Potion mp1 Minor Mana Potion
rvs Rejuvenation Potion hp2 Lesser Healing Potion mp2 Lesser Mana Potion
yps Antidote Potion hp3 Healing Potion mp3 Mana Potion
wms Thawing Potion hp4 Greater Healing Potion mp4 Greater Mana Potion
vps Stamina Potion hp5 Super Healing Potion mp5 Super Mana Potion
Code Item Code Item Code Item Code Item
tpfs Fulminating Potion tpgs Strangling Potion tpcs Chilling Potion tpls Charged Potion
tpfm Exploding Potion tpgm Choking Potion tpcm Frost Potion tplm Static Potion
tpfl Oil Potion tpgl Rancid Potion tpcl Freezing Potion tpll Shock Potion
  • These throwing potions are new in PD2 and the old legacy versions won't spawn
Code Item (Legacy) Code Item (Legacy)
opl Fulminating Potion gpl Strangling Potion
opm Exploding Potion gpm Choking Potion
ops Oil Potion gps Rancid Potion
Quest Items
  • Code Item
    bks Scroll of Inifuss
    bkd Key to the Cairn Stones
    tr1 Horadric Scroll
    ass Book of Skill
    box Horadric Cube
    j34 Jade Figurine
    g34 Golden Bird
    xyz Potion of Life
    bbb Lam Esen's Tome
    qbr Khalim's Brain
    qey Khalim's Eye
    qhr Khalim's Heart
    mss Mephisto's Soulstone
    ice Malah's Potion
    tr2 Scroll of Resistance
  • Code Equipment Item
    hdm Horadric Malus
    msf Staff of Kings
    vip Viper Amulet
    hst Horadric Staff
    g33 Gidbinn
    qf1 Khalim's Flail
    qf2 Khalim's Will
    hfh Hell Forge Hammer
  • Code Item Details
    tes Twisted Essence of Suffering Token ingredient (from Andariel & Duriel)
    ceh Charged Essence of Hatred Token ingredient (from Mephisto)
    bet Burning Essence of Terror Token ingredient (from Diablo)
    fed Festering Essence of Destruction Token ingredient (from Baal)
    toa Token of Absolution Resets stats/skills
    pk1 Key of Terror Mini-Uber ingredient (from Countess & Blood Raven)
    pk2 Key of Hate Mini-Uber ingredient (from Summoner & Bloodwitch)
    pk3 Key of Destruction Mini-Uber ingredient (from Nihlathak & Izual)
    dhn Diablo's Horn Tristram ingredient (from Lilith)
    bey Baal's Eye Tristram ingredient (from uber Duriel)
    mbr Mephisto's Brain Tristram ingredient (from uber Izual)
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 3
    t15 Royal Crypts Map 1
    t16 Ruined Cistern Map 3
    t21 Phlegethon Map 3
    t22 Torajan Jungle Map 1
    t23 Arreat Battlefield Map 1
    t24 Tomb of Zoltun Kulle Map 2
    t25 Sewers of Harrogath Map 1
    t26 Shadows of Westmarch Map 1
    t31 River of Blood Map 2
    t32 Throne of Insanity Map 3
    t33 Lost Temple Map 2
    t34 Ancestral Trial Map 2
    t35 Blood Moon Map 3
    t36 Fall of Caldeum Map 1
    t37 Pandemonium Citadel Map 3
    t38 Canyon of Sescheron Map 3
    t39 Kehjistan Marketplace Map 3
    t3a 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)
    t44 Steppes of Daken-Shar 4 (dungeon)
    t51 Zhar's Sanctum Map 3 (unique)
    t52 Stygian Caverns Map 3 (unique)
    t53 Fallen Gardens Map 2 (unique)
    t61 Desert Duel Arena PvP arena
    t62 Moor Duel Arena PvP arena
  • Map Modification
    Code Item Details
    imma
    irma
    Arcane Orb
    Infused Arcane Orb
    upgrade map (regular -> magic)
    imra
    irra
    Zakarum Orb
    Infused Zakarum Orb
    upgrade map (regular -> rare)
    upma
    urma
    Angelic Orb
    Infused Angelic Orb
    upgrade map (magic -> rare)
    rera
    rrra
    Horadrim Orb
    Infused Horadrim Orb
    reroll rare map
    scou Orb of Destruction downgrade map (to regular)
    fort Orb of Fortification halves monsters & doubles loot/experience/life
    upmp Cartographer's Orb combine maps into a higher tier
    scrb Horadrim Scarab transform a t3 map into a dungeon (from map bosses)
    iwss Catalyst Shard guarantees a map event (from altar map event)
  • 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 ingredient
    cwss Tainted Worldstone Shard corrupts Annihilus (from Rathma)
    rtp Horadrim Navigator unlimited TP tome (from Rathma, uncommon)
    rid Horadrim Almanac unlimited ID tome (from Rathma, uncommon)
    rkey Skeleton Key unlimited-use key (drops anywhere, 1 in 5 million chance)
    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)
    pvpp Dueling Mana Potion only useable in PvP arenas
    crfb Blood Craft Infusion Pre-made Blood craft recipe
    crfc Caster Craft Infusion Pre-made Caster craft recipe
    crfs Safety Craft Infusion Pre-made Safety craft recipe
    crfh Hitpower Craft Infusion Pre-made Hitpower craft recipe
    crfv Vampiric Craft Infusion Pre-made Vampiric craft recipe
    crfu Bountiful Craft Infusion Pre-made Bountiful craft recipe
    crfp Brilliant Craft Infusion Pre-made Brilliant craft recipe
  • 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 Diablo Clone ingredient (from Hell Mephisto/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)
    cm2f Hellfire Ashes Rathma ingredient (stackable Hellfire Torch)
    rtmf Ancient Bone Fragments Trang-Oul's Jawbone ingredient (legacy)
  • Special 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)


Value Conditions

Info Codes

Code Description Details
GOLD Gold can be hidden, but not modified (always displays as "N Gold")
gold is automatically picked up (hiding it does not prevent this)
GEMLEVEL
GEM
gem quality level 1 - 5 (Chipped-Perfect)
GEMTYPE gem type 1 - 7 (Amethyst, Diamond, Emerald, Ruby, Sapphire, Topaz, Skull)
RUNE rune number 1 - 33 (El-Zod)
QTY quantity
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, Nightmare, Hell)
MAPID current zone 1 - 175 (see details)
MAPTIER map tier 0 - 5 (PvP, T1, T2, T3, Dungeon, Unique)
PREFIX item prefix 1 - 805 (see details)
SUFFIX item suffix 1 - 900 (see details)
AUTOMOD item automod 1 - 44 (see details)
FILTLVL filter strictness level 0 - 9 (Show All Items, up to 9 custom levels)

Named Attribute Codes

Code Description Item Appearance Details
SOCKETS
SOCK
total sockets Socketed (N)
DEF total defense Defense: N
+N Defense
ED enhanced defense/damage +N% Enhanced Defense
+N% Enhanced Damage
refers to defense for armor,
damage for weapons
EDEF enhanced defense +N% Enhanced Defense Includes bonuses from runewords and sockets
(ED does not include these)
EDAM enhanced damage +N% Enhanced Damage Includes bonuses from runewords and sockets
(ED does not include these)
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

Numbered Attribute Codes

The relevant number for each code is shown as N. If N is absent, it is often either 0 or 1. For codes that refer to attributes which are based on character level, N is often a multiple of Y (as in "+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.

To refer to stats that have multiple parts such as chance-to-cast effects or skill charges, the MULTI condition must be used instead of STAT: see Multi-Layered Stats

All these numbered attribute STAT codes refer to individual items in the same way that most codes do - they are "immutable" and don't change depending on the character viewing the item. There are also corresponding CHARSTAT codes for each attribute which are "mutable" and can change based on other factors - rather than checking whether an item has the attribute, these codes check whether the character has the attribute. In most cases, that means checking whether the character is wearing an item with the attribute. But there are also some "non-item" codes such as CHARSTAT14 and CHARSTAT15 which refer to how much gold the character is carrying and how much gold they have in their stash, respectively.

  • 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
    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
    STAT194 Socketed (N)
    STAT252 Repairs X Durability in Y Seconds (N = 100/Y)
    STAT360 Corrupted (values for N)
    STAT422 Replenishes 1 Charge in 3 Seconds
    STAT424 +N Life after each Hit
    STAT425 -N% to Enemy Physical Resistance
    STAT486 Mirrored
    STAT477 transform_dye (N: black=4, white=21)
    STAT501 +N Open Wounds Damage per Second
    STAT504 Curse Resistance +N%
  • 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
STAT369 map_defense
STAT370 Map Magic Find: +N%
STAT371 Map Gold Find: +N%
STAT372 Map Monster Density: +N%
STAT373 Map Experience: +N%
STAT374 Map Area Level: +N
STAT375 map_glob_monsterrarity
STAT376 map_mon_firemindam
STAT377 map_mon_firemaxdam
STAT378 map_mon_lightmindam
STAT379 map_mon_lightmaxdam
STAT380 map_mon_magicmindam
STAT381 map_mon_magicmaxdam
STAT382 map_mon_coldmindam
STAT383 map_mon_coldmaxdam
STAT384 map_mon_coldlength
STAT385 map_mon_poisonmindam
STAT386 map_mon_poisonmaxdam
STAT387 map_mon_poisonlength
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
STAT414 map_mon_passive_fire_pierce
STAT415 map_mon_passive_ltng_pierce
STAT416 map_mon_passive_cold_pierce
STAT417 map_mon_passive_pois_pierce
STAT418 map_play_maxfireresist
STAT419 map_play_maxlightresist
STAT420 map_play_maxcoldresist
STAT421 map_play_maxpoisonresist
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
STAT454 map_play_maxhp_percent
STAT455 map_play_maxmana_percent
STAT456 map_play_damageresist
STAT457 Players have N% to Velocity
STAT458 Heoric
STAT467 map_play_lightradius
STAT470 Map contains Burning Souls
STAT471 Map contains Fetishes
STAT493 map_glob_skirmish_mode
STAT494 map_mon_dropjewelry
STAT495 map_mon_dropweapons
STAT496 map_mon_droparmor
STAT497 map_mon_dropcrafting
STAT498 map_glob_extra_boss
STAT499 map_glob_add_mon_shriek
STAT500 Area Contains a Random Event
STAT502 map_mon_dropcharms
STAT503 map_glob_dropcorrupted
STAT186 map_glob_boss_dropskillers
STAT187 map_glob_boss_dropcorruptedunique
STAT505 map_glob_boss_dropfacet
STAT506 map_mon_dropjewels
Other
Code Item Appearance
STAT4 statpts
STAT5 newskills
STAT6 hitpoints
STAT8 mana
STAT10 stamina
STAT12 level
STAT13 experience
STAT14 gold
STAT15 goldbank
STAT26 manarecovery
STAT29 lastexp
STAT30 nextexp
STAT47 damageaura
STAT61 lifedrainmaxdam
STAT63 manadrainmaxdam
STAT64 stamdrainmindam
STAT65 stamdrainmaxdam
STAT66 stunlength
STAT67 velocitypercent
STAT69 other_animrate
STAT71 value
STAT82 item_timeduration
STAT90 item_lightcolor
STAT92 item_levelreq
STAT94 item_levelreqpct
STAT95 lastblockframe
STAT98 state
STAT100 monster_playercount
STAT101 skill_poison_override_length
STAT103 skill_bypass_undead
STAT104 skill_bypass_demons
STAT106 skill_bypass_beasts
STAT125 item_throwable
STAT129 ironmaiden_level
STAT130 lifetap_level
STAT131 thorns_percent
STAT132 bonearmor
STAT133 bonearmormax
STAT137 item_kickdamage
STAT156 item_pierce
STAT161 skill_handofathena
STAT162 skill_staminapercent
STAT163 skill_passive_staminapercent
STAT164 skill_concentration
STAT165 skill_enchant
STAT166 skill_pierce
STAT167 skill_conviction
STAT168 skill_chillingarmor
STAT169 skill_frenzy
STAT170 skill_decrepify
STAT171 skill_armor_percent
STAT172 alignment
STAT173 target0
STAT174 target1
STAT175 goldlost
STAT176 conversion_level
STAT177 conversion_maxhp
STAT178 unit_dooverlay
STAT179 attack_vs_montype
STAT180 damage_vs_montype
STAT181 fade
STAT182 armor_override_percent
STAT183 equipped_eth
STAT184 missing_hp
STAT185 uber_difficulty
STAT189 openwounds_stack
STAT190 curse_slots
STAT191 item_skillonequip
STAT213 item_mindamage_energy
STAT215 item_armorpercent_perlevel
STAT247 item_crushingblow_perlevel
STAT248 item_openwounds_perlevel
STAT251 item_find_gems_perlevel
STAT253 item_replenish_quantity
STAT254 item_extra_stack
STAT255 item_find_item
STAT256 item_slash_damage
STAT257 item_slash_damage_percent
STAT258 item_crush_damage
STAT259 item_crush_damage_percent
STAT260 item_thrust_damage
STAT261 item_thrust_damage_percent
STAT262 item_absorb_slash
STAT263 item_absorb_crush
STAT264 item_absorb_thrust
STAT265 item_absorb_slash_percent
STAT266 item_absorb_crush_percent
STAT267 item_absorb_thrust_percent
STAT305 item_pierce_cold
STAT306 item_pierce_fire
STAT307 item_pierce_ltng
STAT308 item_pierce_pois
STAT309 item_damage_vs_monster
STAT310 item_damage_percent_vs_monster
STAT311 item_tohit_vs_monster
STAT312 item_tohit_percent_vs_monster
STAT313 item_ac_vs_monster
STAT314 item_ac_percent_vs_monster
STAT315 firelength
STAT316 burningmin
STAT317 burningmax
STAT318 progressive_damage
STAT319 progressive_steal
STAT320 progressive_other
STAT321 progressive_fire
STAT322 progressive_cold
STAT323 progressive_lightning
STAT324 item_extra_charges
STAT325 progressive_tohit
STAT327 damage_framerate
STAT328 pierce_idx
STAT337 passive_critical_strike
STAT338 passive_dodge
STAT339 passive_avoid
STAT340 passive_evade
STAT341 passive_warmth
STAT342 passive_mastery_melee_th
STAT343 passive_mastery_melee_dmg
STAT344 passive_mastery_melee_crit
STAT345 passive_mastery_throw_th
STAT346 passive_mastery_throw_dmg
STAT347 passive_mastery_throw_crit
STAT348 passive_weaponblock
STAT349 passive_summon_resist
STAT350 modifierlist_skill
STAT351 modifierlist_level
STAT352 last_sent_hp_pct
STAT353 source_unit_type
STAT354 source_unit_id
STAT355 shortparam1
STAT356 questitemdifficulty
STAT358 passive_mag_pierce
STAT361 corruptor
STAT367 skill_cold_enchant
STAT368 You May Apply an Additional Curse
STAT423 +N% to Leap and Leap Attack Movement Speed
STAT443 extra_bonespears
STAT444 You May Now Summon N Additional Revives
STAT445 immune_stat
STAT446 mon_cooldown1
STAT447 mon_cooldown2
STAT448 mon_cooldown3
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
STAT469 pierce_count
STAT472 dclone_clout
STAT473 maxlevel_clout
STAT474 dev_clout
STAT475 extra_skele_archer
STAT476 extra_golem
STAT478 inc_splash_radius
STAT479 item_numsockets_textonly
STAT480 rathma_clout
STAT481 extra_holybolts
STAT482 pvp_cd
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
STAT491 pvp_disable
STAT492 pvp_lld_cd
Unused
Code Item Appearance
STAT84 unsentparam1
STAT88 item_doubleherbduration
STAT192 unused192
STAT193 unused193
STAT202 unused202
STAT203 unused203
STAT205 unused204
STAT206 unused205
STAT207 unused206
STAT208 unused207
STAT209 unused208
STAT210 unused209
STAT211 unused210
STAT212 unused211
STAT268 item_armor_bytime
STAT269 item_armorpercent_bytime
STAT270 item_hp_bytime
STAT271 item_mana_bytime
STAT272 item_maxdamage_bytime
STAT273 item_maxdamage_percent_bytime
STAT274 item_strength_bytime
STAT275 item_dexterity_bytime
STAT276 item_energy_bytime
STAT277 item_vitality_bytime
STAT278 item_tohit_bytime
STAT279 item_tohitpercent_bytime
STAT280 item_cold_damagemax_bytime
STAT281 item_fire_damagemax_bytime
STAT282 item_ltng_damagemax_bytime
STAT283 item_pois_damagemax_bytime
STAT284 item_resist_cold_bytime
STAT285 item_resist_fire_bytime
STAT286 item_resist_ltng_bytime
STAT287 item_resist_pois_bytime
STAT288 item_absorb_cold_bytime
STAT289 item_absorb_fire_bytime
STAT290 item_absorb_ltng_bytime
STAT291 item_absorb_pois_bytime
STAT292 item_find_gold_bytime
STAT293 item_find_magic_bytime
STAT294 item_regenstamina_bytime
STAT295 item_stamina_bytime
STAT296 item_damage_demon_bytime
STAT297 item_damage_undead_bytime
STAT298 item_tohit_demon_bytime
STAT299 item_tohit_undead_bytime
STAT300 item_crushingblow_bytime
STAT301 item_openwounds_bytime
STAT302 item_kick_damage_bytime
STAT303 item_deadlystrike_bytime
STAT304 item_find_gems_bytime
Multi-layered Stats

Some stats have an additional layer that needs to be specified in order for the stat to filter properly. To access these layers, the MULTI condition can be used - if follows this format:

 MULTI Stat_ID , Layer_ID = Value

Any of the comparison operators (<,>,=) may be used - below is a list of stats with extra layers:

Name Stat ID Layer ID Value Example
Class Skill 83 class_id skill_bonus MULTI83,2=2 (Hellfire Torch with Necromancer skills)
OSkill 97 skill_id skill_bonus MULTI97,74=20 (Corpsemourn)
Single Skill 107 skill_id skill_bonus MULTI107,20=3 (Thunderstroke)
Elemental Skill 126 elemental_id (1, 2, 3, 4, 5) skill_bonus MULTI126,4>0 (Snowclash)
Aura when Equipped 151 skill_id aura_level MULTI151,98>5 (Templar's Might)
Reanimate as: 155 monster_id % chance MULTI155,492=6 (Demon Machine)
Class Skill Tab 188 skilltab_id skill_bonus MULTI188,25>4 (Cloudcrack)
Cast on Attack 195 (skill_id * 64) + skill_level % chance MULTI195,3028=15 (Todesfaelle Flamme)
Cast when you Kill an Enemy 196 (skill_id * 64) + skill_level % chance MULTI196,28569=50 (Executioner's Justice)
Cast when you Die 197 (skill_id * 64) + skill_level % chance MULTI197,3615=100 (Rainbow Facet)
Cast on Striking 198 (skill_id * 64) + skill_level % chance MULTI198,792=8 (Demon Machine)
Cast on Level-up 199 (skill_id * 64) + skill_level % chance MULTI199,2973=100 (Rainbow Facet)
Cast on Casting 200 (skill_id * 64) + skill_level % chance MULTI200,7196=20 (Akarat's Devotion)
Cast when Struck 201 (skill_id * 64) + skill_level % chance MULTI201,2821=10 (Coldkill)
Charge Skill 204 (skill_id * 64) + skill_level current_charges + (max_charges * 256) MULTI204,5455=7453 (Bloodmoon)
Melee Splash 359 (skill_id * 64) + skill_level % chance MULTI359,22913=100
Melee Splash (map mod) 427 (skill_id * 64) + skill_level % chance MULTI427,22913=100
Skill on Death (map mod) 453 (skill_id * 64) + skill_level % chance

There are also alternative ways to replicate what MULTI does for specific stats:

Stat MULTI Alternative Example
Class Skill MULTI83 CLSK CLSK2=2 (Hellfire Torch with Necromancer skills)
OSkill MULTI97 OS OS74=20 (Corpsemourn)
Single Skill MULTI107 SK SK20=3 (Thunderstroke)
Class Skill Tab MULTI188 TABSK TABSK25>4 (Cloudcrack)

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 Holy Sword
      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
      SK368 Deep Wounds
    • 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
      SK442 Amplify Damage (Proc)
      SK443 Weaken (Proc)
      SK444 Iron Maiden (Proc)
      SK445 Life Tap (Proc)
      SK446 Decrepify (Proc)
      SK447 Lower Resist (Proc)

      Value Condition IDs

      Certain value conditions (MAPID, PREFIX, SUFFIX, AUTOMOD, 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, nearby items are updated before the zone ID 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 in town

      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 outside of the cow level

      ItemDisplay[ear (MAPID=157 OR MAPID=159)]: hides player ears 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 Plains
        176 Zhar's Sanctum
        177 Hidden Waterways
        178 Colonnades of Madness
        179 Counselor's Causeway
        180 Unused
        181 Stygian Caverns
        182 Stronghold of Acheron
        183 Fallen Gardens
        184 Diamond Gate

        SUFFIX, PREFIX, and AUTOMOD 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]: %NAME% %RED%! appends a red ! to rare items that have a chance to cast Amplify Damage on hit and also have Ignore Target's Defense

        AUTOMOD functions much the same as SUFFIX and PREFIX.

        Two of the three basic comparison operators (< and >) cannot be reliably used with SUFFIX or PREFIX, but the "BETWEEN" comparison operator (~) works well with them - it was actually developed specifically for them. Since multiple PREFIX or SUFFIX conditions are not mutually exclusive with themselves, ID ranges would not be able to be referred to accurately with only < and >. The "BETWEEN" operator condenses the ranges to a single condition so that it can be evaluated as either true or fase, and is much more convenient than creating large groups of conditions using only = as comparison operators.

        ItemDisplay[cm3 PREFIX>1278 PREFIX<1354]: %NAME% +1 no effect (don't use)

        ItemDisplay[cm3 (PREFIX=1279 OR PREFIX=1280 OR PREFIX=1281 OR PREFIX=1291 OR PREFIX=1292 OR PREFIX=1293 OR PREFIX=1303 OR PREFIX=1304 OR PREFIX=1305 OR PREFIX=1315 OR PREFIX=1316 OR PREFIX=1317 OR PREFIX=1327 OR PREFIX=1328 OR PREFIX=1329 OR PREFIX=1339 OR PREFIX=1340 OR PREFIX=1341 OR PREFIX=1351 OR PREFIX=1352 OR PREFIX=1353)]: %NAME% +1 appends +1 to any grand charm with a skill

        ItemDisplay[cm3 PREFIX~1279-1353]: %NAME% +1 appends +1 to any grand charm with a skill (same as above)

        External Chart of IDs: Affix IDs


        STAT360 IDs

        STAT360 refers to which corruption items have.

        ItemDisplay[STAT360>0]: %NAME% %RED%* appends a red * to corrupted items

        • ID Corruption
          0 Not Corrupted
          1 ?
          2 Enhanced Damage
          3 Attack Rating (Weapons[T1] & non-weapons)
          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 (unused)
          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 (Weapons)
          17 Life Leech, Enhanced Damage
          18 Attack Rating (Weapons[T2])
          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 (Weapons)
          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 (Non-weapons)
          43 Enhanced Life
          44 Faster Run Walk
          45 Cannot Be Frozen
          46 Dmg Reduction
          47 Magic Dmg Reduction
          48 Indestructible, Enhanced Defense
          49 Curse Resistance (Chest, Helm, Quiver, Shield)
          50 All Skills (Non-weapons)
        • 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 (Boots, Belt, Ring)
          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
          74 Minimum Damage
          75 Maximum Damage
        • ID Corruption
          76 Ignore Targets Defense
          77 Attack Rating vs Undead, Damage to Undead
          78 Deadly Strike (mon), Density, Experience
          79 Cannot be Frozen (mon), Increased Maximum Life (mon), Experience, Density
          80 Faster Attack Rate, Faster Cast Rate, Density, Rarity
          81 Physical Resist, Density, Rarity
          82 Faster Attack Rate, Faster Cast Rate, Velocity, Density, Rarity
          83 Magic Find, Gold Find, Rarity
          84 Density
          85 Area Level, Density
          86 Rarity
          87 All Maximum Resistances, Density, Rarity
          88 Extra Jewelry
          89 Experience Gained
          90 Vitality, Energy


          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 pd2data.mpq (found in Diablo II/ProjectD2) using an MPQ editor and D2 listfile - the text files will be in /data/global/excel.