Skip to main content

stat.set

Overview

  • Sets a stat to the given value on the target character.

Metadata

FieldValue
DisplaySet Stat
Categorystat
AccessScriptCheat
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdno—Target entity ID (default: possessed)
stat_idnameyes—Stat ID
valuefloatyes—Target value

Usage

await inzoi.cli.execute('stat.set', {
entity_id: 0, // optional
stat_id: '',
value: 0.0,
});