leaveForm beta
Function of @v12-engine/engine
ts
export declare function leaveForm(world: World, entity: Entity, why?: MorphBack | (string & {})): boolean;Turns a hero in a form back into what it was (takeForm): its type, its own abilities as they were (their cooldowns as HeroForm.cooldowns says, run down while it was away when left out, what it shares with the form as the form left it), the share of its health and mana kept and what it was told going on. why is told with the morphedBack event: one of MorphBack, or a game's own word ('kill': a possessed hero that kills). False for one in no form