FormOptions beta
Interface of @v12-engine/engine
export interface FormOptionsHow a hero takes a form (takeForm): what it learns there and at what levels, what of its own it keeps, for how long, what turns it back. learns, levels and keeps are read as a HeroForm's; with learns left out, what the hero's type says of the form (HeroDef.forms) is taken, or else what the form's own type learns
Members
back
back?: MorphBack[];What turns it back: its time and its death when left out
by
by?: string;The ability that made it, kept in the form: cast again there, it turns it back where back has ability
cooldowns
cooldowns?: FormCooldowns;What becomes of the cooldowns going in and out (HeroForm.cooldowns): the time away runs the put away down when left out
duration
duration?: number;Seconds it lasts: until something else turns it back when left out
keeps
keeps?: string[];Its own abilities the form leaves in place, by id (HeroForm.keeps): an ultimate, a passive
learns
learns?: string[];What it learns in the form, by id (HeroForm.learns)
levels
levels?: Record<string, string | number> | number[];The level each of learns starts at, by id (HeroForm.levels): one of its own whose level it has, or a number (another hero's, taken over). A list is by place in learns, numbers alone