Dash beta
Interface of @v12-engine/engine
export interface DashA rush to a spot: nothing stops it, and what it does happens where it ends
Members
ability
ability: string;The id of the ability that sent it
buff
buff?: string;A buff it carries for as long as the rush lasts
effect
effect?: number;Which effect of the ability sent it, by its place there (effectIndex): what the screen draws it with (AbilityLook.effects). Nothing to the rules
effects
effects: EffectDef[];The effects that happen where it ends
from
from: Vec2;Where it started
height
height?: number;How high it rises on the way: a leap, over whatever is in between
level
level: number;The level of the ability it was cast at
pulled
pulled?: {
by: EntityId;
follows: boolean;
};Dragged by someone (the effect pull): by whom, in whose name effects happen to it as it arrives, and whether it is dragged after them as they move (follows) or to the spot (x, z). It does nothing of its own meanwhile, and nothing else moves it
speed
speed: number;Units per second
target
target?: EntityId;The unit it rushes to (a dash to a unit, in a game with the moves pack): its landing effects happen to it, where it still is in the world
x
x: number;Where it ends, east-west in cells
z
z: number;Where it ends, north-south in cells