diff --git a/src/routes/c.$class.tsx b/src/routes/c.$class.tsx index 478e6da..6f3afe3 100644 --- a/src/routes/c.$class.tsx +++ b/src/routes/c.$class.tsx @@ -118,7 +118,7 @@ function SkillTree() { value={level} onChange={handleLevelChange} min={15} - max={160} + max={165} /> diff --git a/src/utils/index.ts b/src/utils/index.ts index ee634fd..98587e8 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -88,6 +88,19 @@ export function getSkillPointsForLevel(characterLevel: number) { 20 * 3 + 20 * 2 ); + case characterLevel > 160 && characterLevel <= 165: + return ( + (characterLevel - 160) * 2 + + 20 * 1 + + 20 * 8 + + 20 * 7 + + 20 * 6 + + 20 * 5 + + 20 * 4 + + 20 * 3 + + 20 * 2 + + 20 * 2 + ); default: return 0; }