Skip to content

HeroItem beta ​

Interface of @v12-engine/engine

ts
export interface HeroItem

An item a hero carries, as it is carried over: what it is, its uses left, the game's own state of it

Members ​

charges ​

ts
charges: number;

Uses left of the item

data ​

ts
data?: Record<string, unknown>;

The game's own state of the item, carried over as plain data

item ​

ts
item: string;

The id of the item type carried