Skip to content

BloodLook beta ​

Interface of @v12-engine/client

ts
export interface BloodLook

How blood looks where something is hit or dies (see UnitLook.blood)

Members ​

amount ​

ts
amount?: number;

How many drops fly: 14 for a hit and 40 for a death when left out, none for 0

color ​

ts
color?: [number, number, number];

The blood's colour as red, green, blue (0..1); the client's red when left out

pool ​

ts
pool?: number;

How big the pools it leaves are, across: none for 0

seconds ​

ts
seconds?: number;

Seconds the pools stay on the ground: 30 when left out

spray ​

ts
spray?: string | FxDef;

The effect sprayed, in the place of the ready-made blood-spray, told the same knobs (amount, color, tint, speed, height): blood-burst for a death that bursts, a game's own by name