blob: 7986c55e9d3a255e443a9d5f3b85031051bea0ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
package at.hannibal2.skyhanni.features.combat
import at.hannibal2.skyhanni.features.gui.customscoreboard.CustomScoreboard
import at.hannibal2.skyhanni.features.gui.customscoreboard.ScoreboardPattern
import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule
import at.hannibal2.skyhanni.utils.RegexUtils.matches
@SkyHanniModule
object SpidersDenAPI {
private fun getSbLines(): List<String> = CustomScoreboard.activeLines
fun isAtTopOfNest(): Boolean = getSbLines().any { ScoreboardPattern.broodmotherPattern.matches(it) }
}
|