Forge & Upgrades
The forge lets players upgrade item rarity or reroll bonus stats. Success chance depends on current rarity and your total luck (from equipment and the luck attribute).
Upgrade Success Chance
Your luck stat improves forge success. Luck is the sum of luck bonuses from all equipped gear plus your luck attribute points.
successChance = clamp(baseChance + min(luckStat * 0.001, 0.1), 0, 1)
| Current Rarity | Base Success | Turn Cost | Upgrades To |
|---|---|---|---|
| common | 60% | 100 | uncommon |
| uncommon | 35% | 250 | rare |
| rare | 15% | 500 | epic |
| epic | 5% | 1,000 | legendary |
| Constant | Value | Description |
|---|---|---|
FORGE_LUCK_SUCCESS_BONUS_PER_POINT | 0.001 | Success chance bonus per point of luck |
FORGE_LUCK_SUCCESS_BONUS_CAP | 10% | Maximum luck bonus to success chance |
Reroll Costs
Rerolling replaces all bonus stats on an item while keeping its rarity. Common items have no bonus stats and cannot be rerolled.
| Rarity | Reroll Turn Cost |
|---|---|
| uncommon | 75 |
| rare | 150 |
| epic | 300 |
| legendary | 600 |
Turn Cost Discount
If your crafting skill level exceeds the recipe requirement, forge operation turn costs are discounted.
discount = levelsAbove * 20% (max 5 levels = free)
actualCost = floor(baseCost * (1 - discount))