Skip to main content

Power Count (Item Condition Type)

Compares how many powers are embedded in the item with a number.

Type ID: apoli:power_count

Fields

FieldTypeDefaultDescription
slotEquipment SlotoptionalOnly counts the powers assigned to this equipment slot: "head", "chest", "legs", "feet", "mainhand" or "offhand".
comparisonComparisonrequiredHow the number of powers is compared with compare_to.
compare_toIntegerrequiredThe number the count is compared with.

Examples

"item_condition": {
    "type": "apoli:power_count",
    "comparison": ">",
    "compare_to": 0
}

This checks whether the item has any powers embedded in it.

"item_condition": {
    "type": "apoli:power_count",
    "slot": "mainhand",
    "comparison": "<",
    "compare_to": 10
}

This checks whether the item has fewer than 10 powers assigned to the main hand.