Skip to content

defaultPickAttack beta ​

Function of @v12-engine/engine

ts
export declare function defaultPickAttack(world: World, attacker: Entity, target: Entity): number;

The first of an attacker's attacks that reaches the target where it is (its targets), by place, or -1 for none: the engine's RuleSettings.combat.pickAttack