Origins: Powerful Powers
» Entity conditions » XP progress

XP progress

origins-powerful-powers:xp_progressentity conditionplayers only

Progress toward the next experience level, from 0.0 to 1.0: how full the XP bar is.

FieldTypeDefaultDescription
comparisonComparisonrequired
compare_toFloatrequired0.0 to 1.0

Example:

json
{
  "type": "origins:modify_damage_dealt",
  "condition": {
    "type": "origins-powerful-powers:xp_progress",
    "comparison": ">=",
    "compare_to": 0.9
  },
  "modifier": {
    "operation": "multiply_total_multiplicative",
    "value": 0.1
  }
}

When you're about to level up, your hits deal 10% more.

Attribute: xp_progress