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

BuffInfo

Defined in: server/api.d.ts:7223

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

aiTag: string | null

Defined in: server/api.d.ts:7237

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


class: string

Defined in: server/api.d.ts:7232

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


duration: number

Defined in: server/api.d.ts:7242

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


name: string

Defined in: server/api.d.ts:7227

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