Advertisement
jbrocky

Untitled

Dec 30th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. def train_athletics
  2. if @settings.hometown['Hibarnhvidar']
  3. hib_athletics
  4. elsif DRSkill.getrank('Athletics') >= 400
  5. return if @researching
  6. climb_branch
  7. else
  8. play_song?
  9. @athletics_options
  10. .reject { |data| @settings.avoid_athletics_in_justice && data['justice'] }
  11. .each do |data|
  12. check_research
  13. break unless climb?(data['room'], data['targets'])
  14. end
  15. end
  16. end
  17.  
  18. def hib_athletics
  19. walk_to(4166)
  20. walk_to(4156)
  21. fput('climb bank')
  22.  
  23. while DRSkill.getxp('Athletics') < 29
  24. 3.times do
  25. fput('south')
  26. waitrt?
  27. end
  28. fput('climb bank')
  29. fput('north')
  30. fput('north')
  31. fput('north')
  32. fput('north')
  33. fput('north')
  34. fput('climb bank')
  35. end
  36. walk_to(4166)
  37. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement