Add XP (Entity Action Type)
Gives the player experience points or levels. A negative number of levels takes levels away.
Type ID: apoli:add_xp
Fields
| Field | Type | Default | Description |
|---|---|---|---|
points | Integer or Expression | optional | Experience points to give. It can't be negative. |
levels | Integer or Expression | optional | Experience levels to give. A negative number takes levels away. |
Examples
"entity_action": {
"type": "apoli:add_xp",
"levels": 2
}This gives the player 2 levels.