diff options
author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-07-06 08:48:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-06 08:48:58 +0200 |
commit | df6ff252c99c99aa12790ef72fc5abaa1d4c84c0 (patch) | |
tree | b4ff5b0b642119385f84a2d67a5c57b0b17c0813 | |
parent | 30d701c8cceaa532a9b0eee27f458feaf45aa201 (diff) | |
download | skyhanni-df6ff252c99c99aa12790ef72fc5abaa1d4c84c0.tar.gz skyhanni-df6ff252c99c99aa12790ef72fc5abaa1d4c84c0.tar.bz2 skyhanni-df6ff252c99c99aa12790ef72fc5abaa1d4c84c0.zip |
Fix: Powder Percentage CW Conflict (#2186)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
-rw-r--r-- | .idea/dictionaries/default_user.xml | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/HotmData.kt | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/.idea/dictionaries/default_user.xml b/.idea/dictionaries/default_user.xml index 64c012a13..29903e658 100644 --- a/.idea/dictionaries/default_user.xml +++ b/.idea/dictionaries/default_user.xml @@ -273,4 +273,4 @@ <w>yolkar</w> </words> </dictionary> -</component>
\ No newline at end of file +</component> diff --git a/src/main/java/at/hannibal2/skyhanni/data/HotmData.kt b/src/main/java/at/hannibal2/skyhanni/data/HotmData.kt index f86cc1de8..f3a2189b0 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/HotmData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/HotmData.kt @@ -409,9 +409,13 @@ enum class HotmData( "Heart of the Mountain", ) + /** + * REGEX-TEST: §5§o§7Level 1§8/50 §7(§b0 §l0%§7):skull: + * REGEX-TEST: §7Level 1§8/50 + */ private val levelPattern by patternGroup.pattern( "perk.level", - "§(?<color>.)Level (?<level>\\d+).*", + "(?:§.)*§(?<color>.)Level (?<level>\\d+).*", ) private val notUnlockedPattern by patternGroup.pattern( @@ -426,7 +430,7 @@ enum class HotmData( private val disabledPattern by patternGroup.pattern( "perk.disabled", "§c§lDISABLED|§7§eClick to select!", - ) // unused for now since the assumption is when enabled isn't found it is disabled, + ) // unused for now since the assumption is when enabled isn't found, it is disabled, // but the value might be useful in the future or for debugging val perkCostPattern by patternGroup.pattern( |