Code:
function get_sets()
--Idle Sets--
sets.Idle = {}
sets.Idle.Standard = {main="Baqil staff",
head="Aoidos' calot +2",neck="Twilight torque",ear1="Moonshade earring",ear2="Ethereal earring",
body="Sha'ir manteel",hands="Serpentes cuffs",ring1="Tamas ring",ring2="Maquette ring",
back="Umbra cape",waist="Flume belt",legs="Aoidos' rhing. +2",feet="Aoidos' Cothrn. +2"}
--Precast Sets--
sets.precast = {}
sets.precast.JA = {}
sets.precast.JA.Nightingale = {feet="Brd. Slippers +2"}
sets.precast.JA.Troubadour = {body="Bard's Justaucorps +2"}
sets.precast.JA.SoulVoice = {legs="Brd. Cannions +2"}
sets.precast.FC = {}
sets.precast.FC.Song = {main="Felibre's dague",
head="Aoidos' Calot +2",neck="Orunmila's Torque",ear1="Loquac. Earring",ear2="Aoidos' Earring",
body="Sha'ir manteel",hands="Gendewitha Gages",ring1="Prolix ring",
back="Swith Cape",waist="Witful Belt",legs="Orvail pants +1",feet="Bokwus Boots"}
sets.precast.FC.Normal = {head="Nahtirah Hat",neck="Orunmila's Torque",ear1="Loquac. Earring",
hands="Gendewitha Gages",ring1="Prolix Ring",
back="Swith Cape",waist="Witful belt",legs="Orvail Pants +1",feet="Chelona Boots"}
sets.precast.Cure = {head="Nahtirah hat",neck="Orunmila's torque",ear1="Loquac. earring",
body="Nefer Kalasiris",hands="Gendewitha gages",ring1="Prolix ring",
back="Pahtli cape",waist="Witful belt",legs="Orvail pants +1",feet="Chelona boots"}
--Midcast Sets--
sets.midcast = {}
sets.midcast.Cures = {main='Chatoyant Staff',sub='Verse strap +1',ammo='Clarus stone',
head='Gende. caubeen', neck="Colossus's torque",ear1='Aredan earring',ear2='Beatific earring',
body='Nefer kalasiris',hands='Bokwus gloves',ring1='Ephedra ring',ring2="Sirona's ring",
back="Pahtli cape",waist='Cascade belt',legs="Magavan slops",feet='Orvail souliers +1'}
sets.midcast.SongAcc = {main="Baqil staff",sub="Mephitis grip",
head="Buremte hat",neck="Noetic torque",ear1="Psystorm earring",ear2="Lifestorm earring",
body="Aoidos' hngrln. +2",hands="Ad. Mnchtte. +2",ring1="Maquette ring",ring2="Balrahn's ring",
back="Swith cape",waist="Witful belt",legs="Aoidos' rhing. +2",feet="Bokwus boots"}
sets.midcast.Enhancing = {neck="Colossus's torque",
back="Merciful cape",waist="Cascade belt"}
sets.midcast.Enfeebling = {main="Baqil staff",sub="Mephitis grip",
head="Buremte hat",neck="Spider torque",ear1="Psystorm earring",ear2="Lifestorm earring",
body="Orvail robe +1",hands="Gendewitha gages",ring1="Maquette ring",ring2="Balrahn's ring",
back="Swith cape",waist="Cascade belt",legs="Orvail pants +1",feet="Orvail souliers +1"}
sets.midcast.Stoneskin = {head="Nahtirah hat",neck="Stone gorget",ear1="Earthcry earring",ear2="Loquac. earring",
hands="Stone mufflers",ring1="Prolix ring",
back="Swith cape",waist="Siegel sash",legs="Haven hose",feet="Chelona boots"}
--Song Sets--
sets.Songs = {}
sets.Songs.March = {main="Legato dagger",range="Faerie piccolo",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Mdk. shalwar +1",feet="Brioso slippers"}
sets.Songs.Minuet = {main="Legato dagger",range="Apollo's flute",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Mdk. shalwar +1",feet="Brioso slippers"}
sets.Songs.Madrigal = {main="Legato dagger",range="Cantabank's horn",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Mdk. shalwar +1",feet="Brioso slippers"}
sets.Songs.Minne = {main="Legato dagger",range="Syrinx",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Mdk. shalwar +1",feet="Brioso slippers"}
sets.Songs.Scherzo = {main="Legato dagger",range="Syrinx",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Mdk. shalwar +1",feet="Aoidos' Cothrn. +2"}
sets.Songs.Ballad = {main="Legato dagger",range="Crooner's cithara",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Aoidos' rhing. +2",feet="Brioso slippers"}
sets.Songs.Prelude = {main="Legato dagger",range="Cantabank's horn",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Mdk. shalwar +1",feet="Brioso slippers"}
sets.Songs.Mambo = {main="Legato dagger",range="Vihuela",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Mdk. shalwar +1",feet="Brioso slippers"}
sets.Songs.Mazurka = {main="Legato dagger",range="Vihuela",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Mdk. shalwar +1",feet="Brioso slippers"}
sets.Songs.Paeon = {main="Legato dagger",range="Pan's horn",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Mdk. shalwar +1",feet="Brioso slippers"}
sets.Songs.Etude = {main="Legato dagger",range="Pan's horn",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Mdk. shalwar +1",feet="Brioso slippers"}
sets.Songs.Carol = {main="Legato dagger",range="Vihuela",
head="Aoidos' calot +2",neck="Aoidos' matinee",
body="Aoidos' hngrln. +2",hands="Ad. mnchtte. +2",
legs="Mdk. shalwar +1",feet="Brioso slippers"}
sets.Songs.Finale = {main="Soothsayer staff",sub="Mephitis grip",range="Pan's horn",
head="Buremte hat",neck="Noetic torque",ear1="Psystorm earring",ear2="Lifestorm earring",
body="Aoidos' hngrln. +2",hands="Ad. Mnchtte. +2",ring1="Maquette ring",ring2="Balrahn's ring",
back="Swith cape",waist="Witful belt",legs="Aoidos' rhing. +2",feet="Bokwus boots"}
sets.Songs.Lullaby = {main="Soothsayer staff",sub="Mephitis grip",range="Crooner's Cithara",
head="Buremte hat",neck="Noetic torque",ear1="Psystorm earring",ear2="Lifestorm earring",
body="Aoidos' hngrln. +2",hands="Ad. Mnchtte. +2",ring1="Maquette ring",ring2="Balrahn's ring",
back="Swith cape",waist="Witful belt",legs="Aoidos' rhing. +2",feet="Bokwus boots"}
sets.Songs.Elegy = {main="Soothsayer staff",sub="Mephitis grip",range="Syrinx",
head="Buremte hat",neck="Noetic torque",ear1="Psystorm earring",ear2="Lifestorm earring",
body="Aoidos' hngrln. +2",hands="Ad. Mnchtte. +2",ring1="Maquette ring",ring2="Balrahn's ring",
back="Swith cape",waist="Witful belt",legs="Aoidos' rhing. +2",feet="Bokwus boots"}
sets.Songs.Threnody = {main="Soothsayer staff",sub="Mephitis grip",range="Sorrowful Harp",
head="Buremte hat",neck="Noetic torque",ear1="Psystorm earring",ear2="Lifestorm earring",
body="Aoidos' hngrln. +2",hands="Ad. Mnchtte. +2",ring1="Maquette19 ring",ring2="Balrahn's ring",
back="Swith cape",waist="Witful belt",legs="Aoidos' rhing. +2",feet="Bokwus boots"}
timer_reg = {}
pianissimo_cycle = false
end
function pretarget(spell)
if spell.type == 'BardSong' and spell.target.type and spell.target.type == 'PLAYER' and not buffactive.pianissimo and not spell.target.charmed and not pianissimo_cycle then
cancel_spell()
pianissimo_cycle = true
send_command('input /ja "Pianissimo" <me>;wait 1.5;input /ma "'..spell.name..'" '..spell.target.name..';')
return
end
if spell.name ~= 'Pianissimo' then
pianissimo_cycle = false
end
end
function precast(spell)
if spell.type == 'BardSong' then
equip(sets.precast.FC.Song)
elseif spell.action_type == 'Magic' then
equip(sets.precast.FC.Normal)
if string.find(spell.english,'Cur') and spell.name ~= 'Cursna' then
equip(sets.precast.Cure)
end
end
if spell.english == 'Nightingale' then
equip(sets.precast.JA.Nightingale)
end
if spell.english == 'Troubadour' then
equip(sets.precast.JA.Troubadour)
end
if spell.english == 'Soul Voice' then
equip(sets.precast.JA.SoulVoice)
end
end
function midcast(spell)
if spell.english == 'Advancing March' or spell.english == 'Victory March' then
equip(sets.Songs.March)
end
if spell.english == 'Valor Minuet' or spell.english == 'Valor Minuet II' or spell.english == 'Valor Minuet III' or spell.english == 'Valor Minuet IV' then
equip(sets.Songs.Minuet)
end
if spell.english == 'Blade Madrigal' or spell.english == 'Sword Madrigal' then
equip(sets.Songs.Madrigal)
end
if spell.english == "Knight's Minne" or spell.english == "Knight's Minne II" or spell.english == "Knight's Minne III" or spell.english == "Knight's Minne IV" or spell.english == "Knight's Minne V" then
equip(sets.Songs.Minne)
end
if spell.english == "Sentinel's Scherzo" then
equip(sets.Songs.Scherzo)
end
if spell.english == "Mage's Ballad" or spell.english == "Mage's Ballad II" or spell.english == "Mage's Ballad III" then
equip(sets.Songs.Ballad)
end
if spell.english == 'Sheepfoe Mambo' or spell.english == 'Dragonfoe Mambo' then
equip(sets.Songs.Mambo)
end
if spell.english == "Hunter's Prelude" or spell.english == "Archer's Prelude" then
equip(sets.Songs.Prelude)
end
if spell.english == "Army's Paeon" or spell.english == "Army's Paeon II" or spell.english == "Army's Paeon III" or spell.english == "Army's Paeon IV" or spell.english == "Army's Paeon V" or spell.english == "Army's Paeon VI" or spell.english == "Army's Paeon VII" then
equip(sets.Songs.Paeon)
end
if spell.english == 'Enchanting Etude' or spell.english == 'Spirited Etude' or spell.english == 'Learned Etude' or spell.english == 'Quick Etude' or spell.english == 'Vivacious etude' or spell.english == 'Dextrous etude' or spell.english == 'Sinewy etude' or spell.english == 'Bewitching etude' or spell.english == 'Logical etude' or spell.english == 'Sage etude' or spell.english == 'Swift etude' or spell.english == 'Vital etude' or spell.english == 'Uncanny etude' or spell.english == 'Herculean etude' then
equip(sets.Songs.Etude)
end
if spell.english == 'Light carol' or spell.english == 'Dark carol' or spell.english == 'Fire carol' or spell.english == 'Ice carol' or spell.english == 'Wind carol' or spell.english == 'Earth carol' or spell.english == 'Lightning carol' or spell.english == 'Water carol' or spell.english == 'Light carol II' or spell.english == 'Dark carol II' or spell.english == 'Fire carol II' or spell.english == 'Ice carol II' or spell.english == 'Wind carol II' or spell.english == 'Earth carol II' or spell.english == 'Lightning carol II' or spell.english == 'Water carol II' then
equip(sets.Songs.Carol)
end
if spell.english == 'Raptor Mazurka' or spell.english == 'Chocobo Mazurka' then
equip(sets.Songs.Mazurka)
end
if spell.english == 'Foe Lullaby' or spell.english == 'Foe Lullaby II' or spell.english == 'Horde Lullaby' or spell.english == 'Horde Lullaby II' then
equip(sets.Songs.Lullaby)
end
if spell.english == 'Magic Finale' then
equip(sets.Songs.Finale)
end
if spell.english == 'Carnage Elegy' or spell.english == 'Battlefield Elegy' then
equip(sets.Songs.Elegy)
end
if spell.english == 'Light Threnody' or spell.english == 'Dark Threnody' or spell.english == 'Fire Threnody' or spell.english == 'Ice Threnody' or spell.english == 'Wind Threnody' or spell.english == 'Earth Threnody' or spell.english == 'Lightning threnody' or spell.english == 'Water threnody' then
equip(sets.Songs.Threnody)
end
if spell.english == 'Cure' or spell.english == 'Cure II' or spell.english == 'Cure III' or spell.english == 'Cure IV' then
equip(sets.midcast.Cures)
end
if spell.english == 'Stoneskin' then
equip(sets.midcast.Stoneskin)
end
if spell.english == 'Phalanx' or spell.english == 'Barfira' or spell.english == 'Barfire' or spell.english == 'Barblizzara' or spell.english == 'Barblizzard' or spell.english == 'Baraera' or spell.english == 'Baraero' or spell.english == 'Barstonra' or spell.english == 'Barstone' or spell.english == 'Barthundara' or spell.english == 'Barthunder' or spell.english == 'Barwatera' or spell.english == 'Barwater' then
equip(sets.midcast.Enhancing)
end
if spell.english == 'Slow' or spell.english == 'Paralyze' or spell.english == 'Blind' then
equip(sets.midcast.Enfeebling)
end
end
function aftercast(spell)
equip(sets.Idle.Standard)
end
end