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

restoreStats

restoreStats(entity, saved): void

Lays a save’s stats on the entity: each stat’s base where the save holds one, and its modifiers in place of the ones it has. Its bounds, and every stat the save does not name, stay as declared.

Parameter Type
entity Entity
saved SavedStats

void