Template:Sell price/doc

Calculates the sell-to-merchant price for an item (see merchants for details on the formula).

Parameters

 * base: the price when buying the item from a merchant.
 * intelligence (optional): the player's intelligence level. Defaults to 1 if not specified.
 * interested (optional): whether the merchant is interested in the item. This is false if unspecified, blank,, or  ; any other value is true.