Interface MeleeAttack

Source
interface MeleeAttack {
    alwaysTreatAsWeapon?: boolean;
    armorPenetration?: number;
    capacities: ToolCapacityDefId[];
    chanceFactor?: number;
    cooldown: number;
    ensureLinkedBodyPartsGroupAlwaysUsable?: boolean;
    extraMeleeDamages?: {
        amount: number;
        chance?: number;
        damage: DamageDefId;
    }[];
    label: string;
    linkedBodyPartsGroup?: BodyPartGroupDefId;
    power: number;
}

Properties§

Source§

alwaysTreatAsWeapon?: boolean

Source§

armorPenetration?: number

Source§

capacities: ToolCapacityDefId[]

Source§

chanceFactor?: number

Source§

cooldown: number

Source§

ensureLinkedBodyPartsGroupAlwaysUsable?: boolean

Source§

extraMeleeDamages?: { amount: number; chance?: number; damage: DamageDefId }[]

Source§

label: string

Source§

linkedBodyPartsGroup?: BodyPartGroupDefId

Source§

power: number