Skip to content

HeroSent beta ​

Interface of @v12-engine/engine

ts
export interface HeroSent

What a player is told of a hero (heroState): its level, to everyone who sees it; its experience to its side, and to everyone where the rules share it (RuleSettings.hud.shareXp); the points it has to spend and what it can learn, to its side

Members ​

learnable ​

ts
learnable?: LearnableInfo[];

The abilities it can put points into, how far and whether now: its side's

level ​

ts
level: number;

The hero's level, which everyone who sees the hero is told

points ​

ts
points?: number;

Points it has to put into abilities: its side's

xp ​

ts
xp?: XpInfo;

Its experience: its side's, and everyone's where the rules share it