Power
Checks whether the entity has a specified power. Mostly used for Origin conditions in layers
Type ID: origins:power
Fields
| Field | Type | Default | Description |
|---|---|---|---|
power |
Identifier | The namespace and ID of the power the entity needs to have to pass the check. |
Examples
"condition": {
"type": "origins:power",
"power": "origins:damage_from_potions"
}
This example will check if the player has the origins:damage_from_potions power in its origin.