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_identityIdnoTarget entity ID (default: possessed)
stat_idnameyesStat ID
valuefloatyesTarget value

Returns

  • Return shape is not declared for this command.

Usage

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