Skip to content

presetFountain beta ​

Function of @v12-engine/engine

ts
export declare function presetFountain(aura: string, over?: Partial<UnitTypeDef>): UnitTypeDef;

A fountain: a building that keeps the game's aura on who is around it (aura, the id of a passive ability with an aura effect: a fountain of health's regeneration, a fountain of mana's). It cannot be hurt; a map puts it down for the neutral player, so the aura says affects: 'all' to reach everyone (the neutral player is nobody's ally). What is given over the fountain's own goes over it: presetFountain('healingWaters', { id: 'fountainOfHealth' })