Guest User

Untitled

a guest
Dec 29th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.50 KB | None | 0 0
  1. function get_sets()
  2. send_command('bind f9 gs c toggle TP set')
  3. send_command('bind f10 gs c toggle Idle set')
  4. send_command('bind f11 gs c toggle CDC set')
  5. send_command('bind f12 gs c toggle Req set')
  6. send_command('bind !f12 gs c toggle Rea set')
  7.  
  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="Brigantia Pebble",
  38. head="Wivre Hairpin",neck="Wiglen Gorget", ear1="Ethereal earring", ear2="Sanare earring",
  39. body="Mekosuchinae Harness",hands="Serpentes Cuffs",ring1="Paguroidea Ring",ring2="Karieyh Ring",
  40. back="Kumbira Cape",waist="Fucho-no-obi",legs="Blood Cuisses",feet="Serpentes sabots"}
  41.  
  42. sets.Idle.DT = {ammo="Ginsen",
  43. head="Iuitl headgear +1",neck="Twilight torque", ear1="Ethereal earring", ear2="Sanare earring",
  44. body="Luhlaza jubbah +1",hands="Umuthi gloves",ring1="Defending ring",ring2="Patricius ring",
  45. back="Mollusca mantle",waist="Flume belt",legs="Iuitl Tights +1",feet="Qaaxo Leggings"}
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. --TP Sets--
  53. sets.TP = {}
  54.  
  55. sets.TP.index = {'Standard', 'Accuracy', 'AccuracyExtreme', 'DTHybrid', 'DTFull', 'Thaumas'}
  56. --1=Standard, 2=Accuracy, 3=AccuracyExtreme, 4=DTHybrid, 5=DTFull 6=Thaumas--
  57. TP_ind = 1
  58.  
  59. sets.TP.Standard = {main="Usonmunku",sub="Buramenk'ah",ammo="Ginsen",
  60. head="Iuitl headgear +1",neck="Asperity necklace", ear1="Brutal Earring", ear2="Suppanomimi",
  61. body="Qaaxo Harness",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
  62. back="Bleating Mantle",waist="Shetal Stone",legs="Iuitl Tights +1",feet="Qaaxo leggings"}
  63.  
  64. sets.TP.Thaumas = {main="Usonmunku",sub="Buramenk'ah",ammo="Ginsen",
  65. head="Iuitl headgear +1",neck="Asperity necklace", ear1="Brutal Earring", ear2="Suppanomimi",
  66. body="Thaumas Coat",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
  67. back="Bleating Mantle",waist="Shetal Stone",legs="Iuitl Tights +1",feet="Qaaxo leggings"}
  68.  
  69.  
  70. sets.TP.Accuracy = {ammo="Honed tathlum",
  71. head="Whirlpool mask",neck="Iqabi Necklace", ear1="Brutal Earring", ear2="Suppanomimi",
  72. body="Luhlaza jubbah +1",hands="Buremte gloves",ring1="Epona's ring",ring2="Rajas ring",
  73. back="Letalis mantle",waist="Shetal Stone",legs="Iuitl Tights +1",feet="Assim. charuqs +1"}
  74.  
  75. sets.TP.AccuracyExtreme = {ammo="Honed tathlum",
  76. head="Whirlpool mask",neck="Iqabi Necklace", ear1="Zennaroi Earring", ear2="Suppanomimi",
  77. body="Luhlaza jubbah +1",hands="Buremte gloves",ring1="Epona's ring",ring2="Rajas ring",
  78. back="Letalis mantle",waist="Olseni Belt",legs="Manibozho brais",feet="Assim. charuqs +1"}
  79.  
  80. sets.TP.DTHybrid = {ammo="Brigantia Pebble",
  81. head="Iuitl Headgear +1",neck="Twilight torque", ear1="Brutal Earring", ear2="Suppanomimi",
  82. body="Emet Harness",hands="Umuthi Gloves",ring1="Epona's Ring",ring2="Defending Ring",
  83. back="Mollusca mantle",waist="Shetal Stone",legs="Iuitl Tights +1",feet="Iuitl gaiters"}
  84.  
  85. sets.TP.DTFull = {ammo="Ginsen",
  86. head="Lithelimb Cap",neck="Twilight torque", ear1="Brutal Earring", ear2="Suppanomimi",
  87. body="Qaaxo Harness",hands="Umuthi gloves",ring1="Patricius Ring",ring2="Defending Ring",
  88. back="Mollusca mantle",waist="Flume Belt",legs="Iuitl Tights +1",feet="Iuitl gaiters"}
  89.  
  90.  
  91.  
  92.  
  93.  
  94. --Weaponskill Sets--
  95. sets.WS = {}
  96.  
  97. sets.Requiescat = {}
  98.  
  99. sets.Requiescat.index = {'Attack','Accuracy'}
  100. Requiescat_ind = 1
  101.  
  102. sets.Requiescat.Attack = {ammo="Aqua Sachet",
  103. head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
  104. body="Luhlaza jubbah +1",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Ifrit ring",
  105. back="Letalis mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  106.  
  107. sets.Requiescat.Accuracy = {ammo="Honed Tathlum",
  108. head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
  109. body="Luhlaza jubbah +1",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Ifrit ring",
  110. back="Letalis mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  111.  
  112. sets.ChantDuCygne = {}
  113.  
  114. sets.ChantDuCygne.index = {'Attack','Accuracy'}
  115. ChantDuCygne_ind = 1
  116.  
  117. sets.ChantDuCygne.Attack = {ammo="Jukukik feather",
  118. head="Uk'uxkaj cap",neck="Flame gorget",ear1="Brutal earring",ear2="Moonshade earring",
  119. body="Luhlaza jubbah +1",hands="Luh. bazubands +1",ring1="Epona's ring",ring2="Rajas ring",
  120. back="Rancorous mantle",waist="Flame Belt",legs="Manibozho brais",feet="Luhlaza Charuqs +1"}
  121.  
  122. sets.ChantDuCygne.Accuracy = {ammo="Honed Tathlum",
  123. head="Uk'uxkaj cap",neck="Flame gorget",ear1="Brutal earring",ear2="Moonshade earring",
  124. body="Luhlaza jubbah +1",hands="Luh. bazubands +1",ring1="Epona's ring",ring2="Rajas ring",
  125. back="Rancorous mantle",waist="Flame Belt",legs="Manibozho brais",feet="Assimilator's Charuqs +1"}
  126.  
  127. sets.WS.SanguineBlade = {}
  128.  
  129. sets.WS.SanguineBlade = {ammo="Dosis Tathlum",
  130. head="Pixie Hairpin +1",neck="Eddy necklace",ear1="Crematio earring",ear2="Friomisi earring",
  131. body="Hagondes Coat",hands="Hagondes cuffs",ring2="Karieyh Ring",ring1="Archon Ring",
  132. back="Cornflower cape",waist="Yamabuki-no-obi",legs="Hagondes Pants",feet="Hagondes sabots"}
  133.  
  134. sets.WS.CircleBlade = {}
  135.  
  136. sets.WS.CircleBlade = {ammo="Honed Tathlum",
  137. head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
  138. body="Luhlaza jubbah +1",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Ifrit ring",
  139. back="Letalis mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  140.  
  141. sets.WS.Expiacion = {}
  142.  
  143. sets.WS.Expiacion = {ammo="Floestone",
  144. head="Uk'uxkaj cap",neck="Soil Gorget",ear1="Moonshade earring",ear2="Brutal earring",
  145. body="Assim. jubbah +1",hands="Luh. bazubands +1",ring1="Epona's ring",ring2="Ifrit ring",
  146. back="Bleating Mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  147.  
  148. sets.Realmrazer = {}
  149.  
  150. sets.Realmrazer.index = {'Attack','Accuracy'}
  151. Realmrazer_ind = 1
  152.  
  153. sets.Realmrazer.Attack = {ammo="Aqua Sachet",
  154. head="Whirlpool mask",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash Earring",
  155. body="Luhlaza jubbah +1",hands="Luh. Bazubands +1",ring1="Ifrit ring",ring2="Rajas ring",
  156. back="Letalis mantle",waist="Flame belt",legs="Quiahuiz trousers",feet="Assimilator's charuqs +1"}
  157.  
  158. sets.Realmrazer.Accuracy = {ammo="Honed tathlum",
  159. head="Whirlpool mask",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
  160. body="Luhlaza jubbah +1",hands="Luh. Bazubands +1",ring1="Ifrit ring",ring2="Rajas ring",
  161. back="Letalis mantle",waist="Flame belt",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
  162.  
  163. sets.WS.FlashNova = {}
  164.  
  165. sets.WS.FlashNova = {ammo="Dosis Tathlum",
  166. head="Hagondes Hat +1",neck="Eddy necklace",ear1="Crematio earring",ear2="Friomisi earring",
  167. body="Hagondes Coat",hands="Hagondes cuffs",ring1="Spiral ring",ring2="Acumen ring",
  168. back="Cornflower cape",waist="Yamabuki-no-obi",legs="Hagondes Pants",feet="Hagondes sabots"}
  169.  
  170.  
  171.  
  172.  
  173.  
  174. --Blue Magic Sets--
  175. sets.BlueMagic = {}
  176.  
  177. sets.BlueMagic.STR = {ammo="Floestone",
  178. head="Ejekamal Mask",neck="Tjukurrpa Medal",ear1="Flame pearl",ear2="Flame pearl",
  179. body="Assim. jubbah +1",hands="Luh. Bazubands +1",ring1="Ifrit ring",ring2="Ifrit ring",
  180. back="Cornflower cape",waist="Prosilio Belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  181.  
  182. sets.BlueMagic.STRDEX = {ammo="Jukukik Feather",
  183. head="Whirlpool Mask",neck="Tjukurrpa Medal",ear1="Flame pearl",ear2="Flame pearl",
  184. body="Assim. jubbah +1",hands="Luh. bazubands +1",ring1="Ifrit Ring", ring2="Rajas ring",
  185. back="Cornflower cape",waist="Wanion belt",legs="Manibozho brais",feet="Luhlaza charuqs +1"}
  186.  
  187.  
  188. sets.BlueMagic.STRVIT = {ammo="Floestone",
  189. head="Ejekamal Mask",neck="Tjukurrpa Medal",ear1="Flame pearl",ear2="Flame pearl",
  190. body="Assim. jubbah +1",hands="Luh. bazubands +1",ring1="Ifrit ring",ring2="Spiral ring",
  191. back="Cornflower cape",waist="Wanion belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  192.  
  193. sets.BlueMagic.STRMND = {ammo="Floestone",
  194. head="Ejekamal Mask",neck="Tjukurrpa Medal",ear1="Flame pearl",ear2="Flame pearl",
  195. body="Assim. jubbah +1",hands="Luh. Bazubands +1",ring1="Ifrit ring",ring2="Ifrit ring",
  196. back="Cornflower cape",waist="Prosilio Belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  197.  
  198. sets.BlueMagic.AGI = {ammo="Floestone",
  199. head="Ejekamal Mask",neck="Tjukurrpa Medal",ear1="Flame pearl",ear2="Flame pearl",
  200. body="Assim. jubbah +1",hands="Luh. Bazubands +1",ring1="Ifrit ring",ring2="Ifrit ring",
  201. back="Cornflower cape",waist="Prosilio Belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  202.  
  203. sets.BlueMagic.INT = {ammo="Dosis Tathlum",
  204. head="Hagondes Hat +1",neck="Eddy necklace",ear1="Crematio earring",ear2="Friomisi earring",
  205. body="Hagondes Coat",hands="Hagondes cuffs",ring1="Spiral ring",ring2="Acumen ring",
  206. back="Cornflower cape",waist="Yamabuki-no-obi",legs="Hagondes Pants",feet="Hagondes sabots"}
  207.  
  208. sets.BlueMagic.Cures = {ammo="Aqua sachet",
  209. head="Uk'uxkaj cap",neck="Phalaina Locket",ear1="Loquac. earring",ear2="",
  210. body="Chelona Blazer",hands="Weath. cuffs +1",ring1="Kunaji Ring",ring2="Asklepian Ring",
  211. back="Oretan. Cape +1",waist="Chuq'aba Belt",legs="Magavan Slops",feet="Assim. charuqs +1"}
  212.  
  213. sets.BlueMagic.SelfCures = {ammo="Aqua sachet",
  214. head="Uk'uxkaj cap",neck="Phalaina Locket",ear1="Loquac. earring",ear2="",
  215. body="Chelona Blazer",hands="Weath. cuffs +1",ring1="Kunaji Ring",ring2="Asklepian Ring",
  216. back="Oretan. Cape +1",waist="Chuq'aba Belt",legs="Magavan Slops",feet="Assim. charuqs +1"}
  217.  
  218. sets.BlueMagic.Stun = {ammo="Honed Tathlum",
  219. head="Assim. Keffiyeh +1",neck="Iqabi Necklace",ear1="Zennaroi Earring",ear2="Enchntr. Earring +1",
  220. body="Mekosu. Harness",hands="Hagondes Cuffs",ring1="Perception Ring",ring2="Sangoma ring",
  221. back="Cornflower cape",waist="Olseni Belt",legs="Iuitl Tights +1",feet="Shneddick Boots +1"}
  222.  
  223. sets.BlueMagic.HeavyStrike = {ammo="Honed Tathlum",
  224. head="Ejekamal Mask",neck="Tjukurrpa Medal",ear1="Flame pearl",ear2="Flame pearl",
  225. body="Assim. jubbah +1",hands="Luh. Bazubands +1",ring1="Ifrit ring",ring2="Ifrit ring",
  226. back="Cornflower cape",waist="Prosilio Belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  227.  
  228.  
  229. sets.BlueMagic.ChargedWhisker = {ammo="Dosis Tathlum",
  230. head="Hagondes Hat +1",neck="Eddy necklace",ear1="Crematio earring",ear2="Friomisi earring",
  231. body="Hagondes Coat",hands="Hagondes cuffs",ring1="Rajas ring",ring2="Acumen ring",
  232. back="Cornflower cape",waist="Yamabuki-no-obi",legs="Hagondes Pants",feet="Hagondes sabots"}
  233.  
  234. sets.BlueMagic.CrashingThunder = {ammo="Dosis Tathlum",
  235. head="Hagondes Hat +1",neck="Eddy necklace",ear1="Crematio earring",ear2="Friomisi earring",
  236. body="Hagondes Coat",hands="Hagondes cuffs",ring1="Rajas ring",ring2="Acumen ring",
  237. back="Cornflower cape",waist="Yamabuki-no-obi",legs="Hagondes Pants",feet="Hagondes sabots"}
  238.  
  239.  
  240. sets.BlueMagic.WhiteWind = {ammo="Egoist's Tathlum",
  241. head="Iuitl Headgear +1",neck="Phalaina Locket",ear1="Ethereal Earring",
  242. body="Chelona Blazer",hands="Weath. cuffs +1",ring1="Meridian Ring",ring2="K'ayres Ring",
  243. back="Oretania's cape +1",waist="Oneiros Belt",legs="Magavan Slops",feet="Shneddick Boots +1"}
  244.  
  245. sets.BlueMagic.MagicAccuracy = {ammo="Mavi Tathlum",
  246. head="Assim. keffiyeh +1",neck="Eddy necklace",ear1="Enchanter earring +1",ear2="Gwati earring",
  247. body="Mekosu. Harness",hands="Hagondes cuffs +1",ring1="Perception ring",ring2="Sangoma ring",
  248. back="Cornflower cape",waist="Ovate Rope",legs="Mavi tayt +2",feet="Shneddick Boots +1"}
  249.  
  250. sets.BlueMagic.Skill = {ammo="Mavi tathlum",
  251. head="Luh. Keffiyeh",neck="Orunmila Torque",ear1="Loquac. earring",
  252. body="Assim. jubbah +1",hands="",ring1="Prolix ring",
  253. back="Cornflower cape",waist="Witful Belt",legs="Mavi tayt +2",feet="Luhlaza charuqs +1"}
  254.  
  255. sets.BlueMagic.SkillRecast = {ammo="Mavi tathlum",
  256. head="Luhlaza Keffiyeh",neck="Orunmila Torque",ear1="Loquac. earring", ear2="Enchntr. Earring",
  257. body="Assim. jubbah +1",hands="Mavi Bazubands +2",ring1="Prolix ring",
  258. back="Cornflower cape",waist="Witful Belt",legs="Iuitl Tights +1",feet="Luhlaza charuqs +1"}
  259.  
  260. sets.BlueMagic.Refresh = {ammo="Mavi tathlum",
  261. head="Ejekamal Mask",neck="Orunmila Torque",ear1="Loquac. earring", ear2="Enchntr. Earring",
  262. body="Assim. jubbah +1",hands="Mavi Bazubands +2",ring1="Prolix ring",
  263. back="Grapevine Cape",waist="Witful Belt",legs="Iuitl Tights +1",feet="Luhlaza charuqs +1"}
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270. --Utility Sets--
  271. sets.Utility = {head="Mavi Kavuk +2",body="Mavi Mintan +2",hands="Mavi Bazubands +2",legs="Mavi tayt +2",feet="Mavi Basmak +2"}
  272.  
  273.  
  274. sets.Utility.Stoneskin = {}
  275.  
  276. sets.Utility.Phalanx = {}
  277.  
  278. sets.Utility.Steps = {ammo="Honed tathlum",
  279. head="Whirlpool mask",ear2="Zennaroi earring",hands="Umuthi gloves",
  280. back="Letalis cape",waist="Chaac belt",legs="Manibozho brais"}
  281.  
  282. sets.Utility.PDT = {ammo="Ginsen",
  283. head="Iuitl headgear +1",neck="Twilight torque", ear1="Ethereal earring", ear2="Sanare earring",
  284. body="Emet Harness",hands="Umuthi gloves",ring1="Defending ring",ring2="Patricius ring",
  285. back="Mollusca mantle",waist="Flume belt",legs="Iuitl Tights +1",feet="Qaaxo Leggings"}
  286.  
  287. sets.Utility.MDT = {ammo="Ginsen",
  288. head="Iuitl headgear +1",neck="Twilight torque", ear1="Ethereal earring", ear2="Sanare earring",
  289. body="Emet Harness",hands="Umuthi gloves",ring1="Defending ring",ring2="Patricius ring",
  290. back="Mollusca mantle",waist="Flume belt",legs="Iuitl Tights +1",feet="Qaaxo Leggings"}
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297. --Job Ability Sets--
  298.  
  299. sets.JA = {}
  300.  
  301. sets.JA.ChainAffinity = {feet="Assim. charuqs +1"}
  302.  
  303. sets.JA.BurstAffinity = {}
  304. sets.JA.Lunge = {ammo="Dosis Tathlum",
  305. head="Hagondes Hat +1",neck="Eddy Necklace", ear1="Crematio Earring", ear2="Friomisi earring",
  306. body="Hagondes Coat",hands="Hagondes Cuffs",ring1="Patricius Ring",ring2="Acumen Ring",
  307. back="Cornflower Cape",waist="Yamabuki-no-obi",legs="Hagondes Pants",feet="Hagondes Sabots"}
  308. sets.JA.Swipe = {ammo="Dosis Tathlum",
  309. head="Hagondes Hat +1",neck="Eddy Necklace", ear1="Crematio Earring", ear2="Friomisi earring",
  310. body="Hagondes Coat",hands="Hagondes Cuffs",ring1="Patricius Ring",ring2="Acumen Ring",
  311. back="Cornflower Cape",waist="Yamabuki-no-obi",legs="Hagondes Pants",feet="Hagondes Sabots"}
  312. sets.JA.Efflux = {legs="Mavi tayt +2"}
  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 = {ammo="Impatiens",head="Haruspex hat",neck="Orunmila's Torque", ear1="Loquac. Earring",ear2="Enchntr. Earring +1",
  329. body="Luhlaza Jubbah +1",hands="Thaumas Gloves",ring1="Prolix Ring",ring2="Veneficium Ring",
  330. back="Swith Cape",waist="Witful Belt",legs="Enif Cosciales",feet="Chelona Boots"}
  331.  
  332. sets.precast.FC.Blue = {ammo="Impatiens",head="Haruspex hat",neck="Orunmila's Torque", ear1="Loquac. Earring",ear2="Enchntr. Earring +1",
  333. body="Mavi mintan +2",hands="Thaumas Gloves",ring1="Prolix Ring",ring2="Veneficium Ring",
  334. back="Swith Cape",waist="Witful Belt",legs="Enif Cosciales",feet="Chelona Boots"}
  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. if spell.english == 'Lunge' then
  387. equip(sets.JA.Lunge)
  388. end
  389. if spell.english == 'Swipe' then
  390. equip(sets.WS.Swipe)
  391. end
  392. end
  393.  
  394. function midcast(spell,act)
  395. 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
  396. equip(sets.BlueMagic.STR)
  397. if buffactive['Chain Affinity'] then
  398. equip(sets.JA.ChainAffinity)
  399. end
  400. if buffactive['Efflux'] then
  401. equip(sets.JA.Efflux)
  402. end
  403. end
  404.  
  405. if spell.english == 'Disseverment' or spell.english == 'Sinker Drill' 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' then
  406. equip(sets.BlueMagic.STRDEX)
  407. if buffactive['Chain Affinity'] then
  408. equip(sets.JA.ChainAffinity)
  409. end
  410. if buffactive['Efflux'] then
  411. equip(sets.JA.Efflux)
  412. end
  413. end
  414.  
  415. if spell.english == 'Heavy Strike' then
  416. equip(sets.BlueMagic.HeavyStrike)
  417. if buffactive['Chain Affinity'] then
  418. equip(sets.JA.ChainAffinity)
  419. end
  420. if buffactive['Efflux'] then
  421. equip(sets.JA.Efflux)
  422. end
  423. end
  424.  
  425.  
  426.  
  427.  
  428. if spell.english == 'Quad. Continuum' or spell.english == 'Delta Thrust' or spell.english == 'Cannonball' or spell.english == 'Glutinous Dart' then
  429. equip(sets.BlueMagic.STRVIT)
  430. if buffactive['Chain Affinity'] then
  431. equip(sets.JA.ChainAffinity)
  432. end
  433. if buffactive['Efflux'] then
  434. equip(sets.JA.Efflux)
  435. end
  436. end
  437.  
  438. if spell.english == 'Whirl of Rage' then
  439. equip(sets.BlueMagic.STRMND)
  440. if buffactive['Chain Affinity'] then
  441. equip(sets.JA.ChainAffinity)
  442. end
  443. if buffactive['Efflux'] then
  444. equip(sets.JA.Efflux)
  445. end
  446. end
  447.  
  448.  
  449. if spell.english == 'Benthic Typhoon' or spell.english == 'Final Sting' or spell.english == 'Spiral Spin' then
  450. equip(sets.BlueMagic.AGI)
  451. if buffactive['Chain Affinity'] then
  452. equip(sets.JA.ChainAffinity)
  453. end
  454. if buffactive['Efflux'] then
  455. equip(sets.JA.Efflux)
  456. end
  457. end
  458.  
  459. if spell.english == 'Gates of Hades' or spell.english == 'Molting Plumage' or spell.english == 'Crashing Thunder' or spell.english == 'Leafstorm' or spell.english == 'Polar Roar' or spell.english == 'Crashing Thunder' or spell.english == 'Uproot' 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 == 'Rail Cannon' or spell.english == 'Diffusion Ray' or spell.english == 'Evryone. Grudge' or spell.english == 'Water Bomb' or spell.english == 'Dark Orb' 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 == 'Subduction' then
  460. equip(sets.BlueMagic.INT)
  461. if buffactive['Burst Affinity'] then
  462. equip(sets.JA.BurstAffinity)
  463. end
  464. end
  465.  
  466. if spell.english == 'Magic Fruit' or spell.english == 'Plenilune Embrace' or spell.english == 'Restoral' or spell.english == 'Wild Carrot' or spell.english == 'Pollen' or spell.english == 'Cure III' or spell.english == 'Cure IV' then
  467. equip(sets.BlueMagic.Cures)
  468. 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') then
  469. equip(sets.BlueMagic.SelfCures)
  470. end
  471. end
  472.  
  473. if spell.english == 'White Wind' then
  474. equip(sets.BlueMagic.WhiteWind)
  475. end
  476.  
  477. if spell.english == 'Head Butt' or spell.english == 'Sudden Lunge' or spell.english == 'Blitzstrahl' then
  478. equip(sets.BlueMagic.Stun)
  479. end
  480.  
  481.  
  482. if spell.english == 'Charged Whisker' then
  483. equip(sets.BlueMagic.ChargedWhisker)
  484. if buffactive['Burst Affinity'] then
  485. equip(sets.JA.BurstAffinity)
  486. end
  487. end
  488.  
  489. if spell.english == 'Frightful Roar' or spell.english == 'Infrasonics' or spell.english == 'Sweeping Gouge' or spell.english == 'Blank Gaze' or spell.english == 'Absolute Terror' or spell.english == 'Blistering Roar' 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' then
  490. equip(sets.BlueMagic.MagicAccuracy)
  491. end
  492.  
  493. if spell.english == 'MP Drainkiss' or spell.english == 'Digest' or spell.english == 'Jettatura' 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 == 'Winds of Promy.' then
  494. equip(sets.BlueMagic.SkillRecast)
  495. if buffactive['Diffusion'] then
  496. equip(sets.JA.Diffusion)
  497. end
  498. end
  499.  
  500. 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' then
  501. equip(sets.BlueMagic.Refresh)
  502. if buffactive['Diffusion'] then
  503. equip(sets.JA.Diffusion)
  504. end
  505. end
  506. end
  507.  
  508. function aftercast(spell)
  509. if player.status == 'Engaged' then
  510. equip(sets.TP[sets.TP.index[TP_ind]])
  511. else
  512. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  513. end
  514.  
  515. if spell.action_type == 'Weaponskill' then
  516. add_to_chat(158,'TP Return: ['..tostring(player.tp)..']')
  517. end
  518. end
  519.  
  520. function status_change(new,old)
  521. if new == 'Engaged' then
  522. equip(sets.TP[sets.TP.index[TP_ind]])
  523. else
  524. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  525. end
  526. end
  527.  
  528. function self_command(command)
  529. if command == 'toggle TP set' then
  530. TP_ind = TP_ind +1
  531. if TP_ind > #sets.TP.index then TP_ind = 1 end
  532. send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
  533. equip(sets.TP[sets.TP.index[TP_ind]])
  534. elseif command == 'toggle Idle set' then
  535. Idle_ind = Idle_ind +1
  536. if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
  537. send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
  538. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  539. elseif command == 'toggle Req set' then
  540. Requiescat_ind = Requiescat_ind +1
  541. if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
  542. send_command('@input /echo <----- Requiescat Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
  543. elseif command == 'toggle CDC set' then
  544. ChantDuCygne_ind = ChantDuCygne_ind +1
  545. if ChantDuCygne_ind > #sets.ChantDuCygne.index then ChantDuCygne_ind = 1 end
  546. send_command('@input /echo <----- Chant du Cygne Set changed to '..sets.ChantDuCygne.index[ChantDuCygne_ind]..' ----->')
  547. elseif command == 'toggle Rea set' then
  548. Realmrazer_ind = Realmrazer_ind +1
  549. if Realmrazer_ind > #sets.Realmrazer.index then Realmrazer_ind = 1 end
  550. send_command('@input /echo <----- Realmrazer Set changed to '..sets.Realmrazer.index[Realmrazer_ind]..' ----->')
  551. elseif command == 'equip TP set' then
  552. equip(sets.TP[sets.TP.index[TP_ind]])
  553. elseif command == 'equip Idle set' then
  554. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  555. end
  556. end
Advertisement
Add Comment
Please, Sign In to add comment