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

Take preraid item and update properties to ensure its ready to be given to player in insurance return mail

Parameters

pmcData: IPmcData

Player profile

preRaidItem: Item

Insured item (with children) as it was pre-raid

insuredItemFromClient: IInsuredItemsData

Item data when player left raid (durability values)

Returns

Item (with children) to send to player