aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/repo/ExpLadder.kt
diff options
context:
space:
mode:
authorJacob <55346310+Kathund@users.noreply.github.com>2025-05-08 05:20:29 +0800
committerGitHub <noreply@github.com>2025-05-07 23:20:29 +0200
commit40256ca60135f8796066ac445211b9d084f2a0af (patch)
treef08a766a6244ead23d443c1fac8fc380d85de853 /src/main/kotlin/repo/ExpLadder.kt
parent63669bc28be11adbf55c8d49bb747bb22124be86 (diff)
downloadFirmament-40256ca60135f8796066ac445211b9d084f2a0af.tar.gz
Firmament-40256ca60135f8796066ac445211b9d084f2a0af.tar.bz2
Firmament-40256ca60135f8796066ac445211b9d084f2a0af.zip
feat: Add Pet overlay
* feat: pet overlay * fix: missing shadow * fix: getting pet when not in pets menu * sort translations * Merge branch 'master' into feat/pet-overlay * Merge branch 'master' into feat/pet-overlay * Add requested changes for Pet Overlay
Diffstat (limited to 'src/main/kotlin/repo/ExpLadder.kt')
-rw-r--r--src/main/kotlin/repo/ExpLadder.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/repo/ExpLadder.kt b/src/main/kotlin/repo/ExpLadder.kt
index fbc9eb8..25a74de 100644
--- a/src/main/kotlin/repo/ExpLadder.kt
+++ b/src/main/kotlin/repo/ExpLadder.kt
@@ -19,7 +19,8 @@ object ExpLadders : IReloadable {
val expInCurrentLevel: Float,
var expTotal: Float,
) {
- val percentageToNextLevel: Float = expInCurrentLevel / expRequiredForNextLevel
+ val percentageToNextLevel: Float = expInCurrentLevel / expRequiredForNextLevel
+ val percentageToMaxLevel: Float = expTotal / expRequiredForMaxLevel
}
data class ExpLadder(