Skip to main content
The Deno 2 Release Candidate is here
Learn more
method ItemHelper.prototype.isRaidModdable
Re-export
import { ItemHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";

Checks to see if the item is actually moddable in-raid. Checks include the items existence in the database, the parent items existence in the database, the existence (and value) of the items RaidModdable property, and that the parents slot-required property exists, matches that of the item, and it's value.

Note: this function does not preform any checks to see if the item and parent are actually related.

Parameters

item: Item

The item to be checked

parent: Item

The parent of the item to be checked

Returns

boolean | null

True if the item is actually moddable, false if it is not, and null if the check cannot be performed.