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_identityIdnoTarget entity ID (default: possessed)
stat_idnameyesStat ID
percentfloatyesRatio 0.0 ~ 1.0

Returns

  • Return shape is not declared for this command.

Usage

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