Crafting Outcome (Mechanics)
Before the explanation of the calculation we need to understand the concepts of "bands", "weights" and the "slope".
Note that there is a lot of math in the calculations here and they can be hard to follow on the wiki I recommend reading the Deep Dive #3 by Floursifter and testing with a copy of the spreadsheet calculator. --Editor
Bands
Each craft has a series of bands that work with the weights to control the odds of each crafting quality.
Quality | Band Start | Band End |
---|---|---|
Normal | 0 | (100 + Crafting Recipe Level Requirement) × 1 |
Good | 100 | (100 + Crafting Recipe Level Requirement) × 2 |
Great | 200 | (100 + Crafting Recipe Level Requirement) × 3 |
Excellent | 300 | (100 + Crafting Recipe Level Requirement) × 4 |
Perfect | 400 | (100 + Crafting Recipe Level Requirement) × 5 |
Eternal | 500 | (100 + Crafting Recipe Level Requirement) × 6 |
Weights
Each craft has a series of weights that control the percentage chance of each quality. These weights are adjusted by the crafting outcome score we'll look at next. For now lets look at an example of unadjusted weights.
Quality | Starting Weight |
Minimum Weight |
Starting Percentage Chance |
---|---|---|---|
Normal | 1000 | 4 | 79.20% |
Good | 200 | 4 | 15.84% |
Great | 50 | 4 | 3.96% |
Excellent | 10 | 4 | 0.79% |
Perfect | 2.5 | 2 | 0.20% |
Eternal | 0.05 | 0.05 | ~0.004% |
Crafting Outcome Calculation
- Crafting outcome is affected from three sources.
- The difference between the level requirement of the recipe and your crafting level.
- The bonus to crafting outcome from equipment.
- A buff from Consumables.
- The combined crafting outcome is used along with the band and weights to calculate a series of new calculated weights.
- The weights are determined by the following calculation step at each quality level.
- First, we compare the crafting outcome to the band start. If the band start is larger than the crafting outcome, then we keep the normal starting weight as the new weight. If it is not then we continue on.
- Second, we calculate the band end. The band end is equal to (100 + Crafting Recipe Level Requirement) × Quality. Where Quality is 1 for normal up to 5 for eternal.
- Third, we calculate the slope of the line in the space of weights and bands. (Starting Weight - Minimum Weight) ÷ (Band Start - Band End)
- Fourth, we compare the minimum possible weight to the Starting Weight + (Slope × (Crafting Outcome - Band Start)). We take the higher value and it becomes the new weight
- Finally, we compare our new weight to the calculated weight of the next highest quality and take the larger value.
- This makes it so that a lower quality is never rarer than a higher quality. It also means that it is useful to calculate starting from eternal quality and work backwards.
- The weights are determined by the following calculation step at each quality level.
- The new weights give a series of new percentages at each quality level
- Percentages are calculated by taking the weight of the quality level and dividing by the sum of all quality weights.
- The crafting outcome is rolled on the new percentage table to see what quality is obtained from this crafting action.
Example with Minimum Required Level and no Crafting Outcome Bonus
If we want to craft an Iron Sickle at crafting level 20 with no equipment, and we complete the crafting action.
- First we need to determine the crafting outcome bonus.
- We calculate the crafting outcome from level difference.
- Crafting an Iron Sickle requires a minimum crafting level of 20, and we have crafting level 20.
- 20 crafting level - 20 recipe level = 0 crafting outcome bonus
- We have no equipment, so we don't gain any crafting outcome percentage.
- Crafting outcome from equipment = 0 crafting outcome bonus
- We have no consumables, so we don't gain any crafting outcome percentage.
- Crafting outcome from consumables = 0 crafting outcome bonus
- We calculate the crafting outcome from level difference.
- We have a combined 0 crafting outcome. We calculate the new calculated weights and percentages with this crafting outcome.
- The crafting outcome is less than the band start for every quality level, so we keep the original weights.
- We use the weights to calculate the percentages as seen in the table below.
- The quality of the item crafted is determined by rolling with the new percentages.
Quality | Weight | Percentages |
---|---|---|
Normal | 1000 | 79.20% |
Good | 200 | 15.84% |
Great | 50 | 3.96% |
Excellent | 10 | 0.79% |
Perfect | 2.5 | 0.20% |
Eternal | 0.05 | ~0.004% |
Example with Higher than Required Level and a Crafting Outcome Bonus from Equipment and Consumable
If we want to craft an Iron Sickle at crafting level 40 with a Crafting Shirt and Sweet Carrot Pie, and we complete the crafting action.
- First we need to determine the crafting outcome bonus.
- We calculate the crafting outcome from level difference.
- Crafting an Iron Sickle requires a minimum crafting level of 20, and we have crafting level 40.
- 40 crafting level - 20 recipe level = 20 crafting outcome bonus
- Our Crafting Shirt gives us a +19 crafting outcome bonus.
- Crafting outcome from equipment = 19 crafting outcome bonus
- Our Sweet Carrot Pie gives us a +25 crafting outcome bonus.
- Crafting outcome from consumables = 25 crafting outcome bonus
- We calculate the crafting outcome from level difference.
- We have a combined 64 crafting outcome. We calculate the new calculated weights and percentages with this crafting outcome.
- The crafting outcome is greater than the band start for "Normal" quality, so we need to calculate the slope and a new weight.
- First, we calculate a band end using the formula (100 + Crafting Recipe Level Requirement) × 1 = (100 + 20 ) × 1 = 120
- Second, we calculate the slope (Starting Weight - Minimum Weight) ÷ (Band Start - Band End) = (1000 - 4) ÷ (0 - 120)
= -8.30 - Third, we compare the minimum weight of 4 to the result of Starting Weight + (Slope × (Crafting Outcome - Band Start)) = 1000 + (-8.3 × (64-0) = 468.8. This is bigger than the minimum weight of 4 so we use it as the weight for normal quality.
- The crafting outcome is lower than the band start for "Good" and higher qualities, so we keep the original weights.
- Good = 200, Great = 50, Excellent = 10, Perfect = 2.5, Eternal = 0.05
- The crafting outcome is greater than the band start for "Normal" quality, so we need to calculate the slope and a new weight.
- We use the weights to calculate the percentages as seen in the table below.
- The quality of the item crafted is determined by rolling with the new percentages.
Quality | Weight | Percentages |
---|---|---|
Normal | 468.8 | 468.8 ÷ 731.35 = ~64.10% |
Good | 200 | 200 ÷ 731.35 = ~27.35% |
Great | 50 | 50 ÷ 731.35 = ~6.84% |
Excellent | 10 | 10 ÷ 731.35 = ~1.37% |
Perfect | 2.5 | 2.5 ÷ 731.35 = ~0.34% |
Eternal | 0.05 | 0.05 ÷ 731.35 = ~0.01% |
Sum: | 731.35 |
Example with an Exaggerated Crafting Outcome Bonus
If we want to craft an Iron Sickle with a total crafting outcome of 200, and we complete the crafting action.
Quality | Starting Weight |
Minimum Weight |
Band Start | Band End | Slope | New Weight | New Percentages |
---|---|---|---|---|---|---|---|
Normal | 1000 | 4 | 0 | (100 + 20) × 1 = 120 |
(1000 - 4) ÷ (0 - 120) = -8.30 |
1000 + (-8.30 × (200 - 0)) = -660 This is lower than the good weight, so it is set to = 60. |
60 ÷ 182.55 = ~32.87% |
Good | 200 | 4 | 100 | (100 + 20) × 2 = 240 |
(200 - 4) ÷ (100 - 240) = -1.40 |
200 + (-1.40 × (200 - 100)) = 60 |
60 ÷ 182.55 = ~32.87% |
Great | 50 | 4 | 200 | (100 + 20) × 3 = 360 |
(50 - 4 ÷ (200 - 360) = -0.2875 |
Crafting outcome is not greater than the band start. Set to starting weight. = 50 |
50 ÷ 182.55 = ~27.39% |
Excellent | 10 | 4 | 300 | (100 + 20) × 4 = 480 |
(10 - 4) ÷ (300 - 480) = -0.033 |
Crafting outcome is not greater than the band start. Set to starting weight. = 10 |
10 ÷ 182.55 = ~5.48% |
Perfect | 2.5 | 2 | 400 | (100 + 20) × 5 = 600 |
(2.5 - 2) ÷ (400 - 600) = -0.0025 |
Crafting outcome is not greater than the band start. Set to starting weight. = 2.5 |
2.5 ÷ 182.55 = ~1.37% |
Eternal | 0.05 | 0.05 | 500 | (100 + 20) × 6 = 720 |
(0.05 - 0.05) ÷ (500 - 720) = 0 |
Crafting outcome is not greater than the band start. Set to starting weight. = 0.05 |
0.05 ÷ 182.55 = ~0.03% |
So, with our exaggerated crafting outcome we completely reduced the weight of Normal to be the same as Good and almost reduced Good to be a low as Great. The other qualities remain the same but because of the reduced total weight all rare percentages are increased. For example, Eternal is now about three times more likely.
This page has been updated to reflect information in game version 0.2.0-beta+322 "The Syrenthia Update". |