Add Skill Points (Entity Action Type)

Adds skill points to a players tree, allowing the developer to allocate points for certain actions.

Adds skill points to a players tree, allowing the developer to allocate points for certain actions.

Type ID: apoli:add_skill_points

Fields

FieldTypeDefaultDescription
skill_treeIdentifierrequiredID of the skill tree the points are given to. This must be the root of the tree.
pointsInteger1How many points to add. Negative values take points away, down to zero.

Example

{
    "entity_action": {
        "type": "apoli:add_skill_points",
        "skill_tree": "example_pack:skill_tree",
        "points": 1
    }
}

This example will add 1 point to the example_pack:skill_tree tree.