Skip to main content
POST
/
ability
/
use
activate an ability on an entity
curl --request POST \
  --url http://localhost:3917/ability/use \
  --header 'Content-Type: application/json' \
  --data '
{
  "entity_id": 5,
  "slot": "Q"
}
'
{
  "ok": true,
  "message": "<string>"
}

Body

application/json

Entity id and ability slot (Q, W, E, or R; defaults to Q).

The body is of type any.

Response

200 - application/json

Use-ability event queued for the entity.

ok
boolean
required
message
string | null