game: add xp bar

This commit is contained in:
2025-08-20 08:42:55 +02:00
parent 3a2d8435e4
commit f58fe398cf
4 changed files with 43 additions and 7 deletions

View File

@@ -28,4 +28,4 @@ func get_final(stat: String, modifiers: Array[PlayerStatsModifier]) -> Variant:
func xp_required_for_level() -> float:
return 100 * (100 * (1.5 ** (current_level - 1)))
return floorf(100 * (1.5 ** (current_level - 1)))