Guest User

Untitled

a guest
Jan 17th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. private void PickupRoom1(){
  2. if (GroundItems.getNearest(RuneID) != null) {
  3. log("YaY!");
  4. GroundItems.getNearest(RuneID).interact("Take");
  5. sleep(500,800);
  6.  
  7.  
  8.  
  9.  
  10. }
  11. }
  12. private void PickupRoom2(){
  13. if (GroundItems.getNearest(SRuneID) != null) {
  14. Objects.getTopAt(tile, DoorRoom).click(true);
  15. log("YaY!");
  16. GroundItems.getNearest(SRuneID).interact("Take");
  17. }
  18. }
  19. @Override
  20. public int loop() {
  21. //if(myArea.contains(Players.getLocal().getLocation())){
  22. PickupRoom1();
  23. //PickupRoom2();
  24. //}
  25. //else {
  26. // if(Rune2Area.contains(Players.getlocal().getLocation())){
  27. //}
  28. //PickUpRoom2();
  29. //Fight();
Add Comment
Please, Sign In to add comment