Send Action (Item Action Type)

Hands this item action off to an apoli:receive_action power on the item's holder.

Hands off to an apoli:receive_action power on whoever is holding the stack. The receiver acts on the stack through its item_action and item_condition fields.

Type ID: apoli:send_action (also shappoli:send_action)

Fields

FieldTypeDefaultDescription
receiverIdentifierrequiredThe id of a power on the same entity. Nothing happens if the entity does not have it, if it is suppressed, if its own condition fails, or if it is not the right receiving type.

Example

{
  "type": "apoli:receive_action",
  "item_condition": { "type": "apoli:is_damageable" },
  "item_action": { "type": "apoli:damage", "amount": 1 }
}
{
  "type": "apoli:action_on_item_use",
  "item_action": {
    "type": "apoli:send_action",
    "receiver": "mypack:wear_out_tool"
  }
}