BuffInfo
Defined in: server/api.d.ts:8263
What the game’s own tables say about one status effect.
Properties
Section titled “Properties”aiTag:
string|null
Defined in: server/api.d.ts:8277
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:8272
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: server/api.d.ts:8287
Whether this definition was registered with Buffs.register.
description
Section titled “description”description:
string|null
Defined in: server/api.d.ts:8297
Registered description for a custom effect; null for a native effect.
displayName
Section titled “displayName”displayName:
string|null
Defined in: server/api.d.ts:8292
Registered display text for a custom effect; null for a native effect.
duration
Section titled “duration”duration:
number
Defined in: server/api.d.ts:8282
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:8267
The name the game’s own buff tables give the effect, and the spelling every buff verb takes.