Skip to content

fallenHeroes beta ​

Function of @v12-engine/engine

ts
export declare function fallenHeroes(world: World): readonly FallenRecord[];

The heroes that fell within the last HeroSettings.fallenFor seconds (8 when the game says nothing), the oldest first. Read it from a death listener (entityDied) to know what the hero that just fell was. None in a game without the heroes pack