Skip to content

Commit

Permalink
CombatModule: Add OSC keyboard dismissing
Browse files Browse the repository at this point in the history
  • Loading branch information
waicool20 committed May 29, 2024
1 parent 36b5813 commit 43f7f21
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,16 @@ class CombatModule(navigator: Navigator) : ScriptModule(navigator) {
region.subRegion(562, 507, 723, 73).click()
delay(750)
region.type(tdoll.name)
region.device.input.keyboard.apply {
keyDown("TAB")
keyUp("TAB")
keyDown("ENTER")
keyUp("ENTER")
}

delay(500)

// Click search
region.subRegion(964, 709, 454, 85).clickWhile(period = 1000) {
region.doesntHave(FT("doll-list/lock.png"))
}
Expand Down

0 comments on commit 43f7f21

Please sign in to comment.