无编辑摘要
(→输出) |
无编辑摘要 |
||
第200行: | 第200行: | ||
To enable custom filter levels, use the following format at the top of the filter: | To enable custom filter levels, use the following format at the top of the filter: | ||
<code>ItemDisplayFilterName[]: | <code>ItemDisplayFilterName[]: Low Strictness</code> <span style="color:gray;">''Adds a new filter strictness level named "Low Strictness"''</span> | ||
<code>ItemDisplayFilterName[]: | <code>ItemDisplayFilterName[]: Medium Strictness</code> <span style="color:gray;">''Adds a new filter strictness level named "Medium Strictness"''</span> | ||
<code>ItemDisplayFilterName[]: High Strictness</code> <span style="color:gray;">''Adds a new filter strictness level named "High Strictness"''</span> | |||
第252行: | 第254行: | ||
| %ORANGE% || <span class="d2-orange">Orange</span> || crafted items, endgame quest items, runes | | %ORANGE% || <span class="d2-orange">Orange</span> || crafted items, endgame quest items, runes | ||
|- | |- | ||
| %CORAL% || Coral || '' | | %CORAL% || <span class="d2-coral">Coral</span> || ''custom'' | ||
|- | |- | ||
| %SAGE% || Sage || '' | | %SAGE% || <span class="d2-sage">Sage</span> || ''custom'' | ||
|- | |- | ||
| %TEAL% || Teal || '' | | %TEAL% || <span class="d2-teal">Teal</span> || ''custom'' | ||
|- | |- | ||
| %LIGHT_GRAY% || Light Gray || '' | | %LIGHT_GRAY% || <span class="d2-light-gray">Light Gray</span> || ''custom'' | ||
|} | |} | ||
* Custom text colors only work with Glide or if HD text is enabled, and will otherwise function the same as '''''%GRAY%''''' | |||
Some items have their default color built into '''''%NAME%''''', so their color won't change unless their name is rewritten completely. This is likely [[Bugs|unintended behavior]], and applies to runes, Standard of Heroes, and the PD2-specific non-equipment items other than map/arena scrolls and jewel fragments. | Some items have their default color built into '''''%NAME%''''', so their color won't change unless their name is rewritten completely. This is likely [[Bugs|unintended behavior]], and applies to runes, Standard of Heroes, and the PD2-specific non-equipment items other than map/arena scrolls and jewel fragments. | ||
第284行: | 第287行: | ||
|- | |- | ||
| %QTY% || quantity || 0 - 350 | | %QTY% || quantity || 0 - 350 | ||
|- | |- | ||
| %RANGE% || melee range adder || 0 - 5 | | %RANGE% || melee range adder || 0 - 5 | ||
第302行: | 第303行: | ||
|} | |} | ||
Additionally, keywords also exist for each [[Item_Filtering#Named_Attribute_Codes|named attribute code]] (except '''MAXDUR''') and each [[Item_Filtering#Numbered_Attribute_Codes|numbered attribute code]]. Some examples are: | |||
{| class="wikitable" | |||
! Code !! Output !! Details | |||
|- | |||
| %SOCKETS% || total sockets || | |||
|- | |||
| %DEF% || total defense || | |||
|- | |||
| %ED% || enhanced defense/damage || refers to defense for armor,<br>damage for weapons | |||
|- | |||
| %EDEF% || +N% Enhanced Defense || Includes bonuses from runewords and sockets<br>(ED does '''not''' include these) | |||
|- | |||
| %EDAM% || +N% Enhanced Damage || Includes bonuses from runewords and sockets<br>(ED does '''not''' include these) | |||
|- | |||
| %AR% || +N to Attack Rating || | |||
|- | |||
| %RES% || All Resistances +N || | |||
|- | |||
| %STR% || +N to Strength || | |||
|- | |||
| %DEX% || +N to Dexterity || | |||
|- | |||
| %STAT1% || +N to Energy || | |||
|- | |||
| %STAT3% || +N to Vitality || | |||
|- | |||
| %STAT36% || Physical Damage Taken Reduced by N% || | |||
|- | |||
| %STAT58% || +X Poison Damage over Y Seconds<br>''bitrate N = (256X) / (25Y)'' || | |||
|- | |||
| %STAT60% || N% Life Stolen per Hit || | |||
|- | |||
| %STAT62% || N% Mana Stolen per Hit || | |||
|- | |||
| %STAT86% || +N Life after each Kill || | |||
|- | |||
| %STAT91% || Requirements +N% || | |||
|- | |||
| %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 || | |||
|- | |||
| %SK48% || +N to Nova (Sorceress Only) || see [[Item_Filtering#Multi-layered_Stats|multi-layered stats]] | |||
|} | |||
==== Notification Keywords ==== | ==== Notification Keywords ==== | ||
第352行: | 第402行: | ||
| <span class="d2-orange">Orange</span> || 0B || 60 | | <span class="d2-orange">Orange</span> || 0B || 60 | ||
|- | |- | ||
| Coral || ? || ? | | <span class="d2-coral">Coral</span> || ? || ? | ||
|- | |- | ||
| Sage || ? || ? | | <span class="d2-sage">Sage</span> || ? || ? | ||
|- | |- | ||
| Teal || ? || ? | | <span class="d2-teal">Teal</span> || ? || ? | ||
|- | |- | ||
| Light Gray || ? || ? | | <span class="d2-light-gray">Light Gray</span> || ? || ? | ||
|} | |} | ||
第386行: | 第436行: | ||
| %CONTINUE% || the item is compared against additional rules instead of being displayed by the current rule<br>the current rule's output is stored in %NAME% | | %CONTINUE% || the item is compared against additional rules instead of being displayed by the current rule<br>the current rule's output is stored in %NAME% | ||
|- | |- | ||
| %NL% || specifies a new line | | %NL% || specifies a new line (lines are constructed bottom-up)<br>only works within braces (descriptions) or for '''ID NMAG''' items (identified items which are magic or higher rarity) | ||
|- | |- | ||
| {} || anything within the braces applies to the item's description rather than the item's name/title | | {} || anything within the braces applies to the item's description rather than the item's name/title | ||
第420行: | 第470行: | ||
|} | |} | ||
<code>ItemDisplay[key ASSASSIN]:</code> <span style="color:gray;">''hides keys when playing as an Assassin''</span> | <code>ItemDisplay[key ASSASSIN]:</code> <span style="color:gray;">''hides keys when playing as an Assassin''</span> | ||
==== Item Group Codes ==== | ==== Item Group Codes ==== | ||
第534行: | 第582行: | ||
|} | |} | ||
Since '''WP6''' overlaps entirely with both '''WP5''' and '''WP7''' (two very different kinds of weapons), it's rarely useful. | Since '''WP6''' overlaps entirely with both '''WP5''' and '''WP7''' (two very different kinds of weapons), it's rarely useful. | ||
===== Class-Restricted Item Groups ===== | ===== Class-Restricted Item Groups ===== | ||
第565行: | 第611行: | ||
! Code !! Description !! Details | ! Code !! Description !! Details | ||
|- | |- | ||
| GOLD || Gold || can be hidden, but not modified (always displays as "N Gold") | | GOLD || Gold || can be hidden, but not modified (always displays as "N Gold")<br>gold is automatically picked up (hiding it does not prevent this) | ||
|- | |- | ||
| | | GEMLEVEL<br>GEM || gem quality level || 1 - 5 (Chipped-Perfect) | ||
|- | |- | ||
| GEMTYPE || gem type || 1 - 7 (Amethyst, Diamond, Emerald, Ruby, Sapphire, Topaz, Skull) | | GEMTYPE || gem type || 1 - 7 (Amethyst, Diamond, Emerald, Ruby, Sapphire, Topaz, Skull) | ||
第574行: | 第620行: | ||
|- | |- | ||
| QTY || quantity || | | QTY || quantity || | ||
|- | |- | ||
| LVLREQ || level requirement || | | LVLREQ || level requirement || | ||
第593行: | 第637行: | ||
| DIFF || difficulty || 0 - 2 (Normal, Nightmare, Hell) | | DIFF || difficulty || 0 - 2 (Normal, Nightmare, Hell) | ||
|- | |- | ||
| MAPID || | | MAPID || current zone || 1 - 175 (see [[Item_Filtering#MAPID_IDs|details]]) | ||
|- | |- | ||
| MAPTIER || map tier || 0 - | | MAPTIER || map tier || 0 - 5 (PvP, T1, T2, T3, Dungeon, Unique) | ||
|- | |- | ||
| | | PREFIX || item prefix || 1 - 805 (see [[Item_Filtering#SUFFIX,_PREFIX,_and_AUTOMOD_IDs|details]]) | ||
|- | |- | ||
| | | SUFFIX || item suffix || 1 - 900 (see [[Item_Filtering#SUFFIX,_PREFIX,_and_AUTOMOD_IDs|details]]) | ||
|- | |- | ||
| AUTOMOD || item automod || | | AUTOMOD || item automod || 1 - 44 (see [[Item_Filtering#SUFFIX,_PREFIX,_and_AUTOMOD_IDs|details]]) | ||
|- | |- | ||
| FILTLVL || filter strictness level || 0 - 9 (Show All Items, up to 9 custom levels) | | FILTLVL || filter strictness level || 0 - 9 (Show All Items, up to 9 custom levels) | ||
|} | |} | ||
There is currently a [[Bugs|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. | There is currently a [[Bugs|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. | ||
第617行: | 第655行: | ||
! Code !! Description !! Item Appearance !! Details | ! Code !! Description !! Item Appearance !! Details | ||
|- | |- | ||
| SOCK || total sockets || Socketed (N) || | | SOCKETS<br>SOCK || total sockets || Socketed (N) || | ||
|- | |||
| DEF || total defense || Defense: N<br>+N Defense || | |||
|- | |- | ||
| ED || enhanced defense/damage || +N% Enhanced Defense<br>+N% Enhanced Damage || refers to defense for armor,<br>damage for weapons | | ED || enhanced defense/damage || +N% Enhanced Defense<br>+N% Enhanced Damage || refers to defense for armor,<br>damage for weapons | ||
|- | |||
| EDEF || enhanced defense || +N% Enhanced Defense || Includes bonuses from runewords and sockets<br>(ED does '''not''' include these) | |||
|- | |||
| EDAM || enhanced damage || +N% Enhanced Damage || Includes bonuses from runewords and sockets<br>(ED does '''not''' include these) | |||
|- | |- | ||
| MAXDUR || max durability || Increase Maximum Durability N% || | | MAXDUR || max durability || Increase Maximum Durability N% || | ||
第673行: | 第717行: | ||
| FOOLS || fool's mod || +X to Attack Rating (Based on Character Level)<br>+Y to Maximum Damage (Based on Character Level) || boolean condition | | FOOLS || fool's mod || +X to Attack Rating (Based on Character Level)<br>+Y to Maximum Damage (Based on Character Level) || boolean condition | ||
|} | |} | ||
==== Numbered Attribute Codes ==== | ==== Numbered Attribute Codes ==== | ||
第773行: | 第805行: | ||
| STAT89 || +N to Light Radius | | STAT89 || +N to Light Radius | ||
|- | |- | ||
| STAT91 || Requirements | | STAT91 || Requirements +N% | ||
|- | |- | ||
| <span style="color:gray;">STAT93</span> || +N% Increased Attack Speed | | <span style="color:gray;">STAT93</span> || +N% Increased Attack Speed | ||
第1,245行: | 第1,277行: | ||
|- | |- | ||
| style="font-size:90%;" | STAT499 || ''map_glob_add_mon_shriek'' | | style="font-size:90%;" | STAT499 || ''map_glob_add_mon_shriek'' | ||
|- | |||
| style="font-size:90%;" | STAT500 || Area Contains a Random Event | |||
|- | |- | ||
|} | |} | ||
第1,707行: | 第1,741行: | ||
===== Multi-layered Stats ===== | ===== 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 | 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: | |||
{| class="wikitable" | {| class="wikitable" | ||
! Name !! Stat ID !! Layer ID !! Value !! Example | ! Name !! Stat ID !! Layer ID !! Value !! Example | ||
|- | |- | ||
| Class Skill || 83 || [[Item_Filtering#Group_Skills|class_id]] || skill_bonus || <code>MULTI83,2=2</code> ([[Hellfire Torch]]) | | Class Skill || 83 || [[Item_Filtering#Group_Skills|class_id]] || skill_bonus || <code>MULTI83,2=2</code> ([[Hellfire Torch]] with Necromancer skills) | ||
|- | |- | ||
| O Skill || 97 || [[Item_Filtering#Individual_Skills|skill_id]] || skill_bonus || <code>MULTI97,74=20</code> ([[Corpsemourn]]) | | O Skill || 97 || [[Item_Filtering#Individual_Skills|skill_id]] || skill_bonus || <code>MULTI97,74=20</code> ([[Corpsemourn]]) | ||
第1,720行: | 第1,756行: | ||
| Single Skill || 107 || [[Item_Filtering#Individual_Skills|skill_id]] || skill_bonus || <code>MULTI107,20=3</code> ([[Thunderstroke]]) | | Single Skill || 107 || [[Item_Filtering#Individual_Skills|skill_id]] || skill_bonus || <code>MULTI107,20=3</code> ([[Thunderstroke]]) | ||
|- | |- | ||
| Elemental Skill || 126 || elemental_id (<span class="d2-red">1</span>, <span class="d2-yellow">2</span>, <span class="d2-orange">3</span>, <span class="d2-blue">4</span>, <span class="d2-green">5</span>) || skill_bonus || <code>MULTI126,4 | | Elemental Skill || 126 || elemental_id (<span class="d2-red">1</span>, <span class="d2-yellow">2</span>, <span class="d2-orange">3</span>, <span class="d2-blue">4</span>, <span class="d2-green">5</span>) || skill_bonus || <code>MULTI126,4>0</code> ([[Snowclash]]) | ||
|- | |- | ||
| Aura when Equipped || 151 || [[Item_Filtering#Individual_Skills|skill_id]] || aura_level || <code>MULTI151,98 | | Aura when Equipped || 151 || [[Item_Filtering#Individual_Skills|skill_id]] || aura_level || <code>MULTI151,98>5</code> ([[Templar's Might]]) | ||
|- | |- | ||
| Reanimate as: || 155 || monster_id || % chance || <code>MULTI155,492=6</code> ([[Demon Machine]]) | | Reanimate as: || 155 || monster_id || % chance || <code>MULTI155,492=6</code> ([[Demon Machine]]) | ||
|- | |- | ||
| Class Skill Tab || 188 || [[Item_Filtering#Group_Skills|skilltab_id]] || skill_bonus || <code>MULTI188,25 | | Class Skill Tab || 188 || [[Item_Filtering#Group_Skills|skilltab_id]] || skill_bonus || <code>MULTI188,25>4</code> ([[Cloudcrack]]) | ||
|- | |- | ||
| Cast on Attack || 195 || (skill_id * 64) + skill_level || % chance || <code>MULTI195,3028=15</code> ([[Todesfaelle Flamme]]) | | Cast on Attack || 195 || (skill_id * 64) + skill_level || % chance || <code>MULTI195,3028=15</code> ([[Todesfaelle Flamme]]) | ||
第1,749行: | 第1,785行: | ||
|- | |- | ||
| Skill on Death (map mod) || 453 || (skill_id * 64) + skill_level || % chance || | | 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: | |||
{| class="wikitable" | |||
! Stat !! MULTI !! Alternative !! Example | |||
|- | |||
| Clss Skill || MULTI83 || CLSK || <code>CLSK2=2</code> ([[Hellfire Torch]] with Necromancer skills) | |||
|- | |||
| O Skill || MULTI97 || OS || <code>OS74=20</code> ([[Corpsemourn]]) | |||
|- | |||
| Single Skill || MULTI107 || SK || <code>SK20=3</code> ([[Thunderstroke]]) | |||
|- | |||
| Class Skill Tab || MULTI188 || TABSK || <code>TABSK25>4</code> ([[Cloudcrack]]) | |||
|} | |} | ||
第2,186行: | 第2,236行: | ||
|- | |- | ||
| SK155 || Battle Command | | SK155 || Battle Command | ||
|- | |||
| SK368 || Deep Wounds | |||
|} | |} | ||
</li> | </li> | ||
第2,340行: | 第2,392行: | ||
|- | |- | ||
| <span style="color:gray;">SK400</span> || <span style="color:gray;">Bone Nova</span> | | <span style="color:gray;">SK400</span> || <span style="color:gray;">Bone Nova</span> | ||
|- | |||
| <span style="color:gray;">SK442</span> || <span style="color:gray;">Amplify Damage (Proc)</span> | |||
|- | |||
| <span style="color:gray;">SK443</span> || <span style="color:gray;">Weaken (Proc)</span> | |||
|- | |||
| <span style="color:gray;">SK444</span> || <span style="color:gray;">Iron Maiden (Proc)</span> | |||
|- | |||
| <span style="color:gray;">SK445</span> || <span style="color:gray;">Life Tap (Proc)</span> | |||
|- | |||
| <span style="color:gray;">SK446</span> || <span style="color:gray;">Decrepify (Proc)</span> | |||
|- | |||
| <span style="color:gray;">SK447</span> || <span style="color:gray;">Lower Resist (Proc)</span> | |||
|} | |} | ||
</li> | </li> | ||
第2,737行: | 第2,801行: | ||
|- | |- | ||
| 175 || Ashen Plains | | 175 || Ashen Plains | ||
|- | |||
| 176 || Zhar's Sanctum | |||
|- | |||
| 177 || Hidden Waterways | |||
|- | |||
| 178 || Colonnades of Madness | |||
|- | |||
| 179 || Counselor's Causeway | |||
|- | |||
| 180 || Stygian Caverns | |||
|- | |||
| 181 || Stronghold of Acheron | |||
|} | |} | ||
</li> | </li> | ||
第2,750行: | 第2,826行: | ||
AUTOMOD functions much the same as SUFFIX and PREFIX. | AUTOMOD functions much the same as SUFFIX and PREFIX. | ||
Two of the three basic comparison operators ('''<''' and '''>''') cannot be used with SUFFIX or 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. | ||
<code>ItemDisplay[cm3 PREFIX>1278 PREFIX<1354]: %NAME% +1</code> <span style="color:gray;">''no effect' | <code>ItemDisplay[cm3 PREFIX>1278 PREFIX<1354]: %NAME% +1</code> <span style="color:gray;">''no effect (don't use)''</span> | ||
<code>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</code> <span style="color:gray;">''appends '''+1''' to any grand charm with a skill''</span> | <code>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</code> <span style="color:gray;">''appends '''+1''' to any grand charm with a skill''</span> | ||
<code>ItemDisplay[cm3 PREFIX~1279-1353]: %NAME% +1</code> <span style="color:gray;">''appends '''+1''' to any grand charm with a skill''</span> | <code>ItemDisplay[cm3 PREFIX~1279-1353]: %NAME% +1</code> <span style="color:gray;">''appends '''+1''' to any grand charm with a skill (same as above)''</span> | ||
External Chart of IDs: [https://docs.google.com/spreadsheets/d/1J5_V3bIloualyzb5_lDFueSSCcQyyPEkKYvoQR9Ve9Y/ Affix IDs] | External Chart of IDs: [https://docs.google.com/spreadsheets/d/1J5_V3bIloualyzb5_lDFueSSCcQyyPEkKYvoQR9Ve9Y/ Affix IDs] |