Hi Kumorifox, I see you're adding lots of sell prices to item pages, good! I wanted to ask if you're taking Riki's "Buy Stuff!" skill into account, because it raises the sell price by 20%. If you have learned that skill, pay attention to this. Keep up the good work!
Hi Pr. I am indeed taking care of this. I'm not sure about collectables though, since their sell prices are odd and cannot be divided by 6 to get the factor out. Does the Buy Stuff! skill affect materials only?
The skill affects all items, weapons, armour, crystals, collectables and so on. I see what you mean when the price is odd, for example: item with Buy Stuff sells at 2095 G. 2095 divided by 6 and multiplied by 5 is 1745.83333.
When this happens, I do the opposite calculation: suppose the item is 1745 G. 1745 x 6 / 5 = 2094. And 1746 x 6 / 5 = 2095.2. I assume the game discards the decimal part of the result, in this case 1746 is the correct "raw" price.