Advertisement
Guest User

Untitled

a guest
Oct 17th, 2015
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.91 KB | None | 0 0
  1. function get_sets()
  2. include('organizer-lib')
  3.  
  4. send_command('bind f9 gs c toggle TP set')
  5. send_command('bind f10 gs c toggle Idle set')
  6. send_command('bind f11 gs c toggle CDC set')
  7. send_command('bind f12 gs c toggle Req set')
  8. send_command('bind !f12 gs c toggle Rea set')
  9.  
  10. function file_unload()
  11.  
  12.  
  13. send_command('unbind ^f9')
  14. send_command('unbind ^f10')
  15. send_command('unbind ^f11')
  16. send_command('unbind ^f12')
  17.  
  18. send_command('unbind !f9')
  19. send_command('unbind !f10')
  20. send_command('unbind !f11')
  21. send_command('unbind !f12')
  22.  
  23. send_command('unbind f9')
  24. send_command('unbind f10')
  25. send_command('unbind f11')
  26. send_command('unbind f12')
  27.  
  28.  
  29.  
  30. end
  31.  
  32. --Idle Sets--
  33. sets.Idle = {}
  34.  
  35. sets.Idle.index = {'Standard','DT'}
  36. Idle_ind = 1
  37.  
  38. sets.Idle.Standard = {ammo="Ginsen",
  39. head=" Assim. Keffiyeh +1",neck="Twilight torque", ear1="Ethereal earring", ear2="Gifted earring",
  40. body="Luhlaza jubbah +1",hands="Umuthi Gloves",ring1="Renaye ring",ring2="Paguroidea ring",
  41. back="Iximulew Cape",waist="Fucho-no-obi",legs="Crimson cuisses",feet="Serpentes sabots"}
  42.  
  43. sets.Idle.DT = {ammo="Ginsen",
  44. head="Iuitl Headgear",neck="Twilight torque", ear1="Ethereal earring", ear2="Gifted earring",
  45. body="Luhlaza jubbah +1",hands="Umuthi Gloves",ring1="Dark ring",ring2="Dark ring",
  46. back="Iximulew Cape",waist="Flume belt",legs="Crimson cuisses",feet="Serpentes sabots"}
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53. --TP Sets--
  54. sets.TP = {}
  55.  
  56. sets.TP.index = {'Standard', 'Solo', 'Safe', 'AccuracyLite', 'AccuracyFull', 'AccuracyExtreme', 'DT', 'DTAccuracy'}
  57. --1=Standard, 2=Solo, 3=Marches, 4=AccuracyLite, 5=AccuracyFull, 6=DT, 7=DTAccuracy--
  58. TP_ind = 1
  59.  
  60. sets.TP.Standard = {ammo="Honed Tathlum",
  61. head="Uk'uxkaj Cap",neck="Asperity necklace", ear1="Tripudio earring", ear2="Suppanomimi",
  62. body="Taeon Tabard",hands="Luhlaza Bazubands +1",ring1="Epona's ring",ring2="Rajas ring",
  63. back="Atheling mantle",waist="Windbuffet Belt +1",legs="Quiahuiz Trousers",feet="Taeon Boots"}
  64.  
  65. sets.TP.Solo = {ammo="Honed Tathlum",
  66. head="Uk'uxkaj Cap",neck="Asperity necklace", ear1="Tripudio earring", ear2="Suppanomimi",
  67. body="Taeon Tabard",hands="Luhlaza Bazubands +1",ring1="Epona's ring",ring2="Rajas ring",
  68. back="Atheling mantle",waist="Windbuffet Belt +1",legs="Quiahuiz Trousers",feet="Taeon Boots"}
  69.  
  70. sets.TP.Safe = {ammo="Honed Tathlum",
  71. head="Iuitl headgear",neck="Asperity necklace", ear1="Tripudio earring", ear2="Suppanomimi",
  72. body="Iuitl Harness",hands="Umuthi Gloves",ring1="Epona's ring",ring2="Rajas ring",
  73. back="Atheling mantle",waist="Windbuffet Belt +1",legs="Iuitl Tights",feet="Taeon Boots"}
  74.  
  75. sets.TP.AccuracyLite = {ammo="Honed Tathlum",
  76. head="Taeon Chapeau",neck="Asperity necklace", ear1="Dudgeon earring", ear2="Heartseeker earring",
  77. body="Luhlaza Jubbah +1",hands="Taeon Gloves",ring1="Epona's ring",ring2="Rajas ring",
  78. back="Letalis mantle",waist="Windbuffet Belt +1",legs="Taeon Tights",feet="Taeon Boots"}
  79.  
  80. sets.TP.AccuracyFull = {ammo="Honed tathlum",
  81. head="Taeon Chapeau",neck="Portus Collar", ear1="Dudgeon earring", ear2="Heartseeker earring",
  82. body="Luhlaza jubbah +1",hands="Taeon gloves",ring1="Epona's ring",ring2="Rajas ring",
  83. back="Letalis mantle",waist="Windbuffet Belt +1",legs="Taeon Tights",feet="Taeon Boots"}
  84.  
  85. sets.TP.AccuracyExtreme = {ammo="Honed tathlum",
  86. head="Taeon Chapeau",neck="Iqabi necklace", ear1="Steelflash earring", ear2="Heartseeker earring",
  87. body="Luhlaza jubbah +1",hands="Buremte gloves",ring1="Epona's ring",ring2="Patricius ring",
  88. back="Letalis mantle",waist="Hurch'lan Sash",legs="Taeon Tights",feet="Taeon Boots"}
  89.  
  90. sets.TP.DT = {ammo="Ginsen",
  91. head="Iuitl headgear +1",neck="Twilight torque", ear1="Dudgeon earring", ear2="Heartseeker earring",
  92. body="Luhlaza jubbah +1",hands="Buremte gloves",ring1="Patricius ring",ring2="Dark ring",
  93. back="Mollusca mantle",waist="Twilight belt",legs="Iuitl Tights",feet="Iuitl gaiters"}
  94.  
  95. sets.TP.DTAccuracy = {ammo="Honed Tathlum",
  96. head="Iuitl headgear +1",neck="Twilight torque", ear1="Dudgeon earring", ear2="Heartseeker earring",
  97. body="Luhlaza jubbah +1",hands="Buremte gloves",ring1="Dark ring",ring2="Dark ring",
  98. back="Mollusca mantle",waist="Hurch'lan sash",legs="Iuitl Tights",feet="Iuitl gaiters"}
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105. --Weaponskill Sets--
  106. sets.WS = {}
  107.  
  108. sets.Requiescat = {}
  109.  
  110. sets.Requiescat.index = {'Attack','Accuracy'}
  111. Requiescat_ind = 1
  112.  
  113. sets.Requiescat.Attack = {ammo="Cheruski needle",
  114. head="Whirlpool mask",neck="Thunder gorget",ear1="Brutal earring",ear2="Moonshade earring",
  115. body="Luhlaza jubbah +1",hands="Taeon Gloves",ring1="Epona's ring",ring2="Ifrit ring",
  116. back="Atheling mantle",waist="Windbuffet belt +1",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  117.  
  118. sets.Requiescat.Accuracy = {ammo="Honed tathlum",
  119. head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
  120. body="Luhlaza jubbah +1",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Ifrit ring",
  121. back="Letalis mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
  122.  
  123. sets.ChantDuCygne = {}
  124.  
  125. sets.ChantDuCygne.index = {'Attack','Accuracy'}
  126. ChantDuCygne_ind = 1
  127.  
  128. sets.ChantDuCygne.Attack = {ammo="Jukukik feather",
  129. head="Taeon Chapeau",neck="Thunder gorget",ear1="Moonshade earring",ear2="Brutal earring",
  130. body="Assim. jubbah +1",hands="Taeon Gloves",ring1="Epona's ring",ring2="Ramuh ring",
  131. back="Rancorous mantle",waist="Windbuffet belt +1",legs="Taeon Tights",feet="Taeon Boots"}
  132.  
  133. sets.ChantDuCygne.Accuracy = {ammo="Jukukik feather",
  134. head="Taeon Chapeau",neck="Thunder gorget",ear1="Moonshade earring",ear2="Brutal earring",
  135. body="Luhlaza jubbah +1",hands="Taeon Gloves",ring1="Epona's ring",ring2="Ramuh ring",
  136. back="Letalis mantle",waist="Light belt",legs="Taeon Tights",feet="Taeon Boots"}
  137.  
  138. sets.WS.SanguineBlade = {}
  139.  
  140. sets.WS.SanguineBlade = {ammo="Erlene's notebook",
  141. head="Helios Band",neck="Eddy necklace",ear1="Hecate's earring",ear2="Novio earring",
  142. body="Helios Jacket",hands="Helios Gloves",ring1="Archon ring",ring2="Strendu ring",
  143. back="Cornflower cape",waist="Aswang sash",legs="Helios Spats",feet="Hagondes sabots"}
  144.  
  145. sets.WS.CircleBlade = {}
  146.  
  147. sets.WS.CircleBlade = {ammo="Cheruski needle",
  148. head="Uk'uxkaj cap",neck="Soil Gorget",ear1="Moonshade earring",ear2="Brutal earring",
  149. body="Assim. jubbah +1",hands="Luh. bazubands +1",ring1="Epona's ring",ring2="Ifrit ring",
  150. back="Atheling mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1",
  151. back="Atheling mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  152.  
  153. sets.WS.Expiacion = {}
  154.  
  155. sets.WS.Expiacion = {ammo="Cheruski needle",
  156. head="Uk'uxkaj cap",neck="Soil Gorget",ear1="Moonshade earring",ear2="Brutal earring",
  157. body="Assim. jubbah +1",hands="Luh. bazubands +1",ring1="Epona's ring",ring2="Ifrit ring",
  158. back="Atheling mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  159.  
  160. sets.Realmrazer = {}
  161.  
  162. sets.Realmrazer.index = {'Attack','Accuracy'}
  163. Realmrazer_ind = 1
  164.  
  165. sets.Realmrazer.Attack = {ammo="Cheruski needle",
  166. head="Whirlpool mask",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash Earring",
  167. body="Luhlaza jubbah +1",hands="Luh. Bazubands +1",ring1="Levia. ring",ring2="Aquasoul ring",
  168. back="Atheling mantle",waist="Light belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  169.  
  170. sets.Realmrazer.Accuracy = {ammo="Honed tathlum",
  171. head="Whirlpool mask",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
  172. body="Luhlaza jubbah +1",hands="Luh. Bazubands +1",ring1="Levia. ring",ring2="Aquasoul ring",
  173. back="Letalis mantle",waist="Light belt",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
  174.  
  175. sets.WS.FlashNova = {}
  176.  
  177. sets.WS.FlashNova = {ammo="Erlene's notebook",
  178. head="Hagondes hat",neck="Eddy necklace",ear1="Hecate's earring",ear2="Friomisi earring",
  179. body="Hagondes Coat +1",hands="Hagondes cuffs",ring1="Spiral ring",ring2="Acumen ring",
  180. back="Cornflower cape",waist="Aswang sash",legs="Hagondes Pants +1",feet="Hagondes sabots"}
  181.  
  182.  
  183.  
  184.  
  185.  
  186. --Blue Magic Sets--
  187. sets.BlueMagic = {}
  188.  
  189. sets.BlueMagic.STR = {ammo="Mavi tathlum",
  190. head="Luh. Keffiyeh +1",neck="Tjukurrpa Medal",ear1="Moonshade Earring",ear2="Bladeborn Earring",
  191. body="Assim. jubbah +1",hands="Luhlaza Bazubands +1",ring1="Ifrit ring",ring2="Ifrit ring",
  192. back="Buquwik cape",waist="Caudata belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  193.  
  194. sets.BlueMagic.STRDEX = {ammo="Cheruski needle",
  195. head="Uk'uxkaj Cap",neck="Shifting Necklace +1",ear1="Moonshade Earring",ear2="Bladeborn Earring",
  196. body="Assim. jubbah +1",hands="Luh. bazubands +1",ring1="Ifrit ring",ring2="Ramuh ring",
  197. back="Buquwik cape",waist="Caudata belt",legs="Manibozho brais",feet="Taeon Boots"}
  198.  
  199. sets.BlueMagic.STRVIT = {ammo="Mavi tathlum",
  200. head="Whirlpool Mask",neck="Tjukurrpa Medal",ear1="Moonshade Earring",ear2="Bladeborn Earring",
  201. body="Luhlaza jubbah +1",hands="Umuthi gloves",ring1="Titan ring",ring2="Titan ring",
  202. back="Iximulew cape",waist="Caudata belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  203.  
  204. sets.BlueMagic.STRMND = {ammo="Mavi tathlum",
  205. head="Assim. Keffiyeh +1",neck="Tjukurrpa Medal",ear1="Celestial Earring",ear2="Lifestorm Earring",
  206. body="Assim. jubbah +1",hands="Umuthi gloves",ring1="Ifrit ring",ring2="Aquasoul ring",
  207. back="Cornflower cape",waist="Caudata belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  208.  
  209. sets.BlueMagic.AGI = {ammo="Mavi tathlum",
  210. head="Luh. Keffiyeh +1",neck="Tjukurrpa Medal",ear1="Drone Earring",ear2="Suppanomimi",
  211. body="Luhlaza jubbah +1",hands="Iuitl wristbands",ring1="Stormsoul ring",ring2="Stormsoul ring",
  212. back="Cornflower cape",waist="Caudata belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  213.  
  214. sets.BlueMagic.INT = {ammo="Erlene's notebook",
  215. head="Helios Band",neck="Eddy necklace",ear1="Hecate's earring",ear2="Novio earring",
  216. body="Helios Jacket",hands="Helios Gloves",ring1="Shiva ring",ring2="Strendu ring",
  217. back="Cornflower cape",waist="Aswang Sash",legs="Hagondes Pants",feet="Manabyss Pigaches"}
  218.  
  219. sets.BlueMagic.Cures = {ammo="Aqua sachet",
  220. head="Uk'uxkaj cap",neck="Phalaina Locket",ear1="Loquac. earring",ear2="Lifestorm earring",
  221. body="Assim. jubbah +1",hands="Helios Gloves",ring1="Renaye ring",ring2="Aquasoul ring",
  222. back="Oretania's cape",waist="Pythia sash +1",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
  223.  
  224. sets.BlueMagic.SelfCures = {ammo="Aqua sachet",
  225. head="Uk'uxkaj cap",neck="Aife's medal",ear1="Loquac. earring",ear2="Novia earring",
  226. body="Assim. jubbah +1",hands="Helios Gloves",ring1="Renye ring",ring2="Aquasoul Ring",
  227. back="Oretania's cape",waist="Chuq'aba Belt",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
  228.  
  229. sets.BlueMagic.Stun = {ammo="Mavi tathlum",
  230. head="Dampening Tam",neck="Eddy necklace",ear1="Loquac. earring",
  231. body="Assim. jubbah +1",hands="Mv. bazubands +2",ring1="Renaye ring",ring2="Sangoma ring",
  232. back="Cornflower cape",waist="Witful belt",legs="Mavi tayt +2",feet="Luhlaza charuqs +1"}
  233.  
  234. sets.BlueMagic.HeavyStrike = {ammo="Honed tathlum",
  235. head="Whirlpool mask",neck="Ire torque +1",ear1="Moonshade Earing",ear2="Heartseeker earring",
  236. body="Assim. jubbah +1",hands="Umuthi gloves",ring1="Ifrit ring",ring2="Renaye ring",
  237. back="Cornflower cape",waist="Dynamic belt",legs="Manibozho brais",feet="Assim. charuqs +1"}
  238.  
  239. sets.BlueMagic.ChargedWhisker = {ammo="Erlene's notebook",
  240. head="Uk'uxkaj cap",neck="Eddy necklace",ear1="Hecate's earring",ear2="Friomisi earring",
  241. body="Hagondes Coat +1",hands="Umuthi gloves",ring1="Acumen ring",ring2="Renaye ring",
  242. back="Cornflower cape",waist="Pipilaka belt",legs="Hagondes Pants +1",feet="Hagondes Sabots"}
  243.  
  244. sets.BlueMagic.WhiteWind = {ammo="Mavi tathlum",
  245. head="Luh. Keffiyeh +1",neck="Cuamiz collar",ear1="Upsurge Earring",ear2="Cassie earring",
  246. body="Aetosaur jerkin",hands="Weath. cuffs +1",ring1="Bomb queen ring",ring2="Meridian ring",
  247. back="Oretania's cape",legs="Quiahuiz Trousers",feet="Llwyd's clogs"}
  248.  
  249. sets.BlueMagic.MAcc = {ammo="Mavi Tathlum",
  250. head="Dampening Tam",neck="Eddy necklace",ear1="Psystorm earring",ear2="Lifestorm earring",
  251. body="Assim. jubbah +1",hands="Hagondes cuffs",ring1="Renaye ring",ring2="Sangoma ring",
  252. back="Cornflower cape",waist="Aswang Sash",legs="Mavi tayt +2",feet="Luhlaza charuqs +1"}
  253.  
  254. sets.BlueMagic.Skill = {ammo="Mavi tathlum",
  255. head="Luh. Keffiyeh +1",neck="Jeweled collar",ear1="Loquac. earring",
  256. body="Assim. jubbah +1",hands="Ayao's gages",ring1="Prolix ring",
  257. back="Cornflower cape",waist="Twilight belt",legs="Mavi tayt +2",feet="Luhlaza charuqs +1"}
  258.  
  259. sets.BlueMagic.SkillRecast = {ammo="Mavi tathlum",
  260. head="Luh. Keffiyeh +1",neck="Jeweled collar",ear1="Loquac. earring",
  261. body="Assim. jubbah +1",hands="Mv. Bazubands +2",ring1="Prolix ring",
  262. back="Swith cape +1",waist="Twilight belt",legs="Mavi tayt +2",feet="Luhlaza charuqs +1"}
  263.  
  264. sets.BlueMagic.DexAcc = {ammo="Honed Tathlum",
  265. head="Whirlpool Mask",neck="Shifting Necklace +1",ear1="Steelflash Earring",ear2="Moonshade Earring",
  266. body="Luhlaza Jubbah +1",hands="Buremte Gloves",ring2="Rajas Ring",ring1="Ramuh Ring",
  267. back="Letalis Mantle",waist="Caudata Belt",legs="Taeon Tights",feet="Taeon Boots"}
  268.  
  269.  
  270.  
  271.  
  272.  
  273. --Utility Sets--
  274. sets.Utility = {}
  275.  
  276. sets.Utility.Stoneskin = {head="Haruspex hat",neck="Stone Gorget",ear1="Loquac. earring",ear2="Earthcry earring",
  277. body="Assim. jubbah +1",hands="Stone Mufflers",ring1="Prolix ring",
  278. back="Swith cape +1",waist="Siegel sash",legs="Haven hose",feet="Iuitl gaiters"}
  279.  
  280. sets.Utility.Phalanx = {head="Haruspex hat",neck="Colossus's torque",ear1="Loquac. earring",ear2="Augment. earring",
  281. body="Assim. jubbah +1",hands="Ayao's gages",ring1="Prolix ring",
  282. back="Swith cape +1",waist="Pythia sash +1",legs="Portent pants",feet="Iuitl gaiters"}
  283.  
  284. sets.Utility.Steps = {ammo="Honed tathlum",
  285. head="Whirlpool mask",ear2="Heartseeker earring",
  286. body="Thaumas coat",hands="Umuthi gloves",
  287. back="Letalis cape",waist="Chaac belt",legs="Manibozho brais",feet="Manibozho boots"}
  288.  
  289. sets.Utility.PDT = {head="Whirlpool mask",neck="Twilight torque",ear1="Ethereal earring",
  290. body="Iuitl vest",hands="Umuthi gloves",ring1="Dark ring",ring2="Dark ring",
  291. back="Mollusca mantle",waist="Flume belt",legs="Iuitl Tights +1",feet="Iuitl gaiters"}
  292.  
  293. sets.Utility.MDT = {head="Whirlpool mask",neck="Twilight torque",
  294. body="Assim. jubbah +1",hands="Umuthi gloves",ring1="Dark ring",ring2="Dark ring",
  295. back="Mollusca mantle",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302. --Job Ability Sets--
  303.  
  304. sets.JA = {}
  305.  
  306. sets.JA.ChainAffinity = {feet="Assim. charuqs +1"}
  307.  
  308. sets.JA.BurstAffinity = {feet="Mavi Basmak +2",legs="Assim. Shalwar +1"}
  309.  
  310. sets.JA.Efflux = {legs="Mavi tayt +2"}
  311.  
  312. sets.JA.AzureLore = {hands="Luh. bazubands +1"}
  313.  
  314. sets.JA.Diffusion = {feet="Luhlaza Charuqs +1"}
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321. --Precast Sets--
  322. sets.precast = {}
  323.  
  324. sets.precast.FC = {}
  325.  
  326. sets.precast.FC.Standard = {head="Haruspex hat",neck="Jeweled collar", ear1="Loquac. Earring",ring2="Prolix Ring",
  327. body="Luhlaza jubbah +1",feet="Chelona boots +1",hands="Telchine Gloves",
  328. back="Swith Cape +1",waist="Witful Belt",legs="Crimson Cuisses"}
  329.  
  330. sets.precast.FC.Blue = {head="Haruspex hat",neck="Jeweled collar", ear1="Loquac. Earring",ring2="Prolix Ring",
  331. body="Mavi mintan +2",feet="Chelona Boots +1",hands="Telchine Gloves",
  332. back="Swith Cape +1",waist="Witful Belt",legs="Crimson Cuisses"}
  333. end
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340. function precast(spell)
  341. if spell.action_type == 'Magic' then
  342. equip(sets.precast.FC.Standard)
  343.  
  344. if spell.skill == 'Blue Magic' then
  345. equip(sets.precast.FC.Blue)
  346. end
  347. end
  348.  
  349. if spell.english == 'Azure Lore' then
  350. equip(sets.JA.AzureLore)
  351. end
  352.  
  353. if spell.english == 'Requiescat' or spell.english == 'Savage Blade' then
  354. equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
  355. end
  356.  
  357. if spell.english == 'Chant du Cygne' then
  358. equip(sets.ChantDuCygne[sets.ChantDuCygne.index[ChantDuCygne_ind]])
  359. end
  360.  
  361. if spell.english == 'Circle Blade' then
  362. equip(sets.WS.CircleBlade)
  363. end
  364.  
  365. if spell.english == 'Expiacion' then
  366. equip(sets.WS.Expiacion)
  367. end
  368.  
  369. if spell.english == 'Sanguine Blade' then
  370. equip(sets.WS.SanguineBlade)
  371. end
  372.  
  373. if spell.english == 'Box Step' then
  374. equip(sets.Utility.Steps)
  375. end
  376.  
  377. if spell.english == 'Realmrazer' then
  378. equip(sets.Realmrazer[sets.Realmrazer.index[Realmrazer_ind]])
  379. end
  380.  
  381. if spell.english == 'Flash Nova' then
  382. equip(sets.WS.FlashNova)
  383. end
  384. end
  385.  
  386. function midcast(spell,act)
  387. 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
  388. equip(sets.BlueMagic.STR)
  389. if buffactive['Chain Affinity'] then
  390. equip(sets.JA.ChainAffinity)
  391. end
  392. if buffactive['Efflux'] then
  393. equip(sets.JA.Efflux)
  394. end
  395. end
  396.  
  397. 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' then
  398. equip(sets.BlueMagic.STRDEX)
  399. if buffactive['Chain Affinity'] then
  400. equip(sets.JA.ChainAffinity)
  401. end
  402. if buffactive['Efflux'] then
  403. equip(sets.JA.Efflux)
  404. end
  405. end
  406.  
  407. if spell.english == 'Quad. Continuum' or spell.english == 'Delta Thrust' or spell.english == 'Cannonball' or spell.english == 'Glutinous Dart' then
  408. equip(sets.BlueMagic.STRVIT)
  409. if buffactive['Chain Affinity'] then
  410. equip(sets.JA.ChainAffinity)
  411. end
  412. if buffactive['Efflux'] then
  413. equip(sets.JA.Efflux)
  414. end
  415. end
  416.  
  417. if spell.english == 'Whirl of Rage' then
  418. equip(sets.BlueMagic.STRMND)
  419. if buffactive['Chain Affinity'] then
  420. equip(sets.JA.ChainAffinity)
  421. end
  422. if buffactive['Efflux'] then
  423. equip(sets.JA.Efflux)
  424. end
  425. end
  426.  
  427. if spell.english == 'Sinker Drill' or 'Thrashing Assault' then
  428. equip(sets.BlueMagic.DexAcc)
  429. if buffactive['Chain Affinity'] then
  430. equip(sets.JA.ChainAffinity)
  431. end
  432. if buffactive['Efflux'] then
  433. equip(sets.JA.Efflux)
  434. end
  435. end
  436.  
  437. if spell.english == 'Benthic Typhoon' or spell.english == 'Final Sting' or spell.english == 'Spiral Spin' then
  438. equip(sets.BlueMagic.AGI)
  439. if buffactive['Chain Affinity'] then
  440. equip(sets.JA.ChainAffinity)
  441. end
  442. if buffactive['Efflux'] then
  443. equip(sets.JA.Efflux)
  444. end
  445. end
  446.  
  447. if spell.english == 'Anvil Lightning' or spell.english == 'Spectral Floe' or spell.english == 'Charged Whisker' 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 == 'Evryone. Grudge' or spell.english == 'Water Bomb' or spell.english == 'Dark Orb' or spell.english == 'Thunderbolt' or spell.english == 'Tem. Upheaval' or
  448. spell.english == 'Embalming Earth' or spell.english == 'Foul Waters' or spell.english == 'Scouring Spate' or spell.english == 'Blinding Fulgor' or spell.english == 'Rending Deluge' or spell.english == 'Droning Whirlwind' or spell.english == 'Subduction' or spell.english == 'Tenebral Crush' or spell.english == 'Diffusion Ray' or spell.english == 'Molting Plumage' or spell.english == 'Searing Tempest' or spell.english == 'Nectarous Deluge' or spell.english == 'Entomb' then
  449. equip(sets.BlueMagic.INT)
  450. if buffactive['Burst Affinity'] then
  451. equip(sets.JA.BurstAffinity)
  452. end
  453. end
  454.  
  455. 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' then
  456. equip(sets.BlueMagic.Cures)
  457. 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
  458. equip(sets.BlueMagic.SelfCures)
  459. end
  460. end
  461.  
  462. if spell.english == 'White Wind' then
  463. equip(sets.BlueMagic.WhiteWind)
  464. end
  465.  
  466. if spell.english == 'Head Butt' or spell.english == 'Sudden Lunge' or spell.english == 'Blitzstrahl' then
  467. equip(sets.BlueMagic.Stun)
  468. end
  469.  
  470. if spell.english == 'Heavy Strike' then
  471. equip(sets.BlueMagic.HeavyStrike)
  472. end
  473.  
  474.  
  475. if spell.english == 'Silent Storm' 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
  476. equip(sets.BlueMagic.MAcc)
  477. end
  478.  
  479.  
  480.  
  481. 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
  482. equip(sets.BlueMagic.SkillRecast)
  483. if buffactive['Diffusion'] then
  484. equip(sets.JA.Diffusion)
  485. end
  486. end
  487.  
  488. if spell.english == 'Cocoon' or spell.english == 'Mighty Guard' 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
  489. if buffactive['Diffusion'] then
  490. equip(sets.JA.Diffusion)
  491. end
  492. end
  493.  
  494. if spell.action_type == 'Magic' then
  495. equip(sets.precast.FC.Standard)
  496.  
  497. if spell.skill == 'Blue Magic' then
  498. equip(sets.precast.FC.Blue)
  499. end
  500. end
  501.  
  502.  
  503. end
  504.  
  505. function aftercast(spell)
  506. if player.status == 'Engaged' then
  507. equip(sets.TP[sets.TP.index[TP_ind]])
  508. else
  509. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  510. end
  511.  
  512. if spell.action_type == 'Weaponskill' then
  513. add_to_chat(158,'TP Return: ['..tostring(player.tp)..']')
  514. end
  515. end
  516.  
  517. function status_change(new,old)
  518. if new == 'Engaged' then
  519. equip(sets.TP[sets.TP.index[TP_ind]])
  520. else
  521. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  522. end
  523. end
  524.  
  525. function self_command(command)
  526. if command == 'C1' then
  527. TP_ind = TP_ind +1
  528. if TP_ind > #sets.TP.index then TP_ind = 1 end
  529. send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
  530. equip(sets.TP[sets.TP.index[TP_ind]])
  531. elseif command == 'C2' then
  532. Idle_ind = Idle_ind +1
  533. if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
  534. send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
  535. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  536. elseif command == 'C3' then
  537. Requiescat_ind = Requiescat_ind +1
  538. if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
  539. send_command('@input /echo <----- Requiescat Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
  540. elseif command == 'C4' then
  541. ChantDuCygne_ind = ChantDuCygne_ind +1
  542. if ChantDuCygne_ind > #sets.ChantDuCygne.index then ChantDuCygne_ind = 1 end
  543. send_command('@input /echo <----- Chant du Cygne Set changed to '..sets.ChantDuCygne.index[ChantDuCygne_ind]..' ----->')
  544. elseif command == 'C5' then
  545. Realmrazer_ind = Realmrazer_ind +1
  546. if Realmrazer_ind > #sets.Realmrazer.index then Realmrazer_ind = 1 end
  547. send_command('@input /echo <----- Realmrazer Set changed to '..sets.Realmrazer.index[Realmrazer_ind]..' ----->')
  548. elseif command == 'C6' then
  549. equip(sets.TP[sets.TP.index[TP_ind]])
  550. elseif command == 'C7' then
  551. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  552. end
  553. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement