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

Calculate value repairkit points need to be divided by to get the durability points to be added to an item

Parameters

itemToRepairDetails: ITemplateItem

Item to repair details

isArmor: boolean

Is the item being repaired armor

pmcData: IPmcData

Player profile

Returns

number

Number to divide kit points by