Skip to content

EmphasisFeel beta ​

Interface of @v12-engine/client

ts
export interface EmphasisFeel

What a critical strike or a kill adds (FeelLook.crit, FeelLook.kill): a shake of the view, a sound layered over the hit's, words floated over the struck

Members ​

float ​

ts
float?: FloatDef | string;

Words floated over the struck (FloatDef, or just words): none when left out (the floats' crit is bigger already)

shake ​

ts
shake?: number;

How hard the view shakes, about 1 for a big blast: 0.15 for a crit, 0.2 for a kill when left out, 0 for none

sound ​

ts
sound?: string;

A sound of the game's layered over the hit's, heard from the struck

volume ​

ts
volume?: number;

How loud the sound is, 0..1: 0.7 when left out

who ​

ts
who?: 'all' | 'heroes' | 'mine';

Whose: every one (all), those where a hero struck or died (heroes), or those where the player's own struck or were struck (mine). all for a crit, heroes for a kill when left out