namespace NeonSprawl.Server.Game.Skills;
///
/// Inline level curve replaced by content-driven thresholds in NEO-39. Rule (v1): level = 1 + floor(xp / 100) for non-negative XP (uncapped prototype).
///
public static class SkillLevelCurvePlaceholder
{
internal const int XpPerLevelStep = 100;
/// Returns skill level (>= 1) for the given total accumulated XP.
public static int LevelFromTotalXp(int totalXp)
{
var xp = Math.Max(0, totalXp);
return 1 + (xp / XpPerLevelStep);
}
}