BuffInfo
Defined in: client/api.d.ts:512
What the game’s own tables say about one status effect.
Properties
Section titled “Properties”aiTag:
string|null
Defined in: client/api.d.ts:526
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:521
The kind of effect it is – poison, alcohol, injury, potion. Buffs.classes lists the ones a server can take over.
custom
Section titled “custom”custom:
boolean
Defined in: client/api.d.ts:536
Whether this definition was registered with Buffs.register.
description
Section titled “description”description:
string|null
Defined in: client/api.d.ts:546
Registered description for a custom effect; null for a native effect.
displayName
Section titled “displayName”displayName:
string|null
Defined in: client/api.d.ts:541
Registered display text for a custom effect; null for a native effect.
duration
Section titled “duration”duration:
number
Defined in: client/api.d.ts:531
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:516
The name the game’s own buff tables give the effect, and the spelling every buff verb takes.