Advertisement
Guest User

Untitled

a guest
May 25th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.02 KB | None | 0 0
  1. function get_sets()
  2. sets.TP = {}
  3. --
  4. sets.TP.Standard = {ammo="Ginsen",--
  5. head="Sulevia's Mask +1",
  6. neck="Combatant's Torque",
  7. ear1="Cessance Earring",
  8. ear2="Brutal Earring",
  9. body="Valorous Mail",
  10. hands="Valorous Mitts",
  11. ring1="Rajas Ring",
  12. ring2="Hetairoi Ring",
  13. back="Bleating Mantle",
  14. waist="Dynamic Belt +1",
  15. legs={ name="Valor. Hose", augments={'Accuracy+27','"Store TP"+3','STR+10','Attack+4',}},
  16. feet="Valorous Greaves"}
  17. sets.TP.Scythe = {ammo="Ginsen",--
  18. head="Sulevia's Mask +1",
  19. neck="Combatant's Torque",
  20. ear1="Cessance Earring",
  21. ear2="Brutal Earring",
  22. body="Valorous Mail",
  23. hands="Valorous Mitts",
  24. ring1="Rajas Ring",
  25. ring2="Hetairoi Ring",
  26. back="Bleating Mantle",
  27. waist="Dynamic Belt +1",
  28. legs={ name="Valor. Hose", augments={'Accuracy+27','"Store TP"+3','STR+10','Attack+4',}},
  29. feet="Valorous Greaves"}
  30. sets.TP.sTP = set_combine(sets.TP.Standard,{})--
  31. sets.TP.Acc = {ammo="Bomb Core",
  32. head="Gavialis Helm",
  33. neck="Combatant's Torque",
  34. ear1="Zennaroi Earring",
  35. ear2="Digni. Earring",
  36. body="Valorous Mail",
  37. hands=TPMitts,
  38. ring1="Patricius Ring",
  39. ring2="Cacoethic Ring +1",
  40. back="Moondoe Mantle +1",
  41. waist="Eschan Stone",
  42. legs="Odyssean Cuisses",
  43. feet="Valorous Greaves"}
  44. sets.TP.Defense = set_combine(sets.TP.Standard,{
  45. neck="Twilight Torque",
  46. body="Chozor. Coselete",
  47. hands="Redan Gloves",
  48. ring1="Patricius Ring",
  49. ring2="Defending Ring",
  50. back="Shadow Mantle",
  51. legs=MeleeLegs,
  52. feet="Sulev. Leggings +1"})
  53.  
  54. sets.precast = {}
  55. -- Spells --
  56. sets.precast.FastCast = {head="Cizin Helm +1",neck="Baetyl Pendant",ear1="Loquac. Earring",body="Nuevo Coselete",hands="Leyline Gloves",legs="Enif Cosciales"}
  57. sets.precast.Utsusemi = set_combine(sets.precast.FastCast,{})
  58. -- JA --
  59. sets.precast['Arcane Circle'] = {feet="Igno. Sollerets"}
  60. sets.precast['Weapon Bash'] = {}
  61. -- WS --
  62. sets.precast.STR = {ammo="Floestone",--21 sTP
  63. head="Sulevia's Mask +1",
  64. neck="Fotia Gorget",
  65. ear1="Ishvara Earring",
  66. ear2="Brutal Earring",
  67. body="Valorous Mail",
  68. hands="Sulevia's Gaultlets +1",
  69. ring1="Ifrit Ring +1",
  70. ring2="Spiral Ring",
  71. back="Niht Mantle",
  72. waist="Fotia Belt",
  73. legs={ name="Valor. Hose", augments={'Weapon skill damage +5%','DEX+8','Accuracy+13','Attack+14',}},
  74. feet="Sulev. Leggings +1"}
  75. sets.precast.Single = set_combine(sets.precast.STR,{})
  76. sets.precast.Multi = set_combine(sets.precast.STR,{neck="Fotia Gorget",waist="Fotia Belt"})--
  77. sets.precast.Resolution = sets.precast.Multi
  78. sets.precast.Torcleaver = sets.precast.Single
  79. sets.precast['Herculean Slash'] = set_combine(sets.precast.Single,{head="Highwing Helm",
  80. neck="Baetyl Pendant",
  81. ear1="Novio Earring",
  82. ear2="Friomisi Earring",
  83. hands="Founder's Gauntlets",
  84. ring1="Acumen Ring",
  85. ring2="Shiva Ring +1",
  86. back="Argocham. Mantle",
  87. waist="Eschan Stone",})
  88. sets.precast['Spinning Slash'] = sets.precast.Single
  89. sets.precast['Ground Strike'] = sets.precast.Single
  90. sets.precast.Quietus = sets.precast.Single--
  91. sets.precast.Entropy = sets.precast.Multi
  92. sets.precast['Infernal Scythe'] = sets.precast['Herculean Slash']
  93. sets.precast.Guillotine = sets.precast.Multi
  94. sets.precast.Insurgency = sets.precast.Multi
  95. sets.precast['Catastrophe'] = sets.precast.Single
  96. sets.precast['Entropy'] = sets.precast.Single
  97. sets.precast.Upheaval = sets.precast.Multi
  98. sets.precast.Ruinator = sets.precast.Multi
  99. -- Other --
  100.  
  101. sets.midcast = {}
  102. sets.midcast.Recast = set_combine(sets.precast.FastCast,{body="Chozor. Coselete",hands=WSMitts,waist="Dynamic Belt +1",feet="Ejekamal Boots"})
  103. sets.midcast.Souleater = {head="Ignominy Burgeonet"}
  104. sets.midcast.Dark = {head="Ignominy Burgeonet",
  105. neck="Incanter's Torque",
  106. ear1="Abyssal Earring",
  107. hands="Fall. Fin. Gaunt.",
  108. back="Niht Mantle",
  109. legs="Bale Flanchard +2"}
  110. sets.midcast.Stun = sets.midcast.Recast
  111. sets.midcast.Endark = sets.midcast.Dark
  112. sets.midcast.Drain = set_combine(sets.midcast.Dark,{ear2="Hirudinea Earring",ring1="Excelsis Ring",ring2="Evanescence Ring",back="Niht Mantle",waist="Fucho-no-Obi"})
  113. sets.midcast['Drain II'] = sets.midcast.Drain
  114. sets.midcast.Aspir = sets.midcast.Drain
  115. sets.midcast['Aspir II'] = sets.midcast.Aspir
  116. sets.midcast.Absorb = set_combine(sets.midcast.Dark,{})
  117. sets.midcast['Dread Spikes'] = {}
  118. sets.midcast.Bio = sets.midcast.Dark
  119. sets.midcast['Bio II'] = sets.midcast.Bio
  120. sets.midcast.Enfeebling = {neck="Sanctity Necklace",ring2="Globidonta Ring",feet="Igno. Sollerets",}
  121.  
  122. sets.aftercast = {}
  123.  
  124. sets.HP = {head="Gavialis Helm",
  125. ear2="Ethereal Earring",
  126. body="Jumalik Mail",
  127. hands="Ogier's Gaultlets",
  128. ring1="K'ayres Ring",
  129. ring2="Meridian Ring",
  130. back="Xucau Mantle",
  131. waist="Eschan Stone",
  132. legs="Enif Cosciales",
  133. feet="Sulev. Leggings +1"}
  134. sets.MP = {ammo="Demonry Stone",
  135. head="Jumalik Helm",
  136. ear1="Loquac. Earring",
  137. body="Jumalik Mail",
  138. ring1="Sangoma Ring",
  139. back="Merciful Cape",
  140. waist="Eschan Stone",
  141. legs="Enif Cosciales",
  142. feet="Ejekamal Boots"}
  143.  
  144. sets.PDT = {head="Jumalik Helm",
  145. neck="Twilight Torque",
  146. ear1="Colossus's Earring",
  147. body="Chozor. Coselete",
  148. hands="Founder's Gauntlets",
  149. ring1="Patricius Ring",
  150. ring2="Defending Ring",
  151. back="Shadow Mantle",
  152. waist="Flume Belt +1",
  153. legs="Sulevi. Cuisses +1",
  154. feet="Sulev. Leggings +1"}
  155. sets.MDT = {ammo="Demonry Stone",
  156. head="Sulevia's Mask +1",
  157. neck="Twilight Torque",
  158. ear2="Zennaroi Earring",
  159. body="Chozor. Coselete",
  160. hands="Leyline Gloves",
  161. ring1="Shadow Ring",
  162. ring2="Defending Ring",
  163. back="Mubvum. Mantle",
  164. waist="Flax Sash",
  165. legs="Sulevi. Cuisses +1",
  166. feet="Sulev. Leggings +1"}
  167. sets.DT = {ammo="Demonry Stone",
  168. head="Sulevia's Mask +1",
  169. neck="Twilight Torque",
  170. ear1="Colossus's Earring",
  171. ear2="Zennaroi Earring",
  172. body="Chozor. Coselete",
  173. hands="Founder's Gauntlets",
  174. ring1="Shadow Ring",
  175. ring2="Defending Ring",
  176. back="Solemnity Cape",
  177. waist="Flume Belt +1",
  178. legs="Sulevi. Cuisses +1",
  179. feet="Sulev. Leggings +1"}
  180. sets.Idle = {head="Twilight Helm",
  181. neck="Wiglen Gorget",
  182. ear1="Infused Earring",
  183. ear2="Dawn Earring",
  184. body="Ares' Cuirass +1",
  185. hands="Ogier's Gauntlets",
  186. ring1="Sheltered Ring",
  187. ring2="Defending Ring",
  188. back="Shadow Mantle",
  189. waist="Flume Belt +1",
  190. legs="Blood Cuisses",
  191. feet="Ogier's Leggings"}
  192. sets.Refresh = {head="Wivre Hairpin",
  193. rear="Ethereal Earring",
  194. neck="Wiglen Gorget",
  195. ear1="Colossus's Earring",
  196. body="Chozor. Coselete",
  197. hands="Ogier's Gauntlets",
  198. ring1="Sheltered Ring",
  199. ring2="Defending Ring",
  200. back="Shadow Mantle",
  201. waist="Flume Belt +1",
  202. legs="Blood Cuisses",
  203. feet="Ogier's Leggings"}
  204. sets.Regen = sets.Idle
  205. sets.RR = {ammo="Demonry Stone",
  206. head="Twilight Helm",
  207. neck="Twilight Torque",
  208. ear1="Colossus's Earring",
  209. ear2="Dawn Earring",
  210. body="Twilight Mail",
  211. hands="Founder's Gauntlets",
  212. ring1="Shadow Ring",
  213. ring2="Defending Ring",
  214. back="Shadow Mantle",
  215. waist="Flume Belt +1",
  216. legs="Sulevi. Cuisses +1",
  217. feet="Sulev. Leggings +1"}
  218.  
  219. sets.TP.DD = sets.TP.Standard
  220. TPMode = 'Standard'
  221.  
  222. send_command('input /macro book 5;wait .1;input /macro set 1')
  223. end
  224.  
  225. function precast(spell)
  226. if sets.precast[spell.english] then
  227. equip(sets.precast[spell.english])
  228. elseif spell.type == "BlackMagic" then
  229. equip(sets.precast.FastCast)
  230. end
  231. end
  232.  
  233. function midcast(spell)
  234. if sets.midcast[spell.english] then
  235. equip(sets.midcast[spell.english])
  236. elseif spell.skill == 'Enfeebling Magic' then
  237. equip(sets.midcast.Enfeebling)
  238. elseif spell.type == 'WeaponSkill' and buffactive.Souleater then
  239. equip(sets.midcast.Souleater)
  240. end
  241. end
  242.  
  243. function aftercast(spell)
  244. if sets.aftercast[spell.english] then
  245. equip(sets.aftercast[spell.english])
  246. elseif sets.precast[spell.english] and spell.type == 'WeaponSkill' then
  247. equip(sets.TP.DD)
  248. elseif spell.type == "BlackMagic" then
  249. equip(sets.TP.DD)
  250. end
  251. end
  252.  
  253. function status_change(new,old)
  254. end
  255.  
  256. function buff_change(name,gain)
  257. end
  258.  
  259. function self_command(command)
  260. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement