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

Get an integer rounded count of items to replace based on percentrage from traderConfig value

Parameters

totalItemCount: number

total item count

Returns

number

rounded int of items to replace