diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt index 20dde4bcf..867999581 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt @@ -109,7 +109,7 @@ class DungeonFinderFeatures { ) private val detectDungeonClassPattern by patternGroup.pattern( "detect.dungeon.class", - "(View and select a dungeon class.)" + "§7View and select a dungeon class." ) private val allowedSlots = (10..34).filter { it !in listOf(17, 18, 26, 27) } @@ -146,7 +146,6 @@ class DungeonFinderFeatures { val name = stack.displayName.removeColor() map[slot] = if (anyFloorPattern.matches(name)) { "A" - } else if (entranceFloorPattern.matches(name)) { "E" } else if (floorPattern.matches(name)) { @@ -343,12 +342,17 @@ class DungeonFinderFeatures { companion object { fun getColor(level: Int): String = when { - level >= 30 -> "§a" + level >= 50 -> "§c§l" + level >= 45 -> "§c" + level >= 40 -> "§6" + level >= 35 -> "§d" + level >= 30 -> "§9" level >= 25 -> "§b" - level >= 20 -> "§e" - level >= 15 -> "§6" - level >= 10 -> "§c" - else -> "§4" + level >= 20 -> "§2" + level >= 15 -> "§a" + level >= 10 -> "§e" + level >= 5 -> "§f" + else -> "§7" } } |