Add character overlay, where skills and passives (changing this) can be set

This commit is contained in:
Peter Stockings
2026-01-04 21:12:07 +11:00
parent f67f488764
commit 171abb681a
9 changed files with 321 additions and 20 deletions

View File

@@ -7,7 +7,13 @@ export const GAME_CONFIG = {
defense: 2,
level: 1,
exp: 0,
expToNextLevel: 10
expToNextLevel: 10,
statPoints: 0,
skillPoints: 0,
strength: 10,
dexterity: 10,
intelligence: 10,
passiveNodes: [] as string[]
},
speed: 100,
viewRadius: 8
@@ -56,7 +62,9 @@ export const GAME_CONFIG = {
baseExpToNextLevel: 10,
expMultiplier: 1.5,
hpGainPerLevel: 5,
attackGainPerLevel: 1
attackGainPerLevel: 1,
statPointsPerLevel: 5,
skillPointsPerLevel: 1
},