Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Data shapeClient APIGenerated

BuffInfo

Defined in: client/api.d.ts:483

What the game’s own tables say about one status effect.

aiTag: string | null

Defined in: client/api.d.ts:497

The family player.clearBuffs would take it off with, or null for the majority that belong to none.


class: string

Defined in: client/api.d.ts:492

The kind of effect it is – poison, alcohol, injury, potion. Buffs.classes lists the ones a server can take over.


duration: number

Defined in: client/api.d.ts:502

How long the effect runs from start to finish, in real seconds, and negative for one with no end.


name: string

Defined in: client/api.d.ts:487

The name the game’s own buff tables give the effect, and the spelling every buff verb takes.