Skip to content

applyHeroRecord beta ​

Function of @v12-engine/engine

ts
export declare function applyHeroRecord(world: World, hero: Entity, record: HeroRecord): void;

Makes a hero of a world what a record says it was: its level, experience and points, its abilities as far as they were learned, and its items in their slots. In place of what it had. What the game no longer has, an ability or an item, is left out. Whole: health and mana full, nothing cooling down