Log inGet started
World

Climb: Levels, Adventurer Ranks and Skill Trees Kit

Branchmain
Commit7108a6e87a

README.md

progressionKit.curves

XP curves as pure functions: linear, quadratic, exponential and table, each with a level cap. make(spec) builds one, need(curve, level) is the XP from a level to the next, totalFor(curve, level) the XP to reach a level, levelFor(curve, totalXp) turns a total into level, XP into it, XP it needs and progress. A level is always derived from total XP, so swapping curves never loses progress.