Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.29 KB | None | 0 0
  1. //////////////////////////
  2. //////////////////////////
  3. //////////////////////////
  4. ///Setup
  5. if not @findobject 'weapon'
  6. headmsg 'Please target your Weapon'
  7. promptalias 'weapon' 15000
  8. endif
  9. if not @findobject 'shield'
  10. headmsg 'Please target your Shield'
  11. promptalias 'shield' 15000
  12. endif
  13. if not @findobject 'lootbag'
  14. headmsg 'Please target your Lootbag'
  15. promptalias 'lootbag' 15000
  16. endif
  17. if not @findobject 'regkey'
  18. headmsg 'Please target your REAGENT key'
  19. promptalias 'regkey' 15000
  20. endif
  21. if not @findobject 'ingotkey'
  22. headmsg 'Please target your INGOT Key
  23. promptalias 'ingotkey' 15000
  24. endif
  25. if not @findobject 'evokey'
  26. headmsg 'Please target your EVOkey'
  27. promptalias 'evokey' 15000
  28. endif
  29. if not @findalias 'portableforge'
  30. headmsg 'Please target your Portable Forge'
  31. promptalias 'portableforge' 15000
  32. endif
  33. if not @findalias 'portabank'
  34. headmsg 'Please target your Bank Crystal'
  35. promptalias 'portabank' 15000
  36. endif
  37. //////////////////////////////////////
  38. //////////////////////////////////////
  39. //////////////////////////////////////
  40. // Lists
  41. if not @listexists 'regs'
  42. createlist 'regs'
  43. pushlist 'regs' 0xf7a // Black Pearl
  44. pushlist 'regs' 0xf7b // Blood Moss
  45. pushlist 'regs' 0xf86 // Mandrake Root
  46. pushlist 'regs' 0xf84 // Garlic
  47. pushlist 'regs' 0xf85 // Ginseng
  48. pushlist 'regs' 0xf88 // Nightshade
  49. pushlist 'regs' 0xf8d // Spider's Silk
  50. pushlist 'regs' 0xf8c // Sulphurous Ash
  51. pushlist 'regs' 0xf8e // Nox Crystal
  52. pushlist 'regs' 0xf8a // Pig Iron
  53. pushlist 'regs' 0xf8f // Grave Dust
  54. pushlist 'regs' 0xf78 // Bat Wing
  55. pushlist 'regs' 0xf7d // Daemon Blood
  56. pushlist 'regs' 0xf7e // Bone
  57. pushlist 'regs' 0xef3 // Blank Scrolls
  58. pushlist 'regs' 0x4077 // Dragon Blood
  59. // pushlist 'regs' 12345 //
  60. endif
  61. ////////////////////////
  62. if not @listexists 'Jewelry'
  63. @createlist 'Jewelry'
  64. endif
  65. if list 'Jewelry' == 0
  66. @pushlist 'Jewelry' 0x108a
  67. @pushlist 'Jewelry' 0x1f09
  68. @pushlist 'Jewelry' 0x1086
  69. @pushlist 'Jewelry' 0x1f06
  70. endif
  71. if not @listexists 'tailorclips'
  72. createlist 'tailorclips'
  73. pushlist 'tailorclips' 0x1079 //hide
  74. pushlist 'tailorclips' 0x1b0a //bones
  75. pushlist 'tailorclips' 0x1b0d //bones
  76. pushlist 'tailorclips' 0x1b0f //bones
  77. pushlist 'tailorclips' 0x1b0c //bones
  78. pushlist 'tailorclips' 0x1b17 //bones
  79. pushlist 'tailorclips' 0x1b0b //bones
  80. pushlist 'tailorclips' 0x1b0e //bones
  81. endif
  82.  
  83. ///////////////////////////////////////
  84. ///////////////////////////////////////
  85. ///////////////////////////////////////
  86. //Timers
  87. if not timerexists 'consecratetimer'
  88. createtimer 'consecratetimer'
  89. settimer 'consecratetimer' 0
  90. endif
  91. if not timerexists 'discotimer'
  92. createtimer 'discotimer'
  93. settimer 'discotimer' 0
  94. endif
  95. if not timerexists 'bandagetimer'
  96. createtimer 'bandagetimer'
  97. settimer 'bandagetimer' 0
  98. endif
  99. if not timerexists 'abilitytimer'
  100. createtimer 'abilitytimer'
  101. settimer 'abilitytimer' 0
  102. endif
  103. /////////
  104. /////////
  105. /////////
  106. ///////// Main Loop
  107. //equip weapon
  108. if not @findobject 'righthand'
  109. equipitem 'weapon' 2
  110. pause 500
  111. endif
  112. //equip shield
  113. if not @findobject 'lefthand' and @findobject 'righthand'
  114. equipitem 'shield' 2
  115. pause 500
  116. endif
  117. @getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
  118. pause 400
  119. if @findobject 'enemy'
  120. @clearjournal
  121. if @inrange 'enemy' 10
  122. if hits 'enemy' == maxhits 'enemy'
  123. virtue 'honor'
  124. waitingfortarget 5000
  125. target! 'enemy' 2000
  126.  
  127. pause 500
  128. canceltarget
  129. attack 'enemy'
  130. endif
  131. /// send pets to attack
  132. if followers > 1
  133. msg 'All Kill'
  134. waitfortarget 1000
  135. target! 'enemy' 200
  136. endif
  137. ////////////////////////////////////////
  138. //use ability
  139. // comment out the one you wish not to use
  140. if mana >= 44 and timer 'abilitytimer' > 500
  141. //primary
  142. //setability 'primary' 'on'
  143. //secondary
  144. setability 'secondary' 'on'
  145. //
  146. endif
  147. ///////////////////////////
  148. ///////////////////////////
  149. ///////////////////////////
  150. /////Disco target
  151. if not @injournal 'jarring' and not @injournal 'already' and not @injournal 'would have no effect'
  152. if timer 'discotimer' >= 2050 and @inrange 'enemy' 6
  153. useskill 'Discordance'
  154. waitfortarget 1000
  155. target! 'enemy' 2000
  156. settimer 'discotimer' 0
  157. pause 126
  158. canceltarget
  159. endif
  160. canceltarget
  161. endif
  162. ////////////////
  163. ////////////////
  164. ////////////////
  165. //// Enemy of one
  166. if not buffexists 'Enemy of One'
  167. cast 'Enemy of One'
  168. pause 250
  169. endif
  170. ////////////////
  171. ////////////////
  172. ////////////////
  173. // Divine Fury
  174. if not buffexists "divine fury"
  175. cast 'Divine Fury'
  176. pause 500
  177. if @injournal 'not yet recovered' 'system' or @injournal 'you are already' 'system'
  178. replay
  179. endif
  180. endif
  181. /////////////////////
  182. /////////////////////
  183. /////////////////////
  184. ///// Consecrate Weapon
  185. if timer 'consecratetimer' >= 9000
  186. if not buffexists "Consecrate Weapon"
  187. cast "Consecrate Weapon"
  188. pause 500
  189. settimer 'consecratetimer' 0
  190. if @injournal 'not yet recovered' 'system' or @injournal 'you are already' 'system'
  191. replay
  192. endif
  193. endif
  194. endif
  195. attack 'enemy'
  196. endif
  197. endif
  198. ////////////////////////////////////////
  199. ////////////////////////////////////////
  200. ////////////////////////////////////////
  201. /// Healing
  202. if timer 'bandagetimer' >= 10250
  203. //poisoned
  204. if poisoned 'self'
  205. bandageself
  206. waitfortarget 1500
  207. target! 'self'
  208. settimer 'bandagetimer' 0
  209. elseif diffhits > 8
  210. bandageself
  211. waitfortarget 1500
  212. target! 'self'
  213. settimer 'bandagetimer' 0
  214. endif
  215. pause 200
  216. endif
  217.  
  218. ///////////////////////////////////////////
  219. ///////////////////////////////////////////
  220. ///////////////////////////////////////////
  221. // smelt ore's
  222. if @usetype! 0x19b9 'any' 'backpack'
  223. waitfortarget 1500
  224. @target! 'portableforge'
  225. elseif @usetype! 0x19b8 'any' 'backpack'
  226. waitfortarget 1500
  227. @target! 'portableforge'
  228. elseif @usetype! 0x19ba 'any' 'backpack'
  229. waitfortarget 1500
  230. @target! 'portableforge'
  231. endif
  232. ///////////////////////////////
  233. //clip hides to leather
  234. for 0 to 'tailorclips'
  235. while @findtype 'tailorclips[]'
  236. @usetype 0xf9f
  237. waitfortarget 15000
  238. @target! 'found'
  239. endwhile
  240. endfor
  241. ///////////////////////////////////////////
  242. ///////////////////////////////////////////
  243. ///////////////////////////////////////////
  244. // Use Storage Key's
  245. ////////////////////////////////
  246. //store ingots
  247. if @findtype 0x1bf2
  248. waitforcontext 'ingotkey' 2 15000
  249. waitforgump 0x6abce12 15000
  250. replygump 0x6abce12 0
  251. endif
  252. /////////////////////////////////////
  253. //store reagents
  254. for 0 to 'regs'
  255. while @findtype 'regs[]' 'backpack'
  256. waitforcontext 'regkey' 2 15000
  257. waitforgump 0x6abce12 15000
  258. replygump 0x6abce12 0
  259. pause 200
  260. break
  261. endwhile
  262. endfor
  263. /////////////////////////////////////////
  264. ////store hides in bank (temp)
  265. if @findtype 0x1081
  266. @useobject 'portabank'
  267. pause 300
  268. organizer 'bank'
  269.  
  270. endif
  271. ////////////////////////////////
  272. ////////////////////////////////
  273. ////////////////////////////////
  274. ///Loot Jewelry
  275. /////////////////////////
  276. //Find Corpse
  277. if @findtype '0x2006' 'any' 'ground' '1' '1'
  278.  
  279. @setalias '0' 'found'
  280. @useobject '0'
  281. pause 300
  282. //////////////////////////
  283. //Locate Jewelry
  284. for 0 to Jewelry
  285. for 2
  286. if @findtype Jewelry[] 0 '0'
  287. @setalias 'Skills' 'found'
  288. waitforproperties 'Skills' 3000
  289. if @property 'Swordsmanship' 'Skills' >= 14
  290. sysmsg 'Swords!' '1990'
  291. @moveitem 'Skills' 'LootBag'
  292. pause 1000
  293. elseif @property 'Parry' 'Skills' >= 14
  294. sysmsg 'Parry!' '1990'
  295. @moveitem 'Skills' 'LootBag'
  296. pause 1000
  297. elseif @property 'Tactics' 'Skills' >= 14
  298. sysmsg 'Tactics' '1990'
  299. @moveitem 'Skills' 'LootBag'
  300. pause 1000
  301. elseif @property 'Animal Taming' 'Skills' >= 14
  302. sysmsg 'Taming' '1990'
  303. @moveitem 'Skills' 'LootBag'
  304. pause 1000
  305. elseif @property 'Archery' 'Skills' >= 14
  306. sysmsg 'Archery' '1990'
  307. @moveitem 'Skills' 'LootBag'
  308. pause 1000
  309. elseif @property 'Anatomy' 'Skills' >= 14
  310. sysmsg 'Anatomy' '1990'
  311. @moveitem 'Skills' 'LootBag'
  312. pause 1000
  313. elseif @property 'Bushido' 'Skills' >= 14
  314. sysmsg 'Bushido' '1990'
  315. @moveitem 'Skills' 'LootBag'
  316. pause 1000
  317. elseif @property 'Animal Lore' 'Skills' >= 14
  318. sysmsg 'Animal Lore' '1990'
  319. @moveitem 'Skills' 'LootBag'
  320. pause 1000
  321. elseif @property 'Evaluating Intelligence' 'Skills' >= 14
  322. sysmsg 'Evaluating Intelligence' '1990'
  323. @moveitem 'Skills' 'LootBag'
  324. pause 1000
  325. elseif @property 'Lower Reagent Cost' 'Skills' >= 17
  326. sysmsg 'Lower Reagent Cost' '1990'
  327. @moveitem 'Skills' 'LootBag'
  328. pause 1000
  329. elseif @property 'Faster Cast Recovery' 'Skills' >= 2 or @property 'Faster Casting' 'Skills' >=1
  330. sysmsg 'FCR/FC' '1990'
  331. @moveitem 'Skills' 'LootBag'
  332. pause 1000
  333. endif
  334. endif
  335. endfor
  336. endfor
  337. pause 300
  338. msg '[claim -c'
  339. waitfortarget 15000
  340. target! '0' 200
  341. pause 300
  342. canceltarget
  343. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement