Action On XP Gain
Power Type
Executes an Entity Action Type when the player gains experience.
Type ID: epoli:action_on_xp_gain
Fields
Field | Type | Default | Description |
---|---|---|---|
entity_action |
Entity Action Type | The action to execute on the player. |
Examples
{
"type": "epoli:action_on_xp_gain",
"entity_action": {
"type": "origins:execute_command",
"command": "say Gained XP :)"
}
}
This example will execute the command Say Gained XP :)
on the player when they gain experience.