Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- While $go
- if($Leave) Then
- MouseClick("left", Round(587 * $x_ratio),Round(333 * $y_ratio)) ;starts the main run
- Sleep(1800)
- MouseClick("left", Round(96 * $x_ratio),Round(383 * $y_ratio)) ;starts the main run
- Send("3")
- Sleep(140)
- Send("3")
- Sleep(140)
- Send("3")
- Sleep(140)
- Send("3")
- Sleep(80)
- Send("3")
- Sleep(80)
- Send("3")
- Sleep(80)
- MouseClick("left", Round(96 * $x_ratio),Round(383 * $y_ratio))
- Sleep(800)
- ; Send("2")
- ; Sleep(1500)
- MouseMove(630,279,1) ;moves cursor over to the cellar so the proper blue pixel becomes highlighted
- Sleep(1000)
- $Pixel2 = PixelSearch(0,0,(619),(313),0x354D91,3) ;searches for the specific blue pixel that only occurs when mouse hovers over open cellar
- If Not @error Then
- MouseClick("left",630,279) ;Entrance to cellar
- Sleep(150)
- Send(2)
- Sleep(500)
- Send(1)
- Sleep(2500)
- MouseClick("left",Round(531 *$x_ratio),Round(769 * $y_ratio))
- Sleep(1400)
- MouseClick("left",Round(547 *$x_ratio),Round(490 * $y_ratio)) ;moves to doorway leading to rare inside cellar
- Sleep(1500)
- MouseMove(Round(579 * $x_ratio),Round(209 * $y_ratio),1) ;hovers over the rare Sarkoth
- Send(4)
- Sleep(500)
- Send("{SHIFTDOWN}")
- ; Sleep(500)
- ; MouseClick("left",Round(600 * $x_ratio),Round(239 * $y_ratio),1)
- ; sleep(500)
- MouseDown("right") ;attack middle
- Sleep(3800)
- MouseMove(Round(467 * $x_ratio),Round(269 * $y_ratio),1) ;attack left, add more sleep time if you can't kill minion on left
- Sleep(1000)
- MouseMove(Round(682 * $x_ratio),Round(147 * $y_ratio),1) ;attack right
- Sleep(2000)
- MouseUP("right")
- Sleep(300)
- Send("{SHIFTUP}")
- Sleep(500)
- MouseClick("left",Round(579 *$x_ratio),Round(209 * $y_ratio)) ;location of sarkoth after death
- Sleep(2000)
- call("FindItem")
- sleep(100)
- call("FindItem")
- sleep(100)
- call("FindItem")
- sleep(100)
- call("FindItem")
- sleep(100)
- call("FindItem")
- sleep(100)
- call("FindItem")
- sleep(100)
- MouseClick("left",Round(912*$x_ratio),Round(300 * $y_ratio)) ;moves to right top corner for gold
- Sleep(1000)
- MouseClick("left", Round(600* $x_ratio), Round(750 * $y_ratio))
- Sleep(1300)
- MouseClick("right",694,929) ;cancel Archon
- Sleep(500)
- Send("t")
- Sleep(8000)
- Call("CheckRepair")
- Else
- ; Send("2")
- ; MouseClick("left",Round(900 *$x_ratio),Round(900 * $y_ratio)) ;moves down screen away from cellar in attempt for safety before teleporting back to town
- ; Sleep(1100)
- ; Send("1")
- ; Sleep(100)
- Send("t")
- Sleep(8000)
- Call("CheckRepair")
- EndIf
- EndIf
- WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement