XP & Leveling
Skills and characters level up by accumulating XP. The XP curve follows a power function, so higher levels require exponentially more XP.
Skill XP Formula
The total XP required to reach a given skill level uses a power curve with a reduced base for early levels (1 to 9) so new players progress faster:
At level 10 and above the base reaches 100 and the curve is unchanged.
Level 1 requires 0 XP (starting level). The maximum skill level is 100.
Level-from-XP Inverse
To determine what level a given XP total corresponds to, the game iterates from level 1 upward until xpForLevel(level + 1)exceeds the player’s total XP. This gives the highest level the player has fully reached.
Character XP
Skill XP also contributes to your overall character level. After efficiency is applied to the skill XP gain, a fraction is converted to character XP:
Character level uses the same xpForLevel formula with a max level of 100. Since character XP accumulates from all skill training, character level naturally lags behind individual skill levels.
XP Table
Total XP required to reach each level (computed from the formula):
| Level | Total XP Required | XP to Next Level |
|---|---|---|
| 1 | 0 | 80 |
| 2 | 80 | 190 |
| 3 | 270 | 980 |
| 5 | 1,250 | 2,180 |
| 7 | 3,430 | 6,570 |
| 10 | 10,000 | 30,000 |
| 20 | 40,000 | 50,000 |
| 30 | 90,000 | 70,000 |
| 40 | 160,000 | 90,000 |
| 50 | 250,000 | 110,000 |
| 60 | 360,000 | 130,000 |
| 70 | 490,000 | 150,000 |
| 80 | 640,000 | 170,000 |
| 90 | 810,000 | 190,000 |
| 100 | 1,000,000 | Max |
Constants Reference
| Constant | Value | Description |
|---|---|---|
XP_BASE | 100 | Base multiplier for the XP curve (at level 10+) |
XP_EARLY_LEVEL_SCALE | 10 | Per-level base scale for levels 1-9 (effective base = min(XP_BASE, level × scale)) |
XP_EXPONENT | 2 | Power exponent controlling curve steepness |
MAX_LEVEL | 100 | Maximum skill level |
XP_RATIO | 0.3 | Fraction of skill XP converted to character XP |
CHARACTER_MAX_LEVEL | 100 | Maximum character level |