Armor Value (Item Condition Type)

Checks whether the item has a certain armor value.

Checks whether the item has a certain armor value. Non-armor items are considered as having an armor value of 0.

Type ID: apoli:armor_value

!!! note

You can visit these pages to get the armor values for each armor item piece:

Fields

FieldTypeDefaultDescription
comparisonComparisonDetermines how the armor value of the item should be compared to the specified value.
compare_toIntegerThe value at which the armor value of the item will be compared to.

Examples

"item_condition": {
    "type": "apoli:armor_value",
    "comparison": ">",
    "compare_to": 3
}

This example will check if the armor item (in this context, a chestplate) has a higher armor value than 3, which is the armor value for the leather chestplate armor item.