Skip to content

swingCancelled beta ​

Variable of @v12-engine/engine

ts
swingCancelled: import("./events").EventKey<{
    attacker: import("./entity").Entity;
    target?: import("./entity").Entity;
    weapon: number;
}>

A unit's swing was called off before its blow landed (moved away, told something else, its target gone, stunned): told to the players as attackCancelled, for the screen to cut the attack to the walk