Skip to main content

XP Points (Entity Condition Type)

Compares the entity's experience points with a number.

Type ID: apoli:xp_points

note

This condition only works on players.

Fields

FieldTypeDefaultDescription
comparisonComparisonrequiredHow the player's experience points are compared with compare_to.
compare_toIntegerrequiredThe number the experience points are compared with.

Examples

"condition": {
    "type": "apoli:xp_points",
    "comparison": ">=",
    "compare_to": 90
}

This checks whether the player has 90 or more experience points, which takes at least 7 levels.