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

Check to see if an items price is below its handbook price and adjust according to values set to config/ragfair.json

Parameters

itemPrice: number

price of item

itemTpl: string

item template Id being checked

Returns

number

adjusted price value in roubles