Skip to content

cleaveOf beta ​

Function of @v12-engine/engine

ts
export declare function cleaveOf(world: World, attacker: Entity, _target: Entity, weapon: number): CleaveNow | undefined;

What a blow from up close of the attacker's weapon at that place cleaves (AttackDef.cleave, BuffDef.cleave): the attack's own, or a buff's at its level, whichever has the larger part. Nothing for none. The engine's RuleSettings.combat.cleave