apply a status effect to an entity
Status effects
apply a status effect to an entity
apply a status effect to an entity
POST
apply a status effect to an entity
Body
application/json
Apply a timed status effect: entity_id, tag, duration seconds (default 5). Optional modifiers are "stat:op:value" strings (op = set/add/multiply); stack_policy is replace or stack:N; tick_effect is dps:N, hps:N, or custom:name; source is the applying entity id.
The body is of type any.
Response
200 - application/json
Effect applied; ok is false with an error field if the entity is not found.