Skip to content

BuffInfo beta ​

Interface of @v12-engine/client

ts
export interface BuffInfo

A buff on a unit, as a panel shows it

Members ​

description ​

ts
description?: string;

What the buff does, in words, for its tooltip

harmful ​

ts
harmful: boolean;

Whether the buff hurts the unit that has it

icon ​

ts
icon?: string;

Its picture (IconSet.buffs)

id ​

ts
id: string;

The buff's id (BuffDef.id)

name ​

ts
name: string;

The buff's name as the player reads it

seconds ​

ts
seconds?: number;

Seconds it still lasts, where this screen is told (EntityState.buffTimes); none for what lasts as long as its source keeps it

stacks ​

ts
stacks?: number;

How many of it there are, for one that piles up