-- Global intercept on midcast.
function user_post_midcast(spell, action, spellMap, eventArgs)
if buffactive['Reive Mark'] and (spell.skill == 'Elemental Magic' or spellMap == 'Cure' or spellMap == 'Curaga') then
equip(sets.reive)
end
end
function user_customize_idle_set(idleSet)
if buffactive['Reive Mark'] then
idleSet = set_combine(idleSet, sets.reive)
end
if state.CapacityPoints.value then
idleSet = set_combine(idleSet, sets.CapacityMantle)
end
return idleSet
end
-- Test for Capacity Mantle
function user_customize_setup()
send_command('bind @` gs c toggle CapacityPoints')
end
function user_customize_unload()
send_command('unbind @`')
end
function user_customize_job_setup()
state.CapacityPoints = M(false, 'Capacity Point Mantle')
end
function user_customize_melee_set(meleeSet)
if state.CapacityPoints.value then
meleeSet = set_combine(meleeSet, sets.CapacityMantle)
end
return meleeSet
end
-- End test for Capacity Mantle