Advertisement
Guest User

yopablu

a guest
May 28th, 2017
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.03 KB | None | 0 0
  1. function get_sets()
  2.  
  3. send_command('bind f9 gs c toggle TP set')
  4. send_command('bind f10 gs c toggle Idle set')
  5. send_command('bind f11 gs c toggle CDC set')
  6. send_command('bind f12 gs c toggle Req set')
  7. send_command('bind !f12 gs c toggle Rea set')
  8.  
  9. function file_unload()
  10.  
  11.  
  12. send_command('unbind ^f9')
  13. send_command('unbind ^f10')
  14. send_command('unbind ^f11')
  15. send_command('unbind ^f12')
  16.  
  17. send_command('unbind !f9')
  18. send_command('unbind !f10')
  19. send_command('unbind !f11')
  20. send_command('unbind !f12')
  21.  
  22. send_command('unbind f9')
  23. send_command('unbind f10')
  24. send_command('unbind f11')
  25. send_command('unbind f12')
  26.  
  27.  
  28.  
  29. end
  30.  
  31. --Idle Sets--
  32. sets.Idle = {}
  33.  
  34. sets.Idle.index = {'Standard','DT'}
  35. Idle_ind = 1
  36.  
  37. sets.Idle.Standard = {ammo="Ginsen",
  38. head="Wivre Hairpin",neck="Sanctity Necklace", ear1="Ethereal earring", ear2="Infused Earring",
  39. body="Jhakri robe +1",hands="Serpentes cuffs",ring1="Sheltered ring",ring2="Paguroidea ring",
  40. back="Umbra Cape",waist="Fucho-no-Obi",legs="Carmine Cuisses +1",feet="Serpentes sabots"}
  41.  
  42. sets.Idle.DT = {ammo="Ginsen",
  43. head="Ayanmo Zucchetto +1",neck="Loricate Torque +1", ear1="Ethereal earring", ear2="Cessance earring",
  44. body="Ayanmo Corazza +1",hands="Ayanmo Manopolas +1",ring1="Defending ring",ring2="Dark ring",
  45. back="Solemnity Cape",waist="Flume belt",legs="Ayanmo Cosciales +1",feet="Ayanmo Gambieras +1"}
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. --TP Sets--
  53. sets.TP = {}
  54.  
  55. sets.TP.index = {'Standard', 'Solo', 'Safe', 'AccuracyLite', 'AccuracyFull', 'AccuracyExtreme', 'DT', 'DTAccuracy'}
  56. --1=Standard, 2=Solo, 3=Marches, 4=AccuracyLite, 5=AccuracyFull, 6=DT, 7=DTAccuracy--
  57. TP_ind = 1
  58.  
  59. sets.TP.Standard = {ammo="Ginsen",
  60. head="Dampening Tam",neck="Asperity necklace", ear1="Brutal Earring", ear2="Cessance earring",
  61. body="Thaumas coat",hands="Herculean gloves", augments={'STR+2','VIT+2','"Accuracy+18','"Dual Wield"+5'},ring1="Epona's ring",ring2="Petrov ring",
  62. back="Rosmerta's Cape",waist="Windbuffet Belt",legs="Samnuha Tights",feet="Herculean Boots"}
  63.  
  64. sets.TP.Solo = {ammo="Ginsen",
  65. head="Dampening Tam",neck="Asperity necklace",ear1="Dudgeon earring", ear2="Cessance earring",
  66. body="Thaumas coat",hands="Herculean gloves", augments={'STR+2','VIT+2','"Accuracy+18','"Dual Wield"+5'},ring1="Epona's ring",ring2="Petrov Ring",
  67. back="Rosmerta's Cape",waist="Windbuffet Belt",legs="Samnuha Tights",feet="Herculean Boots"}
  68.  
  69. sets.TP.Safe = {ammo="Ginsen",
  70. head="Dampening Tam",neck="Asperity necklace", ear1="Brutal earring", ear2="Cessance earring",
  71. body="Thaumas coat",hands="Herculean gloves", augments={'STR+2','VIT+2','"Accuracy+18','"Dual Wield"+5'},ring1="Epona's ring",ring2="Ilabrat Ring",
  72. back="Rosmerta's Cape",waist="Kentarch Belt",legs="Carmine Cuisses +1",feet="Herculean Boots"}
  73.  
  74. sets.TP.AccuracyLite = {ammo="Ginsen",
  75. head="Dampening Tam",neck="Asperity necklace", ear1="Mache earring", ear2="Cessance earring",
  76. body="Samnuha Coat",hands="Herculean gloves", augments={'STR+2','VIT+2','"Accuracy+18','"Dual Wield"+5'},ring1="Epona's ring",ring2="Cacoethic ring +1",
  77. back="Rosmerta's Cape",waist="Kentarch Belt",legs="Carmine Cuisses +1",feet="Herculean Boots"}
  78.  
  79. sets.TP.AccuracyFull = {ammo="Honed tathlum",
  80. head="Dampening Tam",neck="Subtlety Spectacles", ear1="Mache earring", ear2="Cessance earring",
  81. body="Samnuha Coat",hands="Herculean gloves",ring1="Epona's ring",ring2="Cacoethic ring +1",
  82. back="Rosmerta's Cape",waist="Kentarch Belt",legs="Carmine Cuisses +1",feet="Herculean Boots"}
  83.  
  84. sets.TP.AccuracyExtreme = {ammo="Honed tathlum",
  85. head="Dampening Tam",neck="Subtlety Spectacles", ear1="Mache earring", ear2="Cessance earring",
  86. body="Samnuha Coat",hands="Herculean Gloves",ring1="Epona's Ring",ring2="Cacoethic Ring +1",
  87. back="Rosmerta's Cape",waist="Kentarch Belt",legs="Carmine Cuisses +1",feet="Herculean Boots"}
  88.  
  89. sets.TP.DT = {ammo="Ginsen",
  90. head="Ayanmo Zucchetto +1",neck="Loricate Torque +1", ear1="Mache earring", ear2="Cessance earring",
  91. body="Ayanmo Corazza +1",hands="Herculean Gloves",ring1="Defending ring",ring2="Dark ring",
  92. back="Umbra Cape",waist="Flume belt",legs="Ayanmo Cosciales +1",feet="Herculean Boots"}
  93.  
  94. sets.TP.DTAccuracy = {ammo="Honed Tathlum",
  95. head="Ayanmo Zucchetto +1",neck="Loricate Torue +1", ear1="Mache earring", ear2="Cessance earring",
  96. body="Ayanmo Corazza +1",hands="Ayanmo Manopolas +1",ring1="Defending ring",ring2="Dark ring",
  97. back="Umbra Cape",waist="Flume Belt",legs="Ayanmo Cosciales +1",feet="Ayanmo Gambieras +1"}
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104. --Weaponskill Sets--
  105. sets.WS = {}
  106.  
  107. sets.Requiescat = {}
  108.  
  109. sets.Requiescat.index = {'Attack','Accuracy'}
  110. Requiescat_ind = 1
  111.  
  112. sets.Requiescat.Attack = {ammo="Cheruski needle",
  113. head="Carmine Mask +1",neck="Fotia gorget",ear1="Cessance earring",ear2="Moonshade earring",
  114. body="Rawhide Vest",hands="Carmine Finger Gauntlets +1",ring1="Epona's ring",ring2="Levia. ring +1",
  115. back="Rosmerta's Cape",waist="Fotia belt",legs="Carmine Cuisses +1",feet="Carmine Greaves +1"}
  116.  
  117. sets.Requiescat.Accuracy = {ammo="Ginsen",
  118. head="Carmine Mask +1",neck="Fotia gorget",ear1="Cessance earring",ear2="Moonshade earring",
  119. body="Rawhide Vest",hands="Carmine Finger Gauntlets +1",ring1="Epona's ring",ring2="Levia. ring +1",
  120. back="Rosmerta's Cape",waist="Fotia belt",legs="Carmine Cuisses +1",feet="Carmine Greaves +1"}
  121.  
  122. sets.ChantDuCygne = {}
  123.  
  124. sets.ChantDuCygne.index = {'Attack','Accuracy'}
  125. ChantDuCygne_ind = 1
  126.  
  127. sets.ChantDuCygne.Attack = {ammo="Jukukik feather",
  128. head="Adhemar Bonnet",neck="Fotia gorget",ear1="Cessance earring",ear2="Moonshade earring",
  129. body="Rawhide Vest",hands="Rawhide Gloves",ring1="Ramuh ring +1",ring2="Ilabrat Ring",
  130. back="Rosmerta's Cape",waist="Fotia belt",legs="Samnuha Tights",feet="Thereoid Greaves"}
  131.  
  132. sets.ChantDuCygne.Accuracy = {ammo="Jukukik feather",
  133. head="Adhemar Bonnet",neck="Fotia gorget",ear1="Cessance earring",ear2="Moonshade earring",
  134. body="Rawhide Vest",hands="Rawhide Gloves",ring1="Ramuh ring +1",ring2="Ilabrat Ring",
  135. back="Rosmerta's Cape",waist="Fotia belt",legs="Samnuha Tights",feet="Thereoid Greaves"}
  136.  
  137. sets.WS.SanguineBlade = {}
  138.  
  139. sets.WS.SanguineBlade = {ammo="Ghastly Tathlum",
  140. head="Pixie Hairpin +1",neck="Sanctity necklace",ear1="Crematio earring",ear2="Friomisi earring",
  141. body="Jhakri robe +1",hands="Amalric Gages",ring1="Archon ring",ring2="Shiva ring +1",
  142. back="Cornflower cape",waist="Aswang sash",legs="Amalric slops",feet="Amalric Nails"}
  143.  
  144. sets.WS.CircleBlade = {}
  145.  
  146. sets.WS.CircleBlade = {ammo="Cheruski needle",
  147. head="Adhemar Bonnet",neck="Fotia Gorget",ear1="Moonshade earring",ear2="Cessance earring",
  148. body="Rawhide Vest",hands="Jhakri cuffs +1",ring1="Shukuyu ring",ring2="Ilabrat Ring",
  149. back="Rosmerta's Cape",waist="Fotia belt",legs="Samnuha Tights",feet="Thereoid Greaves"}
  150.  
  151. sets.WS.SavageBlade = {}
  152.  
  153. sets.WS.SavageBlade = {ammo="Cheruski needle",
  154. head="Adhemar Bonnet",neck="Fotia Gorget",ear1="Moonshade earring",ear2="Brutal earring",
  155. body="Rawhide Vest",hands="Jhakri cuffs +1",ring1="Shukuyu ring",ring2="Ilabrat Ring",
  156. back="Rosmerta's Cape",waist="Fotia belt",legs="Samnuha Tights",feet="Thereoid Greaves"}
  157.  
  158. sets.WS.Expiacion = {}
  159.  
  160. sets.WS.Expiacion = {ammo="Cheruski needle",
  161. head="Adhemar Bonnet",neck="Fotia Gorget",ear1="Moonshade earring",ear2="Brutal earring",
  162. body="Rawhide Vest",hands="Jhakri cuffs +1",ring1="Shukuyu ring",ring2="Ilabrat Ring",
  163. back="Rosmerta's Cape",waist="Fotia belt",legs="Samnuha Tights",feet="Thereoid Greaves"}
  164.  
  165. sets.Realmrazer = {}
  166.  
  167. sets.Realmrazer.index = {'Attack','Accuracy'}
  168. Realmrazer_ind = 1
  169.  
  170. sets.Realmrazer.Attack = {ammo="Cheruski needle",
  171. head="Carmine Mask +1",neck="Fotia gorget",ear1="Bladeborn earring",ear2="Steelflash Earring",
  172. body="Jhakri robe +1",hands="Carmine Finger Gauntlets +1",ring1="Levia. ring",ring2="Aquasoul ring",
  173. back="Rosmerta's Cape",waist="Fotia Belt",legs="Carmine Cuisses +1",feet="Carmine Greaves +1"}
  174.  
  175. sets.Realmrazer.Accuracy = {ammo="Honed tathlum",
  176. head="Jhakri Coronal +1",neck="Fotia gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
  177. body="Jhakri robe +1",hands="Jhakri cuffs +1",ring1="Levia. ring",ring2="Aquasoul ring",
  178. back="Rosmerta's Cape",waist="Fotia belt",legs="Jhakri slops +1",feet="Amalric Nails"}
  179.  
  180. sets.WS.FlashNova = {}
  181.  
  182. sets.WS.FlashNova = {ammo="Ghastly Tathlum",
  183. head="Jhakri Coronal +1",neck="Fotia gorget",ear1="Crematio earring",ear2="Friomisi earring",
  184. body="Jhakri robe +1",hands="Jhakri cuffs +1",ring1="Shiva ring +1",ring2="Shiva ring +1",
  185. back="Cornflower cape",waist="Aswang sash",legs="Amalric slops",feet="Amalric Nails"}
  186.  
  187.  
  188.  
  189.  
  190.  
  191. --Blue Magic Sets--
  192. sets.BlueMagic = {}
  193.  
  194. sets.BlueMagic.Darkness = {ammo="Ghastly Tathlum",
  195. head="Pixie Hairpin +1",neck="Sanctity necklace",ear1="Crematio earring",ear2="Friomisi earring",
  196. body="Jhakri robe +1",hands="Amalric Gages",ring1="Archon ring",ring2="Shiva ring +1",
  197. back="Cornflower cape",waist="Aswang sash",legs="Amalric slops",feet="Amalric Nails"}
  198.  
  199. sets.BlueMagic.STR = {ammo="Honed tathlum",
  200. head="Luhlaza Keffiyeh +1",neck="Tlamiztli Collar",ear1="Bladeborn Earring",ear2="Steelflash earring",
  201. body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
  202. back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Luhlaza charuqs +1"}
  203.  
  204. sets.BlueMagic.STRDEX = {ammo="Honed tathlum",
  205. head="Luhlaza Keffiyeh +1",neck="Anu Torque",ear1="Bladeborn Earring",ear2="Steelflash earring",
  206. body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
  207. back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Luhlaza charuqs +1"}
  208.  
  209. sets.BlueMagic.STRVIT = {ammo="Honed tathlum",
  210. head="Luhlaza Keffiyeh +1",neck="Anu Torque",ear1="Bladeborn Earring",ear2="Steelflash earring",
  211. body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
  212. back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Luhlaza charuqs +1"}
  213.  
  214. sets.BlueMagic.STRMND = {ammo="Honed tathlum",
  215. head="Carmine Mask +1",neck="Anu Torque",ear1="Bladeborn Earring",ear2="Steelflash earring",
  216. body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
  217. back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Luhlaza charuqs +1"}
  218.  
  219. sets.BlueMagic.AGI = {ammo="Honed tathlum",
  220. head="Luhlaza Keffiyeh +1",neck="Anu Torque",ear1="Bladeborn Earring",ear2="Steelflash earring",
  221. body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
  222. back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Luhlaza charuqs +1"}
  223.  
  224. sets.BlueMagic.INT = {ammo="Ghastly Tathlum",
  225. head="Jhakri Coronal +1",neck="Sanctity necklace",ear1="Crematio earring",ear2="Friomisi earring",
  226. body="Jhakri robe +1",hands="Amalric Gages",ring1="Shiva ring +1",ring2="Shiva ring +1",
  227. back="Cornflower cape",waist="Aswang Sash",legs="Amalric slops",feet="Amalric Nails"}
  228.  
  229. sets.BlueMagic.Cures = {ammo="Mavi Tathlum",
  230. head="Luh. Keffiyeh +1",neck="Phalaina Locket",ear1="Loquac. earring",ear2="Mendicant's Earring",
  231. body="Luhlaza jubbah +1",hands="Telchine Gloves",ring1="Levia. ring +1",ring2="Lebeche ring",
  232. back="Solemnity cape",waist="Gishdubar Sash",legs="Gyve Trousers",feet="Medium's Sabots"}
  233.  
  234. sets.BlueMagic.SelfCures = {ammo="Mavi sachet",
  235. head="Luhlaza Keffiyeh +1",neck="Phalaina Locket",ear1="Loquac. earring",ear2="Mendicant's earring",
  236. body="Luhlaza Jubbah +1",hands="Buremte Gloves",ring1="Levia. ring +1",ring2="Lebeche Ring",
  237. back="Oretania's cape",waist="Gishdubar Sash",legs="Gyve trousers",feet="Medium's Sabots"}
  238.  
  239. sets.BlueMagic.Stun = {ammo="Mavi tathlum",
  240. head="Assim. keffiyeh +1",neck="Sanctity necklace",ear1="Loquac. earring",
  241. body="Hashishin Mintan",hands="Leyline Gloves",ring1="Kishar Ring",ring2="Weatherspoon ring",
  242. back="Cornflower cape",waist="Witful belt",legs="Psycloth Lappas",feet="Luhlaza charuqs +1"}
  243.  
  244. sets.BlueMagic.HeavyStrike = {ammo="Honed tathlum",
  245. head="Luhlaza Keffiyeh +1",neck="Anu Torque",ear1="Bladeborn Earring",ear2="Steelflash earring",
  246. body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
  247. back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Assim. charuqs +1"}
  248.  
  249.  
  250. sets.BlueMagic.WhiteWind = {ammo="Mavi tathlum",
  251. head="Luh. Keffiyeh +1",neck="Phalaina Locket",ear1="Assuage Earring",ear2="Mendicant's earring",
  252. body="Samnuha Coat",hands="Buremte Gloves",ring1="Lebeche ring",ring2="Weatherspoon ring",
  253. back="Solemnity Cape",waist="Gishdubar Sash",legs="Gyve Trousers",feet="Medium's Sabots"}
  254.  
  255. sets.BlueMagic.MagicAccuracy = {ammo="Mavi Tathlum",
  256. head="Dampening Tam",neck="Sanctity necklace",ear1="Steelflash earring",ear2="Bladeborn earring",
  257. body="Assim. jubbah +1",hands="Amalric Gages",ring1="Cacoethic ring",ring2="Weatherspoon ring",
  258. back="Cornflower cape",waist="Kentarch Belt",legs="Psycloth Lappas",feet="Luhlaza charuqs +1"}
  259.  
  260. sets.BlueMagic.Skill = {ammo="Mavi tathlum",
  261. head="Luh. Keffiyeh +1",neck="Mavi Scarf",ear1="Loquac. earring",
  262. body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Kishar Ring",ring2="Weatherspoon Ring",
  263. back="Cornflower cape",waist="Kentarch Belt",legs="Hashishin tayt",feet="Luhlaza charuqs +1"}
  264.  
  265. sets.BlueMagic.SkillRecast = {ammo="Mavi tathlum",
  266. head="Luh. Keffiyeh +1",neck="Voltsurge Torque",ear1="Loquac. earring",
  267. body="Helios Jacket",hands="Leyline Gloves",ring1="Kishar Ring",
  268. back="Swith cape",waist="Witful Belt",legs="Hashishin Tayt",feet="Luhlaza charuqs +1"}
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275. --Utility Sets--
  276. sets.Utility = {}
  277.  
  278. sets.Utility.Stoneskin = {head="Carmine Mask +1",neck="Stone Gorget",ear1="Loquac. earring",ear2="Earthcry earring",
  279. body="Assim. jubbah +1",hands="Stone Mufflers",ring1="Kishar Ring",
  280. back="Swith cape",waist="Siegel sash",legs="Haven hose",feet="Iuitl gaiters"}
  281.  
  282. sets.Utility.Phalanx = {head="Carmine Mask +1",neck="Colossus's torque",ear1="Loquac. earring",ear2="Augment. earring",
  283. body="Assim. jubbah +1",hands="Ayao's gages",ring1="Kishar Ring",
  284. back="Swith cape",waist="Pythia sash +1",legs="Portent pants",feet="Iuitl gaiters"}
  285.  
  286. sets.Utility.Steps = {ammo="Honed tathlum",
  287. head="Hashishin Kavuk +1",ear1="Assuage Earring",ear2="Heartseeker earring",
  288. body="Samnuha Coat",hands="Ayanmo Manopolas +1",
  289. back="Rosmerta's Cape",waist="Chaac belt",legs="Carmine Cuisses +1",feet="Herculean Boots"}
  290.  
  291. sets.Utility.PDT = {head="Ayanmo Zucchetto +1",neck="Loricate Torque +1",ear1="Ethereal earring",
  292. body="Ayanmo Corazza +1",hands="Ayanmo Manopolas +1",ring1="Defending ring",ring2="Dark ring",
  293. back="Umbra Cape",waist="Flume belt",legs="Ayanmo Cosciales +1",feet="Ayanmo Gambieras +1"}
  294.  
  295. sets.Utility.MDT = {head="Hagondes Hat +1",neck="Loricate Torque +1",
  296. body="Hagondes Coat +1",hands="Hagondes Cuffs +1",ring1="Defending ring",ring2="Dark ring",
  297. back="Solemnity Cape",legs="Hagondes Pants +1",feet="Hagondes Sabots +1"}
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304. --Job Ability Sets--
  305.  
  306. sets.JA = {}
  307.  
  308. sets.JA.ChainAffinity = {head="Hashishin Kavuk +1",feet="Assim. charuqs +1"}
  309.  
  310. sets.JA.BurstAffinity = {feet="Hashishin Basmak"}
  311.  
  312. sets.JA.Efflux = {legs="Hashishin tayt",back="Rosmerta's Cape"}
  313.  
  314. sets.JA.AzureLore = {hands="Luh. bazubands +1"}
  315.  
  316. sets.JA.Diffusion = {feet="Luhlaza Charuqs +1"}
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323. --Precast Sets--
  324. sets.precast = {}
  325.  
  326. sets.precast.FC = {}
  327.  
  328. sets.precast.FC.Standard = {head="Carmine Mask +1",neck="Voltsurge Torque", ear1="Loquac. Earring",
  329. body="Helios Jacket",hands="Leyline Gloves",
  330. back="Swith Cape",waist="Witful Belt",legs="Psycloth Lappas",feet="Carmine Greaves +1"}
  331.  
  332. sets.precast.FC.Blue = {head="Carmine Mask +1",neck="Voltsurge Torque", ear1="Loquac. Earring",
  333. body="Hashishin Mintan",hands="Leyline Gloves",
  334. back="Swith Cape",waist="Witful Belt",legs="Psycloth Lappas",feet="Carmine Greaves +1"}
  335. end
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342. function precast(spell)
  343. if spell.action_type == 'Magic' then
  344. equip(sets.precast.FC.Standard)
  345.  
  346. if spell.skill == 'Blue Magic' then
  347. equip(sets.precast.FC.Blue)
  348. end
  349. end
  350.  
  351. if spell.english == 'Azure Lore' then
  352. equip(sets.JA.AzureLore)
  353. end
  354.  
  355. if spell.english == 'Requiescat' or spell.english == 'Savage Blade' then
  356. equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
  357. end
  358.  
  359. if spell.english == 'Chant du Cygne' then
  360. equip(sets.ChantDuCygne[sets.ChantDuCygne.index[ChantDuCygne_ind]])
  361. end
  362.  
  363. if spell.english == 'Circle Blade' then
  364. equip(sets.WS.CircleBlade)
  365. end
  366.  
  367. if spell.english == 'Expiacion' then
  368. equip(sets.WS.Expiacion)
  369. end
  370.  
  371. if spell.english == 'Sanguine Blade' then
  372. equip(sets.WS.SanguineBlade)
  373. end
  374.  
  375. if spell.english == 'Box Step' then
  376. equip(sets.Utility.Steps)
  377. end
  378.  
  379. if spell.english == 'Realmrazer' then
  380. equip(sets.Realmrazer[sets.Realmrazer.index[Realmrazer_ind]])
  381. end
  382.  
  383. if spell.english == 'Flash Nova' then
  384. equip(sets.WS.FlashNova)
  385. end
  386. end
  387.  
  388. function midcast(spell,act)
  389. if spell.english == 'Vertical Cleave' or spell.english == 'Death Scissors' or spell.english == 'Empty Thrash' or spell.english == 'Dimensional Death' or spell.english == 'Quadrastrike' or spell.english == 'Bloodrake' then
  390. equip(sets.BlueMagic.STR)
  391. if buffactive['Chain Affinity'] then
  392. equip(sets.JA.ChainAffinity)
  393. end
  394. if buffactive['Efflux'] then
  395. equip(sets.JA.Efflux)
  396. end
  397. end
  398.  
  399. if spell.english == 'Disseverment' or spell.english == 'Hysteric Barrage' or spell.english == 'Frenetic Rip' or spell.english == 'Seedspray' or spell.english == 'Vanity Dive' or spell.english == 'Goblin Rush' or spell.english == 'Paralyzing Triad' or spell.english == 'Thrashing Assault' or spell.english == 'Sinker Drill' then
  400. equip(sets.BlueMagic.STRDEX)
  401. if buffactive['Chain Affinity'] then
  402. equip(sets.JA.ChainAffinity)
  403. end
  404. if buffactive['Efflux'] then
  405. equip(sets.JA.Efflux)
  406. end
  407. end
  408.  
  409. if spell.english == 'Quad. Continuum' or spell.english == 'Delta Thrust' or spell.english == 'Cannonball' or spell.english == 'Glutinous Dart' then
  410. equip(sets.BlueMagic.STRVIT)
  411. if buffactive['Chain Affinity'] then
  412. equip(sets.JA.ChainAffinity)
  413. end
  414. if buffactive['Efflux'] then
  415. equip(sets.JA.Efflux)
  416. end
  417. end
  418.  
  419. if spell.english == 'Whirl of Rage' then
  420. equip(sets.BlueMagic.STRMND)
  421. if buffactive['Chain Affinity'] then
  422. equip(sets.JA.ChainAffinity)
  423. end
  424. if buffactive['Efflux'] then
  425. equip(sets.JA.Efflux)
  426. end
  427. end
  428.  
  429. if spell.english == 'Benthic Typhoon' or spell.english == 'Final Sting' or spell.english == 'Spiral Spin' then
  430. equip(sets.BlueMagic.AGI)
  431. if buffactive['Chain Affinity'] then
  432. equip(sets.JA.ChainAffinity)
  433. end
  434. if buffactive['Efflux'] then
  435. equip(sets.JA.Efflux)
  436. end
  437. end
  438.  
  439. if spell.english == 'Gates of Hades' or spell.english == 'Leafstorm' or spell.english == 'Firespit' or spell.english == 'Acrid Stream' or spell.english == 'Regurgitation' or spell.english == 'Corrosive Ooze' or spell.english == 'Thermal Pulse' or spell.english == 'Magic Hammer' or spell.english == 'Water Bomb' or spell.english == 'Thunderbolt' or spell.english == 'Tem. Upheaval' or spell.english == 'Embalming Earth' or spell.english == 'Foul Waters' or spell.english == 'Rending Deluge' or spell.english == 'Droning Whirlwind' or spell.english == 'Searing Tempest' or spell.english == 'Spectral Floe' or spell.english == 'Molting Plumage' or spell.english == 'Silent Storm' or spell.english == 'Entomb' or spell.english == 'Anvil Lightning' or spell.english == 'Nectarous Deluge' or spell.english == 'Scouring Spate' or spell.english == 'Rail Cannon' or spell.english == 'Diffusion Ray' or spell.english == 'Blinding Fulgor' or spell.english == 'Atra. Libations' then
  440. equip(sets.BlueMagic.INT)
  441. if buffactive['Burst Affinity'] then
  442. equip(sets.JA.BurstAffinity)
  443. end
  444. end
  445.  
  446. if spell.english == 'Magic Fruit' or spell.english == 'Plenilune Embrace' or spell.english == 'Wild Carrot' or spell.english == 'Pollen' or spell.english == 'Cure III' or spell.english == 'Cure IV' or spell.english == 'Restoral' then
  447. equip(sets.BlueMagic.Cures)
  448. if spell.target.name == player.name and string.find(spell.english, 'Magic Fruit') or string.find(spell.english, 'Plenilune Embrace') or string.find(spell.english, 'Wild Carrot') or string.find(spell.english, 'Cure III') or string.find(spell.english, 'Cure IV') or string.find(spell.english, 'Restoral') then
  449. equip(sets.BlueMagic.SelfCures)
  450. end
  451. end
  452.  
  453. if spell.english == 'White Wind' then
  454. equip(sets.BlueMagic.WhiteWind)
  455. end
  456.  
  457. if spell.english == 'Head Butt' or spell.english == 'Sudden Lunge' or spell.english == 'Blitzstrahl' then
  458. equip(sets.BlueMagic.Stun)
  459. end
  460.  
  461. if spell.english == 'Heavy Strike' then
  462. equip(sets.BlueMagic.HeavyStrike)
  463. end
  464.  
  465. if spell.english == 'Charged Whisker' then
  466. equip(sets.BlueMagic.ChargedWhisker)
  467. if buffactive['Burst Affinity'] then
  468. equip(sets.JA.BurstAffinity)
  469. end
  470. end
  471.  
  472. if spell.english == 'Palling Salvo' or spell.english == 'Tenebral Crush' or spell.english == 'Evryone. Grudge' or spell.english == 'Dark Orb' then
  473. equip(sets.BlueMagic.Darkness)
  474. if buffactive['Burst Affinity'] then
  475. equip(sets.JA.BurstAffinity)
  476. end
  477. end
  478.  
  479. if spell.english == 'Frightful Roar' or spell.english == 'Infrasonics' or spell.english == 'Barbed Crescent' or spell.english == 'Tourbillion' or spell.english == 'Cimicine Discharge' or spell.english == 'Sub-zero smash' or spell.english == 'Filamented Hold' or spell.english == 'Mind Blast' or spell.english == 'Sandspin' or spell.english == 'Hecatomb Wave' or spell.english == 'Cold Wave' or spell.english == 'Terror Touch' or spell.english == 'Sweeping Gouge' or spell.english == 'Saurian Slide' then
  480. equip(sets.BlueMagic.MagicAccuracy)
  481. end
  482.  
  483. if spell.english == 'MP Drainkiss' or spell.english == 'Digest' or spell.english == 'Blood Saber' or spell.english == 'Blood Drain' or spell.english == 'Osmosis' or spell.english == 'Occultation' or spell.english == 'Magic Barrier' or spell.english == 'Diamondhide' or spell.english == 'Metallic Body' or spell.english == 'Retinal Glare' then
  484. equip(sets.BlueMagic.SkillRecast)
  485. if buffactive['Diffusion'] then
  486. equip(sets.JA.Diffusion)
  487. end
  488. end
  489.  
  490. if spell.english == 'Cocoon' or spell.english == 'Harden Shell' or spell.english == 'Animating Wail' or spell.english == 'Battery Charge' or spell.english == 'Nat. Meditation' or spell.english == 'Carcharian Verve' or spell.english == 'O. Counterstance' or spell.english == 'Barrier Tusk' or spell.english == 'Saline Coat' or spell.english == 'Regeneration' or spell.english == 'Erratic Flutter' or spell.english == 'Mighty Guard' then
  491. if buffactive['Diffusion'] then
  492. equip(sets.JA.Diffusion)
  493. end
  494. end
  495. end
  496.  
  497. function aftercast(spell)
  498. if player.status == 'Engaged' then
  499. equip(sets.TP[sets.TP.index[TP_ind]])
  500. else
  501. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  502. end
  503.  
  504. if spell.action_type == 'Weaponskill' then
  505. add_to_chat(158,'TP Return: ['..tostring(player.tp)..']')
  506. end
  507. end
  508.  
  509. function status_change(new,old)
  510. if new == 'Engaged' then
  511. equip(sets.TP[sets.TP.index[TP_ind]])
  512. else
  513. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  514. end
  515. end
  516.  
  517. function self_command(command)
  518. if command == 'toggle TP set' then
  519. TP_ind = TP_ind +1
  520. if TP_ind > #sets.TP.index then TP_ind = 1 end
  521. send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
  522. equip(sets.TP[sets.TP.index[TP_ind]])
  523. elseif command == 'toggle Idle set' then
  524. Idle_ind = Idle_ind +1
  525. if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
  526. send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
  527. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  528. elseif command == 'toggle Req set' then
  529. Requiescat_ind = Requiescat_ind +1
  530. if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
  531. send_command('@input /echo <----- Requiescat Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
  532. elseif command == 'toggle CDC set' then
  533. ChantDuCygne_ind = ChantDuCygne_ind +1
  534. if ChantDuCygne_ind > #sets.ChantDuCygne.index then ChantDuCygne_ind = 1 end
  535. send_command('@input /echo <----- Chant du Cygne Set changed to '..sets.ChantDuCygne.index[ChantDuCygne_ind]..' ----->')
  536. elseif command == 'toggle Rea set' then
  537. Realmrazer_ind = Realmrazer_ind +1
  538. if Realmrazer_ind > #sets.Realmrazer.index then Realmrazer_ind = 1 end
  539. send_command('@input /echo <----- Realmrazer Set changed to '..sets.Realmrazer.index[Realmrazer_ind]..' ----->')
  540. elseif command == 'equip TP set' then
  541. equip(sets.TP[sets.TP.index[TP_ind]])
  542. elseif command == 'equip Idle set' then
  543. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  544. end
  545. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement