Advertisement
lonesome74

Untitled

May 3rd, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.84 KB | None | 0 0
  1.  
  2. ///////// Main Loop
  3. //equip weapon
  4. if not @findobject 'righthand'
  5. equipitem 'weapon' 2
  6. pause 500
  7. endif
  8. //equip shield
  9. if not @findobject 'lefthand' and @findobject 'righthand'
  10. equipitem 'shield' 2
  11. pause 500
  12. endif
  13. @getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
  14. pause 400
  15. if @findobject 'enemy'
  16. @clearjournal
  17. if @inrange 'enemy' 10
  18. if hits 'enemy' == maxhits 'enemy'
  19. virtue 'honor'
  20. waitfortarget 5000
  21. target! 'enemy' 200
  22. pause 300
  23. canceltarget
  24. attack 'enemy'
  25. endif
  26. ////////////////////////////////////////
  27. //use ability
  28. // comment out the one you wish not to use
  29. if mana >= 64 and timer 'abilitytimer' > 500
  30. //primary
  31. setability 'primary' 'on'
  32. //secondary
  33. // setability 'secondary' 'on'
  34. //
  35. endif
  36. if @injournal 'attack with lightning!' or @injournal 'failure message'
  37. cast "counter attack"
  38. clearjournal
  39. endif
  40. if @injournal 'You attack with lightning precision!' or @injournal 'failure message'
  41. cast "Lightning Strike"
  42. clearjournal
  43. endif
  44. ///////////////////////////
  45. ///////////////////////////
  46. ///////////////////////////
  47. /////Disco target
  48. if not @injournal 'jarring' and not @injournal 'already' and not @injournal 'would have no effect'
  49. if timer 'discotimer' >= 2050 and @inrange 'enemy' 6
  50. useskill 'Discordance'
  51. waitfortarget 1000
  52. target! 'enemy' 2000
  53. settimer 'discotimer' 0
  54. pause 126
  55. canceltarget
  56. endif
  57. clearjournal
  58. endif
  59. ////////////////
  60. ////////////////
  61. ////////////////
  62. //// Enemy of one
  63. if not buffexists 'Enemy of One'
  64. cast 'Enemy of One'
  65. pause 250
  66. endif
  67. ////////////////
  68. ////////////////
  69. ////////////////
  70. // Divine Fury
  71. if not buffexists "divine fury"
  72. cast 'Divine Fury'
  73. pause 500
  74. if @injournal 'not yet recovered' 'system' or @injournal 'you are already' 'system'
  75. replay
  76. endif
  77. clearjournal
  78. endif
  79. /////////////////////
  80. /////////////////////
  81. /////////////////////
  82. ///// Consecrate Weapon
  83. if timer 'consecratetimer' >= 9000
  84. if not buffexists "Consecrate Weapon"
  85. cast "Consecrate Weapon"
  86. pause 500
  87. settimer 'consecratetimer' 0
  88. if @injournal 'not yet recovered' 'system' or @injournal 'you are already' 'system'
  89. replay
  90. endif
  91. clearjournal
  92. endif
  93. endif
  94. attack 'enemy'
  95. endif
  96. endif
  97. ////////////////////////////////////////
  98. ////////////////////////////////////////
  99. ////////////////////////////////////////
  100. /// Healing
  101. if timer 'bandagetimer' >= 10250
  102. //poisoned
  103. if poisoned 'self'
  104. bandageself
  105. waitfortarget 1500
  106. target! 'self'
  107. settimer 'bandagetimer' 0
  108. elseif diffhits > 8
  109. bandageself
  110. waitfortarget 1500
  111. target! 'self'
  112. settimer 'bandagetimer' 0
  113. endif
  114. pause 200
  115. endif
  116. ///////////////////////////////////////////
  117. ///////////////////////////////////////////
  118. ///////////////////////////////////////////
  119. // smelt ore's
  120. if @usetype! 0x19b9 'any' 'backpack'
  121. waitfortarget 1500
  122. @target! 'portableforge'
  123. elseif @usetype! 0x19b8 'any' 'backpack'
  124. waitfortarget 1500
  125. @target! 'portableforge'
  126. elseif @usetype! 0x19ba 'any' 'backpack'
  127. waitfortarget 1500
  128. @target! 'portableforge'
  129. endif
  130. ///////////////////////////////
  131. //clip hides to leather
  132. for 0 to 'tailorclips'
  133. while @findtype 'tailorclips[]'
  134. @usetype 0xf9f
  135. waitfortarget 1000
  136. @target! 'found'
  137. endwhile
  138. endfor
  139. ///////////////////////////////////////////
  140. ///////////////////////////////////////////
  141. ///////////////////////////////////////////
  142. // Use Storage Key's
  143. ////////////////////////////////
  144. //store ingots
  145. if @findtype 0x1bf2
  146. waitforcontext 'ingotkey' 2 1000
  147. waitforgump 0x6abce12 1000
  148. replygump 0x6abce12 0
  149. endif
  150. /////////////////////////////////////
  151. //store reagents
  152. for 0 to 'regs'
  153. while @findtype 'regs[]' 'backpack'
  154. waitforcontext 'regkey' 2 1000
  155. waitforgump 0x6abce12 1000
  156. replygump 0x6abce12 0
  157. pause 200
  158. waitforcontext 'scribekey' 2 1000
  159. waitforgump 0x6abce12 1000
  160. replygump 0x6abce12 0
  161. pause 200
  162. break
  163. endwhile
  164. endfor
  165. /////////////////////////////////////////
  166. ////store hides
  167. if @findtype 0x1081
  168. waitforcontext 'tailorkey' 2 1000
  169. waitforgump 0x6abce12 1000
  170. replygump 0x6abce12 0
  171. endif
  172. ////////////////////////////////
  173. ////////////////////////////////
  174. ////////////////////////////////
  175. ///Loot Jewelry
  176. /////////////////////////
  177. //Find Corpse
  178. if @findtype '0x2006' 'any' 'ground' '1' '1'
  179. @setalias '0' 'found'
  180. @useobject '0'
  181. pause 300
  182. ///Check for Artifact
  183. for 0 to Gearlist
  184. for 2
  185. if @findtype Gearlist[] 'any' '0'
  186. @setalias 'Geartocheck' 'found'
  187. waitforproperties 'Geartocheck' 3000
  188. if @property 'Artifact' 'Geartocheck'
  189. sysmsg 'Artifact' '1990'
  190. @moveitem 'Geartocheck' 'LootBag'
  191. pause 1000
  192. endif
  193. endif
  194. endfor
  195. endfor
  196. //////////////////////////
  197. //Locate Jewelry
  198. for 0 to Jewelry
  199. for 2
  200. if @findtype Jewelry[] 0 '0'
  201. @setalias 'Skills' 'found'
  202. waitforproperties 'Skills' 3000
  203. if @property 'Swordsmanship' 'Skills' >= 12
  204. sysmsg 'Swords!' '1990'
  205. @moveitem 'Skills' 'LootBag'
  206. pause 1000
  207. elseif @property 'Parry' 'Skills' >= 11
  208. sysmsg 'Parry!' '1990'
  209. @moveitem 'Skills' 'LootBag'
  210. pause 1000
  211. elseif @property 'Tactics' 'Skills' >= 11
  212. sysmsg 'Tactics' '1990'
  213. @moveitem 'Skills' 'LootBag'
  214. pause 1000
  215. elseif @property 'Animal Taming' 'Skills' >= 11
  216. sysmsg 'Taming' '1990'
  217. @moveitem 'Skills' 'LootBag'
  218. pause 1000
  219. elseif @property 'Archery' 'Skills' >= 11
  220. sysmsg 'Archery' '1990'
  221. @moveitem 'Skills' 'LootBag'
  222. pause 1000
  223. elseif @property 'Anatomy' 'Skills' >= 11
  224. sysmsg 'Anatomy' '1990'
  225. @moveitem 'Skills' 'LootBag'
  226. pause 1000
  227. elseif @property 'Bushido' 'Skills' >= 11
  228. sysmsg 'Bushido' '1990'
  229. @moveitem 'Skills' 'LootBag'
  230. pause 1000
  231. elseif @property 'Peacemaking' 'Skills' >= 11
  232. sysmsg 'Animal Lore' '1990'
  233. @moveitem 'Skills' 'LootBag'
  234. pause 1000
  235. elseif @property 'Animal Lore' 'Skills' >= 11
  236. sysmsg 'Animal Lore' '1990'
  237. @moveitem 'Skills' 'LootBag'
  238. pause 1000
  239. elseif @property 'Evaluating Intelligence' 'Skills' >= 11
  240. sysmsg 'Evaluating Intelligence' '1990'
  241. @moveitem 'Skills' 'LootBag'
  242. pause 1000
  243. elseif @property 'Lower Reagent Cost' 'Skills' >= 17
  244. sysmsg 'Lower Reagent Cost' '1990'
  245. @moveitem 'Skills' 'LootBag'
  246. pause 1000
  247. elseif @property 'Faster Cast Recovery' 'Skills' >= 2 and @property 'Faster Casting' 'Skills' >=1
  248. sysmsg 'FCR/FC' '1990'
  249. @moveitem 'Skills' 'LootBag'
  250. pause 1000
  251. endif
  252. endif
  253. endfor
  254. endfor
  255. endif
  256. //Close Corpse
  257. ignoreobject '0'
  258. ////////////////////////////////
  259. // checks and gold
  260. if @findtype 0xeed 0x0 'backpack'
  261. useobject 0x42c79fe3
  262. waitforgump 0x9021dd59 1500
  263. replygump 0x9021dd59 5 2
  264. waitfortarget 1500
  265. targettype! 0xeed 0x0 500
  266. pause 100
  267. canceltarget
  268. pause 400
  269. replygump 0x9021dd59 0 2
  270. elseif @findtype 0x14f0 52 'backpack'
  271. useobject 0x42c79fe3
  272. waitforgump 0x9021dd59 1500
  273. replygump 0x9021dd59 5 2
  274. waitfortarget 1500
  275. targettype! 0x14f0 52 500
  276. pause 100
  277. canceltarget
  278. pause 400
  279. replygump 0x9021dd59 0 2
  280. endif
  281. if @contents 'tokenbag' >= 1
  282. waitforcontext 0x42c79fe7 0 1500
  283. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement