Advertisement
lonesome74

Untitled

May 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.44 KB | None | 0 0
  1. //////////////////////////////////
  2. ////////Setup's
  3. if not @findobject 'Lootbag'
  4. headmsg 'Please target your Lootbag'
  5. promptalias 'Lootbag' 15000
  6. endif
  7. ////////////////////////
  8. if not @listexists 'Jewelry'
  9. @createlist 'Jewelry'
  10. endif
  11. if list 'Jewelry' == 0
  12. @pushlist 'Jewelry' 0x108a
  13. @pushlist 'Jewelry' 0x1f09
  14. @pushlist 'Jewelry' 0x1086
  15. @pushlist 'Jewelry' 0x1f06
  16. endif
  17. /////////
  18. /////////
  19. /////////
  20. ///////// Main Loop
  21. @getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
  22. pause 400
  23. if @findobject 'enemy'
  24. @clearjournal
  25. if @inrange 'enemy' 10
  26. attack 'enemy'
  27. endif
  28. ////////////////////////////////////////
  29. ////////////////////////////////////////
  30. ////////////////////////////////////////
  31. ////////////////////////////////////////
  32. ////////////////////////////////////////
  33. ////////////////////////////////////////
  34. ////////////////////////////////////////
  35. ////////////////////////////////////////
  36. /////////////Ability////////////////////
  37. ////////////////////////////////////////
  38. // comment out the one you wish not to use
  39. if mana >= 64 and timer 'abilitytimer' > 500
  40. //primary
  41. setability 'primary' 'on'
  42. //secondary
  43. //setability 'secondary' 'on'
  44. ////////////////////////////////////////
  45. ////////////////////////////////////////
  46. ////////////////////////////////////////
  47. ////////////////////////////////////////
  48. ////////////////////////////////////////
  49. ////////////////////////////////////////
  50. ////////////////////////////////////////
  51. ////////////////////////////////////////
  52. ////////////////////////////////////////
  53. ////////////////////////////////////////
  54. endif
  55. if @injournal 'attack with lightning!' or @injournal 'failure message'
  56. cast "counter attack"
  57. clearjournal
  58. endif
  59. if @injournal 'You attack with lightning precision!' or @injournal 'failure message'
  60. cast "Lightning Strike"
  61. clearjournal
  62. endif
  63. ///////////////////////////
  64. ///////////////////////////
  65. ///////////////////////////
  66. ////////////////
  67. ////////////////
  68. ////////////////
  69. // Divine Fury
  70. if not buffexists "divine fury"
  71. cast 'Divine Fury'
  72. pause 500
  73. if @injournal 'not yet recovered' 'system' or @injournal 'you are already' 'system'
  74. replay
  75. endif
  76. clearjournal
  77. endif
  78. /////////////////////
  79. /////////////////////
  80. /////////////////////
  81. ///// Consecrate Weapon
  82. if timer 'consecratetimer' >= 9000
  83. if not buffexists "Consecrate Weapon"
  84. cast "Consecrate Weapon"
  85. pause 500
  86. settimer 'consecratetimer' 0
  87. if @injournal 'not yet recovered' 'system' or @injournal 'you are already' 'system'
  88. replay
  89. endif
  90. clearjournal
  91. endif
  92. endif
  93. attack 'enemy'
  94. endif
  95. if @findtype 0xeed 0x0 'backpack'
  96. @usetype 0xeed 0x0 'backpack'
  97. pause 400
  98. elseif @findtype 0x14f0 52 'backpack'
  99. useobject 0x42c79fe3
  100. waitforgump 0x9021dd59 1500
  101. replygump 0x9021dd59 5 2
  102. waitfortarget 1500
  103. targettype! 0x14f0 52 500
  104. pause 100
  105. canceltarget
  106. pause 400
  107. replygump 0x9021dd59 0 2
  108. endif
  109. while @findtype 0xeef 'any' 'ground'
  110. headmsg 'Leprechan Gold!' 2125 'found'
  111. if @inrange 'found' 1
  112. useobject! 'found'
  113. endif
  114. endwhile
  115. while @findtype 0xeed 'any' 'ground' or @findtype 0xeef 'any' 'ground'
  116. useobject! 'found'
  117. endwhile
  118. ////////////////////////////////
  119. ////////////////////////////////
  120. ////////////////////////////////
  121. ///Loot Jewelry
  122. /////////////////////////
  123. //Find Corpse
  124. if @findtype '0x2006' 'any' 'ground' '1' '1'
  125. @setalias '0' 'found'
  126. //////////////////////////
  127. //Locate Jewelry
  128. for 0 to Jewelry
  129. if @findtype Jewelry[] 0 '0'
  130. @setalias 'Skills' 'found'
  131. waitforproperties 'Skills' 3000
  132. if @property 'Swordsmanship' 'Skills' >= 12
  133. sysmsg 'Swords!' '1990'
  134. @moveitem 'Skills' 'LootBag'
  135. msg '[e yea'
  136. pause 1000
  137. elseif @property 'Magery' 'Skills' >= 14
  138. sysmsg 'Magery!' '1990'
  139. @moveitem 'Skills' 'LootBag'
  140. pause 1000
  141. msg '[e yea'
  142. elseif @property 'Parry' 'Skills' >= 11
  143. sysmsg 'Parry!' '1990'
  144. @moveitem 'Skills' 'LootBag'
  145. pause 1000
  146. msg '[e yea'
  147. elseif @property 'Tactics' 'Skills' >= 14
  148. sysmsg 'Tactics' '1990'
  149. @moveitem 'Skills' 'LootBag'
  150. pause 1000
  151. msg '[e yea'
  152. elseif @property 'Animal Taming' 'Skills' >= 14
  153. sysmsg 'Taming' '1990'
  154. @moveitem 'Skills' 'LootBag'
  155. pause 1000
  156. msg '[e yea'
  157. elseif @property 'Archery' 'Skills' >= 15
  158. sysmsg 'Archery' '1990'
  159. @moveitem 'Skills' 'LootBag'
  160. pause 1000
  161. msg '[e yea'
  162. elseif @property 'Anatomy' 'Skills' >= 14
  163. sysmsg 'Anatomy' '1990'
  164. @moveitem 'Skills' 'LootBag'
  165. pause 1000
  166. msg '[e yea'
  167. elseif @property 'Bushido' 'Skills' >= 14
  168. sysmsg 'Bushido' '1990'
  169. @moveitem 'Skills' 'LootBag'
  170. pause 1000
  171. msg '[e yea'
  172. elseif @property 'Peacemaking' 'Skills' >= 15
  173. sysmsg 'Peacemaking' '1990'
  174. @moveitem 'Skills' 'LootBag'
  175. pause 1000
  176. msg '[e yea'
  177. elseif @property 'Archery' 'Skills' >= 15
  178. sysmsg 'Archery' '1990'
  179. @moveitem 'Skills' 'LootBag'
  180. pause 1000
  181. msg '[e yea'
  182. elseif @property 'Discordance' 'Skills' >= 15
  183. sysmsg 'Discordance' '1990'
  184. @moveitem 'Skills' 'LootBag'
  185. pause 1000
  186. msg '[e yea'
  187. elseif @property 'Animal Lore' 'Skills' >= 11
  188. sysmsg 'Animal Lore' '1990'
  189. @moveitem 'Skills' 'LootBag'
  190. pause 1000
  191. msg '[e yea'
  192. elseif @property 'Evaluating Intelligence' 'Skills' >= 15
  193. sysmsg 'Evaluating Intelligence' '1990'
  194. @moveitem 'Skills' 'LootBag'
  195. pause 1000
  196. msg '[e yea'
  197. elseif @property 'Resist Spells' 'Skills' >= 15
  198. sysmsg 'Resist Spells' '1990'
  199. @moveitem 'Skills' 'LootBag'
  200. pause 1000
  201. msg '[e yea'
  202. elseif @property 'Lower Reagent Cost' 'Skills' >= 17
  203. sysmsg 'Lower Reagent Cost' '1990'
  204. @moveitem 'Skills' 'LootBag'
  205. pause 1000
  206. msg '[e yea'
  207. elseif @property 'Faster Cast Recovery' 'Skills' >= 2 and @property 'Faster Casting' 'Skills' >=1
  208. sysmsg 'FCR/FC' '1990'
  209. @moveitem 'Skills' 'LootBag'
  210. pause 1000
  211. msg '[e yea'
  212. endif
  213. endif
  214. endfor
  215. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement