Skip to main content

Revoke Skill Tree (Entity Action Type)

Revokes a skill tree that was granted to the player this action runs on. The tree's tab disappears, and its default_powers and every power from its purchased skills are removed. Purchases and points are kept, so if the tree is granted again later, everything comes back.

Type ID: apoli:revoke_skill_tree

note

Trees with auto_grant: true can't really be revoked, because every player has them automatically. Set auto_grant: false on trees you want to manage with grant and revoke.

If skill_tree names an ID that isn't a loaded Apoli skill tree and Pufferfish's Skills is installed, the ID is looked up as a Skills category and that category is locked instead, the reverse of apoli:grant_skill_tree.

Fields

FieldTypeDefaultDescription
skill_treeIdentifierrequiredThe ID of the skill tree to revoke.

Example

{
    "type": "apoli:revoke_skill_tree",
    "skill_tree": "example:phantom"
}