Page 1 of 1

Documentation Request: Wands, Scrolls, Potions

Posted: Wed Oct 31, 2018 10:14 pm
by dominantdrowess
I would like the custom costs of wands, scrolls, and potions to be listed somewhere on the wiki. Cannot find anything about them in Arelith documentation.

Someone copy/pasted me this in discord:

Code: Select all

Currently the formula for the GP cost is [caster level]*[spell level]*15. 
This makes the GP cost for a wand equal to the GP cost for about 8.8 potions,
while a wand gives an average of 11.5 charges even at level 1
And I am not even sure that is accurate as it's coming from a third party source.

Re: Documentation Request: Wands, Scrolls, Potions

Posted: Thu Nov 01, 2018 2:38 am
by Mithreas

Code: Select all

const int     X2_CI_BREWPOTION_COSTMODIFIER    = 50;
const int     X2_CI_SCRIBESCROLL_COSTMODIFIER   = 25; 
const int     X2_CI_CRAFTWAND_COSTMODIFIER   = 200;
const int     X2_CI_CRAFTWONDROUS_COSTMODIFIER = 6000;
CIGetCraftGPCost returns caster level from iprp_spells x spell innate level x cost modifier above.

XP cost is 4% of CIGetCraftGPCost.

Gold cost is then
* 100% of CIGetCraftGPCost for wondrous items
* 66% of CIGetCraftGPCost for wands
* 75% of CIGetCraftGPCost for scrolls
* 30% of CIGetCraftGPCost for potions

HTH,
-Mith