Guest User

Kensagaku_BLUlua

a guest
Jun 17th, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.38 KB | None | 0 0
  1. --To toggle gearsets:
  2. --Main command: //gs c toggle x set where x = set name variable. Variables are as follows: --
  3. --Idle sets: Idle, TP sets: TP--
  4. --Requiescat sets: Req, Chant du Cygne sets: CDC--
  5.  
  6. function get_sets()
  7.  
  8. --Idle Sets--
  9. sets.Idle = {}
  10.  
  11. sets.Idle.index = {'Standard','DT'}
  12. Idle_ind = 1
  13.  
  14. sets.Idle.Standard = {ammo="Demonry Stone",
  15. head="Wivre Hairpin", neck="Twilight Torque", lear="Brutal Earring", rear="Suppanomimi",
  16. body="Assim. Jubbah +1", hands="Serpentes Cuffs", lring="Dark Ring", rring="Dark Ring",
  17. back="Iximulew Cape", waist="Twilight Belt", legs="Blood Cuisses", feet="Serpentes Sabots"}
  18.  
  19. sets.Idle.DT = set_combine(sets.Idle.Standard, {head="Assim. Keffiyeh +1",
  20. hands="Iuitl Wristbands",
  21. legs="Quiahuiz Trousers", feet="Qaaxo Leggings"})
  22.  
  23. --TP Sets--
  24. sets.TP = {}
  25.  
  26. sets.TP.index = {'Standard', 'Solo', 'Marches', 'AccuracyLite', 'AccuracyFull', 'DT', 'DTAccuracy'}
  27. --1=Standard, 2=Solo, 3=Marches, 4=AccuracyLite, 5=AccuracyFull, 6=DT, 7=DTAccuracy--
  28. TP_ind = 1
  29.  
  30. sets.TP.Standard = {ammo="Cheruski Needle",
  31. head="Whirlpool Mask", neck="Asperity Necklace", lear="Brutal Earring", rear="Suppanomimi",
  32. body="Thaumas Coat", hands="Iuitl Wristbands", lring="Rajas Ring", rring="Epona's Ring",
  33. back="Atheling Mantle", waist="Twilight Belt", legs="Quiahuiz Trousers", feet="Qaaxo Leggings"}
  34.  
  35. sets.TP.Marches = {ammo="Cheruski needle",
  36. head="Whirlpool mask",neck="Asperity necklace", ear1="Brutal earring", ear2="Suppanomimi",
  37. body="Thaumas coat",hands="Assim. Bazu. +1",ring1="Epona's ring",ring2="Rajas ring",
  38. back="Atheling mantle",waist="Windbuffet belt",legs="Quiahuiz Trousers",feet="Qaaxo Leggings"}
  39.  
  40. sets.TP.Solo = {ammo="Cheruski needle",
  41. head="Whirlpool mask",neck="Asperity necklace", ear1="Brutal earring", ear2="Suppanomimi",
  42. body="Assim. jubbah +1",hands="Assim. bazu. +1",ring1="Epona's ring",ring2="Rajas ring",
  43. back="Atheling mantle",waist="Windbuffet belt",legs="Quiahuiz Trousers",feet="Qaaxo Leggings"}
  44.  
  45. sets.TP.AccuracyLite = {ammo="Honed tathlum",
  46. head="Whirlpool mask",neck="Asperity necklace", ear1="Brutal earring", ear2="Suppanomimi",
  47. body="Thaumas coat",hands="Assim. bazu. +1",ring1="Epona's ring",ring2="Rajas ring",
  48. back="Letalis mantle",waist="Twilight belt",legs="Quiahuiz Trousers",feet="Qaaxo Leggings"}
  49.  
  50. sets.TP.AccuracyFull = {ammo="Honed Tathlum",
  51. head="Whirlpool Mask", neck="Asperity Necklace", lear="Bladeborn Earring", rear="Steelflash Earring",
  52. body="Manibozho Jerkin", hands="Iuitl Wristbands", lring="Mars's Ring", rring="Patricius Ring",
  53. back="Atheling Mantle", waist="Twilight Belt", legs="Manibozho Brais", feet="Assim. Charuqs +1"}
  54.  
  55. sets.TP.DT = {ammo="Cheruski needle",
  56. head="Whirlpool Mask",neck="Twilight torque", ear1="Brutal earring", ear2="Suppanomimi",
  57. body="Vanir Cotehardie",hands="Assim. Bazu. +1",ring1="Dark ring",ring2="Dark ring",
  58. back="Iximulew Cape",waist="Twilight belt",legs="Quiahuiz Trousers",feet="Qaaxo Leggings"}
  59.  
  60. sets.TP.DTAccuracy = {ammo="Honed Tathlum",
  61. head="Whirlpool Mask",neck="Twilight torque", ear1="Dudgeon earring", ear2="Heartseeker earring",
  62. body="Vanir Cotehardie",hands="Assim. Bazu. +1",ring1="Dark ring",ring2="Dark ring",
  63. back="Iximulew Cape",waist="Hurch'lan sash",legs="Iuitl tights",feet="Qaaxo Leggings"}
  64.  
  65. --Weaponskill Sets--
  66. sets.WS = {}
  67.  
  68. sets.Requiescat = {}
  69.  
  70. sets.Requiescat.index = {'Attack','Accuracy'}
  71. Requiescat_ind = 1
  72.  
  73. sets.Requiescat.Attack = {ammo="Cheruski needle",
  74. head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
  75. body="Manibozho Jerkin",hands="Assim. bazu. +1",ring1="Epona's ring",ring2="Aquasoul ring",
  76. back="Atheling mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Assim. Charuqs +1"}
  77.  
  78. sets.Requiescat.Accuracy = {ammo="Honed tathlum",
  79. head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
  80. body="Manibozho Jerkin",hands="Iuitl Wristbands",ring1="Epona's ring",ring2="Aquasoul ring",
  81. back="Atheling Mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
  82.  
  83. sets.ChantDuCygne = {}
  84.  
  85. sets.ChantDuCygne.index = {'Attack','Accuracy'}
  86. ChantDuCygne_ind = 1
  87.  
  88. sets.ChantDuCygne.Attack = {ammo="Cheruski needle",
  89. head="Uk'uxkaj cap",neck="Light gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
  90. body="Assim. jubbah +1",hands="Assim. bazu. +1",ring1="Epona's ring",ring2="Rajas ring",
  91. back="Rancorous mantle",waist="Windbuffet belt",legs="Manibozho brais",feet="Qaaxo Leggings"}
  92.  
  93. sets.ChantDuCygne.Accuracy = {ammo="Honed tathlum",
  94. head="Uk'uxkaj cap",neck="Light gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
  95. body="Assim. jubbah +1",hands="Iuitl Wristbands",ring1="Epona's ring",ring2="Rajas ring",
  96. back="Rancorous mantle",waist="Windbuffet belt",legs="Manibozho brais",feet="Assim. charuqs +1"}
  97.  
  98. sets.WS = {}
  99.  
  100. sets.WS.SanguineBlade = {ammo="Erlene's notebook",
  101. head="Assim. Keffiyeh +1",neck="Eddy necklace",ear1="Novio Earring",ear2="Friomisi earring",
  102. body="Vanir Cotehardie",hands="Mavi Bazubands +2",ring1="Strendu Ring",ring2="Acumen Ring",
  103. back="Cornflower cape", waist="Aswang Sash",legs="Hagondes pants",feet="Mavi Basmak +2"}
  104.  
  105. sets.WS.CircleBlade = {ammo="Cheruski needle",
  106. head="Whirlpool mask",neck="Asperity necklace",ear1="Bladeborn earring",ear2="Steelflash earring",
  107. body="Assim. jubbah +1",hands="Assim. bazu. +1",ring1="Epona's ring",ring2="Pyrosoul ring",
  108. back="Atheling mantle",waist="Windbuffet belt",legs="Quiahuiz trousers",feet="Assim. Charuqs +1"}
  109.  
  110. --Blue Magic Sets--
  111. sets.BlueMagic = {}
  112.  
  113. sets.BlueMagic.STR = {ammo="Mavi tathlum",
  114. head="Luh. Keffiyeh +1",neck="Ire torque +1",ear1="Kuwunga Earring",ear2="Steelflash Earring",
  115. body="Assim. jubbah +1",hands="Assim. bazu. +1",ring1="Pyrosoul",ring2="Rajas ring",
  116. back="Cornflower cape",waist="Wanion Belt",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
  117.  
  118. sets.BlueMagic.STRDEX = {ammo="Cheruski needle",
  119. head="Luh. Keffiyeh +1",neck="Ire torque +1",ear1="Kuwunga earring",ear2="Steelflash Earring",
  120. body="Assim. jubbah +1",hands="Assim. bazu. +1",ring1="Pyrosoul ring",ring2="Rajas ring",
  121. back="Cornflower cape",waist="Wanion belt",legs="Manibozho brais",feet="Assim. Charuqs +1"}
  122.  
  123. sets.BlueMagic.STRVIT = {ammo="Mavi tathlum",
  124. head="Luh. Keffiyeh +1",neck="Ire torque +1",ear1="Kuwunga earring",ear2="Steelflash Earring",
  125. body="Assim. jubbah +1",hands="Assim. bazu. +1",ring1="Pyrosoul ring",ring2="Rajas ring",
  126. back="Cornflower cape",waist="Warwolf Belt",legs="Quiahuiz trousers",feet="Assim. Charuqs +1"}
  127.  
  128. sets.BlueMagic.STRMND = {ammo="Mavi tathlum",
  129. head="Luh. Keffiyeh +1",neck="Ire torque +1", ear1="Kuwunga earring",ear2="Steelflash Earring",
  130. body="Assim. jubbah +1",hands="Assim. bazu. +1",ring1="Pyrosoul ring",ring2="Aquasoul ring",
  131. back="Cornflower cape",waist="Warwolf Belt",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
  132.  
  133. sets.BlueMagic.AGI = {ammo="Mavi tathlum",
  134. head="Luh. Keffiyeh +1",neck="Ire torque +1",ear1="Kuwunga earring",ear2="Steelflash Earring",
  135. body="Assim. jubbah +1",hands="Iuitl wristbands",ring1="Pyrosoul ring",ring2="Rajas ring",
  136. back="Cornflower cape",waist="Warwolf Belt",legs="Quiahuiz trousers",feet="Assim. Charuqs +1"}
  137.  
  138. sets.BlueMagic.INT = {ammo="Erlene's notebook",
  139. head="Assim. Keffiyeh +1",neck="Eddy necklace",ear1="Novio Earring",ear2="Friomisi earring",
  140. body="Vanir Cotehardie",hands="Mv. bazubands +2",ring1="Acumen Ring",ring2="Strendu Ring",
  141. back="Cornflower cape",waist="Wanion Belt",legs="Hagondes pants",feet="Mavi basmak +2"}
  142.  
  143. sets.BlueMagic.Cures = {ammo="Aqua sachet",
  144. head="Uk'uxkaj cap",neck="Weike Torque",ear1="Loquac. earring",ear2="Lifestorm Earring",
  145. body="Assim. jubbah +1",hands="Assim. Bazu. +1",ring1="Aquasoul ring",ring2="Sangoma ring",
  146. back="Oretania's cape",waist="Twilight Belt",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
  147.  
  148. sets.BlueMagic.Stun = {ammo="Mavi tathlum",
  149. head="Assim. keffiyeh +1",neck="Eddy necklace",ear1="Psystorm Earring",ear2="Lifestorm Earring",
  150. body="Assim. jubbah +1",hands="Mv. bazubands +2",ring1="Strendu ring",ring2="Sangoma ring",
  151. back="Cornflower cape",waist="Twilight belt",legs="Mavi tayt +2",feet="Assim. Charuqs +1"}
  152.  
  153. sets.BlueMagic.HeavyStrike = {ammo="Honed tathlum",
  154. head="Whirlpool mask",neck="Ire torque +1",ear1="Kuwunga Earring",ear2="Heartseeker earring",
  155. body="Assim. jubbah +1",hands="Assim. Bazubands +1",ring1="Pyrosoul Ring",ring2="Rajas ring",
  156. back="Cornflower cape",waist="Hurch'lan Sash",legs="Manibozho brais",feet="Assim. charuqs +1"}
  157.  
  158. sets.BlueMagic.ChargedWhisker = {ammo="Erlene's notebook",
  159. head="Uk'uxkaj cap",neck="Eddy necklace",ear1="Novio Earring",ear2="Friomisi earring",
  160. body="Vanir Cotehardie",hands="Assim. bazu. +1",ring1="Acumen Ring",ring2="Rajas ring",
  161. back="Cornflower cape",waist="Wanion Belt",legs="Hagondes pants",feet="Mavi basmak +2"}
  162.  
  163. sets.BlueMagic.WhiteWind = {ammo="Mavi tathlum",
  164. head="Luh. Keffiyeh +1",neck="Jeweled collar",ear1="Ethereal earring",ear2="Loquac. earring",
  165. body="Assim. jubbah +1",hands="Assim. Bazu. +1",ring1="K'ayres Ring",
  166. back="Oretania's cape",legs="Enif cosciales",feet="Assim. charuqs +1"}
  167.  
  168. sets.BlueMagic.MagicAccuracy = {ammo="Mavi Tathlum",
  169. head="Assim. keffiyeh +1",neck="Eddy necklace",ear1="Psystorm earring",ear2="Lifestorm earring",
  170. body="Assim. jubbah +1",hands="Ayao's Gages",ring1="Balrahn's ring",ring2="Sangoma ring",
  171. back="Cornflower cape",waist="Aswang Sash",legs="Mavi tayt +2",feet="Hagondes Sabots"}
  172.  
  173. sets.BlueMagic.Skill = {ammo="Mavi tathlum",
  174. head="Luh. Keffiyeh +1",neck="Jeweled collar",
  175. body="Assim. jubbah +1",hands="Mv. Bazubands +2",
  176. back="Cornflower cape",waist="Twilight belt",legs="Mavi tayt +2"}
  177.  
  178. sets.BlueMagic.SkillRecast = {ammo="Mavi tathlum",
  179. head="Luh. Keffiyeh +1",neck="Jeweled collar",
  180. body="Assim. jubbah +1",hands="Mv. Bazubands +2",
  181. back="Swith cape",waist="Twilight belt",legs="Mavi tayt +2"}
  182.  
  183. --Utility Sets--
  184. sets.Utility = {}
  185.  
  186. sets.Utility.Stoneskin = {head="Whirlpool Mask",neck="Weike Torque",
  187. body="Assim. jubbah +1",hands="Assim. Bazu. +1",
  188. back="Swith cape",waist="Siegel sash",legs="Quiahuiz Trousers",feet="Hagondes Sabots"}
  189.  
  190. sets.Utility.Phalanx = {neck="Colossus's torque",
  191. body="Assim. jubbah +1",hands="Assim. bazu. +1",
  192. back="Swith cape"}
  193.  
  194. sets.Utility.Steps = {ammo="Honed tathlum",
  195. head="Whirlpool mask",ear2="Heartseeker earring",
  196. body="Thaumas coat",hands="Iuitl Wristbands",
  197. waist="Hurch'lan sash",legs="Manibozho brais",feet="Assim. Charuqs +1"}
  198.  
  199. --Job Ability Sets--
  200. sets.JA = {}
  201.  
  202. sets.JA.ChainAffinity = {feet="Assim. charuqs +1"}
  203.  
  204. sets.JA.BurstAffinity = {feet="Mavi Basmak +2"}
  205.  
  206. sets.JA.Efflux = {legs="Mavi tayt +2"}
  207.  
  208. sets.JA.AzureLore = {hands="Luhlaza bazubands"}
  209.  
  210. sets.JA.Diffusion = {feet="Luhlaza Charuqs +1"}
  211.  
  212.  
  213. --Precast Sets--
  214. sets.precast = {}
  215.  
  216. sets.precast.FC = {}
  217.  
  218. sets.precast.FC.Standard = {head="Athos's Chapeau",neck="Jeweled collar", ear1="Loquac. Earring",
  219. hands="Thaumas Gloves",
  220. back="Swith Cape",legs="Enif Cosciales",feet="Chelona Boots"}
  221.  
  222. sets.precast.FC.Blue = {head="Athos's Chapeau",neck="Jeweled collar", ear1="Loquac. Earring",
  223. body="Mavi Mintan +2",hands="Thaumas Gloves",
  224. back="Swith Cape",waist="Witful Belt",legs="Enif Cosciales",feet="Chelona Boots"}
  225. end
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232. function precast(spell)
  233. if spell.action_type == 'Magic' then
  234. equip(sets.precast.FC.Standard)
  235.  
  236. elseif spell.action_type == 'BlueMagic' then
  237. equip(sets.precast.FC.Blue)
  238. end
  239.  
  240. if spell.english == 'Azure Lore' then
  241. equip(sets.JA.AzureLore)
  242. end
  243.  
  244. if spell.english == 'Requiescat' then
  245. equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
  246. end
  247.  
  248. if spell.english == 'Chant du Cygne' then
  249. equip(sets.ChantDuCygne[sets.ChantDuCygne.index[ChantDuCygne_ind]])
  250. end
  251.  
  252. if spell.english == 'Circle Blade' then
  253. equip(sets.WS.CircleBlade)
  254. end
  255.  
  256. if spell.english == 'Sanguine Blade' then
  257. equip(sets.WS.SanguineBlade)
  258. end
  259.  
  260. if spell.english == 'Box Step' then
  261. equip(sets.Utility.Steps)
  262. end
  263. end
  264.  
  265. function midcast(spell,act)
  266. 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
  267. equip(sets.BlueMagic.STR)
  268. if buffactive['Chain Affinity'] then
  269. equip(sets.JA.ChainAffinity)
  270. end
  271. if buffactive['Efflux'] then
  272. equip(sets.JA.Efflux)
  273. end
  274. end
  275.  
  276. 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
  277. equip(sets.BlueMagic.STRDEX)
  278. if buffactive['Chain Affinity'] then
  279. equip(sets.JA.ChainAffinity)
  280. end
  281. if buffactive['Efflux'] then
  282. equip(sets.JA.Efflux)
  283. end
  284. end
  285.  
  286. if spell.english == 'Quad. Continuum' or spell.english == 'Delta Thrust' or spell.english == 'Cannonball' or spell.english == 'Glutinous Dart' then
  287. equip(sets.BlueMagic.STRVIT)
  288. if buffactive['Chain Affinity'] then
  289. equip(sets.JA.ChainAffinity)
  290. end
  291. if buffactive['Efflux'] then
  292. equip(sets.JA.Efflux)
  293. end
  294. end
  295.  
  296. if spell.english == 'Whirl of Rage' then
  297. equip(sets.BlueMagic.STRMND)
  298. if buffactive['Chain Affinity'] then
  299. equip(sets.JA.ChainAffinity)
  300. end
  301. if buffactive['Efflux'] then
  302. equip(sets.JA.Efflux)
  303. end
  304. end
  305.  
  306. if spell.english == 'Benthic Typhoon' or spell.english == 'Final Sting' or spell.english == 'Spiral Spin' then
  307. equip(sets.BlueMagic.AGI)
  308. if buffactive['Chain Affinity'] then
  309. equip(sets.JA.ChainAffinity)
  310. end
  311. if buffactive['Efflux'] then
  312. equip(sets.JA.Efflux)
  313. end
  314. end
  315.  
  316. 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 == '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' then
  317. equip(sets.BlueMagic.INT)
  318. if buffactive['Burst Affinity'] then
  319. equip(sets.JA.BurstAffinity)
  320. end
  321. end
  322.  
  323. if spell.english == 'Magic Fruit' or spell.english == 'Plenilune Embrace' or spell.english == 'Wild Carrot' or spell.english == 'Pollen' or spell.english == 'Cure IV' then
  324. equip(sets.BlueMagic.Cures)
  325. end
  326.  
  327. if spell.english == 'White Wind' then
  328. equip(sets.BlueMagic.WhiteWind)
  329. end
  330.  
  331. if spell.english == 'Head Butt' or spell.english == 'Sudden Lunge' or spell.english == 'Blitzstrahl' then
  332. equip(sets.BlueMagic.Stun)
  333. end
  334.  
  335. if spell.english == 'Heavy Strike' then
  336. equip(sets.BlueMagic.HeavyStrike)
  337. end
  338.  
  339. if spell.english == 'Charged Whisker' then
  340. equip(sets.BlueMagic.ChargedWhisker)
  341. if buffactive['Burst Affinity'] then
  342. equip(sets.JA.BurstAffinity)
  343. end
  344. end
  345.  
  346. 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 'Demoralizing Roar' then
  347. equip(sets.BlueMagic.MagicAccuracy)
  348. end
  349.  
  350. 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
  351. equip(sets.BlueMagic.SkillRecast)
  352. if buffactive['Diffusion'] then
  353. equip(sets.JA.Diffusion)
  354. end
  355. end
  356.  
  357. 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' then
  358. if buffactive['Diffusion'] then
  359. equip(sets.JA.Diffusion)
  360. end
  361. end
  362. end
  363.  
  364. function aftercast(spell)
  365. if player.status == 'Engaged' then
  366. equip(sets.TP[sets.TP.index[TP_ind]])
  367. else
  368. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  369. end
  370. end
  371.  
  372. function status_change(new,old)
  373. if new == 'Engaged' then
  374. equip(sets.TP[sets.TP.index[TP_ind]])
  375. else
  376. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  377. end
  378. end
  379.  
  380. function self_command(command)
  381. if command == 'toggle TP set' then
  382. TP_ind = TP_ind +1
  383. if TP_ind > #sets.TP.index then TP_ind = 1 end
  384. send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
  385. equip(sets.TP[sets.TP.index[TP_ind]])
  386. elseif command == 'toggle Idle set' then
  387. Idle_ind = Idle_ind +1
  388. if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
  389. send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
  390. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  391. elseif command == 'toggle Req set' then
  392. Requiescat_ind = Requiescat_ind +1
  393. if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
  394. send_command('@input /echo <----- WS Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
  395. elseif command == 'toggle CDC set' then
  396. ChantDuCygne_ind = ChantDuCygne_ind +1
  397. if ChantDuCygne_ind > #sets.ChantDuCygne.index then ChantDuCygne_ind = 1 end
  398. elseif command == 'equip TP set' then
  399. equip(sets.TP[sets.TP.index[TP_ind]])
  400. elseif command == 'equip Idle set' then
  401. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  402. end
  403. end
Advertisement
Add Comment
Please, Sign In to add comment