function get_sets()
--Idle Sets--
sets.Idle = {}
sets.Idle.index = {'Standard','DT'}
Idle_ind = 1
sets.Idle.Standard = {ammo="Cheruski needle",
head="Oce. headpiece +1",neck="Twilight torque", ear1="Ethereal earring", ear2="Heartseeker earring",
body="Hagondes coat",hands="Serpentes cuffs",ring1="Dark ring",ring2="Dark ring",
back="Atheling mantle",waist="Flume belt",legs="Blood cuisses",feet="Serpentes sabots"}
sets.Idle.DT = {ammo="Cheruski needle",
head="Iuitl headgear",neck="Twilight torque", ear1="Ethereal earring", ear2="Heartseeker earring",
body="Hagondes coat",hands="Iuitl wristbands",ring1="Dark ring",ring2="Dark ring",
back="Mollusca mantle",waist="Flume belt",legs="Blood cuisses",feet="Iuitl gaiters"}
--TP Sets--
sets.TP = {}
sets.TP.index = {'Standard', 'Solo', 'AccuracyLite', 'AccuracyFull', 'DT', 'DTAccuracy'}
--1=Standard, 2=Solo, 3=AccuracyLite, 4=AccuracyFull, 5=DT, 6=DTAccuracy--
TP_ind = 2
sets.TP.Standard = {ammo="Cheruski needle",
head="Thurandaut chapeau +1",neck="Asperity necklace", ear1="Dudgeon earring", ear2="Heartseeker earring",
body="Thaumas coat",hands="Manibozho gloves",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Twilight belt",legs="Iuitl tights",feet="Manibozho boots"}
sets.TP.Marches = {ammo="Cheruski needle",
head="Thurandaut chapeau +1",neck="Asperity necklace", ear1="Brutal earring", ear2="Suppanomimi",
body="Thaumas coat",hands="Manibozho gloves",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Twilight belt",legs="Iuitl tights",feet="Manibozho boots"}
sets.TP.Solo = {ammo="Cheruski needle",
head="Thurandaut chapeau +1",neck="Asperity necklace", ear1="Brutal earring", ear2="Suppanomimi",
body="Hagondes coat",hands="Manibozho gloves",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Twilight belt",legs="Iuitl tights",feet="Manibozho boots"}
sets.TP.AccuracyLite = {ammo="Honed tathlum",
head="Thurandaut chapeau +1",neck="Asperity necklace", ear1="Brutal earring", ear2="Suppanomimi",
body="Thaumas coat",hands="Manibozho gloves",ring1="Epona's ring",ring2="Rajas ring",
back="Letalis mantle",waist="Twilight belt",legs="Iuitl tights",feet="Manibozho boots"}
sets.TP.AccuracyFull = {ammo="Honed tathlum",
head="Whirlpool mask",neck="Asperity necklace", ear1="Dudgeon earring", ear2="Heartseeker earring",
body="Thaumas coat",hands="Buremte gloves",ring1="Epona's ring",ring2="Rajas ring",
back="Letalis mantle",waist="Windbuffet belt",legs="Iuitl tights",feet="Manibozho boots"}
sets.TP.DT = {ammo="Cheruski needle",
head="Iuitl headgear",neck="Twilight torque", ear1="Brutal earring", ear2="Suppanomimi",
body="Hagondes coat",hands="Iuitl wristbands",ring1="Dark ring",ring2="Dark ring",
back="Mollusca mantle",waist="Twilight belt",legs="Iuitl tights",feet="Iuitl gaiters"}
sets.TP.DTAccuracy = {ammo="Honed Tathlum",
head="Iuitl headgear",neck="Twilight torque", ear1="Dudgeon earring", ear2="Heartseeker earring",
body="Hagondes coat",hands="Iuitl wristbands",ring1="Dark ring",ring2="Dark ring",
back="Mollusca mantle",waist="Hurch'lan sash",legs="Iuitl tights",feet="Iuitl gaiters"}
--Weaponskill Sets--
sets.WS = {}
sets.Requiescat = {}
sets.Requiescat.index = {'Attack','Accuracy'}
Requiescat_ind = 1
sets.Requiescat.Attack = {ammo="Cheruski needle",
head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Wayfarer robe",hands="Wayfarer cuffs",ring1="Epona's ring",ring2="Aquasoul ring",
back="Atheling mantle",waist="Soil belt",legs="Quiahuiz leggings",feet="Wayfarer clogs"}
sets.Requiescat.Accuracy = {ammo="Honed tathlum",
head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Wayfarer robe",hands="Buremte gloves",ring1="Epona's ring",ring2="Aquasoul ring",
back="Letalis mantle",waist="Soil belt",legs="Quiahuiz leggings",feet="Wayfarer clogs"}
sets.ChantDuCygne = {}
sets.ChantDuCygne.index = {'Attack','Accuracy'}
ChantDuCygne_ind = 1
sets.ChantDuCygne.Attack = {ammo="Cheruski needle",
head="Uk'uxkaj cap",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
body="Espial gambison",hands="Espial bracers",ring1="Epona's ring",ring2="Rajas ring",
back="Rancorous mantle",waist="Windbuffet belt",legs="Manibozho brais",feet="Espial socks"}
sets.ChantDuCygne.Accuracy = {ammo="Honed tathlum",
head="Uk'uxkaj cap",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
body="Espial gambison",hands="Buremte gloves",ring1="Epona's ring",ring2="Rajas ring",
back="Rancorous mantle",waist="Windbuffet belt",legs="Manibozho brais",feet="Espial socks"}
sets.WS.SanguineBlade = {}
sets.WS.SanguineBlade = {ammo="Erlene's notebook",
head="Hagondes hat",neck="Eddy necklace",ear1="Hecate's earring",ear2="Friomisi earring",
body="Hagondes coat",hands="Mv. bazubands +2",ring1="Archon ring",ring2="Diamond ring",
back="Toro cape",waist="Penitent's rope",legs="Hagondes pants",feet="Mavi basmak +2"}
--Blue Magic Sets--
sets.BlueMagic = {}
sets.BlueMagic.STR = {ammo="Mavi tathlum",
head="Whirlpool mask",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
body="Assim. jubbah",hands="Buremte gloves",ring1="Vulcan's ring",ring2="Rajas ring",
back="Zaffre cape",waist="Pipilaka belt",legs="Quiahuiz leggings",feet="Espial socks"}
sets.BlueMagic.STRDEX = {ammo="Cheruski needle",
head="Uk'uxkaj cap",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
body="Assim. jubbah",hands="Buremte gloves",ring1="Vulcan's ring",ring2="Rajas ring",
back="Zaffre cape",waist="Pipilaka belt",legs="Manibozho brais",feet="Espial socks"}
sets.BlueMagic.STRVIT = {ammo="Mavi tathlum",
head="Whirlpool mask",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
body="Assim. jubbah",hands="Buremte gloves",ring1="Vulcan's ring",ring2="Spiral ring",
back="Zaffre cape",waist="Caudata belt",legs="Quiahuiz leggings",feet="Thurandaut boots +1"}
sets.BlueMagic.STRMND = {ammo="Mavi tathlum",
head="Uk'uxkaj cap",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
body="Assim. jubbah",hands="Wayfarer cuffs",ring1="Vulcan's ring",ring2="Aquasoul ring",
back="Zaffre cape",waist="Tarutaru sash",legs="Quiahuiz leggings",feet="Thurandaut boots +1"}
sets.BlueMagic.AGI = {ammo="Mavi tathlum",
head="Uk'uxkaj cap",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
body="Assim. jubbah",hands="Iuitl wristbands",ring1="Vulcan's ring",ring2="Rajas ring",
back="Zaffre cape",waist="Pipilaka belt",legs="Quiahuiz leggings",feet="Espial socks"}
sets.BlueMagic.INT = {ammo="Erlene's notebook",
head="Hagondes hat",neck="Eddy necklace",ear1="Hecate's earring",ear2="Friomisi earring",
body="Hagondes coat",hands="Mv. bazubands +2",ring1="Archon ring",ring2="Diamond ring",
back="Toro cape",waist="Penitent's rope",legs="Hagondes pants",feet="Mavi basmak +2"}
sets.BlueMagic.Cures = {ammo="Aqua sachet",
head="Uk'uxkaj cap",neck="Aife's medal",ear1="Loquac. earring",ear2="Novia earring",
body="Wayfarer robe",hands="Buremte gloves",ring1="Aquasoul ring",ring2="Aquasoul ring",
back="Orentania's cape",waist="Pythia sash +1",legs="Quiahuiz leggings",feet="Thurandaut boots +1"}
sets.BlueMagic.Stun = {ammo="Mavi tathlum",
head="Assim. keffiyeh",neck="Eddy necklace",ear1="Loquac. earring",
body="Assim. Jubbah",hands="Mv. bazubands +2",ring1="Prolix ring",ring2="Sangoma ring",
back="Zaffre cape",waist="Twilight belt",legs="Mavi tayt +2",feet="Iuitl gaiters"}
sets.BlueMagic.HeavyStrike = {ammo="Honed tathlum",
head="Whirlpool mask",neck="Ire torque +1",ear1="Flame pearl",ear2="Heartseeker earring",
body="Assim. Jubbah",hands="Buremte gloves",ring1="Vulcan's ring",ring2="Rajas ring",
back="Zaffre cape",waist="Dynamic belt +1",legs="Manibozho brais",feet="Manibozho boots"}
sets.BlueMagic.ChargedWhisker = {ammo="Erlene's notebook",
head="Uk'uxkaj cap",neck="Eddy necklace",ear1="Hecate's earring",ear2="Friomisi earring",
body="Hagondes coat",hands="Buremte gloves",ring1="Diamond ring",ring2="Rajas ring",
back="Toro cape",waist="Pipilaka belt",legs="Hagondes pants",feet="Mavi basmak +2"}
sets.BlueMagic.MagicAccuracy = {ammo="Mavi Tathlum",
head="Assim. keffiyeh",neck="Eddy necklace",ear1="Psystorm earring",ear2="Lifestorm earring",
body="Assim. jubbah",hands="Hagondes cuffs",ring1="Mediator's ring",ring2="Sangoma ring",
back="Zaffre cape",waist="Ovate rope",legs="Mavi tayt +2",feet="Iuitl gaiters"}
sets.BlueMagic.Skill = {ammo="Mavi tathlum",
head="Mirage keffiyeh +2",neck="Jeweled collar",ear1="Loquac. earring",
body="Assim. Jubbah",hands="Mv. Bazubands +2",ring1="Prolix ring",
back="Zaffre cape",waist="Twilight belt",legs="Mavi tayt +2",feet="Iuitl gaiters"}
sets.BlueMagic.SkillRecast = {ammo="Mavi tathlum",
head="Whirlpool mask",neck="Jeweled collar",ear1="Loquac. earring",
body="Assim. Jubbah",hands="Mv. Bazubands +2",ring1="Prolix ring",
back="Swith cape",waist="Twilight belt",legs="Mavi tayt +2",feet="Iuitl gaiters"}
--Utility Sets--
sets.Utility = {}
sets.Utility.Stoneskin = {head="Whirlpool mask",neck="Stone Gorget",ear1="Loquac. earring",ear2="Earthcry earring",
body="Assim. jubbah",hands="Stone Mufflers",ring1="Prolix ring",
back="Swith cape",waist="Siegel sash",legs="Haven hose",feet="Iuitl gaiters"}
sets.Utility.Phalanx = {head="Whirlpool mask",neck="Colossus's torque",ear1="Loquac. earring",ear2="Augment. earring",
body="Assim. jubbah",hands="Manibozho gloves",ring1="Prolix ring",
back="Swith cape",waist="Pythia sash +1",legs="Portent pants",feet="Iuitl gaiters"}
sets.Utility.Steps = {ammo="Honed tathlum",
head="Whirlpool mask",ear2="Heartseeker earring",
body="Thaumas coat",hands="Buremte gloves",
back="Letalis cape",waist="Tarutaru sash",legs="Manibozho brais",feet="Manibozho boots"}
sets.Utility.PDT = {head="Whirlpool mask",neck="Twilight torque",ear1="Ethereal earring",
body="Iuitl vest",hands="Iuitl wristbands",ring1="Dark ring",ring2="Dark ring",
back="Mollusca mantle",waist="Flume belt",legs="Iuitl tights",feet="Iuitl gaiters"}
sets.Utility.MDT = {head="Whirlpool mask",neck="Twilight torque",
body="Coral scale mail +1",hands="Wayfarer cuffs",ring1="Dark ring",ring2="Dark ring",
back="Mollusca mantle",legs="Coral cuisses +1",feet="Wayfarer clogs"}
--Job Ability Sets--
sets.JA = {}
sets.JA.ChainAffinity = {feet="Assim. Charuqs"}
sets.JA.BurstAffinity = {feet="Mavi Basmak +2"}
sets.JA.Efflux = {legs="Mavi tayt +2"}
--Precast Sets--
sets.precast = {}
sets.precast.FC = {}
sets.precast.FC.Standard = {head="Athos's Chapeau",neck="Jeweled collar", ear1="Loquac. Earring",
body="Mirke wardecors",hands="Thaumas Gloves",
back="Swith Cape",waist="Witful Belt",legs="Enif Cosciales",feet="Chelona Boots"}
sets.precast.FC.Blue = {head="Athos's Chapeau",neck="Jeweled collar", ear1="Loquac. Earring",
body="Mavi Mintan +2",hands="Thaumas Gloves",
back="Swith Cape",waist="Witful Belt",legs="Enif Cosciales",feet="Chelona Boots"}
end
function precast(spell)
if spell.action_type == 'Magic' then
equip(sets.precast.FC.Standard)
elseif spell.action_type == 'BlueMagic' then
equip(sets.precast.FC.Blue)
end
if spell.english == 'Requiescat' then
equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
end
if spell.english == 'Chant du Cygne' then
equip(sets.ChantDuCygne[sets.ChantDuCygne.index[ChantDuCygne_ind]])
end
if spell.english == 'Sanguine Blade' then
equip(sets.WS.SanguineBlade)
end
end
function midcast(spell,act)
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' or spell.english == 'Circle Blade' then
equip(sets.BlueMagic.STR)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Disseverment' or spell.english == 'Hysteric Barrage' or spell.english == 'Frenetic Rip' or spell.english == 'Seedspray' or spell.english == 'Vanity Dive' or spell.english == 'Goblin Rush' or spell.english == 'Paralyzing Triad' then
equip(sets.BlueMagic.STRDEX)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Quad. Continuum' or spell.english == 'Delta Thrust' or spell.english == 'Cannonball' or spell.english == 'Glutinous Dart' then
equip(sets.BlueMagic.STRVIT)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Whirl of Rage' then
equip(sets.BlueMagic.STRMND)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Benthic Typhoon' or spell.english == 'Final Sting' or spell.english == 'Spiral Spin' then
equip(sets.BlueMagic.AGI)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Gates of Hades' or spell.english == 'Leafstorm' or spell.english == 'Firespit' or spell.english == 'Acrid Stream' or spell.english == 'Regurgitation' or spell.english == 'Corrosive Ooze' or spell.english == 'Thermal Pulse' or spell.english == 'Magic Hammer' or spell.english == 'Evryone. Grudge' or spell.english == 'Water Bomb' or spell.english == 'Dark Orb' or spell.english == 'Thunderbolt' or spell.english == 'Tem. Upheaval' or spell.english == 'Embalming Earth' or spell.english == 'Foul Waters' or spell.english == 'Rending Deluge' or spell.english == 'Droning Whirlwind' then
equip(sets.BlueMagic.INT)
if buffactive['Burst Affinity'] then
equip(sets.JA.BurstAffinity)
end
end
if spell.english == 'Magic Fruit' or spell.english == 'Plenilune Embrace' or spell.english == 'Wild Carrot' or spell.english == 'Pollen' then
equip(sets.BlueMagic.Cures)
end
if spell.english == 'Head Butt' or spell.english == 'Sudden Lunge' or spell.english == 'Blitzstrahl' then
equip(sets.BlueMagic.Stun)
end
if spell.english == 'Heavy Strike' then
equip(sets.BlueMagic.HeavyStrike)
end
if spell.english == 'Charged Whisker' then
equip(sets.BlueMagic.ChargedWhisker)
if buffactive['Burst Affinity'] then
equip(sets.JA.BurstAffinity)
end
end
if spell.english == 'Frightful Roar' or spell.english == 'Infrasonics' or spell.english == 'Barbed Crescent' or spell.english == 'Tourbillion' or spell.english == 'Cimicine Discharge' or spell.english == 'Sub-zero smash' or spell.english == 'Filamented Hold' or spell.english == 'Mind Blast' or spell.english == 'Sandspin' or spell.english == 'Hecatomb Wave' or spell.english == 'Cold Wave' then
equip(sets.BlueMagic.MagicAccuracy)
end
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
equip(sets.BlueMagic.SkillRecast)
end
end
function aftercast(spell)
if player.status == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
else
equip(sets.Idle[sets.Idle.index[Idle_ind]])
end
end
function status_change(new,old)
if new == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
else
equip(sets.Idle[sets.Idle.index[Idle_ind]])
end
end
function equip_TP_set()
if TP_ind == 1 and ( (buffactive['march'] == 2 and buffactive['haste']) or (buffactive['embrava'] and buffactive['haste']) ) then
equip(sets.TP['Marches'])
else
equip(sets.TP[sets.TP.index[TP_ind]])
end
end
function self_command(command)
if command == 'toggle TP set' then
TP_ind = TP_ind +1
if TP_ind > #sets.TP.index then TP_ind = 1 end
send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
equip(sets.TP[sets.TP.index[TP_ind]])
elseif command == 'toggle Idle set' then
Idle_ind = Idle_ind +1
if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
equip(sets.Idle[sets.Idle.index[Idle_ind]])
elseif command == 'toggle Req set' then
Requiescat_ind = Requiescat_ind +1
if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
send_command('@input /echo <----- Requiescat Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
elseif command == 'toggle CDC set' then
ChantDuCygne_ind = ChantDuCygne_ind +1
if ChantDuCygne_ind > #sets.ChantDuCygne.index then ChantDuCygne_ind = 1 end
send_command('@input /echo <----- Chant du Cygne Set changed to '..sets.ChantDuCygne.index[ChantDuCygne_ind]..' ----->')
elseif command == 'equip TP set' then
equip_TP_set()
elseif command == 'equip Idle set' then
equip_Idle_set()
end
end