Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. //// start set up of timers and lists etc. (insert your runebook serial where required)
  2. if not timerexists 'bandie'
  3. createtimer 'bandie'
  4. settimer 'bandie' 5001
  5. endif
  6. if not listexists 'Runebooks'
  7. createlist 'Runebooks'
  8. endif
  9. if not listexists 'Runes'
  10. createlist 'Runes'
  11. endif
  12. if list 'Runes' == 0
  13. pushlist 'Runes' 5
  14. pushlist 'Runes' 11
  15. pushlist 'Runes' 17
  16. pushlist 'Runes' 23
  17. pushlist 'Runes' 29
  18. poplist 'Runebooks' 'front'
  19. endif
  20. if list 'Runebooks' == 0
  21. pushlist 'Runebooks' 0x40acb54d
  22. endif
  23. //// end set up of timers and lists etc.
  24. //// start heal in the mushrooms and near errant blood eles
  25. if hits '0x5b2e9' < 90 '0x5b2e9'
  26. if hits '0x5b2e9' > 50 '0x5b2e9'
  27. miniheal
  28. pause 100
  29. else
  30. if hits '0x5b2e9' < 50 '0x5b2e9'
  31. if poisoned '0x5b2e9'
  32. msg '[drink greatercurepotion'
  33. pause 600
  34. endif
  35. msg '[drink greaterhealpotion'
  36. pause 200
  37. miniheal '0x5b2e9'
  38. pause 100
  39. endif
  40. endif
  41. endif
  42. //// end heal in the mushrooms and near errant blood eles
  43. ////start steed healing
  44. if hits '0x5640e' < 85 '0x5640e'
  45. if @inrange '0x5640e' 1
  46. if timer 'bandie' > 5000
  47. bandage '0x5640e'
  48. settimer 'bandie' 0
  49. pause 800
  50. endif
  51. endif
  52. if poisoned '0x5640e'
  53. cast 'cure'
  54. waitfortarget 3000
  55. target '0x5640e'
  56. pause 1500
  57. endif
  58. cast 'greater heal'
  59. waitfortarget 3000
  60. target '0x5640e'
  61. pause 1500
  62. endif
  63. if hits '0x5640e' < 15
  64. cast 'recall'
  65. waitfortarget 3000
  66. target '0x4100794e'
  67. pause 2000
  68. endif
  69. ////end steed healing
  70. ////start steed distance minimization
  71. // start follow steed
  72. if not @inrange '0x5640e' 1
  73. if @x '0x5640e' > x 'self' and @y '0x5640e' > y 'self'
  74. walk 'Southeast'
  75. elseif @x '0x5640e' < x 'self' and @y '0x5640e' > y 'self'
  76. walk 'Southwest'
  77. elseif @x '0x5640e' > x 'self' and @y '0x5640e' < y 'self'
  78. walk 'Northeast'
  79. elseif @x '0x5640e' < x 'self' and @y '0x5640e' < y 'self'
  80. walk 'Northwest'
  81. elseif @x '0x5640e' > x 'self' and @y '0x5640e' == y 'self'
  82. walk 'East'
  83. elseif @x '0x5640e' < x 'self' and @y '0x5640e' == y 'self'
  84. walk 'West'
  85. elseif @x '0x5640e' == x 'self' and @y '0x5640e' > y 'self'
  86. walk 'South'
  87. elseif @x '0x5640e' == x 'self' and @y '0x5640e' < y 'self'
  88. walk 'North'
  89. endif
  90. endif
  91. //end follow steed
  92. //start calling errant steed
  93. if not @inrange '0x5640e' 6
  94. yellmsg 'all come'
  95. yellmsg 'all come'
  96. endif
  97. //end calling errant steed
  98. ////end steed distance minimization
  99. ////start change of location process
  100. //start summoning steed to you
  101. if not @inrange '0x8a' 6
  102. if not @inrange '0x8c' 6
  103. useobject! Runebooks[0]
  104. waitforgump 0x554b87f3 15000
  105. replygump 0x554b87f3 Runes[]
  106. pause 2000
  107. poplist 'Runes' 'front'
  108. //end popping rune list
  109. endif
  110. endif
  111. //// end change of location process
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement