Skip to main content

Store Power (Bi-Entity Action Type)

Puts powers into the target's apoli:power_storage, takes them out, or empties it. With from_held, the IDs come from the powers the actor holds, so one entity can teach another what it knows.

Type ID: apoli:store_power

The fields are the same as in the entity form, apoli:store_power, and only the side that owns the storage differs. Mixing up the two sides is the usual reason nothing gets stored, so with /apoli:dev_mode on, each attempt names the entity whose storage was written and, for from_held, the entity it read the powers from.

Fields

FieldTypeDefaultDescription
storageIdentifieroptionalOnly touches this storage power on the target. Leave it out to apply to every one it has.
powerIdentifier or listoptionalThe power IDs to store or remove.
tagsString or listoptionalEvery loaded power carrying one of these tags.
from_heldBooleanfalseTakes the IDs from the powers the actor holds, narrowed by power and tags.
operationStringaddadd, remove or clear. clear empties the storage and ignores the filters.

Examples

Pass on spells with every hit, so the actor's spell-tagged powers land in the target's book:

{
  "type": "apoli:action_on_hit",
  "bientity_action": {
    "type": "apoli:store_power",
    "from_held": true,
    "tags": "spell"
  }
}

Hand one named power to whoever you are looking at:

{
  "type": "apoli:store_power",
  "storage": "example:spell_book",
  "power": "example:frost_nova"
}