aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/features/BrokenHyp.kt
diff options
context:
space:
mode:
authorronald <inglettronald@gmail.com>2023-07-30 17:41:02 -0500
committerronald <inglettronald@gmail.com>2023-07-30 17:41:02 -0500
commitcb1c7a0db3ba8990c65dce812a435bc1abadd369 (patch)
treec4ff025989ed50d40d9a7f9861961104667ba397 /src/main/kotlin/com/dulkirfabric/features/BrokenHyp.kt
parentd6faaa1f987b8766637fbc1e20a97112dfce164a (diff)
downloadDulkirMod-Fabric-cb1c7a0db3ba8990c65dce812a435bc1abadd369.tar.gz
DulkirMod-Fabric-cb1c7a0db3ba8990c65dce812a435bc1abadd369.tar.bz2
DulkirMod-Fabric-cb1c7a0db3ba8990c65dce812a435bc1abadd369.zip
Added Rift Stuff and some cooldowns
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/features/BrokenHyp.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/features/BrokenHyp.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/features/BrokenHyp.kt b/src/main/kotlin/com/dulkirfabric/features/BrokenHyp.kt
index dfae99b..85c1f7b 100644
--- a/src/main/kotlin/com/dulkirfabric/features/BrokenHyp.kt
+++ b/src/main/kotlin/com/dulkirfabric/features/BrokenHyp.kt
@@ -31,6 +31,7 @@ object BrokenHyp {
// get info about held item
val tag = stack.nbt ?: return
id = tag.getCompound("ExtraAttributes")?.getString("id") ?: ""
+
kill = tag.getCompound("ExtraAttributes")?.getInt("stats_book") ?: -1
championXp = tag.getCompound("ExtraAttributes")?.getDouble("champion_combat_xp") ?: -1.0