Skip to content

AttackStats beta ​

Interface of @v12-engine/engine

ts
export interface AttackStats

The stats an attack reads how hard, how fast and how far it hits from (AttackDef.stats): the unit's attackDamage, attackSpeed and attackRange for what is left out

Members ​

damage ​

ts
damage?: StatKey;

What a hit deals, before the armour of the target. attackDamage when left out

range ​

ts
range?: StatKey;

How far it reaches, between the edges. attackRange when left out

speed ​

ts
speed?: StatKey;

Hits a second. attackSpeed when left out