Wiki/Progression/XP & Leveling

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:

base = min(100, level × 10)
xpForLevel(level) = floor(base × level^2) // level 1 = 0 XP

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:

characterXp = floor(skillXpAfterEfficiency × 0.3) // XP_RATIO

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):

LevelTotal XP RequiredXP to Next Level
1080
280190
3270980
51,2502,180
73,4306,570
1010,00030,000
2040,00050,000
3090,00070,000
40160,00090,000
50250,000110,000
60360,000130,000
70490,000150,000
80640,000170,000
90810,000190,000
1001,000,000Max

Constants Reference

ConstantValueDescription
XP_BASE100Base multiplier for the XP curve (at level 10+)
XP_EARLY_LEVEL_SCALE10Per-level base scale for levels 1-9 (effective base = min(XP_BASE, level × scale))
XP_EXPONENT2Power exponent controlling curve steepness
MAX_LEVEL100Maximum skill level
XP_RATIO0.3Fraction of skill XP converted to character XP
CHARACTER_MAX_LEVEL100Maximum character level