Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

createCastPayload

createCastPayload(world, character, ability): object

The cast command’s payload a page sends for ability as character: her target, or none for an area ability or where she holds no living target.

Parameter Type
world World
character Entity
ability string

object

Name Type
ability string
target Entity | null