Power
Checks if the entity has the specified power.
Type ID: apoli:power
Fields
Field | Type | Default | Description |
---|---|---|---|
power |
Identifier | The namespace and ID of the power to check for. | |
source |
Identifier | optional | If specified, checks if the specified power is from this power source. |
Examples
{
"condition": "apoli:power",
"power": "origins:arcane_skin"
}
This example will check if the player has the origins:arcane_skin
power.
{
"condition": "apoli:power",
"power": "origins:water_breathing",
"source": "origins:merling"
}
This example will check if the player has the origins:water_breathing
power from the origins:merling
power source.