From 7ee4d351c790043324863205a89a74361d3a2bed Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Fri, 11 Oct 2024 18:44:48 +0200 Subject: Fix: MP Reset in Dungeons (#2710) --- src/main/java/at/hannibal2/skyhanni/data/MaxwellAPI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/at/hannibal2/skyhanni/data/MaxwellAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/MaxwellAPI.kt index 194664c94..776a7c808 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/MaxwellAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/MaxwellAPI.kt @@ -273,11 +273,11 @@ object MaxwellAPI { if (noPowerSelectedPattern.matches(line)) currentPower = NO_POWER inventoryMPPattern.matchMatcher(line) { + foundMagicalPower = true // MagicalPower is boosted in catacombs if (DungeonAPI.inDungeon()) return@matchMatcher magicalPower = group("mp").formatInt() - foundMagicalPower = true } inventoryPowerPattern.matchMatcher(line) { -- cgit