Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. def do_stuff
  2. fput "stand" if !standing?
  3. if !checkmana 16 and checkspirit 10
  4. fput "sign wracking"
  5. elsif !checkmana 16 and !checkspirit 10
  6. fput "pray"
  7. end
  8. end
  9.  
  10. def high_ds
  11. waitfor "You hurl"
  12. ds = matchfind ("vs DS: +? with").to_i;,
  13. if ds > 480
  14. do_stuff
  15. fput "incant 410"
  16. waitrt?
  17. waitcastrt?
  18. sleep .2
  19. do_stuff
  20. fput "incant 917"
  21. waitrt?
  22. waitcastrt?
  23. sleep.2
  24. until GameObj.npcs.length == nil
  25. fput "903"
  26. sleep .2
  27. waitrt?
  28. waitcastrt?
  29. end
  30. end
  31. end
  32.  
  33. while line = get
  34. waitfor "enters the arena"
  35. if GameObj.npcs.first.full_name =~ /witch|shaman|dobrem/
  36. do_stuff
  37. fput "incant 516"
  38. waitrt?
  39. waitcastrt?
  40. sleep .2
  41. until GameObj.npcs.length == nil
  42. do_stuff
  43. fput "903"
  44. high_ds
  45. sleep .2
  46. waitrt?
  47. waitcastrt?
  48. end
  49. elsif GameObj.npcs.first.full_name =~ /champion|golem|automaton/
  50. do_stuff
  51. fput "incant 515"
  52. sleep .2
  53. waitrt?
  54. waitcastrt?
  55. do_stuff
  56. fput "incant 516"
  57. sleep .2
  58. waitrt?
  59. waitcastrt?
  60. until GameObj.npcs.length == nil
  61. do_stuff
  62. fput "903"
  63. high_ds
  64. sleep .2
  65. waitrt?
  66. waitcastrt?
  67. end
  68. else
  69. until GameObj.npcs.length == nil
  70. do_stuff
  71. fput "903"
  72. high_ds
  73. sleep .2
  74. waitrt?
  75. waitcastrt?
  76. end
  77. end
  78.  
  79. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement