-- Variables --
SongDeBuffs = S{"Foe Requiem","Foe Requiem II","Foe Requiem III","Foe Requiem IV","Foe Requiem V","Foe Requiem VI","Foe Requiem VII","Battlefield Elegy","Carnage Elegy","Fire Threnody","Ice Threnody","Wind Threnody","Earth Threnody","Ltng. Threnody","Water Threnody","Light Threnody","Dark Threnody","Magic Finale"}
SongSleep = S{"Foe Lullaby","Foe Lullaby II","Horde Lullaby","Horde Lullaby II"}
-- Initialization function for this job file.
function get_sets()
mote_include_version = 2
-- Load and initialize the include file.
include('Mote-Include.lua')
end
-- Define sets and vars used by this job file.
function get_sets()
--------------------------------------
-- Start defining the sets
--------------------------------------
-- Precast Sets
-- Fast cast sets for spells
sets.precast_Magic = {
head="Revealer's Crown",
ear2="Loquac. Earring",
hands="Gendewitha Gages",
ring1="Prolix Ring",
back="Swith Cape",
waist="Witful Belt"}
sets.precast_Cure = set_combine(sets.precast_Magic, {body="Nefer Kalasiris"})
sets.precast_Stoneskin = set_combine(sets.precast_Magic, {hands="Carapacho Cuffs",waist="Siegel Sash"})
sets.precast_EnhancingMagic = set_combine(sets.precast_Magic, {waist="Siegel Sash"})
sets.precast_Song = {
main="Felibre's Dague",
range="Gjallarhorn",
head="Fili Calot",
neck="Aoidos' Matinee",
ear1="Aoidos' Earring",
ear2="Loquac. Earring",
body="Sha'ir Manteel",
hands="Gendewitha Gages",
ring1="Prolix Ring",
back="Swith Cape",
waist="Witful Belt",
legs="Gendewitha Spats",
feet="Telchine Pigaches"}
end
-- For song buffs (duration and AF3 set bonus)
sets.midcast_SongEffect = {
main="Legato Dagger",
range="Gjallarhorn",
head="Fili Calot",
neck="Aoidos' Matinee",
ear2="Loquacious Earring",
body="Fili Hongreline",
hands="Fili Manchettes",
ring1="Prolix Ring",
back="Rhapsode's Cape",
waist="Corvax Sash",
legs="Fili Rhingrave",
feet="Brioso Slippers +1"}
-- For song defbuffs (duration primary, accuracy secondary)
sets.midcast_SongDebuff = {
main="Lehbrailg +2",
sub="Mephitis Grip",
range="Gjallarhorn",
head="Brioso Roundlet +1",
neck="Barcarolle Medal",
ear1="Musical Earring",
ear2="Enchntr. Earring",
body="Fili Hongreline",
hands="Fili Manchettes",
ring1="Carb. Ring +1",
ring2="Carb. Ring +1",
back="Rhapsode's Cape",
waist="Corvax Sash",
legs="Fili Rhing.",
feet="Telchine Pigaches"}
-- Gear to enhance certain classes of songs. No instruments added here since Gjallarhorn is being used.
sets.midcast_Ballad = set_combine(sets.midcast_SongEffect,{legs="Fili Rhingrave"})
sets.midcast_Lullaby = set_combine(sets.midcast_SongDebuff,{hands="Brioso Cuffs +1"})
sets.midcast_Madrigal = set_combine(sets.midcast_SongEffect,{head="Fili Calot"})
sets.midcast_March = set_combine(sets.midcast_SongEffect,{hands="Fili Manchettes"})
sets.midcast_Minuet = set_combine(sets.midcast_SongEffect,{body="Fili Hongreline"})
sets.midcast_Minne = {}
sets.midcast_Paeon = set_combine(sets.midcast_SongEffect,{head="Brioso Roundlet +1"})
sets.midcast_Sentinel_Scherzo = set_combine(sets.midcast_SongEffect,{feet="Fili Cothrn."})
-- Other general spells and classes.
sets.midcast_Cure = {
main="Arka IV",
sub="Achaq Grip",
head="Gendewitha Caubeen",
neck="Fylgja Torque",
body="Gendewitha Bliaut",
hands="Weatherspoon cuffs",
ring1="Haoma's Ring",
ring2="Sirona's Ring",
legs="Gendewitha Spats",
feet="Gendewitha Galoshes"}
sets.midcast_Daurdabla = set_combine(sets.midcast_SongEffect,{range="Daurdabla"})
sets.midcast_Dummy = set_combine(sets.midcast_SongDebuff, {range="Daurdabla"})
function job_setup()
state.ExtraSongsMode = M{['description']='Extra Songs', 'None', 'Dummy', 'FullLength'}
end
-- Precast --
function precast(spell)
if string.find(spell.english,'Cure*') then
equip(sets.precast_Cure)
elseif string.find(spell.english,'Curaga*') then
equip(sets.precast_Cure)
end
if spell.type == 'BardSong' then
equip(sets.precast_Song)
end
if spell.english=='Stoneskin' then
equip(sets.precast_Stoneskin)
elseif spell.skill == 'Enhancing Magic' then
equip(sets.precast_EnhancingMagic)
else
equip(sets.precast_Magic)
end
end
-- Midcast --
function midcast(spell)
if spell.type == 'BardSong' and state.ExtraSongsMode.value == 'FullLength' then
equip(sets.midcast_Daurdabla)
elseif spell.type == 'BardSong' and state.ExtraSongsMode.value == 'Dummy' then
equip(sets.midcast_Dummy)
elseif spell.type == 'BardSong' and state.ExtraSongsMode.value == 'None' then
equip(sets.midcast_SongEffect)
end
if SongDeBuffs:contains(spell.name) then
equip(sets.midcast_SongDebuff)
end
if SongSleep:contains(spell.name) then
equip(sets.midcast_Lullaby)
end
if string.find(spell.english,'Cure*') then
equip(sets.midcast_Cure)
end
end