game: add xp bar
This commit is contained in:
@@ -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)))
|
||||
|
Reference in New Issue
Block a user