Advertisement
Guest User

Untitled

a guest
Jun 25th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.53 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, CDC sets: CDC, Expiacion sets: Expi, Savage Blade sets: Savage--
  5. --Realm, FlashNova--
  6.  
  7. --E.g. /console gs c toggle CDC set--
  8. -- /console gs c toggle TP set--
  9. -- Reqi, etc, read at the bottom of the GS in the toggles for the names--
  10.  
  11.  
  12.  
  13. --I am sure there is outdated gear in here that I have probably even forgotten to change --
  14. --Just look over it and fit it to your needs, for example maybe change savage to not use expiaction gear down in the WS rules.
  15.  
  16.  
  17. send_command('bind f9 gs c toggle TP set') --This means if you hit cntrl and f9 it toggles the sets
  18. send_command('bind f10 gs c toggle CDC set')
  19. send_command('bind f11 gs c toggle Req set')
  20. send_command('bind f12 gs c toggle Idle set')
  21. send_command('bind ^f9 input /ws "Chant du Cygne" <t>')
  22. send_command('bind ^f10 input /ws "Expiacion" <t>')
  23. send_command('bind ^f11 input /ws "Sanguine Blade" <t>')
  24. send_command('bind ^f12 input /ws "Requiescat" <t>')
  25. send_command('bind !f12 gs c TogglePDTSet')
  26. send_command('bind !f10 gs c toggle Rea set')
  27. send_command('bind !f11 gs c toggle Expi set')
  28.  
  29. function file_unload()
  30.  
  31.  
  32. send_command('unbind ^f9')
  33. send_command('unbind ^f10')
  34. send_command('unbind ^f11')
  35. send_command('unbind ^f12')
  36.  
  37. send_command('unbind !f9')
  38. send_command('unbind !f10')
  39. send_command('unbind !f11')
  40. send_command('unbind !f12')
  41.  
  42. send_command('unbind f9')
  43. send_command('unbind f10')
  44. send_command('unbind f11')
  45. send_command('unbind f12')
  46.  
  47.  
  48.  
  49. end
  50.  
  51.  
  52. function get_sets()
  53.  
  54.  
  55. maps{}
  56.  
  57. HerculeanHelm={}
  58. HerculeanHelm.Nuke={name="Herculean Helm", augments={'Mag. Acc.+18 "Mag.Atk.Bns."+18','"Fast Cast"+1','INT+9','Mag. Acc.+9','"Mag.Atk.Bns."+12',}}
  59. HerculeanHelm.DT={name="Herculean Helm", augments={'Attack+12','Phys. dmg. taken -4%','STR+9','Accuracy+8',}}
  60. HerculeanHelm.Refesh={name="Herculean Helm", augments={'Mag. Acc.+11 "Mag.Atk.Bns."+11','"Waltz" potency +2%','"Refresh"+1',}}
  61. HerculeanHelm.WSD={name="Herculean Helm", augments={'Weapon skill damage +4%','Pet: Crit.hit rate +4','Accuracy+20 Attack+20','Mag. Acc.+3 "Mag.Atk.Bns."+3',}}
  62.  
  63. HerculeanGloves={}
  64. HerculeanGloves.WSD={name="Herculean Gloves", augments={'Accuracy+21 Attack+21','Weapon skill damage +4%','Accuracy+9','Attack+10',}}
  65. HerculeanGloves.DT={name="Herculean Gloves", augments={'Accuracy+13','Damage taken-3%','AGI+1','Attack+5',}}
  66. HerculeanGloves.HighAcc={name="Herculean Gloves", augments={'Accuracy+23 Attack+23','"Triple Atk."+2','DEX+15','Accuracy+11','Attack+13',}}
  67. HerculeanGloves.Refresh={name="Herculean Gloves", augments={'DEX+7','Weapon skill damage +2%','"Refresh"+1',}}
  68. HerculeanGloves.Crit={name="Herculean Gloves", augments={'Attack+23','Crit. hit damage +4%','DEX+8','Accuracy+11',}}
  69.  
  70. HerculeanLegs={}
  71. HerculeanLegs.DT={name="Herculean Trousers", augments={'Accuracy+22','Damage taken-2%','VIT+6',}}
  72. HerculeanLegs.WSD={name="Herculean Trousers", augments={'Attack+28','Weapon skill damage +3%','STR+10','Accuracy+9',}}
  73.  
  74. TaeonBoots={}
  75. TaeonBoots.RA={name="Taeon Boots", augments={'Rng. Atk.+17','Crit.hit rate +2'}}
  76. TaeonBoots.TA={name="Taeon Boots", augments={'STR+6 DEX+6','Accuracy+15 Attack+15','"Triple Atk."+2'}}
  77.  
  78. TelchineFeet={}
  79. TelchineFeet.CP={name="Telchine Pigaches", augments={'"Cure" Potency +4%'}}
  80. TelchineFeet.FC={name="Telchine Pigaches", augments={'"Fast Cast" +3'}}
  81.  
  82. HerculeanFeet={}
  83. HerculeanFeet.QA={name="Herculean Boots", augments={'AGI+4','"Dbl.Atk."+2','Quadruple Attack +3','Accuracy+4 Attack+4',}}
  84. HerculeanFeet.TA={name="Herculean Boots", augments={'Accuracy+14 Attack+14','"Triple Atk."+4','DEX+3','Accuracy+2','Attack+15'}}
  85. HerculeanFeet.DT={name="Herculean Boots", augments={'Accuracy+23','Damage taken -3%'}}
  86. HerculeanFeet.Idle={name="Herculean Boots", augments={'Mag. Acc.+2','Phys. dmg. taken -1%','"Refresh"+1','Accuracy+18 Attack+18',}}
  87. HerculeanFeet.CritDmg={name="Herculean Boots", augments={'Accuracy+28','Crit. hit damage +5%','DEX+9',}}
  88. HerculeanFeet.WSD={name="Herculean Boots", augments={'Attack+22','Weapon skill damage +4%','Accuracy+15',}}
  89.  
  90. Rosmerta={}
  91. Rosmerta.Crit={name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Crit.hit rate+10',}}
  92. Rosmerta.WSD={name="Rosmerta's Cape", augments={'STR+20','Accuracy+20 Attack+20','Weapon skill damage +10%',}}
  93.  
  94. sets.Idle = {}
  95.  
  96. --Idle Sets--
  97. sets.Idle.index = {'Standard','DT', 'Town'}
  98. Idle_ind = 3
  99.  
  100. sets.Idle.Standard = {ammo="Hydrocera",
  101. head=HerculeanHelm.Refesh,neck="Wiglen Gorget", ear1="Infused Earring", ear2="Ethereal earring",
  102. body="Vrikodara Jupon",hands=HerculeanGloves.Refresh,ring1="Sheltered ring",ring2="Paguroidea Ring",
  103. back="Kumbira Cape",waist="Fucho-no-Obi",legs="Carmine Cuisses +1",feet=HerculeanFeet.Idle}
  104.  
  105. sets.Idle.DT = {ammo="Hydrocera",
  106. head=HerculeanHelm.DT,neck="Loricate Torque +1", ear1="Infused Earring", ear2="Ethereal Earring",
  107. body="Emet Harness +1",hands=HerculeanGloves.DT,ring1="Defending ring",ring2="Dark ring",
  108. back="Umbra Cape",waist="Flume belt",legs="Carmine Cuisses +1",feet=HerculeanFeet.DT}
  109.  
  110. sets.Idle.Town = {ammo="Hydrocera",
  111. head=HerculeanHelm.Refesh,neck="Wiglen Gorget", ear1="Infused Earring", ear2="Ethereal earring",
  112. body="Vrikodara Jupon",hands=HerculeanGloves.Refresh,ring1="Sheltered ring",ring2="Matrimony ring",
  113. back="Kumbira Cape",waist="Fucho-no-Obi",legs="Carmine Cuisses +1",feet=HerculeanFeet.Idle}
  114.  
  115.  
  116.  
  117.  
  118. --TP Sets--
  119. sets.TP = {}
  120.  
  121. sets.TP.index = {'StandardNoTrusts', 'Marches', 'AccuracyLite', 'AccuracyMid', 'AccuracyFull', 'DT', 'DTAccuracy', 'DTHighAccuracy', 'MDT'}
  122. --1=StandardNoTrusts, 2=Marches, 3=AccuracyLite, 4=AccuracyMid, 5=AccuracyFull, 6=DT, 7=DTAccuracy 8=DTHighAccuracy 9=MDT--
  123. TP_ind = 1
  124.  
  125. --DW III +1200JP--
  126. sets.TP.StandardNoTrusts = {ammo="Ginsen",
  127. head="Adhemar Bonnet",
  128. neck="Asperity necklace",
  129. ear1="Suppanomimi", ear2="Cessance Earring",
  130. body="Adhemar Jacket",
  131. hands="Adhemar Wristbands",
  132. ring1="Epona's ring", ring2="Hetairoi Ring",
  133. back=Rosmerta.Crit,
  134. waist="Shetal Stone",
  135. legs="Samnuha Tights",
  136. feet=TaeonBoots.TA}
  137.  
  138. sets.TP.Marches = {ammo="Ginsen",
  139. head="Adhemar Bonnet",
  140. neck="Asperity necklace",
  141. ear1="Suppanomimi", ear2="Brutal Earring",
  142. body="Adhemar Jacket",
  143. hands="Adhemar Wristbands",
  144. ring1="Epona's ring", ring2="Hetairoi Ring",
  145. back=Rosmerta.Crit,
  146. waist="Windbuffet Belt +1",
  147. legs="Samnuha Tights",
  148. feet=HerculeanFeet.QA}
  149.  
  150. sets.TP.AccuracyLite = {ammo="Ginsen",
  151. head="Adhemar Bonnet",
  152. neck="Lissome Necklace",
  153. ear1="Suppanomimi", ear2="Cessance Earring",
  154. body="Adhemar Jacket",
  155. hands="Adhemar Wristbands",
  156. ring1="Epona's ring", ring2="Hetairoi Ring",
  157. back=Rosmerta.Crit,
  158. waist="Windbuffet Belt +1",
  159. legs="Samnuha Tights",
  160. feet=HerculeanFeet.TA}
  161.  
  162. sets.TP.AccuracyMid = {ammo="Falcon Eye",
  163. head="Dampening Tam",
  164. neck="Lissome Necklace",
  165. ear1="Zennaroi earring", ear2="Suppanomimi",
  166. body="Adhemar Jacket",
  167. hands="Adhemar Wristbands",
  168. ring1="Epona's ring", ring2="Ramuh Ring +1",
  169. back=Rosmerta.Crit,
  170. waist="Olseni Belt",
  171. legs="Samnuha Tights",
  172. feet=HerculeanFeet.TA}
  173.  
  174. sets.TP.AccuracyFull = {ammo="Falcon Eye",
  175. head="Carmine Mask +1",
  176. neck="Subtlety Spectacles",
  177. ear1="Zennaroi Earring", ear2="Dignitary's Earring",
  178. body="Adhemar Jacket",
  179. hands=HerculeanGloves.HighAcc,
  180. ring1="Cacoethic Ring +1",ring2="Ramuh Ring +1",
  181. back=Rosmerta.Crit,
  182. waist="Olseni Belt",
  183. legs="Carmine Cuisses +1",
  184. feet=HerculeanFeet.CritDmg}
  185.  
  186. sets.TP.DT = {ammo="Falcon Eye",
  187. head=HerculeanHelm.DT,
  188. neck="Loricate Torque +1",
  189. ear1="Suppanomimi",ear2="Odnowa Earring +1",
  190. body="Adhemar Jacket",
  191. hands=HerculeanGloves.DT,
  192. ring1="Defending ring",ring2="Gelatinous Ring +1",
  193. back="Umbra Cape",
  194. waist="Flume belt",
  195. legs=HerculeanLegs.DT,
  196. feet=HerculeanFeet.DT}
  197.  
  198. sets.TP.DTAccuracy = {ammo="Falcon Eye",
  199. head=HerculeanHelm.DT,
  200. neck="Loricate Torque +1",
  201. ear1="Suppanomimi", ear2="Cessance Earring",
  202. body="Adhemar Jacket",
  203. hands=HerculeanGloves.DT,
  204. ring1="Defending Ring",ring2="Patricius Ring",
  205. back=Rosmerta.Crit,
  206. waist="Olseni Belt",
  207. legs=HerculeanLegs.DT,
  208. feet=HerculeanFeet.DT}
  209.  
  210. sets.TP.DTHighAccuracy = {ammo="Falcon Eye",
  211. head="Carmine Mask +1",
  212. neck="Loricate Torque +1",
  213. ear1="Suppanomimi", ear2="Zennaroi Earring",
  214. body="Emet Harness +1",
  215. hands=HerculeanGloves.DT,
  216. ring1="Defending Ring",ring2="Patricius Ring",
  217. back=Rosmerta.Crit,
  218. waist="Olseni Belt",
  219. legs="Carmine Cuisses +1",
  220. feet=HerculeanFeet.DT}
  221.  
  222. sets.TP.MDT = {ammo="Falcon Eye",
  223. head="Dampening Tam",
  224. neck="Loricate Torque +1",
  225. ear1="Suppanomimi", ear2="Odnowa Earring +1",
  226. body="Emet Harness +1",
  227. hands=HerculeanGloves.DT,
  228. ring1="Defending ring",ring2="Dark ring",
  229. back="Mubvumbamiri Mantle",
  230. waist="Carrier's Sash",
  231. legs=HerculeanLegs.DT,
  232. feet=HerculeanFeet.DT}
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239. --Weaponskill Sets-- Cornflower for Requiescat because it saves a spot as it is the ONLY thing I would need to carry Bleating Mantle for...
  240. sets.WS = {}
  241.  
  242. sets.Requiescat = {}
  243.  
  244. sets.Requiescat.index = {'Attack','Accuracy'}
  245. Requiescat_ind = 1
  246.  
  247. sets.Requiescat.Attack = {ammo="Hydrocera",
  248. head="Carmine Mask",
  249. neck="Fotia Gorget",
  250. ear1="Moonshade Earring",ear2="Brutal Earring",
  251. body="Adhemar Jacket",
  252. hands="Adhemar Wristbands",
  253. ring1="Epona's ring",ring2="Rufescent Ring",
  254. back="Cornflower Cape",
  255. waist="Fotia Belt",
  256. legs="Telchine Braconi",
  257. feet="Carmine Greaves +1"}
  258.  
  259. sets.Requiescat.Accuracy = {ammo="Falcon Eye",
  260. head="Carmine Mask",
  261. neck="Fotia Gorget",
  262. ear1="Cessance Earring",ear2="Zennaroi Earring",
  263. body="Adhemar Jacket",
  264. hands="Adhemar Wristbands",
  265. ring1="Epona's ring",ring2="Ramuh Ring +1",
  266. back=Rosmerta.WSD,
  267. waist="Fotia Belt",
  268. legs="Telchine Braconi",
  269. feet="Carmine Greaves +1"}
  270.  
  271. sets.CDC = {}
  272.  
  273. sets.CDC.index = {'Attack','Accuracy','AccuracyHigh'}
  274. CDC_ind = 1
  275.  
  276. sets.CDC.Attack = {ammo="Jukukik Feather",
  277. head="Adhemar Bonnet",
  278. neck="Fotia Gorget",
  279. ear1="Moonshade earring",ear2="Brutal Earring",
  280. body="Abnoba Kaftan",
  281. hands="Adhemar Wristbands",
  282. ring1="Epona's ring",ring2="Begrudging Ring",
  283. back=Rosmerta.Crit,
  284. waist="Fotia Belt",
  285. legs="Samnuha Tights",
  286. feet="Thereoid Greaves"}
  287.  
  288. sets.CDC.Accuracy = {ammo="Falcon Eye",
  289. head="Adhemar Bonnet",
  290. neck="Fotia Gorget",
  291. ear1="Moonshade earring",ear2="Cessance Earring",
  292. body="Abnoba Kaftan",
  293. hands=HerculeanGloves.HighAcc,
  294. ring1="Epona's ring",ring2="Begrudging Ring",
  295. back=Rosmerta.Crit,
  296. waist="Fotia Belt",
  297. legs="Samnuha Tights",
  298. feet=HerculeanFeet.CritDmg}
  299.  
  300. sets.CDC.AccuracyHigh = {ammo="Falcon Eye",
  301. head="Dampening Tam",
  302. neck="Fotia Gorget",
  303. ear1="Moonshade earring",ear2="Zennaroi earring",
  304. body="Abnoba Kaftan",
  305. hands=HerculeanGloves.HighAcc,
  306. ring1="Begrudging Ring",ring2="Ramuh Ring +1",
  307. back=Rosmerta.Crit,
  308. waist="Fotia Belt",
  309. legs="Samnuha Tights",
  310. feet=HerculeanFeet.CritDmg}
  311.  
  312. sets.Expiacion = {}
  313.  
  314. sets.Expiacion.index = {'Attack','Accuracy'}
  315. Expiacion_ind = 1
  316.  
  317. sets.Expiacion.Attack = {ammo="Floestone",
  318. head=HerculeanHelm.WSD,
  319. neck="Caro Necklace",
  320. ear1="Moonshade Earring",ear2="Brutal Earring",
  321. body="Herculean Vest",
  322. hands=HerculeanGloves.WSD,
  323. ring1="Rufescent Ring",ring2="Ifrit Ring +1",
  324. back=Rosmerta.WSD,
  325. waist="Grunfeld Rope",
  326. legs=HerculeanLegs.WSD,
  327. feet=HerculeanFeet.WSD}
  328.  
  329. sets.Expiacion.Accuracy = {ammo="Falcon Eye",
  330. head=HerculeanHelm.WSD,
  331. neck="Fotia Gorget",
  332. ear1="Moonshade Earring",ear2="Cessance Earring",
  333. body="Adhemar Jacket",
  334. hands=HerculeanGloves.WSD,
  335. ring1="Rufescent Ring",ring2="Ramuh ring +1",
  336. back=Rosmerta.WSD,
  337. waist="Grunfeld Rope",
  338. legs=HerculeanLegs.WSD,
  339. feet=HerculeanFeet.WSD}
  340.  
  341. sets.WS.SanguineBlade = {}
  342.  
  343. sets.WS.SanguineBlade = {ammo="Pemphredo Tathlum",
  344. head="Pixie Hairpin +1",
  345. neck="Sanctity Necklace",
  346. ear1="Friomisi Earring",ear2="Hecate's earring",
  347. body="Amalric Doublet",
  348. hands="Amalric Gages",
  349. ring1="Archon Ring",ring2="Rufescent Ring",
  350. back="Cornflower cape",
  351. waist="Grunfeld Rope",
  352. legs="Amalric Slops",
  353. feet="Hashishin Basmak +1"}
  354.  
  355. sets.WS.CircleBlade = {ammo="Floestone",
  356. head="Adhemar Bonnet",
  357. neck="Asperity necklace",
  358. ear1="Cessance Earring",ear2="Brutal Earring",
  359. body="Adhemar Jacket",
  360. hands="Adhemar Wristbands",
  361. ring1="Epona's ring",ring2="Apate Ring",
  362. back=Rosmerta.WSD,
  363. waist="Windbuffet Belt +1",
  364. legs="Samnuha Tights",
  365. feet=TaeonBoots.TA}
  366.  
  367. sets.SavageBlade = {}
  368.  
  369. sets.SavageBlade.index = {'Attack','Accuracy'}
  370. SavageBlade_ind = 1
  371.  
  372. sets.SavageBlade.Attack ={ammo="",
  373. head="",
  374. neck="",
  375. ear1="",ear2="",
  376. body="",
  377. hands="",
  378. ring1="",ring2="",
  379. back="",
  380. waist="",
  381. legs="",
  382. feet=""}
  383.  
  384. sets.SavageBlade.Accuracy ={ammo="",
  385. head="",
  386. neck="",
  387. ear1="",ear2="",
  388. body="",
  389. hands="",
  390. ring1="",ring2="",
  391. back="",
  392. waist="",
  393. legs="",
  394. feet=""}
  395.  
  396. sets.Realmrazer = {}
  397.  
  398. sets.Realmrazer.index = {'Attack','Accuracy'}
  399. Realmrazer_ind = 1
  400.  
  401. sets.Realmrazer.Attack ={ammo="Hydrocera",
  402. head="Carmine Mask",
  403. neck="Fotia Gorget",
  404. ear1="Moonshade Earring",ear2="Brutal Earring",
  405. body="Adhemar Jacket",
  406. hands=HerculeanGloves.WSD,
  407. ring1="Epona's ring",ring2="Rufescent Ring",
  408. back="Cornflower Cape",
  409. waist="Fotia Belt",
  410. legs="Telchine Braconi",
  411. feet="Carmine Greaves +1"}
  412.  
  413. sets.Realmrazer.Accuracy ={ammo="",
  414. head="",
  415. neck="",
  416. ear1="",ear2="",
  417. body="",
  418. hands="",
  419. ring1="",ring2="",
  420. back="",
  421. waist="",
  422. legs="",
  423. feet=""}
  424.  
  425. sets.FlashNova = {}
  426.  
  427. sets.FlashNova.index = {'Attack','Accuracy'}
  428. FlashNova_ind = 1
  429.  
  430. sets.FlashNova.Attack ={ammo="",
  431. head="Helios Band",
  432. neck="Sanctity Necklace",
  433. ear1="Hecate's Earring",ear2="Friomisi Earring",
  434. body="Amalric Doublet",
  435. hands="Amalric Gages",
  436. ring1="Shiva Ring +1",ring2="Weatherspoon Ring",
  437. back="Cornflower Cape",
  438. waist="Eschan Stone",
  439. legs="Amalric Slops",
  440. feet="Hashishin Basmak +1"}
  441.  
  442. sets.FlashNova.Accuracy ={ammo="",
  443. head="",
  444. neck="",
  445. ear1="",ear2="",
  446. body="",
  447. hands="",
  448. ring1="",ring2="",
  449. back="",
  450. waist="",
  451. legs="",
  452. feet=""}
  453.  
  454.  
  455.  
  456. --Blue Magic Sets--
  457. sets.BlueMagic = {}
  458.  
  459. sets.BlueMagic.STR = {ammo="Floestone",
  460. head="Adhemar Bonnet",
  461. neck="Caro Necklace",
  462. ear1="Zennaroi Earring",ear2="Kuwunga Earring",
  463. body="Adhemar Jacket",
  464. hands="Adhemar Wristbands",
  465. ring1="Ifrit Ring +1",ring2="Apate Ring",
  466. back="Cornflower cape",
  467. waist="Grunfeld Rope",
  468. legs="Samnuha Tights",
  469. feet=HerculeanFeet.TA}
  470.  
  471. sets.BlueMagic.STRDEX = set_combine(sets.BlueMagic.STR,{
  472. })
  473.  
  474. sets.BlueMagic.STRVIT = set_combine(sets.BlueMagic.STR,{
  475. })
  476.  
  477. sets.BlueMagic.STRMND = set_combine(sets.BlueMagic.STR,{
  478. })
  479.  
  480. sets.BlueMagic.AGI = set_combine(sets.BlueMagic.STR,{
  481. feet="Thereoid Greaves"})
  482.  
  483. sets.BlueMagic.INT = {ammo="Pemphredo Tathlum",
  484. head=HerculeanHelm.Nuke,
  485. neck="Sanctity Necklace",
  486. ear1="Hermetic Earring",ear2="Friomisi earring",
  487. body="Amalric Doublet",
  488. hands="Amalric Gages",
  489. ring1="Shiva Ring +1",ring2="Sangoma Ring",
  490. back="Cornflower cape",
  491. waist="Eschan Stone",
  492. legs="Amalric Slops",
  493. feet="Hashishin Basmak +1"}
  494.  
  495. sets.BlueMagic.LightNuke = set_combine(sets.BlueMagic.INT,{
  496. ring2="Weatherspoon Ring",})
  497.  
  498. sets.BlueMagic.DarkNuke = set_combine(sets.BlueMagic.INT,{
  499. head="Pixie Hairpin +1",
  500. ring2="Archon Ring",})
  501.  
  502. sets.BlueMagic.Cures = {ammo="Hydrocera",
  503. head="Carmine Mask",
  504. neck="Phalaina Locket",
  505. ear1="Mendicant's Earring",ear2="Ethereal Earring",
  506. body="Vrikodara Jupon",
  507. hands="Telchine Gloves",
  508. ring1="Kunaji Ring",ring2="Rufescent Ring",
  509. back="Cornflower Cape",
  510. waist="Gishdubar Sash",
  511. legs="Gyve Trousers",
  512. feet="Medium's Sabots"}
  513.  
  514. --Conserve MP Gear--
  515. sets.BlueMagic.Battery = {ammo="Pemphredo Tathlum",
  516. head="Amalric Coif",
  517. neck="Incanter's Torque",
  518. ear1="Suppanomimi",ear2="Ethereal earring",
  519. body="Emet Harness +1",
  520. hands=HerculeanGloves.DT,
  521. ring1="Dark ring",ring2="Defending Ring",
  522. back="Umbra Cape",
  523. waist="Gishdubar Sash",
  524. legs="Iuitl Tights +1",
  525. feet="Carmine Greaves +1"}
  526.  
  527. sets.BlueMagic.Stun = {ammo="Pemphredo Tathlum",
  528. head="Carmine Mask +1",
  529. neck="Sanctity Necklace",
  530. ear1="Zennaroi Earring",ear2="Dignitary's Earring",
  531. body="Amalric Doublet",
  532. hands="Adhemar Wristbands",
  533. ring1="Ramuh Ring +1",ring2="Weatherspoon Ring",
  534. back="Cornflower cape",
  535. waist="Eschan Stone",
  536. legs="Hashishin Tayt +1",
  537. feet=TaeonBoots.TA}
  538.  
  539. sets.BlueMagic.HeavyStrike = {ammo="Falcon Eye",
  540. head="Adhemar Bonnet",
  541. neck="Caro Necklace",
  542. ear1="Zennaroi Earring",ear2="Kuwunga Earring",
  543. body="Adhemar Jacket",
  544. hands=HerculeanGloves.Crit,
  545. ring1="Ifrit Ring +1",ring2="Apate Ring",
  546. back=Rosmerta.WSD,
  547. waist="Grunfeld Rope",
  548. legs="Samnuha Tights",
  549. feet=HerculeanFeet.TA}
  550.  
  551. sets.BlueMagic.ChargedWhisker = {ammo="Pemphredo Tathlum",
  552. head="Amalric Coif",
  553. neck="Sanctity Necklace",
  554. ear1="Hecate's earring",ear2="Friomisi earring",
  555. body="Adhemar Jacket",
  556. hands="Adhemar Wristbands",
  557. ring1="Shiva ring",ring2="Ramuh Ring +1",
  558. back="Cornflower cape",
  559. waist="Saline Belt",
  560. legs="Amalric Slops",
  561. feet="Hashishin Basmak +1"}
  562.  
  563. sets.BlueMagic.WhiteWind = {ammo="Pemphredo Tathlum",
  564. head="Adhemar Bonnet",
  565. neck="Phalaina Locket",
  566. ear1="Mendicant's Earring",ear2="Ethereal Earring",
  567. body="Vrikodara Jupon",
  568. hands="Telchine Gloves",
  569. ring1="Kunaji Ring",ring2="Rufescent Ring",
  570. back="Cornflower Cape",
  571. waist="Gishdubar Sash",
  572. legs="Gyve Trousers",
  573. feet="Medium's Sabots"}
  574.  
  575. sets.BlueMagic.MagicAccuracy = {ammo="Pemphredo Tathlum",
  576. head="Amalric Coif",
  577. neck="Sanctity Necklace",
  578. ear1="Psystorm earring",ear2="Lifestorm earring",
  579. body="Amalric Doublet",
  580. hands="Leyline Gloves",
  581. ring1="Ramuh Ring +1",ring2="Weatherspoon Ring",
  582. back="Cornflower cape",
  583. waist="Olseni Belt",
  584. legs="Amalric Slops",
  585. feet="Hashishin Basmak +1"}
  586.  
  587. sets.BlueMagic.Skill = {ammo="Pemphredo Tathlum",
  588. head="Luhlaza Keffiyah",
  589. neck="Incanter's Torque",
  590. ear1="Suppanomimi",ear2="Ethereal earring",
  591. body="Assim. jubbah +1",
  592. hands="Rawhide Gloves",
  593. ring1="Lebeche ring",ring2="Weatherspoon Ring",
  594. back="Cornflower cape",
  595. waist="Gishdubar Sash",
  596. legs="Hashishin Tayt +1",
  597. feet="Luhlaza charuqs +1"}
  598.  
  599. sets.BlueMagic.Enmity = {ammo="None",
  600. head="Rabid Visor",
  601. neck="Warder's Charm +1",
  602. ear1="None",ear2="None",
  603. body="Emet Harness +1",
  604. hands="None",
  605. ring1="Supershear Ring",ring2="Petrov Ring",
  606. back="Mubvumbamiri mantle",
  607. waist="None",
  608. legs="Obatala Subligar",
  609. Feet="None"}
  610.  
  611.  
  612.  
  613.  
  614. --Utility Sets--
  615. --Sets such as Phalanx/Steps are out of date because I don't fucking cast/use that shit!
  616.  
  617. sets.Utility = {}
  618.  
  619. sets.Utility.Stoneskin = {ammo="Hydrocera",
  620. head="Carmine Mask",
  621. neck="Stone Gorget",
  622. ear1="Loquac. earring",ear2="Earthcry earring",
  623. body="Assim. jubbah +1",
  624. hands="Stone Mufflers",
  625. ring1="None",ring2="Rufescent Ring",
  626. back="Swith cape",
  627. waist="Siegel sash",
  628. legs="Haven hose",
  629. feet=HerculeanFeet.DT}
  630.  
  631.  
  632.  
  633. sets.Utility.Steps = {ammo="Falcon Eye",
  634. head="Adhemar Bonnet",
  635. ear1="Dudgeon Earring",ear2="Heartseeker earring",
  636. body="Adhemar Jacket",
  637. hands=HerculeanGloves.WSD,
  638. back=Rosmerta.Crit,
  639. waist="Chaac Belt",
  640. legs="Samnuha Tights",
  641. feet=HerculeanFeet.DT}
  642.  
  643. sets.Utility.PDT = {ammo="Falcon Eye",
  644. head=HerculeanHelm.DT,
  645. neck="Loricate Torque +1",
  646. ear1="Suppanomimi",ear2="Ethereal Earring",
  647. body="Adhemar Jacket",
  648. hands=HerculeanGloves.DT,
  649. ring1="Defending ring",ring2="Dark ring",
  650. back="Umbra Cape",
  651. waist="Flume belt",
  652. legs=HerculeanLegs.DT,
  653. feet=HerculeanFeet.DT}
  654. --Shell V on. Need 23% when 5/5 with pants, 21% with sheltered, but I don't count on that being on if shell has been stripped or just using a trust--
  655. sets.Utility.MDTV = {ammo="Floestone",
  656. head="Amalric Coif",
  657. neck="Warder's Charm +1",
  658. ear1="Flashward Earring",ear2="Odnowa Earring +1",
  659. body="Amalric Doublet",
  660. hands=HerculeanGloves.DT,
  661. ring1="Defending ring",ring2="Shadow Ring",
  662. back="Mubvumbamiri Mantle",
  663. waist="Carrier's Sash",
  664. legs="Amalric Slops",
  665. feet="Hashishin Basmak +1"}
  666. --Shell II only--
  667. sets.Utility.MDTII = {ammo="Floestone",
  668. head="Dampening Tam",
  669. neck="Loricate Torque +1",
  670. ear1="Flashward Earring",ear2="Odnowa Earring +1",
  671. body="Amalric Doublet",
  672. hands=HerculeanGloves.DT,
  673. ring1="Defending ring",ring2="Dark ring",
  674. back="Mubvumbamiri Mantle",
  675. waist="Carrier's Sash",
  676. legs=HerculeanLegs.DT,
  677. feet=HerculeanFeet.DT}
  678. --No Shell--
  679. sets.Utility.MDTNO = {ammo="Floestone",
  680. head="Dampening Tam",
  681. neck="Loricate Torque +1",
  682. ear1="Flashward Earring",ear2="Odnowa Earring +1",
  683. body="Amalric Doublet",
  684. hands=HerculeanGloves.DT,
  685. ring1="Defending ring",ring2="Dark ring",
  686. back="Mubvumbamiri Mantle",
  687. waist="Carrier's Sash",
  688. legs=HerculeanLegs.DT,
  689. feet=HerculeanFeet.DT}
  690. --Telchine with proper augments is the best for magic evasion--
  691. sets.Utility.MEVA = {ammo="Floestone",
  692. head="Dampening Tam",
  693. neck="Loricate Torque +1",
  694. ear1="Flashward Earring",ear2="Hearty Earring",
  695. body="Amalric Doublet",
  696. hands="Leyline Gloves",
  697. ring1="Shiva Ring +1",ring2="Purity Ring",
  698. back="Mubvumbamiri Mantle",
  699. waist="Carrier's Sash",
  700. legs="Amalric Slops",
  701. feet="Hashishin Basmak +1"}
  702.  
  703. sets.Enhancing = {ammo="Pemphredo Tathlum",
  704. head="Carmine Mask +1",
  705. neck="Incanter's Torque",
  706. ear1="Suppanomimi",ear2="Ethereal earring",
  707. body="Telchine Chasuble",
  708. ring1="Dark ring",ring2="Defending Ring",
  709. back="Perimede Cape",
  710. waist="Gishdubar Sash",
  711. legs="Carmine Cuisses +1",
  712. feet="Carmine Greaves +1"}
  713.  
  714.  
  715.  
  716. --Job Ability Sets--
  717.  
  718. sets.JA = {}
  719.  
  720. sets.JA.ChainAffinity = {feet="Assim. charuqs +1"}
  721.  
  722. sets.JA.BurstAffinity = {feet="Hashishin Basmak +1"}
  723.  
  724. sets.JA.Efflux = {legs="Hashishin Tayt +1"}
  725.  
  726. sets.JA.AzureLore = {hands="Luhlaza bazubands"}
  727.  
  728. sets.JA.Diffusion = {ammo="Pemphredo Tathlum", neck="Incanter's Torque", head="Amalric Coif", feet="Luhlaza Charuqs +1", waist="Gishdubar Sash"}
  729.  
  730. sets.JA.Provoke = set_combine(sets.BlueMagic.Enmity,{})
  731.  
  732. sets.JA.Warcry = set_combine(sets.BlueMagic.Enmity,{})
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740. --Precast Sets--
  741. sets.precast = {}
  742.  
  743. sets.precast.FC = {}
  744.  
  745. sets.precast.FC.Standard = {ammo="Impatiens",
  746. head="Carmine Mask +1",
  747. neck="Voltsurge Torque",
  748. ear1="Loquac. Earring",ear2="None",
  749. body="Taeon Tabard",
  750. hands="Leyline Gloves",
  751. ring1="Prolix Ring",ring2="Weatherspoon Ring",
  752. back="Perimede Cape",
  753. waist="Witful Belt",
  754. legs="Enif Cosciales",
  755. feet="Carmine Greaves +1"}
  756.  
  757. sets.precast.FC.Blue = set_combine(sets.precast.FC.Standard,{
  758. body="Hashishin Mintan"})
  759.  
  760.  
  761. sets.lastSet = {}
  762. sets.UsingToggledSet = false
  763. end
  764.  
  765. function maps()
  766.  
  767.  
  768. PhysicalSpells = S{ 'Asuran Claws','Bilgestorm','Bludgeon','Body Slam','Feather Storm','Mandibular Bite','Queasyshroom',
  769. 'Power Attack','Ram Charge','Saurian Slide','Screwdriver','Sickle Slash','Smite of Rage',
  770. 'Spinal Cleave','Spiral Spin','Sweeping Gouge','Terror Touch','Battle Dance','Bloodrake',
  771. 'Death Scissors','Dimensional Death','Empty Thrash','Quadrastrike','Uppercut','Tourbillion',
  772. 'Thrashing Assault','Vertical Cleave','Whirl of Rage','Amorphic Spikes','Barbed Crescent',
  773. 'Claw Cyclone','Disseverment','Foot Kick','Frenetic Rip','Goblin Rush','Hysteric Barrage',
  774. 'Paralyzing Triad','Seedspray','Sinker Drill','Vanity Dive','Cannonball','Delta Thrust',
  775. 'Glutinous Dart','Grand Slam','Quad. Continuum','Sprout Smack','Benthic Typhoon','Helldive',
  776. 'Hydro Shot','Jet Stream','Pinecone Bomb','Wild Oats','Heavy Strike'}
  777.  
  778. PhysicalBlueMagic = S{
  779. 'Asuran Claws','Bludgeon','Body Slam','Feather Storm','Mandibular Bite','Queasyshroom',
  780. 'Power Attack','Ram Charge','Saurian Slide','Screwdriver','Sickle Slash','Smite of Rage',
  781. 'Spinal Cleave','Spiral Spin','Sweeping Gouge','Terror Touch'}
  782.  
  783. PhysicalBlueMagic_STR = S{
  784. 'Battle Dance','Bloodrake','Death Scissors','Dimensional Death','Empty Thrash',
  785. 'Quadrastrike','Uppercut','Tourbillion','Sinker Drill','Thrashing Assault','Vertical Cleave',
  786. 'Whirl of Rage'}
  787.  
  788. PhysicalBlueMagic_DEX = S{
  789. 'Amorphic Spikes','Barbed Crescent','Claw Cyclone','Disseverment','Foot Kick',
  790. 'Frenetic Rip','Goblin Rush','Hysteric Barrage','Paralyzing Triad','Seedspray',
  791. 'Vanity Dive'}
  792.  
  793. PhysicalBlueMagic_VIT = S{
  794. 'Cannonball','Delta Thrust','Glutinous Dart','Grand Slam','Quad. Continuum',
  795. 'Sprout Smack'}
  796.  
  797. PhysicalBlueMagic_AGI = S{
  798. 'Benthic Typhoon','Helldive','Hydro Shot','Jet Stream','Pinecone Bomb','Wild Oats'}
  799.  
  800. BlueMagic_PhysicalAcc = S{
  801. 'Heavy Strike'}
  802.  
  803. MagicalSpells = S{ 'Acrid Stream','Anvil Lightning','Crashing Thunder','Charged Whisker','Droning Whirlwind',
  804. 'Firespit','Foul Waters','Gates of Hades','Leafstorm','Molting Plumage','Nectarous Deluge',
  805. 'Polar Roar','Regurgitation','Rending Deluge','Scouring Spate','Searing Tempest','Silent Storm',
  806. 'Spectral Floe','Subduction','Tem. Upheaval','Thermal Pulse','Thunderbolt','Uproot','Mighty Guard',
  807. 'Water Bomb','Atra. Libations','Blood Saber','Dark Orb','Death Ray','Eyes On Me',
  808. 'Evryone. Grudge','Palling Salvo','Tenebral Crush','Blinding Fulgor','Diffusion Ray',
  809. 'Magic Hammer','Rail Cannon','Retinal Glare','Embalming Earth','Entomb','Sandspin', 'Vapor Spray'}
  810.  
  811. MagicalBlueMagic = S{
  812. 'Acrid Stream','Anvil Lightning','Crashing Thunder','Charged Whisker','Droning Whirlwind','Firespit',
  813. 'Foul Waters','Gates of Hades','Leafstorm','Molting Plumage','Nectarous Deluge','Polar Roar',
  814. 'Regurgitation','Rending Deluge','Scouring Spate','Searing Tempest','Silent Storm','Spectral Floe',
  815. 'Subduction','Tem. Upheaval','Thermal Pulse','Thunderbolt','Uproot','Water Bomb'}
  816.  
  817. BlueMagic_Dark = S{
  818. 'Atra. Libations','Blood Saber','Dark Orb','Death Ray','Eyes On Me',
  819. 'Evryone. Grudge','Palling Salvo','Tenebral Crush'}
  820.  
  821. BlueMagic_Light = S{
  822. 'Blinding Fulgor','Diffusion Ray','Magic Hammer','Rail Cannon','Retinal Glare'}
  823.  
  824. --- here if you need it for earth spells but down below, nuking these spells goes to the same int nuke set at others. I don't carry the neck
  825. BlueMagic_Earth = S{
  826. 'Embalming Earth','Entomb','Sandspin'}
  827.  
  828. BlueMagic_Accuracy = S{
  829. '1000 Needles','Absolute Terror','Auroral Drape','Awful Eye','Blank Gaze','Blistering Roar','Blitzstrahl',
  830. 'Blood Drain','Blood Saber','Chaotic Eye','Cimicine Discharge','Cold Wave','Digest','Corrosive Ooze',
  831. 'Demoralizing Roar','Dream Flower','Enervation','Feather Tickle','Filamented Hold','Frightful Roar',
  832. 'Geist Wall','Hecatomb Wave','Infrasonics','Light of Penance','Lowing','Mind Blast','Mortal Ray',
  833. 'MP Drainkiss','Osmosis','Reaving Wind','Sheep Song','Soporific','Sound Blast','Stinking Gas',
  834. 'Sub-zero Smash','Triumphant Roar','Venom Shell','Voracious Trunk','Yawn'}
  835.  
  836. BlueMagic_Breath = S{
  837. 'Bad Breath','Flying Hip Press','Final Sting','Frost Breath','Heat Breath','Magnetite Cloud',
  838. 'Poison Breath','Radiant Breath','Self Destruct','Thunder Breath','Vapor Spray','Wind Breath'}
  839.  
  840. BlueMagic_Buff = S{
  841. 'Carcharian Verve','Diamondhide','Metallic Body','Magic Barrier','Occultation',
  842. 'Orcish Counterstance','Plasma Charge','Pyric Bulwark','Reactor Cool'}
  843.  
  844. BlueMagic_Healing = S{
  845. 'Healing Breeze','Magic Fruit','Plenilune Embrace','Pollen','Restoral','Wild Carrot'}
  846.  
  847. BlueMagic_Stun = S{
  848. 'Frypan','Head Butt','Sudden Lunge','Tail slap','Whirl of Rage'}
  849.  
  850. BlueMagic_Emnity = S{
  851. 'Actinic Burst','Exuviation','Fantod','Jettatura','Temporal Shift'}
  852.  
  853. BlueMagic_Diffusion = S{
  854. 'Amplification','Cocoon','Exuviation','Feather Barrier','Harden Shell','Memento Mori','Metallic Body',
  855. 'Mighty Guard','Plasma Charge','Reactor Cool','Refueling','Saline Coat','Warm-Up','Zephyr Mantle'}
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866. end
  867.  
  868. function precast(spell, JA)
  869. if spell.action_type == 'Magic' then
  870. equip(sets.precast.FC.Standard)
  871.  
  872. elseif spell.action_type == 'BlueMagic' then
  873. equip(sets.precast.FC.Blue)
  874.  
  875. if spell.english == 'Azure Lore' then
  876. equip(sets.JA.AzureLore)
  877. end
  878.  
  879. if spell.type == 'WeaponSkill' then
  880. if spell.english == 'Requiescat' then
  881. if player.tp >= 2800 then
  882. equip(set_combine(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]], {ear1="Ishvara Earring"}))
  883. else
  884. equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
  885. end
  886. elseif spell.english == 'Chant du Cygne' or spell.english == 'Vorpal Blade' then
  887. if player.tp >= 2800 then
  888. equip(set_combine(sets.CDC[sets.CDC.index[CDC_ind]], {ear1="Ishvara Earring"}))
  889. else
  890. equip(sets.CDC[sets.CDC.index[CDC_ind]])
  891. end
  892. elseif spell.english == 'Expiacion' then
  893. if player.tp >= 2800 then
  894. equip(set_combine(sets.Expiacion[sets.Expiacion.index[Expiacion_ind]], {ear1="Ishvara Earring"}))
  895. else
  896. equip(sets.Expiacion[sets.Expiacion.index[Expiacion_ind]])
  897. end
  898. elseif spell.english == 'Savage Blade' then
  899. if player.tp >= 2800 then
  900. equip(set_combine(sets.Expiacion[sets.Expiacion.index[Expiacion_ind]], {ear1="Ishvara Earring"}))
  901. else
  902. equip(sets.Expiacion[sets.Expiacion.index[Expiacion_ind]])
  903. end
  904. elseif spell.english == 'Realmrazer' then
  905. equip(sets.Realmrazer[sets.Realmrazer.index[Realmrazer_ind]])
  906.  
  907. elseif spell.english == 'Flash Nova' then
  908. equip(sets.FlashNova[sets.FlashNova.index[FlashNova_ind]])
  909.  
  910. elseif spell.english == 'Circle Blade' then
  911. equip(sets.WS.CircleBlade)
  912.  
  913. elseif spell.english == 'Sanguine Blade' or spell.english == 'Red Lotus Blade' then
  914. equip(sets.WS.SanguineBlade)
  915. end
  916.  
  917. end
  918.  
  919. if spell.english == 'Box Step' then
  920. equip(sets.Utility.Steps)
  921.  
  922. elseif spell.english == 'Quick Step' then
  923. equip(sets.Utility.Steps)
  924.  
  925. elseif spell.english == 'Animated Flourish' then
  926. equip(sets.BlueMagic.Enmity)
  927. end
  928. end
  929.  
  930. function midcast(spell,act)
  931. if spell.action_type == 'Magic' then
  932. if spell.skill == 'Enhancing Magic' then
  933. if spell.english == 'Refresh' then
  934. equipSet = equip(sets.BlueMagic.Battery)
  935. else
  936. equipSet = equip(sets.Enhancing)
  937. end
  938. else if spell.skill == 'Blue Magic' then
  939. -- Non-Generic Gear Set Defintions
  940. if spell.english == 'Battery Charge' then
  941. equipSet = equip(sets.BlueMagic.Battery)
  942. --For any other Spell Spefic Gearset, add the needed elseif here
  943. else
  944. -- Generic Precat Set
  945. equipSet = sets.precast.FC.Blue
  946. end
  947. if PhysicalSpells:contains(spell.english) then
  948. if PhysicalBlueMagic_STR:contains(spell.english) then
  949. equipSet = equip(sets.BlueMagic.STR)
  950. elseif PhysicalBlueMagic_DEX:contains(spell.english) then
  951. equipSet = equip(sets.BlueMagic.STRDEX)
  952. elseif PhysicalBlueMagic_VIT:contains(spell.english) then
  953. equipSet = equip(sets.BlueMagic.STRVIT)
  954. elseif PhysicalBlueMagic_AGI:contains(spell.english) then
  955. equipSet = equip(sets.BlueMagic.AGI)
  956. elseif PhysicalBlueMagic:contains(spell.english) then
  957. equipSet = equip(sets.BlueMagic.STR)
  958. elseif BlueMagic_PhysicalAcc:contains(spell.english) then
  959. equipSet = equip(sets.BlueMagic.HeavyStrike)
  960. end
  961. if buffactive['Chain Affinity'] then
  962. equipSet = equip(sets.JA.ChainAffinity)
  963. end
  964. if buffactive['Efflux'] then
  965. equipSet = equip(sets.JA.Efflux)
  966. end
  967. end
  968. if MagicalSpells:contains(spell.english) then
  969. if MagicalBlueMagic:contains(spell.english) then
  970. equipSet = equip(sets.BlueMagic.INT)
  971. elseif BlueMagic_Dark:contains(spell.english) then
  972. equipSet = equip(sets.BlueMagic.DarkNuke)
  973. elseif BlueMagic_Light:contains(spell.english) then
  974. equipSet = equip(sets.BlueMagic.LightNuke)
  975. elseif BlueMagic_Earth:contains(spell.english) then
  976. equipSet = equip(sets.BlueMagic.INT)
  977. end
  978. if buffactive['Burst Affinity'] then
  979. equipSet = equip(sets.JA.BurstAffinity)
  980. end
  981. if world.day_element == spell.element or world.weather_element == spell.element then
  982. equipSet = set_combine(equipSet,{waist='Hachirin-no-Obi'})
  983. end
  984. end
  985. if BlueMagic_Accuracy:contains(spell.english) then
  986. equipSet = equipSet.MagicAccuracy
  987. elseif BlueMagic_Stun:contains(spell.english) then
  988. equipSet = sets.BlueMagic.Stun
  989. elseif BlueMagic_Emnity:contains(spell.english) then
  990. equipSet = equipSet.Emnity
  991. elseif BlueMagic_Buff:contains(spell.english) then
  992. equipSet = equip(sets.BlueMagic.Skill)
  993. elseif buffactive.Diffusion then
  994. equipSet = equip(sets.JA.Diffusion)
  995. elseif spell.english == 'White Wind' then
  996. equipSet = equip(sets.BlueMagic.WhiteWind)
  997. elseif BlueMagic_Healing:contains(spell.english) or spell.english == 'Cure IV' or spell.english == 'Cure III' then
  998. equipSet = equip(sets.BlueMagic.Cures)
  999. end
  1000. end
  1001. end
  1002. end
  1003. end
  1004.  
  1005. function aftercast(spell)
  1006. if player.status == 'Engaged' then
  1007. equip(sets.TP[sets.TP.index[TP_ind]])
  1008. else
  1009. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  1010. end
  1011. end
  1012.  
  1013. function status_change(new,old)
  1014. if new == 'Engaged' then
  1015. equip(sets.TP[sets.TP.index[TP_ind]])
  1016. else
  1017. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  1018. end
  1019. end
  1020.  
  1021. function self_command(command)
  1022. if command == 'toggle TP set' then
  1023. TP_ind = TP_ind +1
  1024. if TP_ind > #sets.TP.index then TP_ind = 1 end
  1025. send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
  1026. equip(sets.TP[sets.TP.index[TP_ind]])
  1027. elseif command == 'toggle Idle set' then
  1028. Idle_ind = Idle_ind +1
  1029. if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
  1030. send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
  1031. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  1032. elseif command == 'toggle Req set' then
  1033. Requiescat_ind = Requiescat_ind +1
  1034. if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
  1035. send_command('@input /echo <----- Requiescat Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
  1036. elseif command == 'toggle CDC set' then
  1037. CDC_ind = CDC_ind +1
  1038. if CDC_ind > #sets.CDC.index then CDC_ind = 1 end
  1039. send_command('@input /echo <----- CDC Set changed to '..sets.CDC.index[CDC_ind]..' ----->')
  1040. elseif command == 'toggle Expi set' then
  1041. Expiacion_ind = Expiacion_ind +1
  1042. if Expiacion_ind > #sets.Expiacion.index then Expiacion_ind = 1 end
  1043. send_command('@input /echo <----- Expiacion Set changed to '..sets.Expiacion.index[Expiacion_ind]..' ----->')
  1044. elseif command == 'toggle Savage set' then
  1045. SavageBlade_ind = SavageBlade_ind +1
  1046. if SavageBlade_ind > #sets.SavageBlade.index then Expiacion_ind = 1 end
  1047. send_command('@input /echo <----- Savage Blade Set changed to '..sets.SavageBlade.index[SavageBlade_ind]..' ----->')
  1048. elseif command == 'toggle Realm set' then
  1049. Realmrazer_ind = Realmrazer_ind +1
  1050. if Realmrazer_ind > #sets.Realmrazer.index then Realmrazer_ind = 1 end
  1051. elseif command == 'toggle FlashNova set' then
  1052. FlashNova_ind = FlashNova_ind +1
  1053. if FlashNova_ind > #sets.FlashNova.index then FlashNova_ind = 1 end
  1054. send_command('@input /echo <----- Savage Blade Set changed to '..sets.FlashNova.index[FlashNova_ind]..' ----->')
  1055. elseif command == 'equip TP set' then
  1056. equip(sets.TP[sets.TP.index[TP_ind]])
  1057. elseif command == 'equip Idle set' then
  1058. equip(sets.Idle[sets.Idle.index[Idle_ind]])
  1059. elseif command == 'TogglePDTSet' then
  1060. if sets.UsingToggledSet == false then
  1061. sets.lastSet = equipSet
  1062. sets.UsingToggledSet = true
  1063. equipSet = equip(sets.Utility.PDT)
  1064. else
  1065. sets.UsingToggledSet = false
  1066. equipSet = equip(sets.lastSet)
  1067. end
  1068. end
  1069.  
  1070. end
  1071. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement