Get it while it's hot!
Fotia Gorget/Belt
Code:
function job_setup()
ws_elements_to_check = S{'Compression', 'Darkness', 'Detonation', 'Distortion', 'Fragmentation', 'Fusion',
'Gravitation', 'Impaction', 'Induration', 'Light', 'Liquefaction', 'Reverberation', 'Scission', 'Transfixion'}
end
function job_post_precast(spell, action, spellMap, eventArgs)
if spell.type == 'WeaponSkill' and ws_elements_to_check:contains(spell.skillchain_a)
or ws_elements_to_check:contains(spell.skillchain_b)
or ws_elements_to_check:contains(spell.skillchain_c) then
equip({neck="Fotia Gorget", waist="Fotia Belt"})
end
end
Lugra Earring (+1)
Code:
sets.DusktoDawn_WS = {ear1="Lugra Earring +1", ear2="Lugra Earring"}
function job_post_precast(spell, action, spellMap, eventArgs)
if spell.type == 'WeaponSkill' then
if world.time <= (7*60) or world.time >= (17*60) then
equip(sets.DusktoDawn_WS)
end
end
end
And for Mega Obi.
Code:
function job_post_midcast(spell, action, spellMap, eventArgs)
if spell.skill == 'Elemental Magic' then
if spell.element == world.day_element or spell.element == world.weather_element then
equip(sets.midcast['Elemental Magic'], {waist="Hachirin-No-Obi"})
end
elseif spell.skill == 'Healing Magic' then
if spell.name:startswith('Cure') and world.day_element == 'Light' or world.weather_element == 'Light' then
equip(sets.midcast.Cure, {waist="Hachirin-No-Obi"})
end
end
end