Skip to main content

buff.add

Overview

  • Adds a buff to the target character. Optionally overrides its lifetime with duration_minutes (finite-duration buffs only; omit to use the table default).

Metadata

FieldValue
DisplayAdd Buff
Categorybuff
AccessScriptCheat
ScopeB2Authority
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdnoTarget entity ID (default: possessed)
buff_idnameyesBuff ID to add
duration_minutesintnoOverride buff duration in in-game minutes (omit = table default)

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('buff.add', {
entity_id: 0, // optional
buff_id: '',
duration_minutes: 0, // optional
});