Toggle (Entity Action Type)
Switches a power that uses the Toggle power type on if it is off, and off if it is on.
Type ID: apoli:toggle
note
This is the entity action. For the power type it switches, see Toggle (Power Type).
Fields
| Field | Type | Default | Description |
|---|---|---|---|
power | Identifier | required | The ID of a power that uses the Toggle power type. |
Examples
"entity_action": {
"type": "apoli:toggle",
"power": "origins:phantomize"
}This switches the origins:phantomize power (data/origins/powers/phantomize.json) to its other state.