function get_sets()
-- This set will be equipped when idle
sets.aftercast = {}
sets.Idle = {
main="Eminent Lance",
sub="Pole Grip",
ammo="Thew Bomblet",
head="Twilight Helm",
body="Twilight Mail",
hands="Lncr. Vmbrc. +1",
legs="Lncr. Cuissots +1",
feet="Lncr. Schynbld. +1",
waist="Goading Belt",
back="Atheling Mantle",
neck="Orochi Nodowa",
left_ear="Brutal Earring",
right_ear="Kemas Earring",
left_ring="Dark Ring",
right_ring="Dark Ring",
}
-- This set will be equipped when engaging the enemy
sets.TP = {
main="Eminent Lance",
sub="Pole Grip",
ammo="Thew Bomblet",
head="Espial Cap",
body="Espial Gambison",
hands="Espial Bracers",
legs="Espial Hose",
feet="Espial Socks",
waist="Goading Belt",
back="Atheling Mantle",
neck="Chivalrous Chain",
left_ear="Brutal Earring",
right_ear="Kemas Earring",
left_ring="Rajas Ring",
right_ring="Heed Ring",
}
-- This set will be equipped before Drakesbane used
sets.precast = {}
sets.precast.Drakesbane = {
main="Eminent Lance",
sub="Pole Grip",
ammo="Thew Bomblet",
head="Espial Cap",
body="Espial Gambison",
hands="Espial Bracers",
legs="Espial Hose",
feet="Espial Socks",
waist="Warwolf Belt",
back="Atheling Mantle",
neck="Agasaya's Collar",
left_ear="Brutal Earring",
right_ear="Kemas Earring",
left_ring="Rajas Ring",
right_ring="Spiral Ring",
}
end
function aftercast(spell, action)
if player.status =='Idle' then
equip(sets.Idle)
elseif player.status == 'Engaged' then
equip(sets.TP)
end
end
function precast(spell,action)
if spell.english == 'Drakesbane' then
equip(sets.precast.Drakesbane)
end
end