HeroPortrait beta
Interface of @v12-engine/client
ts
export interface HeroPortraitA hero in the row of portraits
Members
alive
ts
alive: boolean;Whether it is alive; false while it waits to be brought back
callings
ts
callings?: CallingTag[];Its callings, strongest first, for its tooltip (HeroDef.callings)
health
ts
health: number;Its health, for the bar under its portrait
id
ts
id: number;Unique id of the hero: the entity
key
ts
key: string;F1, F2, ...
level
ts
level: number;The hero's level
mana
ts
mana: number;Its mana, for the bar under its portrait
name
ts
name: string;The hero's name as the player reads it
points
ts
points: number;Unspent points to put into its abilities
portrait
ts
portrait?: string;Its face, by address of an image
respawnIn
ts
respawnIn?: number;Seconds until it comes back by itself, while it waits to
reviving
ts
reviving?: number;0..1 while being brought back
selected
ts
selected: boolean;Whether it is part of the selection now