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

Get max durability value for armor based on bot role

Parameters

itemTemplate: ITemplateItem

Item to get max durability for

botRole: string

Role of bot to get max durability for

Returns

number

max durability