Skip to main content

stat.add

Overview

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

Metadata

FieldValue
DisplayAdd Stat
Categorystat
AccessScriptCheat
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdno—Target entity ID (default: possessed)
stat_idnameyes—Stat ID (e.g. Hunger, Sleep)
valuefloatyes—Amount to add

Usage

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