Time of bug: Anytime an item is crafted
Where: Calculation of craft xp
What: Craft skill increase is deducted twice
Why: Craft xp is not given in accordance with the manual
Other comments:
According to the manual, craft XP is given per the following:
The formula is only working this way while craft level is 0. This is because it seems to actually be calculated by:For crafting you get XP every time you fail. The formula is:
XP = 1000 - 10 * craft_chance
For example for crafting planks you have chance 70% so every time you fail you get 1000 - 700 = 300 XP.
Each level in crafting gives you +3% * Trade affinity craft chance.
XP = 1000 - 10 * (craft_chance + (craft_level * affinity))
At level 0, that is fine. At level 1, less XP is gained. This would be fine if craft_chance was the item list craft_chance. It is not, however. The craft chance being used is the player's craft chance for that item, not the item list craft chance for that item.
Using the same example of craft XP for the manual at level 1 with affinity 1 should be:
Plank craft_chance = 70% + 3% for craft level = 73%. So, at level 1, craft XP should be:
XP = 1000 - 700 - 30 = 270.
What we actually get is:
XP = 1000 - 730 - 30 = 240.
So, player craft skill gets subtracted twice. This is not what the manual formula says. Either the code should be corrected, or the manual should be updated.