From eefe35f430edde251cd95f4792cfb4e4418d9591 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 3 Mar 2023 23:01:57 +0100 Subject: Added bingo next step support for skill quests (alchemy 12) --- .../at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt index f3d29efcb..35d318652 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt @@ -218,6 +218,13 @@ class BingoNextStepHelper { val crystal = crystalMatcher.group(1) ChatMessageStep("Obtain a $crystal Crystal").apply { finalSteps.add(this) } requires IslandType.CRYSTAL_HOLLOWS.getStep() } + val pattern = Pattern.compile("Obtain level (.*) in the (.*) Skill.") + val matcher = pattern.matcher(description) + if (matcher.matches()) { + val level = matcher.group(1).toInt() + val skillName = matcher.group(2) + SkillLevelStep(skillName, level).apply { finalSteps.add(this) } + } println("No help for goal: '$description'") } -- cgit