GroundUse beta
Interface of @v12-engine/engine
ts
export interface GroundUseSomething on the ground others use (UnitTypeDef.use), in a game with the ground objects pack
Members
ability
ts
ability: string;The ability whose effects go off as one uses it: in its maker's name (its own where there is none), the one who uses it the target, the object the origin, and the point the next of those put down with it (the other end of a portal) or the object itself
by
ts
by?: 'allies' | 'enemies' | 'all';Who may use it: allies of its owner (when left out), enemies or all
range
ts
range?: number;How near its edge one comes to use it: 1 when left out
times
ts
times?: number;Times it is used before it is gone: for ever when left out