Item Filtering: Difference between revisions

→‎Numbered Attribute Codes: Added a new section for MULTI and moved all multi-layered stats here (they wont ever work properly with STAT so there's no reason to keep them in 2 different tables)
m (→‎Numbered Attribute Codes: stat374 should be area level not rarity)
(→‎Numbered Attribute Codes: Added a new section for MULTI and moved all multi-layered stats here (they wont ever work properly with STAT so there's no reason to keep them in 2 different tables))
Line 670:
 
Some numbered attribute codes (shown in <span style="color:gray;">gray</span>) refer to the same attributes as [[Item_Filtering#Named_Attribute_Codes|named attribute codes]] or other named codes, which can be used instead for better readability.
 
For attributes that have extra parameters, the special '''MULTI''' condition can be used. For example, '''MULTI151,123''' refers to '''STAT151''' (Level N ''Skill'' Aura when Equipped) with [[Item_Filtering#Individual_Skills|skill #123]] (Conviction).
 
<code>ItemDisplay[MULTI151,123>0]: %NAME% (Conv)</code> <span style="color:gray;">''adds '''(Conv)''' to items that grant Conviction aura''</span>
 
<div><ul style="margin-left:0px;">
Line 744 ⟶ 740:
|-
| STAT81 || Knockback
|-
| <span style="color:gray;">STAT83</span> || +N to Amazon Skill Levels
|-
| STAT85 || +N% to Experience Gained
Line 826 ⟶ 820:
|-
| style="font-size:90%;" | STAT158 || Fires Explosive Arrows or Bolts
|-
| style="font-size:90%;" | <span style="color:gray;">STAT188</span> || +N to Bow and Crossbow Skills
|-
| style="font-size:90%;" | <span style="color:gray;">STAT194</span> || Socketed (N)
Line 1,161 ⟶ 1,153:
|-
| style="font-size:90%;" | STAT426 || Monsters have +N% Enhanced Physical Damage
|-
| style="font-size:90%;" | STAT427 || ''map_mon_splash''
|-
| style="font-size:90%;" | STAT428 || Players have -N% to All Resistances
Line 1,201 ⟶ 1,191:
|-
| style="font-size:90%;" | STAT452 || Players have N% Attack and Cast Speed
|-
| style="font-size:90%;" | STAT453 || ''map_mon_skillondeath''
|-
| style="font-size:90%;" | STAT454 || ''map_play_maxhp_percent''
Line 1,291 ⟶ 1,279:
|-
| STAT95 || ''lastblockframe''
|-
| STAT97 || ''item_nonclassskill''
|-
| STAT98 || ''state''
Line 1,305 ⟶ 1,291:
|-
| style="font-size:90%;" | STAT106 || ''skill_bypass_beasts''
|-
| style="font-size:90%;" | STAT107 || ''singleskill''
|-
| style="font-size:90%;" | STAT125 || ''item_throwable''
|-
| style="font-size:90%;" | STAT126 || ''item_elemskill''
|-
| style="font-size:90%;" | STAT129 || ''ironmaiden_level''
Line 1,323 ⟶ 1,305:
|-
| style="font-size:90%;" | STAT137 || ''item_kickdamage''
|-
| style="font-size:90%;" | STAT151 || ''item_aura''
|-
| style="font-size:90%;" | STAT156 || ''item_pierce''
Line 1,375 ⟶ 1,355:
|-
| style="font-size:90%;" | STAT184 || ''missing_hp''
|-
| style="font-size:90%;" | STAT195 || ''item_skillonattack''
|-
| style="font-size:90%;" | STAT196 || ''item_skillonkill''
|-
| style="font-size:90%;" | STAT197 || ''item_skillondeath''
|-
| style="font-size:90%;" | STAT198 || ''item_skillonhit''
|-
| style="font-size:90%;" | STAT199 || ''item_skillonlevelup''
|-
| style="font-size:90%;" | STAT200 || ''item_skilloncast''
|-
| style="font-size:90%;" | STAT201 || ''item_skillongethit''
|-
| style="font-size:90%;" | STAT204 || ''item_charged_skill''
|-
| style="font-size:90%;" | STAT215 || ''item_armorpercent_perlevel''
Line 1,517 ⟶ 1,481:
|-
| style="font-size:90%;" | STAT358 || ''passive_mag_pierce''
|-
| style="font-size:90%;" | STAT359 || ''item_splashonhit''
|-
| style="font-size:90%;" | STAT361 || ''corruptor''
Line 1,718 ⟶ 1,680:
|-
| style="font-size:90%;" | 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. The format for this condition is <code>MULTI{Stat ID},{Layer ID}>{Value}</code>
 
Below is a list of stats with extra layers:
 
{| class="wikitable"
! 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]])
|-
| O Skill || 97 || [[Item_Filtering#Individual_Skills|skill_id]] || skill_bonus || <code>MULTI97,74=20</code> ([[Corpsemourn]])
|-
| Single Skill || 107 || [[Item_Filtering#Individual_Skills|skill_id]] || skill_bonus || <code>MULTI107,20=3</code> ([[Thunderstroke]])
|-
| Elemental Skill || 126 || [[Item_Filtering#Group_Skills|elemental_id]] || skill_bonus || <code>MULTI126,4=2</code> ([[Snowclash]])
|-
| Aura when Equipped || 151 || [[Item_Filtering#Individual_Skills|skill_id]] || aura_level || <code>MULTI151,98=8</code> ([[Templar's Might]])
|-
| 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=6</code> ([[Cloudcrack]])
|-
| Cast on Attack || 195 || (skill_id * 64) + skill_level || % chance || <code>MULTI195,3028=15</code> ([[Todesfaelle Flamme]])
|-
| Cast when you Kill an Enemy || 196 || (skill_id * 64) + skill_level || % chance || <code>MULTI196,28569=50</code> ([[Executioner's Justice]])
|-
| Cast when you Die || 197 || (skill_id * 64) + skill_level || % chance || <code>MULTI197,3615=100</code> ([[Rainbow_Facet_(Cold)|Rainbow Facet]])
|-
| Cast on Striking || 198 || (skill_id * 64) + skill_level || % chance || <code>MULTI198,792=8</code> ([[Demon Machine]])
|-
| Cast on Level-up || 199 || (skill_id * 64) + skill_level || % chance || <code>MULTI199,2973=100</code> ([[Rainbow_Facet_(Cold)|Rainbow Facet]])
|-
| Cast on Casting || 200 || (skill_id * 64) + skill_level || % chance || <code>MULTI200,7196=20</code> ([[Akarat's Devotion]])
|-
| Cast when Struck || 201 || (skill_id * 64) + skill_level || % chance || <code>MULTI201,2821=10</code> ([[Coldkill]])
|-
| Charge Skill || 204 || (skill_id * 64) + skill_level || current_charges + (max_charges * 256) || <code>MULTI204,5455=7453</code> ([[Bloodmoon]])
|-
| Melee Splash || 359 || (skill_id * 64) + skill_level || % chance || <code>MULTI359,22913=100</code>
|-
| Melee Splash (map mod) || 427 || (skill_id * 64) + skill_level || % chance || <code>MULTI427,22913=100</code>
|-
| Skill on Death (map mod) || 453 || (skill_id * 64) + skill_level || % chance ||
|}