aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-08-06 17:57:11 +0200
committerLorenz <lo.scherf@gmail.com>2022-08-06 17:57:11 +0200
commitdf9178e5697b0fbe1996741a77b86834c58a06ed (patch)
tree8f4ab30305fa644e8c6747ce0fd395883bcff5ee
parent4583f00dbc2148159c2fb9ac26d260af5090b29d (diff)
downloadskyhanni-df9178e5697b0fbe1996741a77b86834c58a06ed.tar.gz
skyhanni-df9178e5697b0fbe1996741a77b86834c58a06ed.tar.bz2
skyhanni-df9178e5697b0fbe1996741a77b86834c58a06ed.zip
adding m4 debug support
-rw-r--r--src/main/java/at/hannibal2/skyhanni/dungeon/damageindicator/BossDamageIndicator.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/dungeon/damageindicator/BossFinder.kt1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/dungeon/damageindicator/BossDamageIndicator.kt b/src/main/java/at/hannibal2/skyhanni/dungeon/damageindicator/BossDamageIndicator.kt
index 75c4c3afb..3e09fa816 100644
--- a/src/main/java/at/hannibal2/skyhanni/dungeon/damageindicator/BossDamageIndicator.kt
+++ b/src/main/java/at/hannibal2/skyhanni/dungeon/damageindicator/BossDamageIndicator.kt
@@ -122,6 +122,7 @@ class BossDamageIndicator {
health = hitPoints
maxHealth = 4
+ //TODO add m4 support
// } else if (DungeonData.isOneOf("M4")) {
// val hitPoints = when (health) {
// 300_000 -> 4
diff --git a/src/main/java/at/hannibal2/skyhanni/dungeon/damageindicator/BossFinder.kt b/src/main/java/at/hannibal2/skyhanni/dungeon/damageindicator/BossFinder.kt
index 021b4d183..0806716cf 100644
--- a/src/main/java/at/hannibal2/skyhanni/dungeon/damageindicator/BossFinder.kt
+++ b/src/main/java/at/hannibal2/skyhanni/dungeon/damageindicator/BossFinder.kt
@@ -153,6 +153,7 @@ class BossFinder {
if (DungeonData.isOneOf("F4", "M4")) {
if (entity is EntityGhast) {
val health = LorenzUtils.formatDouble(entity.health.toDouble())
+ //TODO add m4 support
LorenzTest.enabled = true
LorenzTest.text = "thorn has $health hp!"
return EntityResult(ignoreBlocks = true, finalBoss = true)