Item Filtering:修订间差异

跳转到导航 跳转到搜索
无编辑摘要
第381行: 第381行:
=== Boolean Conditions ===
=== Boolean Conditions ===
==== Mutable Codes ====
==== Mutable Codes ====
Contrary to most "immutable" codes which refer to static item properties, these conditions depend on where and how the item is being viewed. Some value conditions such as [[Item_Filtering#Info_Codes|CLVL and DIFF]] are also "mutable" in this way.
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: [[Item_Filtering#Info_Codes|CLVL, CRAFTALVL, DIFF, FILTLVL, MAPID]], and [[Item_Filtering#Numbered_Attribute_Codes|CHARSTAT codes]].
{| class="wikitable"
{| class="wikitable"
! Code !! Description
! Code !! Description
第671行: 第671行:


==== Numbered Attribute Codes ====
==== Numbered Attribute Codes ====
The relevant number for each code is shown as N. In many cases, if N is absent, it is either 0 or 1. For codes that refer to attributes which are based on character level, N is often a multiple of Y (+Y per Character Level) such as 8Y for STAT214 or 2Y for STAT224.
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 <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.
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.
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 [[Item_Filtering#Multi-layered_Stats|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.


<div><ul style="margin-left:0px;">
<div><ul style="margin-left:0px;">