Arcaniz

RDM LUA

Dec 18th, 2014
742
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. include('no_interruptions.lua')
  4.  
  5. include('organizer-lib.lua')
  6.  
  7. include('spam_protection.lua')
  8. function get_sets()
  9.  
  10.    
  11. include('organizer-lib.lua')
  12.         idleSet = "Idle"
  13.         restingSet = "Resting"
  14.         magicacc= 0    
  15.         contador = 0
  16.         refreshc= 0
  17.  
  18.  
  19.         send_command('input /macro book 12;')
  20.  
  21.        
  22.         sets['Lightning'] = {waist="Hachirin-no-Obi"}
  23.         sets['Ice'] = {waist="Hachirin-no-Obi"}
  24.         sets['Water'] = {waist="Hachirin-no-Obi"}
  25.         sets['Fire'] = {waist="Hachirin-no-Obi"}
  26.         sets['Earth'] = {waist="Hachirin-no-Obi"}
  27.         sets['Wind'] = {waist="Hachirin-no-Obi"}
  28.         sets['Light'] = {waist="Hachirin-no-Obi"}
  29.         sets['Dark'] = {waist="Hachirin-no-Obi"}
  30.         sets['acc'] ={legs="Psycloth Lappas"}
  31.  
  32.  
  33.         sets['Idle'] = {
  34.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','System: 2 ID: 125 Val: 0',}},
  35.     sub={ name="Beatific Shield +1", augments={'Phys. dmg. taken -4%','HP+25 MP+25','Magic dmg. taken -2%',}},
  36.     ammo="Homiliary",
  37.     head={ name="Viti. Chapeau +1", augments={'Enhances "Dia III" effect','Enhances "Slow II" effect',}},
  38.     body={ name="Witching Robe", augments={'MP+50','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Refresh"+1',}},
  39.     hands={ name="Merlinic Dastanas", augments={'System: 1 ID: 1792 Val: 6','CHR+6','"Refresh"+2','Accuracy+6 Attack+6',}},
  40.     legs="Nares Trews",
  41.     feet={ name="Merlinic Crackows", augments={'Pet: Mag. Acc.+4','Magic dmg. taken -2%','"Refresh"+1',}},
  42.     neck="Loricate Torque +1",
  43.     waist="Fucho-no-Obi",
  44.     left_ear="Etiolation Earring",
  45.     right_ear={ name="Moonshade Earring", augments={'MP+25','Latent effect: "Refresh"+1',}},
  46.     left_ring={ name="Dark Ring", augments={'Magic dmg. taken -4%','Phys. dmg. taken -6%',}},
  47.     right_ring="Defending Ring",
  48.     back="Umbra cape",
  49. }
  50.  
  51.  
  52.  
  53.         sets['DT'] =  {
  54.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','"Refresh"+1',}},
  55.     sub="Deliverance +1",
  56.     ammo="Homiliary",
  57.     head={ name="Hagondes Hat +1", augments={'Phys. dmg. taken -4%','Magic dmg. taken -4%','"Mag.Atk.Bns."+24',}},
  58.     body={ name="Hagondes Coat +1", augments={'Phys. dmg. taken -4%','Magic dmg. taken -2%','Pet: "Mag.Atk.Bns."+20',}},
  59.      hands={ name="Merlinic Dastanas", augments={'Accuracy+11','Damage taken-3%','Mag. Acc.+15','"Mag.Atk.Bns."+6',}},
  60.     legs={ name="Merlinic Shalwar", augments={'Damage taken-4%',}},
  61.     feet={ name="Merlinic Crackows", augments={'Mag. Acc.+14 "Mag.Atk.Bns."+14','Damage taken-3%','Mag. Acc.+14',}},
  62.     neck="Loricate Torque +1",
  63.     waist="Flume Belt +1",
  64.     left_ear="Etiolation Earring",
  65.     right_ear="Thureous Earring",
  66.     left_ring={ name="Dark Ring", augments={'Magic dmg. taken -4%','Phys. dmg. taken -6%',}},
  67.     right_ring="Defending Ring",
  68.     back="Shadow Mantle",
  69. }
  70.  
  71.         sets['Runaway'] = {
  72.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','System: 2 ID: 125 Val: 0',}},
  73.     sub={ name="Beatific Shield +1", augments={'Phys. dmg. taken -4%','HP+25 MP+25','Magic dmg. taken -2%',}},
  74.     ammo="Homiliary",
  75.     head={ name="Hagondes Hat +1", augments={'Phys. dmg. taken -4%','Magic dmg. taken -4%','"Mag.Atk.Bns."+24',}},
  76.     body={ name="Hagondes Coat +1", augments={'Phys. dmg. taken -4%','Magic dmg. taken -2%','Pet: "Mag.Atk.Bns."+20',}},
  77.     hands={ name="Merlinic Dastanas", augments={'Accuracy+11','Damage taken-3%','Mag. Acc.+15','"Mag.Atk.Bns."+6',}},
  78.     legs={ name="Merlinic Shalwar", augments={'Damage taken-4%',}},
  79.     feet={ name="Merlinic Crackows", augments={'Mag. Acc.+14 "Mag.Atk.Bns."+14','Damage taken-3%','Mag. Acc.+14',}},
  80.     neck="Loricate Torque +1",
  81.     waist="Flume Belt +1",
  82.     left_ear="Etiolation Earring",
  83.     right_ear="Sanare Earring",
  84.     left_ring={ name="Dark Ring", augments={'Magic dmg. taken -4%','Phys. dmg. taken -6%',}},
  85.     right_ring="Defending Ring",
  86.     back="Umbra Cape",
  87. }
  88.        
  89.         sets['MDT'] = {
  90.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','System: 2 ID: 125 Val: 0',}},
  91.     sub={ name="Beatific Shield +1", augments={'Phys. dmg. taken -4%','HP+25 MP+25','Magic dmg. taken -2%',}},
  92.     ammo="Homiliary",
  93.     head={ name="Hagondes Hat +1", augments={'Phys. dmg. taken -4%','Magic dmg. taken -4%','"Mag.Atk.Bns."+24',}},
  94.     body={ name="Hagondes Coat +1", augments={'Phys. dmg. taken -4%','Magic dmg. taken -2%','Pet: "Mag.Atk.Bns."+20',}},
  95.    hands={ name="Merlinic Dastanas", augments={'Accuracy+11','Damage taken-3%','Mag. Acc.+15','"Mag.Atk.Bns."+6',}},
  96.     legs={ name="Merlinic Shalwar", augments={'Damage taken-4%',}},
  97.     feet={ name="Merlinic Crackows", augments={'Mag. Acc.+14 "Mag.Atk.Bns."+14','Damage taken-3%','Mag. Acc.+14',}},
  98.     neck="Warder's Charm +1",
  99.     waist="Slipor Sash",
  100.     left_ear="Etiolation Earring",
  101.     right_ear="Sanare Earring",
  102.     left_ring="Shadow Ring",
  103.     right_ring="Defending Ring",
  104.     back="Engulfer Cape +1",
  105. }
  106.  
  107.         sets['BolelabungaSet'] = {
  108.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','System: 2 ID: 125 Val: 0',}},
  109.     sub={ name="Beatific Shield +1", augments={'Phys. dmg. taken -4%','HP+25 MP+25','Magic dmg. taken -2%',}},
  110.     ammo="Homiliary",
  111.     head={ name="Viti. Chapeau +1", augments={'Enhances "Dia III" effect','Enhances "Slow II" effect',}},
  112.     body={ name="Witching Robe", augments={'MP+50','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Refresh"+1',}},
  113.     hands={ name="Merlinic Dastanas", augments={'System: 1 ID: 1792 Val: 6','CHR+6','"Refresh"+2','Accuracy+6 Attack+6',}},
  114.     legs="Nares Trews",
  115.     feet={ name="Merlinic Crackows", augments={'Pet: Mag. Acc.+4','Magic dmg. taken -2%','"Refresh"+1',}},
  116.     neck="Loricate Torque +1",
  117.     waist="Fucho-no-Obi",
  118.     left_ear="Etiolation Earring",
  119.     right_ear={ name="Moonshade Earring", augments={'MP+25','Latent effect: "Refresh"+1',}},
  120.     left_ring={ name="Dark Ring", augments={'Magic dmg. taken -4%','Phys. dmg. taken -6%',}},
  121.     right_ring="Defending Ring",
  122.     back="Umbra cape",
  123. }
  124.         sets['oneirosSet'] = {
  125.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','System: 2 ID: 125 Val: 0',}},
  126.     sub={ name="Beatific Shield +1", augments={'Phys. dmg. taken -4%','HP+25 MP+25','Magic dmg. taken -2%',}},
  127.     ammo="Homiliary",
  128.     head={ name="Viti. Chapeau +1", augments={'Enhances "Dia III" effect','Enhances "Slow II" effect',}},
  129.     body={ name="Witching Robe", augments={'MP+50','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Refresh"+1',}},
  130.     hands={ name="Merlinic Dastanas", augments={'System: 1 ID: 1792 Val: 6','CHR+6','"Refresh"+2','Accuracy+6 Attack+6',}},
  131.     legs="Nares Trews",
  132.     feet={ name="Merlinic Crackows", augments={'Pet: Mag. Acc.+4','Magic dmg. taken -2%','"Refresh"+1',}},
  133.     neck="Loricate Torque +1",
  134.     waist="Fucho-no-Obi",
  135.     left_ear="Etiolation Earring",
  136.     right_ear={ name="Moonshade Earring", augments={'MP+25','Latent effect: "Refresh"+1',}},
  137.     left_ring={ name="Dark Ring", augments={'Magic dmg. taken -4%','Phys. dmg. taken -6%',}},
  138.     right_ring="Defending Ring",
  139.     back="Umbra cape",
  140. }
  141.  
  142.        
  143.         sets['preMAB'] = {
  144.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','"Refresh"+1',}},
  145.     sub={ name="Beatific Shield +1", augments={'Phys. dmg. taken -4%','HP+25 MP+25','Magic dmg. taken -2%',}},
  146.     ammo="Impatiens",
  147.     head={ name="Amalric Coif", augments={'MP+60','Mag. Acc.+15','"Mag.Atk.Bns."+15',}},
  148.     body={ name="Dalmatica", augments={'Occ. quickens spellcasting +2%','"Mag.Atk.Bns."+3','"Fast Cast"+4',}},
  149.     hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  150.     legs={ name="Psycloth Lappas", augments={'MP+80','Mag. Acc.+15','"Fast Cast"+7',}},
  151.     feet={ name="Merlinic Crackows", augments={'"Mag.Atk.Bns."+30','"Fast Cast"+6','MND+10',}},
  152.     neck="Loricate Torque +1",
  153.     waist="Emphatikos Rope",
  154.     left_ear="Etiolation Earring",
  155.     right_ear={ name="Moonshade Earring", augments={'MP+25','Latent effect: "Refresh"+1',}},
  156.     left_ring="Weather. Ring",
  157.     right_ring="Defending Ring",
  158.     back="Perimede Cape",
  159. }
  160.  
  161.         sets['MABACC'] ={
  162.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  163.     sub="Niobid Strap",
  164.     ammo="Pemphredo Tathlum",
  165.     head={ name="Merlinic Hood", augments={'Mag. Acc.+25 "Mag.Atk.Bns."+25','Mag. crit. hit dmg. +10%','MND+2','Mag. Acc.+7','"Mag.Atk.Bns."+15',}},
  166.     body={ name="Merlinic Jubbah", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','MND+3','Mag. Acc.+11','"Mag.Atk.Bns."+15',}},
  167.    hands={ name="Chironic Gloves", augments={'Mag. Acc.+24 "Mag.Atk.Bns."+24','CHR+2','Mag. Acc.+7','"Mag.Atk.Bns."+13',}},
  168.     legs={ name="Merlinic Shalwar", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','"Conserve MP"+4','Mag. Acc.+13','"Mag.Atk.Bns."+15',}},
  169.     feet={ name="Merlinic Crackows", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','Magic burst mdg.+6%','Mag. Acc.+13','"Mag.Atk.Bns."+13',}},
  170.     neck="Sanctity Necklace",
  171.     waist="Yamabuki-no-Obi",
  172.     left_ear="Digni. Earring",
  173.     right_ear="Friomisi Earring",
  174.     left_ring="Weather. Ring",
  175.     right_ring="Sangoma Ring",
  176.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  177. }
  178.          sets['MABFULL'] ={
  179.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  180.     sub="Niobid Strap",
  181.     ammo="Pemphredo Tathlum",
  182.     head={ name="Merlinic Hood", augments={'Mag. Acc.+25 "Mag.Atk.Bns."+25','Mag. crit. hit dmg. +10%','MND+2','Mag. Acc.+7','"Mag.Atk.Bns."+15',}},
  183.     body={ name="Merlinic Jubbah", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','MND+3','Mag. Acc.+11','"Mag.Atk.Bns."+15',}},
  184.     hands={ name="Chironic Gloves", augments={'Mag. Acc.+24 "Mag.Atk.Bns."+24','CHR+2','Mag. Acc.+7','"Mag.Atk.Bns."+13',}},
  185.     legs={ name="Merlinic Shalwar", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','"Conserve MP"+4','Mag. Acc.+13','"Mag.Atk.Bns."+15',}},
  186.     feet={ name="Merlinic Crackows", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','Magic burst mdg.+6%','Mag. Acc.+13','"Mag.Atk.Bns."+13',}},
  187.     neck="Baetyl Pendant",
  188.     waist="Yamabuki-no-Obi",
  189.     left_ear="Crematio Earring",
  190.     right_ear="Friomisi Earring",
  191.     left_ring="Shiva Ring +1",
  192.     right_ring="Shiva Ring +1",
  193.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  194. }
  195.  
  196. sets['MAGICBURST'] ={
  197.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  198.     sub="Niobid Strap",
  199.     ammo="Pemphredo Tathlum",
  200.     head={ name="Merlinic Hood", augments={'"Mag.Atk.Bns."+25','Magic burst mdg.+11%','Mag. Acc.+1',}},
  201.     body={ name="Merlinic Jubbah", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','MND+3','Mag. Acc.+11','"Mag.Atk.Bns."+15',}},
  202.     hands={ name="Amalric Gages", augments={'MP+60','Mag. Acc.+15','"Mag.Atk.Bns."+15',}},
  203.     legs={ name="Merlinic Shalwar", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','Magic burst mdg.+10%',}},
  204.     feet={ name="Merlinic Crackows", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','Magic burst mdg.+6%','Mag. Acc.+13','"Mag.Atk.Bns."+13',}},
  205.     neck="Mizu. Kubikazari",
  206.     waist="Yamabuki-no-Obi",
  207.     left_ear="Crematio Earring",
  208.     right_ear="Friomisi Earring",
  209.     left_ring="Mujin Band",
  210.     right_ring="Shiva Ring +1",
  211.     back="Seshaw Cape",
  212. }
  213.        
  214.         sets['MAGICALWS'] ={
  215.    
  216.     ammo="Pemphredo Tathlum",
  217.     head={ name="Merlinic Hood", augments={'Mag. Acc.+25 "Mag.Atk.Bns."+25','Mag. crit. hit dmg. +10%','MND+2','Mag. Acc.+7','"Mag.Atk.Bns."+15',}},
  218.     body={ name="Merlinic Jubbah", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','MND+3','Mag. Acc.+11','"Mag.Atk.Bns."+15',}},
  219.     hands={ name="Chironic Gloves", augments={'Mag. Acc.+24 "Mag.Atk.Bns."+24','CHR+2','Mag. Acc.+7','"Mag.Atk.Bns."+13',}},
  220.     legs={ name="Merlinic Shalwar", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','"Conserve MP"+4','Mag. Acc.+13','"Mag.Atk.Bns."+15',}},
  221.     feet={ name="Merlinic Crackows", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','Magic burst mdg.+6%','Mag. Acc.+13','"Mag.Atk.Bns."+13',}},
  222.     neck="Baetyl Pendant",
  223.     waist="Yamabuki-no-Obi",
  224.     left_ear="Crematio Earring",
  225.     right_ear="Friomisi Earring",
  226.     left_ring="Shiva Ring +1",
  227.     right_ring="Shiva Ring +1",
  228.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  229. }
  230.         sets['Spikes'] = {
  231.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  232.     sub="Niobid Strap",
  233.     ammo="Pemphredo Tathlum",
  234.     head={ name="Merlinic Hood", augments={'Mag. Acc.+25 "Mag.Atk.Bns."+25','Mag. crit. hit dmg. +10%','MND+2','Mag. Acc.+7','"Mag.Atk.Bns."+15',}},
  235.     body={ name="Merlinic Jubbah", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','MND+3','Mag. Acc.+11','"Mag.Atk.Bns."+15',}},
  236.     hands={ name="Chironic Gloves", augments={'Mag. Acc.+24 "Mag.Atk.Bns."+24','CHR+2','Mag. Acc.+7','"Mag.Atk.Bns."+13',}},
  237.     legs={ name="Merlinic Shalwar", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','"Conserve MP"+4','Mag. Acc.+13','"Mag.Atk.Bns."+15',}},
  238.     feet={ name="Merlinic Crackows", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','Magic burst mdg.+6%','Mag. Acc.+13','"Mag.Atk.Bns."+13',}},
  239.     neck="Baetyl Pendant",
  240.     waist="Yamabuki-no-Obi",
  241.     left_ear="Crematio Earring",
  242.     right_ear="Friomisi Earring",
  243.     left_ring="Shiva Ring +1",
  244.     right_ring="Shiva Ring +1",
  245.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  246. }
  247.  
  248.        
  249.         sets['MAB'] ={
  250.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  251.     sub="Niobid Strap",
  252.     ammo="Pemphredo Tathlum",
  253.     head={ name="Merlinic Hood", augments={'Mag. Acc.+25 "Mag.Atk.Bns."+25','Mag. crit. hit dmg. +10%','MND+2','Mag. Acc.+7','"Mag.Atk.Bns."+15',}},
  254.     body={ name="Merlinic Jubbah", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','MND+3','Mag. Acc.+11','"Mag.Atk.Bns."+15',}},
  255.    hands={ name="Chironic Gloves", augments={'Mag. Acc.+24 "Mag.Atk.Bns."+24','CHR+2','Mag. Acc.+7','"Mag.Atk.Bns."+13',}},
  256.     legs={ name="Merlinic Shalwar", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','"Conserve MP"+4','Mag. Acc.+13','"Mag.Atk.Bns."+15',}},
  257.     feet={ name="Merlinic Crackows", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','Magic burst mdg.+6%','Mag. Acc.+13','"Mag.Atk.Bns."+13',}},
  258.     neck="Sanctity Necklace",
  259.     waist="Yamabuki-no-Obi",
  260.     left_ear="Digni. Earring",
  261.     right_ear="Friomisi Earring",
  262.     left_ring="Weather. Ring",
  263.     right_ring="Shiva Ring +1",
  264.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  265. }
  266.         sets['Precast'] = {
  267.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','"Refresh"+1',}},
  268.     sub={ name="Beatific Shield +1", augments={'Phys. dmg. taken -4%','HP+25 MP+25','Magic dmg. taken -2%',}},
  269.     ammo="Impatiens",
  270.     head={ name="Amalric Coif", augments={'MP+60','Mag. Acc.+15','"Mag.Atk.Bns."+15',}},
  271.     body={ name="Dalmatica", augments={'Occ. quickens spellcasting +2%','"Mag.Atk.Bns."+3','"Fast Cast"+4',}},
  272.     hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  273.     legs={ name="Psycloth Lappas", augments={'MP+80','Mag. Acc.+15','"Fast Cast"+7',}},
  274.     feet={ name="Merlinic Crackows", augments={'"Mag.Atk.Bns."+30','"Fast Cast"+6','MND+10',}},
  275.     neck="Loricate Torque +1",
  276.     waist="Emphatikos Rope",
  277.     left_ear="Etiolation Earring",
  278.     right_ear={ name="Moonshade Earring", augments={'MP+25','Latent effect: "Refresh"+1',}},
  279.     left_ring="Weather. Ring",
  280.     right_ring="Defending Ring",
  281.     back="Perimede Cape",
  282. }
  283.         sets['PreEnhance'] ={
  284.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','"Refresh"+1',}},
  285.     sub={ name="Beatific Shield +1", augments={'Phys. dmg. taken -4%','HP+25 MP+25','Magic dmg. taken -2%',}},
  286.     ammo="Impatiens",
  287.     head={ name="Amalric Coif", augments={'MP+60','Mag. Acc.+15','"Mag.Atk.Bns."+15',}},
  288.     body={ name="Dalmatica", augments={'Occ. quickens spellcasting +2%','"Mag.Atk.Bns."+3','"Fast Cast"+4',}},
  289.     hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  290.     legs={ name="Psycloth Lappas", augments={'MP+80','Mag. Acc.+15','"Fast Cast"+7',}},
  291.     feet={ name="Merlinic Crackows", augments={'"Mag.Atk.Bns."+30','"Fast Cast"+6','MND+10',}},
  292.     neck="Loricate Torque +1",
  293.     waist="Emphatikos Rope",
  294.     left_ear="Etiolation Earring",
  295.     right_ear={ name="Moonshade Earring", augments={'MP+25','Latent effect: "Refresh"+1',}},
  296.     left_ring="Weather. Ring",
  297.     right_ring="Defending Ring",
  298.     back="Perimede Cape",
  299. }
  300.         sets['Enhancing'] ={ main={ name="Grioavolr", augments={'Enh. Mag. eff. dur. +10','INT+10',}},
  301.     sub="Fulcio Grip",
  302.     ammo="Hasty Pinion +1",
  303.     head="Befouled Crown",
  304.     body={ name="Viti. Tabard +1", augments={'Enhances "Chainspell" effect',}},
  305.     hands={ name="Viti. Gloves +1", augments={'Enhances "Phalanx II" effect',}},
  306.     legs="Shedir Seraweels",
  307.     feet="Leth. Houseaux +1",
  308.     neck="Incanter's Torque",
  309.     waist="Olympus Sash",
  310.     left_ear="Augment. Earring",
  311.     right_ear="Andoaa Earring",
  312.     left_ring="Prolix Ring",
  313.     right_ring="Shiva Ring +1",
  314.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  315. }
  316.  
  317.        
  318.         sets['Drain'] = set_combine(sets['MAB'], {waist="Fucho-no-obi"})
  319.  
  320.         sets['Chainspell'] = set_combine(sets['DT'], {body="Vitivation Tabard +1"})
  321.        
  322.              
  323.          
  324.         sets['Saboteur'] = {hands="Lethargy Gantherots +1"}
  325.        
  326.          sets['Composure'] ={main={ name="Grioavolr", augments={'Enh. Mag. eff. dur. +10','INT+10',}},
  327.     sub="Fulcio Grip",
  328.     ammo="Hasty Pinion +1",
  329.     head="Leth. Chappel +1",
  330.     body="Lethargy Sayon +1",
  331.     hands="Atrophy Gloves +1",
  332.     legs="Leth. Fuseau +1",
  333.     feet="Leth. Houseaux +1",
  334.     neck="Orunmila's Torque",
  335.     waist="Phos Belt +1",
  336.     left_ear="Enchntr. Earring +1",
  337.     right_ear="Loquac. Earring",
  338.     left_ring="Weather. Ring",
  339.     right_ring="Prolix Ring",
  340.      back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  341. }
  342.  
  343.    
  344.  sets['Composureref'] ={main={ name="Grioavolr", augments={'Enh. Mag. eff. dur. +10','INT+10',}},
  345.     sub="Fulcio Grip",
  346.     ammo="Hasty Pinion +1",
  347.     head="Amalric Coif",
  348.     body="Lethargy Sayon +1",
  349.     hands="Atrophy Gloves +1",
  350.     legs="Leth. Fuseau +1",
  351.     feet="Leth. Houseaux +1",
  352.     neck="Orunmila's Torque",
  353.     waist="Phos Belt +1",
  354.     left_ear="Enchntr. Earring +1",
  355.     right_ear="Loquac. Earring",
  356.     left_ring="Weather. Ring",
  357.     right_ring="Prolix Ring",
  358.      back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  359.    
  360. }
  361.  
  362.         sets['Stun'] = {
  363.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  364.     sub="Niobid Strap",
  365.     ammo="Pemphredo Tathlum",
  366.     head={ name="Amalric Coif", augments={'MP+60','Mag. Acc.+15','"Mag.Atk.Bns."+15',}},
  367.     body={ name="Merlinic Jubbah", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','MND+3','Mag. Acc.+11','"Mag.Atk.Bns."+15',}},
  368.     hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  369.     legs={ name="Psycloth Lappas", augments={'MP+80','Mag. Acc.+15','"Fast Cast"+7',}},
  370.     feet={ name="Merlinic Crackows", augments={'"Mag.Atk.Bns."+30','"Fast Cast"+6','MND+10',}},
  371.     neck="Orunmila's Torque",
  372.     waist="Ninurta's Sash",
  373.     left_ear="Enchntr. Earring +1",
  374.     right_ear="Digni. Earring",
  375.     left_ring="Weather. Ring",
  376.     right_ring="Sangoma Ring",
  377.      back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  378.    
  379. }
  380.  
  381.         sets['Stoneskin'] = {
  382.    main={ name="Grioavolr", augments={'Enh. Mag. eff. dur. +10','INT+10',}},
  383.     sub="Fulcio Grip",
  384.     ammo="Hasty Pinion +1",
  385.     head="Befouled Crown",
  386.     body={ name="Viti. Tabard +1", augments={'Enhances "Chainspell" effect',}},
  387.     hands="Stone Mufflers",
  388.     legs="Shedir Seraweels",
  389.     feet="Leth. Houseaux +1",
  390.     neck="Nodens Gorget",
  391.     waist="Siegel Sash",
  392.     left_ear="Earthcry Earring",
  393.     right_ear="Loquac. Earring",
  394.     left_ring="Weather. Ring",
  395.     right_ring="Prolix Ring",
  396.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  397. }
  398.        
  399.         sets['Prestone'] = set_combine(sets['PreEnhance'], {ring1="Weatherspoon Ring"})
  400.        
  401.         sets['Aquaveil'] = {main={ name="Grioavolr", augments={'Enh. Mag. eff. dur. +10','INT+10',}},
  402.     sub="Fulcio Grip",
  403.     ammo="Hasty Pinion +1",
  404.     head={ name="Amalric Coif", augments={'INT+10','Mag. Acc.+20','Enmity-5',}},
  405.     body={ name="Viti. Tabard +1", augments={'Enhances "Chainspell" effect',}},
  406.     hands="Atrophy Gloves +1",
  407.     legs="Shedir Seraweels",
  408.     feet="Leth. Houseaux +1",
  409.     neck="Incanter's Torque",
  410.     waist="Emphatikos Rope",
  411.     left_ear="Augment. Earring",
  412.     right_ear="Andoaa Earring",
  413.     left_ring="Weather. Ring",
  414.     right_ring="Prolix Ring",
  415.    back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  416. }
  417.        
  418.         sets['Duration'] ={ back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  419. feet="Lethargy Houseaux +1", hands="Atrophy gloves +1",main={ name="Grioavolr", augments={'Enh. Mag. eff. dur. +10','INT+10',}},
  420.     sub="Fulcio Grip",}
  421.        
  422.         sets['Haste'] = {
  423.    main={ name="Grioavolr", augments={'Enh. Mag. eff. dur. +10','INT+10',}},
  424.     sub="Fulcio Grip",
  425.     ammo="Hasty Pinion +1",
  426.     head="Atro. Chapeau +1",
  427.     body={ name="Viti. Tabard +1", augments={'Enhances "Chainspell" effect',}},
  428.     hands="Atrophy Gloves +1",
  429.     legs={ name="Psycloth Lappas", augments={'MP+80','Mag. Acc.+15','System: 2 ID: 180 Val: 6',}},
  430.     feet="Leth. Houseaux +1",
  431.     neck="Orunmila's Torque",
  432.     waist="Witful Belt",
  433.     left_ear="Enchntr. Earring +1",
  434.     right_ear="Loquac. Earring",
  435.     left_ring="Weather. Ring",
  436.     right_ring="Lebeche Ring",
  437.    back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  438.  
  439. }
  440.        
  441.         sets['Resting']= {
  442.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','System: 2 ID: 125 Val: 0',}},
  443.     sub={ name="Beatific Shield +1", augments={'Phys. dmg. taken -4%','HP+25 MP+25','Magic dmg. taken -2%',}},
  444.     ammo="Homiliary",
  445.     head={ name="Viti. Chapeau +1", augments={'Enhances "Dia III" effect','Enhances "Slow II" effect',}},
  446.     body={ name="Witching Robe", augments={'MP+50','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Refresh"+1',}},
  447.     hands={ name="Merlinic Dastanas", augments={'System: 1 ID: 1792 Val: 6','CHR+6','"Refresh"+2','Accuracy+6 Attack+6',}},
  448.     legs="Nares Trews",
  449.     feet={ name="Merlinic Crackows", augments={'Pet: Mag. Acc.+4','Magic dmg. taken -2%','"Refresh"+1',}},
  450.     neck="Loricate Torque +1",
  451.     waist="Fucho-no-Obi",
  452.     left_ear="Etiolation Earring",
  453.     right_ear={ name="Moonshade Earring", augments={'MP+25','Latent effect: "Refresh"+1',}},
  454.     left_ring={ name="Dark Ring", augments={'Magic dmg. taken -4%','Phys. dmg. taken -6%',}},
  455.     right_ring="Defending Ring",
  456.     back="Umbra cape",
  457. }
  458.  
  459.        
  460.        
  461.         sets['Refresh'] = {
  462.    main={ name="Grioavolr", augments={'Enh. Mag. eff. dur. +10','INT+10',}},
  463.     sub="Fulcio Grip",
  464.     ammo="Hasty Pinion +1",
  465.     head="Amalric Coif",
  466.     body={ name="Viti. Tabard +1", augments={'Enhances "Chainspell" effect',}},
  467.     hands="Atrophy Gloves +1",
  468.     legs="Leth. Fuseau +1",
  469.     feet="Leth. Houseaux +1",
  470.     neck="Orunmila's Torque",
  471.     waist="Witful Belt",
  472.     left_ear="Enchntr. Earring +1",
  473.     right_ear="Loquac. Earring",
  474.     left_ring="Weather. Ring",
  475.     right_ring="Prolix Ring",
  476.    back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  477.  
  478. }
  479.        
  480.         sets['Prenf'] ={
  481.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','"Refresh"+1',}},
  482.     sub={ name="Beatific Shield +1", augments={'Phys. dmg. taken -4%','HP+25 MP+25','Magic dmg. taken -2%',}},
  483.     ammo="Impatiens",
  484.     head={ name="Amalric Coif", augments={'MP+60','Mag. Acc.+15','"Mag.Atk.Bns."+15',}},
  485.     body={ name="Dalmatica", augments={'Occ. quickens spellcasting +2%','"Mag.Atk.Bns."+3','"Fast Cast"+4',}},
  486.     hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  487.     legs={ name="Psycloth Lappas", augments={'MP+80','Mag. Acc.+15','"Fast Cast"+7',}},
  488.     feet={ name="Merlinic Crackows", augments={'"Mag.Atk.Bns."+30','"Fast Cast"+6','MND+10',}},
  489.     neck="Loricate Torque +1",
  490.     waist="Emphatikos Rope",
  491.     left_ear="Etiolation Earring",
  492.     right_ear={ name="Moonshade Earring", augments={'MP+25','Latent effect: "Refresh"+1',}},
  493.     left_ring="Weather. Ring",
  494.     right_ring="Defending Ring",
  495.     back="Perimede Cape",
  496. }
  497.         sets['FULLACC'] = {
  498.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  499.     sub="Mephitis Grip",
  500.     ammo="Pemphredo Tathlum",
  501.     head={ name="Merlinic Hood", augments={'Mag. Acc.+25 "Mag.Atk.Bns."+25','Mag. crit. hit dmg. +10%','MND+2','Mag. Acc.+7','"Mag.Atk.Bns."+15',}},
  502.     body={ name="Merlinic Jubbah", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','MND+3','Mag. Acc.+11','"Mag.Atk.Bns."+15',}},
  503.     hands="Leth. Gantherots +1",
  504.     legs={ name="Chironic Hose", augments={'Mag. Acc.+24 "Mag.Atk.Bns."+24','"Cure" potency +2%','INT+2','Mag. Acc.+12','"Mag.Atk.Bns."+3',}},
  505.     feet={ name="Medium's Sabots", augments={'MP+45','MND+9','"Conserve MP"+5','"Cure" potency +4%',}},
  506.     neck="Incanter's Torque",
  507.     waist="Luminary Sash",
  508.     left_ear="Enchntr. Earring +1",
  509.     right_ear="Digni. Earring",
  510.     left_ring="Weather. Ring",
  511.     right_ring="Sangoma Ring",
  512.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  513. }
  514.        
  515.        
  516.         sets['Enfeebling'] = {
  517.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  518.     sub="Mephitis Grip",
  519.     ammo="Pemphredo Tathlum",
  520.     head={ name="Merlinic Hood", augments={'Mag. Acc.+25 "Mag.Atk.Bns."+25','Mag. crit. hit dmg. +10%','MND+2','Mag. Acc.+7','"Mag.Atk.Bns."+15',}},
  521.     body={ name="Merlinic Jubbah", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','MND+3','Mag. Acc.+11','"Mag.Atk.Bns."+15',}},
  522.     hands="Leth. Gantherots +1",
  523.     legs={ name="Chironic Hose", augments={'Mag. Acc.+24 "Mag.Atk.Bns."+24','"Cure" potency +2%','INT+2','Mag. Acc.+12','"Mag.Atk.Bns."+3',}},
  524.     feet={ name="Medium's Sabots", augments={'MP+45','MND+9','"Conserve MP"+5','"Cure" potency +4%',}},
  525.     neck="Incanter's Torque",
  526.     waist="Luminary Sash",
  527.     left_ear="Enchntr. Earring +1",
  528.     right_ear="Digni. Earring",
  529.     left_ring="Weather. Ring",
  530.     right_ring="Sangoma Ring",
  531.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  532. }
  533.        
  534.         sets['EnfeeblingINT'] ={
  535.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  536.     sub="Mephitis Grip",
  537.     ammo="Pemphredo Tathlum",
  538.     head={ name="Merlinic Hood", augments={'Mag. Acc.+25 "Mag.Atk.Bns."+25','Mag. crit. hit dmg. +10%','MND+2','Mag. Acc.+7','"Mag.Atk.Bns."+15',}},
  539.     body={ name="Merlinic Jubbah", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','MND+3','Mag. Acc.+11','"Mag.Atk.Bns."+15',}},
  540.     hands="Leth. Gantherots +1",
  541.     legs={ name="Chironic Hose", augments={'Mag. Acc.+24 "Mag.Atk.Bns."+24','"Cure" potency +2%','INT+2','Mag. Acc.+12','"Mag.Atk.Bns."+3',}},
  542.     feet={ name="Medium's Sabots", augments={'MP+45','MND+9','"Conserve MP"+5','"Cure" potency +4%',}},
  543.     neck="Incanter's Torque",
  544.     waist="Luminary Sash",
  545.     left_ear="Enchntr. Earring +1",
  546.     right_ear="Digni. Earring",
  547.     left_ring="Weather. Ring",
  548.     right_ring="Sangoma Ring",
  549.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  550. }
  551.        
  552.         sets['FULLMND']  ={
  553.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  554.     sub="Achaq Grip",
  555.     ammo="Quartz Tathlum +1",
  556.     head="Befouled Crown",
  557.     body={ name="Vanya Robe", augments={'MND+10','Spell interruption rate down +15%','"Conserve MP"+6',}},
  558.     hands="Leth. Gantherots +1",
  559.     legs={ name="Chironic Hose", augments={'Mag. Acc.+30','Enmity-2','MND+10','"Mag.Atk.Bns."+7',}},
  560.     feet={ name="Uk'uxkaj Boots", augments={'Phys. dmg. taken -2%','Magic dmg. taken -2%','MND+8',}},
  561.     neck="Imbodla Necklace",
  562.     waist="Cascade Belt",
  563.     left_ear="Psystorm Earring",
  564.     right_ear="Lifestorm Earring",
  565.     left_ring="Levia. Ring +1",
  566.     right_ring="Levia. Ring +1",
  567.     back="Aurist's Cape +1",
  568. }
  569.        
  570.        
  571.         sets['WS'] =  {
  572.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  573.     sub="Mephitis Grip",
  574.     ammo="Quartz Tathlum +1",
  575.     head={ name="Viti. Chapeau +1", augments={'Enhances "Dia III" effect','Enhances "Slow II" effect',}},
  576.     body={ name="Vanya Robe", augments={'MND+10','Spell interruption rate down +15%','"Conserve MP"+6',}},
  577.     hands="Leth. Gantherots +1",
  578.     legs={ name="Chironic Hose", augments={'Mag. Acc.+24 "Mag.Atk.Bns."+24','"Cure" potency +2%','INT+2','Mag. Acc.+12','"Mag.Atk.Bns."+3',}},
  579.     feet={ name="Medium's Sabots", augments={'MP+45','MND+9','"Conserve MP"+5','"Cure" potency +4%',}},
  580.     neck="Incanter's Torque",
  581.     waist="Rumination Sash",
  582.     left_ear="Gwati Earring",
  583.     right_ear="Digni. Earring",
  584.     left_ring="Weather. Ring",
  585.     right_ring="Sangoma Ring",
  586.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  587. }
  588.        
  589.         sets['FULLINT'] = {
  590.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  591.     sub="Wizzan Grip",
  592.     ammo="Pemphredo Tathlum",
  593.     head={ name="Amalric Coif", augments={'INT+10','Mag. Acc.+20','Enmity-5',}},
  594.     body="Lethargy Sayon +1",
  595.     hands={ name="Amalric Gages", augments={'INT+10','Mag. Acc.+15','"Mag.Atk.Bns."+15',}},
  596.     legs={ name="Chironic Hose", augments={'Mag. Acc.+30','Enmity-2','MND+10','"Mag.Atk.Bns."+7',}},
  597.     feet={ name="Uk'uxkaj Boots", augments={'Phys. dmg. taken -2%','Magic dmg. taken -2%','MND+8',}},
  598.     neck="Imbodla Necklace",
  599.     waist="Channeler's Stone",
  600.     left_ear="Psystorm Earring",
  601.     right_ear="Lifestorm Earring",
  602.     left_ring="Shiva Ring +1",
  603.     right_ring="Shiva Ring +1",
  604.    back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  605. }
  606.        
  607.         sets['HYBRIDINT'] = {
  608.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  609.     sub="Mephitis Grip",
  610.     ammo="Quartz Tathlum +1",
  611.     head={ name="Viti. Chapeau +1", augments={'Enhances "Dia III" effect','Enhances "Slow II" effect',}},
  612.     body={ name="Vanya Robe", augments={'MND+10','Spell interruption rate down +15%','"Conserve MP"+6',}},
  613.     hands="Leth. Gantherots +1",
  614.     legs={ name="Chironic Hose", augments={'Mag. Acc.+24 "Mag.Atk.Bns."+24','"Cure" potency +2%','INT+2','Mag. Acc.+12','"Mag.Atk.Bns."+3',}},
  615.     feet={ name="Medium's Sabots", augments={'MP+45','MND+9','"Conserve MP"+5','"Cure" potency +4%',}},
  616.     neck="Incanter's Torque",
  617.     waist="Rumination Sash",
  618.     left_ear="Gwati Earring",
  619.     right_ear="Digni. Earring",
  620.     left_ring="Weather. Ring",
  621.     right_ring="Sangoma Ring",
  622.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  623. }
  624.        
  625.         sets['HYBRIDMND'] ={
  626.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  627.     sub="Mephitis Grip",
  628.     ammo="Quartz Tathlum +1",
  629.     head={ name="Viti. Chapeau +1", augments={'Enhances "Dia III" effect','Enhances "Slow II" effect',}},
  630.     body={ name="Vanya Robe", augments={'MND+10','Spell interruption rate down +15%','"Conserve MP"+6',}},
  631.     hands="Leth. Gantherots +1",
  632.     legs={ name="Chironic Hose", augments={'Mag. Acc.+24 "Mag.Atk.Bns."+24','"Cure" potency +2%','INT+2','Mag. Acc.+12','"Mag.Atk.Bns."+3',}},
  633.     feet={ name="Medium's Sabots", augments={'MP+45','MND+9','"Conserve MP"+5','"Cure" potency +4%',}},
  634.     neck="Incanter's Torque",
  635.     waist="Rumination Sash",
  636.     left_ear="Gwati Earring",
  637.     right_ear="Digni. Earring",
  638.     left_ring="Weather. Ring",
  639.     right_ring="Sangoma Ring",
  640.     back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  641. }
  642.        
  643.              
  644.                
  645.        
  646.         sets['Impact'] ={
  647.     main={ name="Grioavolr", augments={'Enfb.mag. skill +12','Mag. Acc.+27','"Mag.Atk.Bns."+15',}},
  648.     sub="Niobid Strap",
  649.     ammo="Pemphredo Tathlum",
  650.     body="Twilight Cloak",
  651.     hands={ name="Amalric Gages", augments={'INT+10','Mag. Acc.+15','"Mag.Atk.Bns."+15',}},
  652.     legs={ name="Merlinic Shalwar", augments={'Mag. Acc.+23 "Mag.Atk.Bns."+23','"Conserve MP"+4','Mag. Acc.+13','"Mag.Atk.Bns."+15',}},
  653.     feet={ name="Amalric Nails", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+15','System: 2 ID: 177 Val: 5',}},
  654.     neck="Imbodla Necklace",
  655.     waist="Yamabuki-no-Obi",
  656.     left_ear="Dignitary's Earring",
  657.     right_ear="Friomisi Earring",
  658.     left_ring="Shiva Ring +1",
  659.     right_ring="Shiva Ring +1",
  660.    back={ name="Sucellos's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  661. }
  662.        
  663.        
  664.  
  665.         sets['PreCureSet'] = {
  666.     main={ name="Emissary", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+20','"Refresh"+1',}},
  667.     sub={ name="Beatific Shield +1", augments={'Phys. dmg. taken -4%','HP+25 MP+25','Magic dmg. taken -2%',}},
  668.     ammo="Impatiens",
  669.     head={ name="Amalric Coif", augments={'MP+60','Mag. Acc.+15','"Mag.Atk.Bns."+15',}},
  670.     body={ name="Dalmatica", augments={'Occ. quickens spellcasting +2%','"Mag.Atk.Bns."+3','"Fast Cast"+4',}},
  671.     hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  672.     legs={ name="Psycloth Lappas", augments={'MP+80','Mag. Acc.+15','"Fast Cast"+7',}},
  673.     feet={ name="Merlinic Crackows", augments={'"Mag.Atk.Bns."+30','"Fast Cast"+6','MND+10',}},
  674.     neck="Loricate Torque +1",
  675.     waist="Emphatikos Rope",
  676.     left_ear="Etiolation Earring",
  677.     right_ear={ name="Moonshade Earring", augments={'MP+25','Latent effect: "Refresh"+1',}},
  678.     left_ring="Weather. Ring",
  679.     right_ring="Defending Ring",
  680.     back="Perimede Cape",
  681. }
  682.         sets['CureSet'] = {
  683.     main={ name="Tamaxchi", augments={'Mag. Acc.+30','System: 1 ID: 356 Val: 4',}},
  684.     sub="Matamata Shield +1",
  685.     ammo="Quartz Tathlum +1",
  686.     head={ name="Gende. Caubeen +1", augments={'Phys. dmg. taken -3%','Magic dmg. taken -4%','"Cure" potency +5%',}},
  687.     body={ name="Viti. Tabard +1", augments={'Enhances "Chainspell" effect',}},
  688.     hands="Revealer's Mitts",
  689.     legs="Atrophy Tights +1",
  690.     feet="Rubeus Boots",
  691.     neck="Incanter's Torque",
  692.     waist="Bishop's Sash",
  693.     left_ear="Lifestorm Earring",
  694.     right_ear="Beatific Earring",
  695.     left_ring="Sirona's Ring",
  696.     right_ring="Haoma's Ring",
  697.     back="Vates Cape +1",
  698. }
  699.        
  700.  
  701.        
  702.         sets['Curaga'] = {
  703.     main={ name="Tamaxchi", augments={'Mag. Acc.+30','System: 1 ID: 356 Val: 4',}},
  704.     sub="Matamata Shield +1",
  705.     ammo="Quartz Tathlum +1",
  706.     head={ name="Gende. Caubeen +1", augments={'Phys. dmg. taken -3%','Magic dmg. taken -4%','"Cure" potency +5%',}},
  707.     body={ name="Viti. Tabard +1", augments={'Enhances "Chainspell" effect',}},
  708.     hands="Revealer's Mitts",
  709.     legs="Atrophy Tights +1",
  710.     feet="Rubeus Boots",
  711.     neck="Incanter's Torque",
  712.     waist="Bishop's Sash",
  713.     left_ear="Lifestorm Earring",
  714.     right_ear="Beatific Earring",
  715.     left_ring="Sirona's Ring",
  716.     right_ring="Haoma's Ring",
  717.     back="Vates Cape +1",
  718. }
  719.        
  720.         sets['CureArc'] = {
  721.     main={ name="Tamaxchi", augments={'Mag. Acc.+30','System: 1 ID: 356 Val: 4',}},
  722.     sub="Matamata Shield +1",
  723.     ammo="Quartz Tathlum +1",
  724.     head={ name="Gende. Caubeen +1", augments={'Phys. dmg. taken -3%','Magic dmg. taken -4%','"Cure" potency +5%',}},
  725.     body={ name="Viti. Tabard +1", augments={'Enhances "Chainspell" effect',}},
  726.     hands="Revealer's Mitts",
  727.     legs="Atrophy Tights +1",
  728.     feet="Rubeus Boots",
  729.     neck="Incanter's Torque",
  730.     waist="Bishop's Sash",
  731.     left_ear="Lifestorm Earring",
  732.     right_ear="Beatific Earring",
  733.     left_ring="Sirona's Ring",
  734.     right_ring="Haoma's Ring",
  735.     back="Vates Cape +1",
  736. }
  737.        
  738.  
  739.         sets['Regen'] = set_combine(sets['Haste'], {main="Bolelabunga",sub="Thuellaic ecu +1", waist="Phos belt +1"})
  740.        
  741.         sets['Enspells'] = set_combine(sets['Enhancing'], {main="Egeking",back={ name="Ghostfyre Cape", augments={'Enfb.mag. skill +10','Enha.mag. skill +6','Mag. Acc.+4','Enh. Mag. eff. dur. +20',}}})
  742.        
  743.         sets['Phalanx'] = set_combine(sets['Enhancing'], {main="Egeking"})
  744.        
  745.         sets['Hastecast'] = {main={ name="Grioavolr", augments={'Enh. Mag. eff. dur. +10','INT+10',}},
  746.     sub="Fulcio Grip",
  747.     ammo="Hasty Pinion +1",
  748.     head="Atro. Chapeau +1",
  749.     body={ name="Viti. Tabard +1", augments={'Enhances "Chainspell" effect',}},
  750.     hands={ name="Gende. Gages +1", augments={'Phys. dmg. taken -3%','"Cure" potency +5%',}},
  751.     legs={ name="Psycloth Lappas", augments={'MP+80','Mag. Acc.+15','System: 2 ID: 180 Val: 6',}},
  752.     feet={ name="Amalric Nails", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+15','System: 2 ID: 177 Val: 5',}},
  753.     neck="Orunmila's Torque",
  754.     waist="Phos Belt +1",
  755.     left_ear="Enchntr. Earring +1",
  756.     right_ear="Loquac. Earring",
  757.     left_ring="Weather. Ring",
  758.     right_ring="Prolix Ring",
  759.     back="Swith Cape +1",
  760. }
  761.        
  762. end
  763.  
  764. function precast(spell,action)
  765.     if spell.type == 'JobAbility' then
  766.         if sets[spell.english] then
  767.             equip(sets[spell.english])
  768.         end
  769.     elseif spell.type == 'WeaponSkill' then
  770.         if spell.target.distance > 10 or player.tp < 900 then
  771.             cancel_spell()
  772.             return
  773.         end
  774.  
  775.         windower.add_to_chat(050, '['..spell.name..'] '..spell.target.name..' <'..player.tp..'%>')
  776.         if spell.english == "Sanguine Blade" then
  777.             equip(sets['MAGICALWS'])
  778.         else
  779.             equip(sets['WS'])
  780.         end
  781.     elseif spell.type == 'WhiteMagic' then
  782.         if string.find(spell.english,'Cur') then
  783.             equip(sets['PreCureSet'])                                      
  784.         else
  785.             if spell.english == 'Stoneskin' then
  786.                 equip(sets['Prestone'])
  787.             elseif spell.skill == 'Enhancing Magic' then
  788.                 equip(sets['PreEnhance'])
  789.             elseif spell.skill == 'Enfeebling Magic' then
  790.                 equip(sets['Prenf'])
  791.             else
  792.                 equip(sets['Precast'])
  793.             end
  794.         end
  795.     elseif spell.type == 'BlackMagic' then
  796.         if spell.english == 'Impact' then
  797.             equip(sets['Impact'])
  798.         elseif spell.english == 'Stun' then
  799.             equip(sets['Stun'])
  800.         elseif spell.skill == 'Enfeebling Magic' then
  801.             equip(sets['Prenf'])
  802.         elseif spell.skill == 'Elemental Magic' then
  803.             equip(sets['preMAB'])
  804.         else
  805.             equip(sets['Precast'])
  806.         end
  807.     elseif spell.type == 'Ninjutsu' then
  808.         equip(sets['Hastecast'])
  809.     end
  810. end
  811.  
  812. function midcast(spell,action)
  813.     if spell.type == 'WhiteMagic' then
  814.         if spell.english:startswith('Cure') then
  815.             if spell.target.type == 'SELF' then
  816.                 equip(sets['CureArc'])
  817.             else
  818.                 equip(sets['CureSet'])
  819.             end
  820.         elseif spell.english:startswith('Cura') then
  821.             equip(sets['Curaga'])
  822.         else
  823.             if buffactive['Composure'] and spell.target.type == 'PLAYER' then
  824.                 if spell.skill == 'Enhancing Magic' then
  825.                     if spell.english:startswith('Haste') then
  826.                         equip(sets['Composure'])
  827.                     elseif spell.english:find('Regen') then
  828.                         equip(sets['Composure'])
  829.                     elseif spell.english:find('Flurry') then
  830.                         equip(sets['Composure'])
  831.                     elseif spell.english:startswith('Refresh') then
  832.                         equip(sets['Composureref'])
  833.                     else
  834.                         equip(sets['Enhancing'])
  835.                     end
  836.                 else
  837.                     equip(sets['Hastecast'])
  838.                 end
  839.            
  840.             else
  841.                 if spell.skill == 'Enhancing Magic' then
  842.                     if spell.english == 'Stoneskin' then
  843.                         equip(sets['Stoneskin'])
  844.                     elseif spell.english:find('Regen') then
  845.                         equip(sets['Regen'])
  846.                     elseif spell.english:find('Phalanx') then
  847.                         equip(sets['Phalanx'])
  848.                     elseif spell.english:find('En') then
  849.                         equip(sets['Enspells'])
  850.                     elseif spell.english:find('Aquaveil') then
  851.                         equip(sets['Aquaveil'])
  852.                     elseif spell.english:find('Refresh') then
  853.                         equip(sets['Refresh'])
  854.                     elseif spell.english:find('Haste') or spell.english:find('Flurry') then
  855.                         equip(sets['Haste'])
  856.                     else
  857.                         equip(sets['Enhancing'])
  858.                     end
  859.                 elseif spell.english:find('Dia') then
  860.                     equip(sets['FULLMND'])
  861.                 elseif spell.skill == 'Enfeebling Magic' then
  862.                     if magicacc == 0 or magicacc == 4 then
  863.                         if spell.element == world.day_element then
  864.                             equip(set_combine(sets['Enfeebling'], {legs="Chironic hose"}))
  865.                         else
  866.                             equip(sets['Enfeebling'])
  867.                         end
  868.                     elseif magicacc == 1 then
  869.                         if spell.element == world.day_element then
  870.                             equip(set_combine(sets['HYBRIDMND'], {legs="Chironic hose"}))
  871.                         else
  872.                             equip(sets['HYBRIDMND'])
  873.                         end
  874.                     elseif magicacc == 2 then
  875.                         equip(sets['FULLMND'])
  876.                     elseif magicacc == 3 then
  877.                         if spell.element == world.day_element then
  878.                             equip(set_combine(sets['FULLACC'], {legs="Chironic hose"}))
  879.                         else
  880.                             equip(sets['FULLACC'])
  881.                         end
  882.                     end
  883.                 else
  884.                     equip(sets['Stun'])
  885.                 end
  886.             end
  887.         end
  888.     elseif spell.english:startswith('Utsu') then
  889.         equip(sets['Hastecast'])
  890.     elseif spell.type == 'BlackMagic' then
  891.         if spell.english == 'Impact' then
  892.             equip(sets['Impact'])
  893.         elseif string.find(spell.english,'Spikes') then
  894.             equip(sets['Spikes'])
  895.         elseif spell.english == 'Stun' then
  896.             equip(sets['Stun'])
  897.         elseif spell.english:sub(-5) == 'helix' or spell.english == 'Kaustra' then
  898.             equip(sets['MAB'])
  899.         elseif spell.english == 'Drain' or spell.english == 'Drain II' or spell.english == 'Aspir' or spell.english == 'Aspir II' then
  900.             equip(sets['Drain'])
  901.         elseif spell.skill == 'Enfeebling Magic' then
  902.                     if magicacc == 0 or magicacc == 4 then
  903.                         if spell.element == world.day_element then
  904.                             equip(set_combine(sets['Enfeebling'], {legs="Chironic hose"}))
  905.                         else
  906.                             equip(sets['Enfeebling'])
  907.                         end
  908.                     elseif magicacc == 1 then
  909.                         if spell.element == world.day_element then
  910.                             equip(set_combine(sets['EnfeeblingINT'], {legs="Chironic hose"}))
  911.                         else
  912.                             equip(sets['EnfeeblingINT'])
  913.                         end
  914.                     elseif magicacc == 2 then
  915.                         equip(sets['FULLINT'])
  916.                     elseif magicacc == 3 then
  917.                         if spell.element == world.day_element then
  918.                             equip(set_combine(sets['FULLACC'], {legs="Chironic hose"}))
  919.                         else
  920.                             equip(sets['FULLACC'])
  921.                         end
  922.                     end
  923.         elseif spell.skill == 'Elemental Magic' and (magicacc == 0 or magicacc == 3) then
  924.             equip(sets['MABACC'])
  925.         elseif spell.skill == 'Elemental Magic'  and magicacc == 1 then
  926.             equip(sets['MAB'])
  927.         elseif spell.skill == 'Elemental Magic'  and magicacc == 2 then
  928.             equip(sets['MABFULL'])
  929.             elseif spell.skill == 'Elemental Magic'  and magicacc == 4 then
  930.             equip(sets['MAGICBURST'])
  931.  
  932.  
  933.  
  934.         end
  935.     end
  936.     if spell.element == world.weather_element or spell.element == world.day_element or
  937.         (spell.element == 'Lightning' and buffactive['Thunderstorm']) or
  938.         (spell.element == 'Ice' and buffactive['Hailstorm']) or
  939.         (spell.element == 'Water' and buffactive['Rainstorm']) or
  940.         (spell.element == 'Fire' and buffactive['Firestorm']) or
  941.         (spell.element == 'Earth' and buffactive['Sandstorm']) or
  942.         (spell.element == 'Wind' and buffactive['Windstorm']) or
  943.         (spell.element == 'Light' and buffactive['Aurorastorm']) or
  944.         (spell.element == 'Dark' and buffactive['Voidstorm'])  then
  945.  
  946.         if spell.skill == 'Elemental Magic' and spell.english:sub(-5) ~= 'helix' then
  947.             equip(sets[spell.element])
  948.         elseif string.find(spell.english,'Cure') then
  949.             equip({back="Twilight Cape"},sets[spell.element])
  950.         end
  951.     end
  952. end
  953.  
  954. function aftercast(spell,action)
  955.     arcaniz_sch_idle()
  956.    
  957.     if not spell.interrupted then
  958.         if spell.english == 'Sleep' or spell.english == 'Sleepga' then
  959.             send_command('@wait 55;input /echo ------- '..spell.english..' is wearing off in 5 seconds -------')
  960.         elseif spell.english == 'Sleep II' or spell.english == 'Sleepga II' then
  961.             send_command('@wait 85;input /echo ------- '..spell.english..' is wearing off in 5 seconds -------')
  962.         elseif spell.english == 'Break' or spell.english == 'Breakga' then
  963.             send_command('@wait 25;input /echo ------- '..spell.english..' is wearing off in 5 seconds -------')
  964.         end
  965.     end
  966. end
  967.  
  968. function status_change(new,old)
  969.     arcaniz_sch_idle()
  970. end
  971.  
  972. function buff_change(buff,gain_or_loss)
  973.     if buff == 'Encumbered' and not gain_or_loss then
  974.         arcaniz_sch_idle()
  975.         windower.add_to_chat(050,"Encumbered status lost.")
  976.     end
  977. end
  978.  
  979. function arcaniz_sch_idle()
  980.     if player.status == 'Resting' then
  981.         equip(sets['Resting'])
  982.     else
  983.         --windower.add_to_chat(050,"Bolelabunga idle")
  984.         equip(sets['Idle'],sets['BolelabungaSet'])
  985.     end
  986.     if world.area == 'Nyzul Isle' or world.area == 'Alzadaal Undersea Ruins' or world.area == 'Zhayolm Remnants' or world.area == 'Arrapago Remnants' or world.area == 'Bhaflau Remnants' or world.area == 'Silver Sea Remnants' then
  987.         equip({ring2 = "Balrahn's Ring", back= "Umbra Cape"})
  988.     end
  989.     if contador == 1 then
  990.         equip(sets['DT'])
  991.         end
  992.         if contador == 2 then
  993.         equip(sets['MDT'])
  994.     end
  995. end
  996.  
  997.  
  998.  
  999. function self_command(command)
  1000.     if command == 'c7' then -- PDT Toggle --
  1001.         equip(sets['DT'])
  1002.         add_to_chat(158,'PDT Set: [on]')
  1003.     elseif command == 'c6' then -- PDT Toggle --
  1004.         equip(sets['MDT'])
  1005.         contador = 2
  1006.         add_to_chat(158,'MDT 100% IDLE: [on]')
  1007.     elseif command == 'c8' then -- PDT Toggle --
  1008.         equip(sets['Runaway'])
  1009.         add_to_chat(158,'Runaway Set: [on]')
  1010.     elseif command == 'aumenta' then -- PDT Toggle --
  1011.         equip(sets['Idle'])
  1012.         contador = 0
  1013.         add_to_chat(158,'REFRESH: IDLE [on]')
  1014.     elseif command == 'reduce' then -- PDT Toggle --
  1015.         contador = 1
  1016.         add_to_chat(158,'PDT 100% IDLE: [on]')
  1017.         equip(sets['DT'])
  1018.     elseif command == "magicacc1" then
  1019.         magicacc = 1
  1020.         add_to_chat(158,'MAGIC ACCURACY: [LV1 HYBRID]')
  1021.     elseif command == "magicacc2" then
  1022.         magicacc = 2
  1023.         add_to_chat(158,'MAGIC ACCURACY: [LV2 FULL POTENCY]')
  1024.     elseif command == "magicacc0" then
  1025.         magicacc = 0
  1026.         add_to_chat(158,'MAGIC ACCURACY: [LV0 FULL ACC]')
  1027.          elseif command == "magicacc4" then
  1028.         magicacc = 4
  1029.         add_to_chat(158,'MAGIC ACCURACY: [Magic burst mode]')
  1030.     elseif command == "magicacc3" then
  1031.         magicacc = 3
  1032.         add_to_chat(158,'MAGIC ACCURACY: [LV alpha]')
  1033.     end
  1034.  
  1035.      function handle_ping()
  1036.     if buffactive['petrification'] then
  1037.         if os.clock()-lastChat > 10 then
  1038.             send_command('input /p stoned')
  1039.             lastChat = os.clock()
  1040.         end
  1041.     elseif buffactive['sleep'] then
  1042.         if os.clock()-lastChat > 10 then
  1043.             send_command('input /p zzz')
  1044.             lastChat = os.clock()
  1045.         end
  1046.     end
  1047.  
  1048.     if check_ready_silent() and player.x == lastx and player.y == lasty then
  1049.         if buffactive['silence'] and os.clock()-lastChat > 5 then
  1050.             send_command('input /item "Echo Drops" <me>;')
  1051.             lastChat = os.clock()
  1052.         end
  1053.     end
  1054. end
  1055. end
RAW Paste Data