Skip to main content

stat.set_percent

Overview

  • Sets a stat as a ratio (0.0~1.0) of its min-max range on the target character.

Metadata

FieldValue
DisplaySet Stat Percent
Categorystat
AccessScriptCheat
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdno—Target entity ID (default: possessed)
stat_idnameyes—Stat ID
percentfloatyes—Ratio 0.0 ~ 1.0

Usage

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