levelFromTotalXP
Determines the current level based on total accumulated XP. This is the inverse of totalXPForLevel.
Return
The current level (minimum 1)
Parameters
totalXP
The total XP accumulated
Determines the current level based on total accumulated XP. This is the inverse of totalXPForLevel.
The current level (minimum 1)
The total XP accumulated