Skip to main content
The Deno 2 Release Candidate is here
Learn more
method RepairService.prototype.shouldRepairKitApplyDurabilityLoss
import { RepairService } from "https://deno.land/x/sptaki@1.2.0/services/RepairService.d.ts";

Should a repair kit apply total durability loss on repair

Parameters

pmcData: IPmcData

Player profile

applyRandomizeDurabilityLoss: boolean

Value from repair config

Returns

boolean

True if loss should be applied