function get_sets()
-- This set will be equipped when idle
sets.Idle = {
main="Owleyes",
sub="Genbu's Shield",
ammo="Incantor Stone",
head="Orison Cap +2",
body="Orison Bliaud +2",
hands="Serpentes Cuffs",
legs="Orsn. Pantaln. +2",
feet="Serpentes Sabots",
waist="Cleric's Belt",
neck="Twilight Torque",
left_ear="Loquac. Earring",
right_ear="Orison Earring",
left_ring="Omega Ring",
right_ring="Sirona's Ring",
}
-- This set will be equipped before magic is cast
sets.FastCast = {
ammo="Incantor Stone",
head="Walahra Turban",
body="Goliard Saio",
hands="Blessed Mitts",
legs="Blessed Trousers",
feet="Orsn. Duckbills +2",
waist="Austerity Belt",
neck="Orison Locket",
left_ear="Loquac. Earring",
right_ear="Orison Earring",
left_ring="Omega Ring",
right_ring="Sirona's Ring",
}
-- This set will be equipped before healing magic is cast
sets.Cure = {
main="Tefnut Wand",
sub="Genbu's Shield",
ammo="Incantor Stone",
head="Orison Cap +2",
body="Facio Bliaut",
hands="Augur's Gloves",
legs="Orsn. Pantaln. +2",
feet="Orsn. Duckbills +2",
waist="Austerity Belt",
neck="Orison Locket",
left_ear="Roundel Earring",
right_ear="Orison Earring",
left_ring="Omega Ring",
right_ring="Sirona's Ring",
}
end
function precast(spell)
if spell.prefix == '/magic' then
-- Magic precast
equip(sets.FastCast)
end
end
function midcast(spell)
if string.find(spell.english,"Cure") or string.find(spell.english,"Cura") then
-- Magic Usage
equip(sets.Cure)
end
end
function aftercast(spell)
if player.status=='Idle' then
equip(sets.Idle)
end
end