Action On Shape Ability Use (Power Type)
Fires when the player uses their shape's ability. The action runs with the player as the actor and their current shape as the target.
Type ID: apoli:action_on_shape_ability_use (alias shappoli:action_on_shape_ability_use)
note
This type needs WoodWalkers and doesn't exist without it, so a pack that uses it must depend on the mod.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
bientity_action | Bi-entity Action Type | required | Runs when the ability is used. |
bientity_condition | Bi-entity Condition Type | optional | Only fires when this passes. |
Example
{
"type": "apoli:action_on_shape_ability_use",
"bientity_action": {
"type": "apoli:actor_action",
"action": {
"type": "apoli:change_resource",
"resource": "mypack:stamina",
"change": -1
}
}
}Every use of the ability costs a point of the mypack:stamina resource.