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

CastingTrait

const CastingTrait: AnyEntityPredictedTrait<Trait<{ ability: string; releaseTick: number; request: number; target: Entity | null; }>>

A cast started and not released: the ability, its target, null for an area cast, the tick its wind-up releases on, and the page’s request id. What it holds back is each resource’s reserved. Predicted: the player’s page starts it on the press and releases it on the tick the room does, and every page sees it.