Advertisement
Guest User

Untitled

a guest
Nov 12th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 31.13 KB | None | 0 0
  1. function get_sets()
  2.  
  3.     send_command('bind f9 gs c toggle TP set')
  4.     send_command('bind f10 gs c toggle Idle set')
  5.     send_command('bind f11 gs c toggle CDC set')
  6.     send_command('bind f12 gs c toggle Req set')
  7.     send_command('bind !f12 gs c toggle Rea set')
  8.    
  9.     function file_unload()
  10.      
  11.  
  12.         send_command('unbind ^f9')
  13.         send_command('unbind ^f10')
  14.         send_command('unbind ^f11')
  15.         send_command('unbind ^f12')
  16.        
  17.         send_command('unbind !f9')
  18.         send_command('unbind !f10')
  19.         send_command('unbind !f11')
  20.         send_command('unbind !f12')
  21.  
  22.         send_command('unbind f9')
  23.         send_command('unbind f10')
  24.         send_command('unbind f11')
  25.         send_command('unbind f12')
  26.  
  27.        
  28.  
  29.     end
  30.        
  31.     --Idle Sets--  
  32.     sets.Idle = {}
  33.    
  34.     sets.Idle.index = {'Standard','DT'}
  35.     Idle_ind = 1           
  36.    
  37.     sets.Idle.Standard = {ammo="Staunch Tathlum",
  38.     head={ name="Rawhide Mask", augments={'HP+50','Accuracy+15','Evasion+20',}},
  39.     body="Luhlaza Jubbah +3",
  40.     hands={ name="Herculean Gloves", augments={'DEX+5','"Cure" spellcasting time -10%','"Refresh"+1','Accuracy+7 Attack+7','Mag. Acc.+5 "Mag.Atk.Bns."+5',}},
  41.     legs={ name="Carmine Cuisses +1", augments={'Accuracy+12','DEX+12','MND+20',}},
  42.     feet="Aya. Gambieras +2",
  43.     neck="Sanctity Necklace",
  44.     waist="Flume Belt",
  45.     left_ear="Genmei Earring",
  46.     right_ear="Ethereal Earring",
  47.     left_ring="Paguroidea Ring",
  48.     right_ring="Sheltered Ring",
  49.     back="Xucau Mantle",
  50. }
  51.                          
  52.     sets.Idle.DT = {ammo="Staunch tathlum",
  53.                     head="Ayanmo Zucchetto +1",neck="Twilight torque", ear1="Ethereal earring", ear2="Genmei earring",
  54.                     body="Ayanmo Corazza +2",hands="Ayanmo Manopolas +2",ring1="Defending ring",ring2="Vocane ring",
  55.                     back="Solemnity cape",waist="Flume belt",legs="Ayanmo Cosciales +2",feet="Ayanmo gambieras +2"}
  56.                            
  57.                            
  58.                            
  59.                            
  60.    
  61.    
  62.     --TP Sets--
  63.     sets.TP = {}
  64.  
  65.     sets.TP.index = {'Standard', 'AccuracyLite', 'AccuracyFull', 'AccuracyExtreme', 'DT', 'DTAccuracy'}
  66.     --1=Standard, 2=AccuracyLite, 3=AccuracyFull, 4=AccuracyExtreme, 5=DT, 6=DTAccuracy--
  67.     TP_ind = 1
  68.    
  69.     sets.TP.Standard = {
  70.             ammo="Ginsen",
  71.     head={ name="Adhemar Bonnet +1",},
  72.     body={ name="Adhemar Jacket +1", augments={'DEX+12','AGI+12','Accuracy+20',}},
  73.     hands={ name="Adhemar wristbands +1",},
  74.     legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
  75.     feet={ name="Herculean Boots", augments={'Accuracy+21','"Triple Atk."+4','STR+3','Attack+14',}},
  76.     neck="Mirage Stole +1",
  77.     waist="Windbuffet Belt +1",
  78.     left_ear="Suppanomimi",
  79.     right_ear="Cessance Earring",
  80.     left_ring="Hetairoi Ring",
  81.     right_ring="Epona's Ring",
  82.     back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Store TP"+10','Damage taken-5%',}},
  83. }
  84.                    
  85.     sets.TP.AccuracyLite = {
  86.             ammo="Ginsen",
  87.     head={ name="Dampening Tam", augments={'DEX+10','Accuracy+15','Mag. Acc.+15','Quadruple Attack +3',}},
  88.     body={ name="Adhemar Jacket +1", augments={'DEX+12','AGI+12','Accuracy+20',}},
  89.     hands={ name="Adhemar Wrist. +1", augments={'DEX+12','AGI+12','Accuracy+20',}},
  90.     legs="Aya. Cosciales +2",
  91.     feet={ name="Herculean Boots", augments={'Accuracy+21','"Triple Atk."+4','STR+3','Attack+14',}},
  92.     neck="Mirage Stole +1",
  93.     waist="Kentarch Belt +1",
  94.     left_ear="Suppanomimi",
  95.     right_ear="Digni. Earring",
  96.     left_ring="Hetairoi Ring",
  97.     right_ring="Epona's Ring",
  98.     back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Store TP"+10','Damage taken-5%',}},}
  99.    
  100.     sets.TP.AccuracyFull = {ammo="Falcon Eye",
  101.     head={ name="Carmine Mask +1", augments={'Accuracy+12','DEX+12','MND+20',}},
  102.     body={ name="Adhemar Jacket +1", augments={'DEX+12','AGI+12','Accuracy+20',}},
  103.     hands={ name="Adhemar Wrist. +1", augments={'DEX+12','AGI+12','Accuracy+20',}},
  104.     legs={ name="Carmine Cuisses +1", augments={'Accuracy+12','DEX+12','MND+20',}},
  105.     feet="Aya. Gambieras +2",
  106.     neck="Mirage Stole +1",
  107.     waist="Kentarch Belt +1",
  108.     left_ear="Digni. Earring",
  109.     right_ear="Cessance Earring",
  110.     left_ring="Cacoethic Ring +1",
  111.     right_ring="Epona's Ring",
  112.     back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Store TP"+10','Damage taken-5%',}}
  113.             }
  114.                            
  115.     sets.TP.AccuracyExtreme = {}
  116.                            
  117.     sets.TP.DT = {
  118.             ammo="Staunch Tathlum",
  119.     head="Dampening Tam",
  120.     body="Ayanmo Corazza +2",
  121.     hands="Assim. Bazu. +3",
  122.     legs="Aya. Cosciales +2",
  123.     feet="Aya. Gambieras +2",
  124.     neck="Twilight Torque",
  125.     waist="Flume Belt",
  126.     left_ear="Ethereal Earring",
  127.     right_ear="Cessance Earring",
  128.     left_ring="Defending Ring",
  129.     right_ring="Vocane Ring",
  130.     back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Store TP"+10','Damage taken-5%',}},
  131.             }
  132.                  
  133.     sets.TP.DTAccuracy = {ammo="Falcon Eye",
  134.     head="Dampening Tam",
  135.     body="Ayanmo Corazza +2",
  136.     hands="Assim. Bazu. +3",
  137.     legs="Aya. Cosciales +2",
  138.     feet="Aya. Gambieras +2",
  139.     neck="Twilight Torque",
  140.     waist="Kentarch Belt +1",
  141.     left_ear="Digni. Earring",
  142.     right_ear="Cessance Earring",
  143.     left_ring="Defending Ring",
  144.     right_ring="Vocane Ring",
  145.     back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Store TP"+10','Damage taken-5%',}},}
  146.    
  147.    
  148.    
  149.    
  150.    
  151.    
  152.     --Weaponskill Sets--
  153.     sets.WS = {}
  154.    
  155.     sets.Requiescat = {}
  156.    
  157.     sets.Requiescat.index = {'Attack','Accuracy'}
  158.     Requiescat_ind = 1
  159.    
  160.     sets.Requiescat.Attack = {
  161.             ammo="Ginsen",
  162.     head={ name="Carmine Mask +1", augments={'Accuracy+12','DEX+12','MND+20',}},
  163.     body="Jhakri robe +2",
  164.     hands={ name="Carmine Fin. Ga. +1", augments={'Accuracy+12','DEX+12','MND+20',}},
  165.     legs={ name="Carmine Cuisses +1", augments={'Accuracy+12','DEX+12','MND+20',}},
  166.     feet={ name="Carmine Greaves +1", augments={'Accuracy+12','DEX+12','MND+20',}},
  167.     neck="Fotia Gorget",
  168.     waist="Fotia Belt",
  169.     left_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +250',}},
  170.     right_ear="Cessance Earring",
  171.     left_ring="Rufescent Ring",
  172.     right_ring="Epona's Ring",
  173.     back={ name="Rosmerta's Cape", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}},
  174. }
  175.                                  
  176.     sets.Requiescat.Accuracy = set_combine(sets.Requiescat.Attack, {
  177.                 ammo="Amar cluster",
  178.                 })
  179.                              
  180.     sets.CdC = {}
  181.    
  182.     sets.CdC.index = {'Attack','Accuracy'}
  183.     CdC_ind = 1
  184.    
  185.     sets.CdC.Attack = {
  186.     ammo="Falcon Eye",
  187.     head={ name="Adhemar Bonnet +1", augments={'STR+12','DEX+12','Attack+20',}},
  188.     body="Abnoba Kaftan",
  189.     hands={ name="Adhemar wristbands +1", augments={'DEX+12','AGI+12','Accuracy+20',}},
  190.     legs="Samnuha Tights",
  191.     feet="Thereoid Greaves",
  192.     neck="Fotia Gorget",
  193.     waist="Fotia Belt",
  194.     left_ear="Mache Earring +1",
  195.     right_ear="Cessance Earring",
  196.     left_ring="Begrudging Ring",
  197.     right_ring="Epona's Ring",
  198.     back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','Critical Hit Rate +10%','Damage taken-5%',}},
  199. }
  200.                                
  201.     sets.CdC.Accuracy = {
  202.     ammo="Falcon Eye",
  203.     head={ name="Adhemar Bonnet +1", augments={'STR+12','DEX+12','Attack+20',}},
  204.     body="Assim. jubbah +3",
  205.     hands={ name="Adhemar wristbands +1", augments={'DEX+12','AGI+12','Accuracy+20',}},
  206.     legs={ name="Luhlaza Shalwar +3", augments={'Enhances "Assimilation" effect',}},
  207.     feet="Thereoid Greaves",
  208.     neck="Mirage Stole +1",
  209.     waist="Fotia Belt",
  210.     left_ear="Mache Earring +1",
  211.     right_ear="Cessance Earring",
  212.     left_ring="Begrudging Ring",
  213.     right_ring="Ilabrat Ring",
  214.     back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','Critical Hit Rate +10%','Damage taken-5%',}},
  215. }
  216.                                
  217.     sets.WS.SanguineBlade = {}
  218.    
  219.     sets.WS.SanguineBlade = {
  220.             ammo="Pemphredo Tathlum",
  221.             head="Pixie Hairpin +1",
  222.             neck="Sanctity necklace",
  223.             ear1="Regal earring",
  224.             ear2="Friomisi earring",
  225.             body="Assimilator's Jubbah +3",
  226.             hands="Jhakri cuffs +2",
  227.             ring1="Shiva ring +1",
  228.             ring2="Acumen ring",
  229.             back="Cornflower cape",
  230.             waist="Eschan stone",
  231.             legs="Luhlaza Shalwar +3",
  232.             feet="Amalric nails"}
  233.                              
  234.     sets.SavageBlade = {}
  235.    
  236.     sets.SavageBlade.index = {'Attack','Accuracy'}
  237.     SavageBlade_ind = 1
  238.    
  239.     sets.SavageBlade.Attack = {
  240.             ammo="Mantoptera Eye",
  241.     head={ name="Herculean Helm", augments={'Attack+13','Weapon skill damage +5%','Accuracy+11',}},
  242.     body="Assim. jubbah +3",
  243.     hands="Jhakri Cuffs +2",
  244.     legs={ name="Luhlaza Shalwar +3", augments={'Enhances "Assimilation" effect',}},
  245.     feet={ name="Herculean Boots", augments={'Accuracy+26','Weapon skill damage +3%','DEX+10','Attack+9',}},
  246.     neck="Mirage Stole +1",
  247.     waist="Prosilio Belt +1",
  248.     left_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +250',}},
  249.     right_ear="Ishvara Earring",
  250.     left_ring="Rufescent Ring",
  251.     right_ring="Shukuyu Ring",
  252.     back={ name="Rosmerta's Cape", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}},}
  253.                                  
  254.     sets.SavageBlade.Accuracy = set_combine(sets.SavageBlade.Attack, {
  255.                 ammo="Amar cluster",
  256.                 head="Dampening tam",
  257.                 ear1="Steelflash earring",
  258.                 back="Rosmerta's cape",
  259.                 legs="Carmine cuisses +1",
  260.                 })
  261.  
  262.     sets.WS.CircleBlade = {}       
  263.            
  264.     sets.WS.CircleBlade = {ammo="Cheruski needle",
  265.                            head="Carmine Mask +1",neck="Fotia Gorget",ear1="Moonshade earring",ear2="Cessance earring",
  266.                            body="Assim. jubbah +3",hands="Luh. bazubands +3",ring1="Epona's ring",ring2="Shukuyu ring",
  267.                            back={ name="Rosmerta's Cape", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}},waist="Fotia belt",legs="Luhlaza Shalwar +3",feet="Luhlaza charuqs +3"}
  268.                            
  269.     sets.WS.Expiacion = {}     
  270.            
  271.     sets.WS.Expiacion = {
  272.             ammo="Mantoptera Eye",
  273.     head={ name="Herculean Helm", augments={'Attack+13','Weapon skill damage +5%','Accuracy+11',}},
  274.     body="Assim. jubbah +3",
  275.     hands="Jhakri Cuffs +2",
  276.     legs={ name="Luhlaza Shalwar +3", augments={'Enhances "Assimilation" effect',}},
  277.     feet={ name="Herculean Boots", augments={'Accuracy+26','Weapon skill damage +3%','DEX+10','Attack+9',}},
  278.     neck="Mirage Stole +1",
  279.     waist="Prosilio Belt +1",
  280.     left_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +250',}},
  281.     right_ear="Ishvara Earring",
  282.     left_ring="Rufescent Ring",
  283.     right_ring="Shukuyu Ring",
  284.     back={ name="Rosmerta's Cape", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}},}
  285.                          
  286.     sets.Realmrazer = {}
  287.    
  288.     sets.Realmrazer.index = {'Attack','Accuracy'}
  289.     Realmrazer_ind = 1
  290.    
  291.     sets.Realmrazer.Attack = {ammo="Cheruski needle",
  292.                               head="Jhakri coronal +1",
  293.                               neck="Fotia gorget",
  294.                               ear1="Moonshade earring",
  295.                               ear2="Brutal Earring",
  296.                               body="Jhakri robe +2",
  297.                               hands="Jhakri cuffs +2",
  298.                               ring1="Rufescent ring",
  299.                               ring2="Epona's ring",
  300.                               back="Bleating mantle",
  301.                               waist="Fotia belt",
  302.                               legs="Carmine cuisses +1",
  303.                               feet="Herculean boots"}
  304.                              
  305.     sets.Realmrazer.Accuracy = {ammo="Honed tathlum",
  306.                                 head="Whirlpool mask",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
  307.                                 body="Luhlaza jubbah +3",hands="Luh. bazubands +3",ring1="Cacoethic ring +1",ring2="Rufescent ring",
  308.                                 back="Letalis mantle",waist="Light belt",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
  309.                            
  310.     sets.WS.FlashNova = {}
  311.    
  312.     sets.WS.FlashNova = {
  313.             ammo="Pemphredo Tathlum",
  314.             head="Jhakri coronal +1",
  315.             neck="Sanctity necklace",
  316.             ear1="Hecate's earring",
  317.             ear2="Friomisi earring",
  318.             body="Jhakri robe +2",
  319.             hands="Jhakri cuffs +2",
  320.             ring1="Diamond ring",
  321.             ring2="Acumen ring",
  322.             back="Cornflower cape",
  323.             waist="Eschan stone",
  324.             legs="Luhlaza Shalwar +3",
  325.             feet="Amalric nails"}
  326.                                
  327.                                
  328.                                
  329.                                
  330.                                
  331.     --Blue Magic Sets--
  332.     sets.BlueMagic = {}
  333.    
  334.     sets.BlueMagic.STR = {ammo="Honed tathlum",
  335.                          head="Dampening tam",neck="Combatant's torque",ear1="Tati earring +1",ear2="Tati earring +1",
  336.                          body="Assim. jubbah +3",hands="Luhlaza Bazubands +3",ring1="Apate ring",ring2="Rufescent ring",
  337.                          back="Cornflower cape",waist="Eschan stone",legs="Carmine cuisses +1",feet="Luhlaza Charuqs +3"}
  338.                          
  339.     sets.BlueMagic.STRDEX = set_combine(sets.BlueMagic.STR, {
  340.                         waist="Pipilaka belt",
  341.                         })
  342.                             --{ammo="Cheruski needle",
  343.                             --head="Luh. Keffiyeh +3",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
  344.                             --body="Assim. jubbah +3",hands="Luh. bazubands +3",ring1="Pyrosoul ring",ring2="Rajas ring",
  345.                             --back="Cornflower cape",waist="Pipilaka belt",legs="Manibozho brais",feet="Luhlaza charuqs +3"}
  346.                            
  347.     sets.BlueMagic.STRVIT = set_combine(sets.BlueMagic.STR, {
  348.                         ring1="Spiral ring",
  349.                         })
  350.                             --{ammo="Mavi tathlum",
  351.                              --head="Luh. Keffiyeh +3",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
  352.                              --body="Assim. jubbah +3",hands="Umuthi gloves",ring1="Pyrosoul ring",ring2="Spiral ring",
  353.                              --back="Cornflower cape",waist="Caudata belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +3"}
  354.                              
  355.     sets.BlueMagic.STRMND = set_combine(sets.BlueMagic.STR, {
  356.                         })
  357.                             --{ammo="Mavi tathlum",
  358.                              --head="Luh. Keffiyeh +3",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
  359.                              --body="Assim. jubbah +3",hands="Umuthi gloves",ring1="Vulcan's ring",ring2="Levia. ring",
  360.                              --back="Cornflower cape",waist="Chaac belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +3"}
  361.                                
  362.     sets.BlueMagic.AGI = {ammo="Mavi tathlum",
  363.                           head="Luh. Keffiyeh +3",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
  364.                           body="Assim. jubbah +3",hands="Adhemar wristbands +1",ring1="Cacoethic ring",ring2="Apate ring",
  365.                           back="Cornflower cape",waist="Pipilaka belt",legs="Luhlaza Shalwar +3",feet="Luhlaza charuqs +3"}
  366.                          
  367.     sets.BlueMagic.INT = {ammo="Pemphredo Tathlum",
  368.                           head="Jhakri coronal +1",neck="Sanctity necklace",ear1="Regal earring",ear2="Friomisi earring",
  369.                           body="Jhakri robe +2",hands="Jhakri cuffs +2",ring1="Shiva ring +1",ring2="Acumen ring",
  370.                           back="Cornflower cape",waist="Eschan stone",legs="Luhlaza Shalwar +3",feet="Jhakri pigaches +2"}
  371.                          
  372.     sets.BlueMagic.Cures = {ammo="Hydrocera",
  373.     head={ name="Carmine Mask +1", augments={'Accuracy+12','DEX+12','MND+20',}},
  374.     body="Vrikodara Jupon",
  375.     hands={ name="Telchine Gloves", augments={'Potency of "Cure" effect received+5%','VIT+2',}},
  376.     legs="Gyve Trousers",
  377.     feet={ name="Medium's Sabots", augments={'MP+40','MND+5','"Conserve MP"+4',}},
  378.     neck="Phalaina Locket",
  379.     waist="Luminary Sash",
  380.     left_ear="Mendi. Earring",
  381.     right_ear="Loquac. Earring",
  382.     left_ring="Vocane Ring",
  383.     right_ring="Kunaji Ring",
  384.     back="Solemnity Cape"}
  385.                            
  386.     sets.BlueMagic.SelfCures = set_combine(sets.BlueMagic.Cures, {
  387.                         })
  388.                                 --{ammo="Aqua sachet",
  389.                                 --head="Uk'uxkaj cap",neck="Promise badge",ear1="Loquac. earring",ear2="Novia earring",
  390.                                 --body="Assim. jubbah +3",hands="Buremte Gloves",ring1="Solemn ring",ring2="Sirona's Ring",
  391.                                 --back="Oretania's cape",waist="Chuq'aba Belt",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
  392.                            
  393.     sets.BlueMagic.Stun = {ammo="Falcon Eye",
  394.     head={ name="Luh. Keffiyeh +3", augments={'Enhances "Convergence" effect',}},
  395.     body={ name="Luhlaza Jubbah +3", augments={'Enhances "Enchainment" effect',}},
  396.     hands="Aya. Manopolas +2",
  397.     legs={ name="Luhlaza Shalwar +3", augments={'Enhances "Assimilation" effect',}},
  398.     feet={ name="Luhlaza Charuqs +3", augments={'Enhances "Diffusion" effect',}},
  399.     neck="Mirage Stole +1",
  400.     waist="Eschan Stone",
  401.     left_ear="Lempo Earring",
  402.     right_ear="Digni. Earring",
  403.     left_ring="Stikini Ring",
  404.     right_ring="Stikini Ring",
  405.     back={ name="Cornflower Cape", augments={'MP+24','DEX+1','Blue Magic skill +10',}},}
  406.                            
  407.     sets.BlueMagic.HeavyStrike = set_combine(sets.BlueMagic.STR, {
  408.             ammo="Honed tathlum",
  409.             head="Dampening tam",
  410.             ring2="Cacoethic ring +1",
  411.             waist="Eschan stone",
  412.             feet="Luhlaza Charuqs +3",
  413.                         })
  414.                                 --{ammo="Honed tathlum",
  415.                                  --head="Whirlpool mask",neck="Ire torque +1",ear1="Flame pearl",ear2="Heartseeker earring",
  416.                                  --body="Assim. jubbah +3",hands="Umuthi gloves",ring1="Pyrosoul ring",ring2="Rajas ring",
  417.                                  --back="Cornflower cape",waist="Dynamic belt +1",legs="Manibozho brais",feet="Assim. charuqs +1"}
  418.                                  
  419.     sets.BlueMagic.AddEffect = {ammo="Falcon Eye",
  420.     head={ name="Luh. Keffiyeh +3", augments={'Enhances "Convergence" effect',}},
  421.     body={ name="Luhlaza Jubbah +3", augments={'Enhances "Enchainment" effect',}},
  422.     hands="Aya. Manopolas +2",
  423.     legs={ name="Luhlaza Shalwar +3", augments={'Enhances "Assimilation" effect',}},
  424.     feet={ name="Luhlaza Charuqs +3", augments={'Enhances "Diffusion" effect',}},
  425.     neck="Mirage Stole +1",
  426.     waist="Eschan Stone",
  427.     left_ear="Lempo Earring",
  428.     right_ear="Digni. Earring",
  429.     left_ring="Stikini Ring",
  430.     right_ring="Stikini Ring",
  431.     back={ name="Cornflower Cape", augments={'MP+24','DEX+1','Blue Magic skill +10',}},}
  432.    
  433.     sets.BlueMagic.GlutinousDart = {ammo="Mantoptera Eye",
  434.     head={ name="Luh. Keffiyeh +3", augments={'Enhances "Convergence" effect',}},
  435.     body={ name="Herculean Vest", augments={'AGI+4','"Cure" potency +2%','"Treasure Hunter"+1',}},
  436.     hands={ name="Luh. Bazubands +3", augments={'Enhances "Azure Lore" effect',}},
  437.     legs={ name="Luhlaza Shalwar +3", augments={'Enhances "Assimilation" effect',}},
  438.     feet={ name="Herculean Boots", augments={'Mag. Acc.+1','Pet: INT+7','"Treasure Hunter"+2','Mag. Acc.+14 "Mag.Atk.Bns."+14',}},
  439.     neck="Mirage Stole +1",
  440.     waist="Chaac Belt",
  441.     left_ear="Odnowa Earring",
  442.     right_ear="Odnowa Earring +1",
  443.     left_ring="Shukuyu Ring",
  444.     right_ring="Petrov Ring",
  445.     back={ name="Rosmerta's Cape", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}},}
  446.    
  447.     sets.BlueMagic.WhiteWind = {ammo="Hydrocera",
  448.     head={ name="Luh. Keffiyeh +3", augments={'Enhances "Convergence" effect',}},
  449.     body="Vrikodara Jupon",
  450.     hands={ name="Luh. Bazubands +3", augments={'Enhances "Azure Lore" effect',}},
  451.     legs="Gyve Trousers",
  452.     feet={ name="Medium's Sabots", augments={'MP+40','MND+5','"Conserve MP"+4',}},
  453.     neck="Phalaina Locket",
  454.     waist="Eschan Stone",
  455.     left_ear="Mendi. Earring",
  456.     right_ear="Odnowa Earring +1",
  457.     left_ring="Ilabrat Ring",
  458.     right_ring="Etana Ring",
  459.     back="Solemnity Cape",}
  460.                                      
  461.     sets.BlueMagic.MagicAccuracy = {ammo="Hydrocera",
  462.     head={ name="Luh. Keffiyeh +3", augments={'Enhances "Convergence" effect',}},
  463.     body="Assim. Jubbah +3",
  464.     hands={ name="Luh. Bazubands +3", augments={'Enhances "Azure Lore" effect',}},
  465.     legs={ name="Luhlaza Shalwar +3", augments={'Enhances "Assimilation" effect',}},
  466.     feet={ name="Luhlaza Charuqs +3", augments={'Enhances "Diffusion" effect',}},
  467.     neck="Mirage Stole +1",
  468.     waist="Eschan Stone",
  469.     left_ear="Regal Earring",
  470.     right_ear="Digni. Earring",
  471.     left_ring="Stikini Ring",
  472.     right_ring="Stikini Ring",
  473.     back={ name="Cornflower Cape", augments={'MP+24','DEX+1','Blue Magic skill +10',}},}
  474.                                      
  475.     sets.BlueMagic.Skill = {ammo="Mavi tathlum",
  476.                             head="Luh. Keffiyeh +3",neck="Incanter's torque",ear1="Loquac. earring",
  477.                             body="Assim. jubbah +3",hands="Rawhide gloves",ring1="Prolix ring",
  478.                             back="Cornflower cape",waist="Witful Belt",legs="Hashishin tayt +1",feet="Luhlaza charuqs +3"}
  479.                            
  480.     sets.BlueMagic.SkillRecast = {ammo="Mavi tathlum",
  481.                                   head="Luh. Keffiyeh +3",neck="Incanter's torque",ear1="Loquac. earring",
  482.                                   body="Assim. jubbah +3",hands="Hashishin bazubands +1",ring1="Prolix ring",
  483.                                   back="Swith cape",waist="Witful Belt",legs="Hashishin tayt +1",feet="Luhlaza charuqs +3"}
  484.                                  
  485.                                  
  486.                                  
  487.                                  
  488.                        
  489.                        
  490.     --Utility Sets--
  491.     sets.Utility = {}
  492.    
  493.     sets.Utility.Stoneskin = {head="Haruspex hat",neck="Stone Gorget",ear1="Loquac. earring",ear2="Earthcry earring",
  494.                               body="Assim. jubbah +3",hands="Stone Mufflers",ring1="Prolix ring",
  495.                               back="Swith cape",waist="Siegel sash",legs="Haven hose",feet="Iuitl gaiters"}
  496.                              
  497.     sets.Utility.Phalanx = {head="Haruspex hat",neck="Colossus's torque",ear1="Loquac. earring",ear2="Augment. earring",
  498.                             body="Assim. jubbah +3",hands="Ayao's gages",ring1="Prolix ring",
  499.                             back="Swith cape",waist="Pythia sash +1",legs="Portent pants",feet="Iuitl gaiters"}
  500.                            
  501.     sets.Utility.Steps = {ammo="Honed tathlum",
  502.                           head="Whirlpool mask",ear2="Heartseeker earring",
  503.                           body="Thaumas coat",hands="Umuthi gloves",
  504.                           back="Letalis cape",waist="Chaac belt",legs="Manibozho brais",feet="Manibozho boots"}
  505.                          
  506.     sets.Utility.PDT = {head="Whirlpool mask",neck="Twilight torque",ear1="Ethereal earring",
  507.                         body="Iuitl vest",hands="Umuthi gloves",ring1="Dark ring",ring2="Dark ring",
  508.                         back="Mollusca mantle",waist="Flume belt",legs="Iuitl Tights +1",feet="Iuitl gaiters"}
  509.                        
  510.     sets.Utility.MDT = {head="Whirlpool mask",neck="Twilight torque",
  511.                         body="Assim. jubbah +3",hands="Umuthi gloves",ring1="Dark ring",ring2="Dark ring",
  512.                         back="Mollusca mantle",legs="Quiahuiz trousers",feet="Luhlaza charuqs +3"}
  513.                            
  514.    
  515.    
  516.    
  517.    
  518.    
  519.     --Job Ability Sets--
  520.    
  521.     sets.JA = {}
  522.    
  523.     sets.JA.ChainAffinity = {feet="Assim. charuqs +1"}
  524.    
  525.     sets.JA.BurstAffinity = {feet="Hashishin Basmak +1"}
  526.    
  527.     sets.JA.Efflux = {legs="Hashishin tayt +1"}
  528.    
  529.     sets.JA.AzureLore = {hands="Luh. bazubands +3"}
  530.    
  531.     sets.JA.Diffusion = {feet="Luhlaza Charuqs +3"}
  532.                                
  533.                                
  534.            
  535.            
  536.            
  537.            
  538.     --Precast Sets--
  539.     sets.precast = {}
  540.    
  541.     sets.precast.FC = {}
  542.    
  543.     sets.precast.FC.Standard = {ammo="Sapience Orb",
  544.     head={ name="Carmine Mask +1", augments={'Accuracy+12','DEX+12','MND+20',}},
  545.     body={ name="Luhlaza Jubbah +3", augments={'Enhances "Enchainment" effect',}},
  546.     hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  547.     legs="Enif Cosciales",
  548.     feet="Carmine greaves +1",
  549.     neck="Orunmila's Torque",
  550.     waist="Witful Belt",
  551.     left_ear="Loquac. Earring",
  552.     right_ear="Enchntr. Earring +1",
  553.     left_ring="Prolix Ring",
  554.     right_ring="Kishar Ring",
  555.     back="Swith Cape +1",}
  556.    
  557.     sets.precast.FC.Blue = set_combine(sets.precast.FC.Standard, {
  558.                         body="Hashishin Mintan +1",hands="Hashishin Bazubands +1",
  559.                         })
  560. end
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567. function precast(spell)
  568.     if spell.action_type == 'Magic' then
  569.         equip(sets.precast.FC.Standard)
  570.                
  571.         if spell.skill == 'Blue Magic' then
  572.         equip(sets.precast.FC.Blue)
  573.         end
  574.     end
  575.    
  576.     if spell.english == 'Azure Lore' then
  577.         equip(sets.JA.AzureLore)
  578.     end
  579.    
  580.     if spell.english == 'Requiescat' or spell.english == 'Savage Blade' then
  581.         equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
  582.     end
  583.    
  584.     if spell.english == 'Chant du Cygne' then
  585.         equip(sets.CdC[sets.CdC.index[CdC_ind]])
  586.     end
  587.    
  588.     if spell.english == 'Circle Blade' then
  589.         equip(sets.WS.CircleBlade)
  590.     end
  591.        
  592.     if spell.english == 'Expiacion' then
  593.         equip(sets.WS.Expiacion)
  594.     end
  595.    
  596.     if spell.english == 'Sanguine Blade' then
  597.         equip(sets.WS.SanguineBlade)
  598.     end
  599.    
  600.     if spell.english == 'Savage Blade' then
  601.         equip(sets.SavageBlade[sets.SavageBlade.index[SavageBlade_ind]])
  602.     end
  603.    
  604.     if spell.english == 'Box Step' then
  605.         equip(sets.Utility.Steps)
  606.     end
  607.    
  608.     if spell.english == 'Realmrazer' then
  609.         equip(sets.Realmrazer[sets.Realmrazer.index[Realmrazer_ind]])
  610.     end
  611.    
  612.     if spell.english == 'Flash Nova' then
  613.         equip(sets.WS.FlashNova)
  614.     end
  615. end
  616.    
  617. function midcast(spell,act)
  618.     if spell.english == 'Vertical Cleave' or spell.english == 'Death Scissors' or spell.english == 'Empty Thrash' or spell.english == 'Dimensional Death' or spell.english == 'Quadrastrike' or spell.english == 'Bloodrake' then
  619.         equip(sets.BlueMagic.STR)
  620.         if buffactive['Chain Affinity'] then
  621.             equip(sets.JA.ChainAffinity)
  622.         end
  623.         if buffactive['Efflux'] then
  624.             equip(sets.JA.Efflux)
  625.         end
  626.     end
  627.        
  628.     if spell.english == 'Disseverment' or spell.english == 'Hysteric Barrage' or spell.english == 'Frenetic Rip' or spell.english == 'Seedspray' or spell.english == 'Vanity Dive' or spell.english == 'Goblin Rush' or spell.english == 'Paralyzing Triad' or spell.english == 'Thrashing Assault' then
  629.         equip(sets.BlueMagic.STRDEX)
  630.         if buffactive['Chain Affinity'] then
  631.             equip(sets.JA.ChainAffinity)
  632.         end
  633.         if buffactive['Efflux'] then
  634.             equip(sets.JA.Efflux)
  635.         end
  636.     end
  637.    
  638.     if spell.english == 'Quad. Continuum' or spell.english == 'Delta Thrust' or spell.english == 'Cannonball' or spell.english == 'Sinker Drill' then
  639.         equip(sets.BlueMagic.STRVIT)
  640.         if buffactive['Chain Affinity'] then
  641.             equip(sets.JA.ChainAffinity)
  642.         end
  643.         if buffactive['Efflux'] then
  644.             equip(sets.JA.Efflux)
  645.         end
  646.     end
  647.    
  648.     if spell.english == 'Whirl of Rage' then
  649.         equip(sets.BlueMagic.STRMND)
  650.         if buffactive['Chain Affinity'] then
  651.             equip(sets.JA.ChainAffinity)
  652.         end
  653.         if buffactive['Efflux'] then
  654.             equip(sets.JA.Efflux)
  655.         end
  656.     end
  657.    
  658.     if spell.english == 'Benthic Typhoon' or spell.english == 'Final Sting' or spell.english == 'Spiral Spin' then
  659.         equip(sets.BlueMagic.AGI)
  660.         if buffactive['Chain Affinity'] then
  661.             equip(sets.JA.ChainAffinity)
  662.         end
  663.         if buffactive['Efflux'] then
  664.             equip(sets.JA.Efflux)
  665.         end
  666.     end
  667.    
  668.     if spell.english == 'Gates of Hades' or spell.english == 'Leafstorm' or spell.english == 'Firespit' or spell.english == 'Acrid Stream' or spell.english == 'Regurgitation' or spell.english == 'Corrosive Ooze' or spell.english == 'Thermal Pulse' or spell.english == 'Magic Hammer' or
  669.                         spell.english == 'Evryone. Grudge' or spell.english == 'Water Bomb' or spell.english == 'Dark Orb' or spell.english == 'Thunderbolt' or spell.english == 'Tem. Upheaval' or spell.english == 'Embalming Earth' or spell.english == 'Foul Waters' or
  670.                         spell.english == 'Rending Deluge' or spell.english == 'Droning Whirlwind' or spell.english == 'Subduction' or spell.english == 'Blinding Fulgor' or spell.english == 'Spectral Floe' or spell.english == 'Scouring Spate' or spell.english == 'Anvil Lightning' or
  671.                         spell.english == 'Silent Storm' or spell.english == 'Molting Plumage' or spell.english == 'Entomb' or spell.english == 'Tenebral Crush'  then
  672.         equip(sets.BlueMagic.INT)
  673.         if buffactive['Burst Affinity'] then
  674.             equip(sets.JA.BurstAffinity)
  675.         end
  676.     end
  677.    
  678.     if spell.english == 'Magic Fruit' or spell.english == 'Plenilune Embrace' or spell.english == 'Wild Carrot' or spell.english == 'Pollen' or spell.english == 'Cure III' or spell.english == 'Cure IV' then
  679.         equip(sets.BlueMagic.Cures)
  680.             if spell.target.name == player.name and string.find(spell.english, 'Magic Fruit') or string.find(spell.english, 'Plenilune Embrace') or string.find(spell.english, 'Wild Carrot') or string.find(spell.english, 'Cure III') or string.find(spell.english, 'Cure IV') then
  681.                 equip(sets.BlueMagic.SelfCures)
  682.             end
  683.     end
  684.    
  685.     if spell.english == 'White Wind' then
  686.         equip(sets.BlueMagic.WhiteWind)
  687.     end
  688.    
  689.     if spell.english == 'Head Butt' or spell.english == 'Sudden Lunge' or spell.english == 'Blitzstrahl' then
  690.         equip(sets.BlueMagic.Stun)
  691.     end
  692.    
  693.     if spell.english == 'Heavy Strike' then
  694.         equip(sets.BlueMagic.HeavyStrike)
  695.     end
  696.    
  697.     if spell.english == 'Sweeping Gouge' then
  698.         equip(sets.BlueMagic.AddEffect)
  699.     end
  700.    
  701.     if spell.english == 'Glutinous Dart' then
  702.         equip(sets.BlueMagic.GlutinousDart)
  703.         if buffactive['Burst Affinity'] then
  704.             equip(sets.JA.BurstAffinity)
  705.         end
  706.     end
  707.    
  708.     if spell.english == 'Frightful Roar' or spell.english == 'Blank Gaze' or spell.english == 'Sheep Song' or spell.english == 'Dream Flower' or spell.english == 'Yawn' or spell.english == 'Infrasonics' or spell.english == 'Barbed Crescent' or spell.english == 'Tourbillion' or spell.english == 'Cimicine Discharge' or spell.english == 'Sub-zero smash' or spell.english == 'Filamented Hold' or spell.english == 'Mind Blast' or spell.english == 'Sandspin' or spell.english == 'Hecatomb Wave' or spell.english == 'Cold Wave' or spell.english == 'Terror Touch' then
  709.         equip(sets.BlueMagic.MagicAccuracy)
  710.     end
  711.    
  712.     if spell.english == 'MP Drainkiss' or spell.english == 'Digest' or spell.english == 'Blood Saber' or spell.english == 'Blood Drain' or spell.english == 'Osmosis' or spell.english == 'Occultation' or spell.english == 'Magic Barrier' or spell.english == 'Diamondhide' or spell.english == 'Metallic Body' or spell.english == 'Retinal Glare' then
  713.         equip(sets.BlueMagic.SkillRecast)
  714.         if buffactive['Diffusion'] then
  715.             equip(sets.JA.Diffusion)
  716.         end
  717.     end
  718.    
  719.     if spell.english == 'Cocoon' or spell.english == 'Harden Shell' or spell.english == 'Animating Wail' or spell.english == 'Battery Charge' or spell.english == 'Nat. Meditation' or spell.english == 'Carcharian Verve' or spell.english == 'O. Counterstance' or spell.english == 'Barrier Tusk' or spell.english == 'Saline Coat' or spell.english == 'Regeneration' or spell.english == 'Erratic Flutter' or spell.english == 'Mighty Guard' then
  720.         if buffactive['Diffusion'] then
  721.             equip(sets.JA.Diffusion)
  722.         end
  723.     end
  724. end
  725.  
  726. function aftercast(spell)
  727.     if player.status == 'Engaged' then
  728.         equip(sets.TP[sets.TP.index[TP_ind]])
  729.     else
  730.         equip(sets.Idle[sets.Idle.index[Idle_ind]])
  731.     end
  732.    
  733.     if spell.action_type == 'Weaponskill' then
  734.         add_to_chat(158,'TP Return: ['..tostring(player.tp)..']')
  735.     end
  736. end
  737.  
  738. function status_change(new,old)
  739.     if new == 'Engaged' then
  740.         equip(sets.TP[sets.TP.index[TP_ind]])
  741.     else
  742.         equip(sets.Idle[sets.Idle.index[Idle_ind]])
  743.     end
  744. end
  745.  
  746. function self_command(command)
  747.     if command == 'toggle TP set' then
  748.         TP_ind = TP_ind +1
  749.         if TP_ind > #sets.TP.index then TP_ind = 1 end
  750.         send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
  751.         equip(sets.TP[sets.TP.index[TP_ind]])
  752.     elseif command == 'toggle Idle set' then
  753.         Idle_ind = Idle_ind +1
  754.         if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
  755.         send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
  756.         equip(sets.Idle[sets.Idle.index[Idle_ind]])
  757.     elseif command == 'toggle Req set' then
  758.         Requiescat_ind = Requiescat_ind +1
  759.         if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
  760.         send_command('@input /echo <----- Requiescat Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
  761.     elseif command == 'toggle CDC set' then
  762.         CdC_ind = CdC_ind +1
  763.         if CdC_ind > #sets.CdC.index then CdC_ind = 1 end
  764.         send_command('@input /echo <----- Chant du Cygne Set changed to '..sets.CdC.index[CdC_ind]..' ----->')
  765.     elseif command == 'toggle Rea set' then
  766.         Realmrazer_ind = Realmrazer_ind +1
  767.         if Realmrazer_ind > #sets.Realmrazer.index then Realmrazer_ind = 1 end
  768.         send_command('@input /echo <----- Realmrazer Set changed to '..sets.Realmrazer.index[Realmrazer_ind]..' ----->')
  769.     elseif command == 'equip TP set' then
  770.         equip(sets.TP[sets.TP.index[TP_ind]])
  771.     elseif command == 'equip Idle set' then
  772.         equip(sets.Idle[sets.Idle.index[Idle_ind]])
  773.     end
  774. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement