attackLookOf beta
Function of @v12-engine/client
ts
export declare function attackLookOf(visual: Pick<UnitLook, 'attacks'>, weapon?: number, buffs?: readonly string[]): AttackLook | undefined;The look of one of a unit's attacks as it is now (UnitLook.attacks): its own, with what a buff the unit carries changes laid over it (AttackLook.whileBuff: the first buff named that it carries; the shot field by field over its shot). Nothing where the unit's look says nothing of that attack