function get_sets()
--TP Sets--
sets.TP = {}
sets.TP.index = {'Standard', 'AccuracyLite', 'AccuracyFull', 'DT', 'DTAccuracy'}
--1=Standard, 2=AccuracyLite, 3=AccuracyFull, 4=DT, 5=DTAccuracy--
TP_ind = 1
sets.TP.Standard = {range="Cibitshavore",
head="Otomi Helm",neck="Asperity Necklace", ear1="Steelflash Earring", ear2="Bladeborn Earring",
body="Wakido Domaru +1",hands="Wakido Kote +1",ring1="Rajas Ring",ring2="K'ayres Ring",
back="Takaha Mantle",waist="Cetl belt",legs="Wakido Haidate +1",feet="Whirlpool Greaves"}
sets.TP.AccuracyLite = {range="Cibitshavore",
head="Otomi helm",neck="Asperity necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
body="Sakonji domaru +1",hands="Wakido Kote +1",ring1="Rajas ring",ring2="Patricius Ring",
back="Takaha mantle",waist="Anguinus Belt",legs="Wakido Haidate +1",feet="Whirlpool Greaves"}
sets.TP.AccuracyFull = {range="Cibitshavore",
head="Yaoyotl helm",neck="Iqabi necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
body="Sakonji Domaru +1",hands="Wakido Kote +1",ring1="Rajas ring",ring2="Patricius Ring",
back="Takaha mantle",waist="Anguinus Belt",legs="Miki. Cuisses",feet="Whirlpool Greaves"}
sets.TP.DT = {range="Cibitshavore",
head="Lithelimb Cap",neck="Twilight Torque", ear1="Steelflash earring", ear2="Bladeborn earring",
body="Miki. breastplate",hands="Umuthi Gloves",ring1="Defending Ring",ring2="Patricius Ring",
back="Mollusca Mantle",waist="Cetl belt",legs="Wakido Haidate +1",feet="Whirlpool Greaves"}
sets.TP.DTAccuracy = {range="Cibitshavore",
head="Lithelimb Cap",neck="Agitator's Collar", ear1="Steelflash earring", ear2="Bladeborn earring",
body="Miki. breastplate",hands="Umuthi Gloves",ring1="Defending Ring",ring2="Patricius Ring",
back="Takaha mantle",waist="Cetl belt",legs="Miki. Cuisses",feet="Whirlpool Greaves"}
--Weaponskill Sets--
sets.WS = {}
sets.Shoha = {}
sets.Shoha.index = {'Attack','Accuracy'}
Shoha_ind = 1
sets.Shoha.Attack = {range="Cibitshavore",
head="Otomi helm",neck="Breeze Gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Sakonji Domaru +1",hands="Miki. Gauntlets",ring1="Rajas Ring",ring2="Pyrosoul Ring",
back="Atheling Mantle",waist="Windbuffet belt",legs="Miki. Cuisses",feet="Sak. Sune-Ate +1"}
sets.Shoha.Accuracy = {range="Cibitshavore",
head="Yaoyotl helm",neck="Breeze Gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Sakonji Domaru +1",hands="Miki. Gauntlets",ring1="Rajas Ring",ring2="Pyrosoul Ring",
back="Takaha Mantle",waist="Windbuffet belt",legs="Miki. Cuisses",feet="Sak. Sune-Ate +1"}
sets.Fudo = {}
sets.Fudo.index = {'Attack','Accuracy'}
Fudo_ind = 1
sets.Fudo.Attack = {range="Cibitshavore",
head="Otomi helm",neck="Light Gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Sakonji Domaru +1",hands="Boor Bracelets",ring1="Rajas ring",ring2="Pyrosoul Ring",
back="Buquwik cape",waist="Light belt",legs="Wakido haidate +1",feet="Sak. Sune-Ate +1"}
sets.Fudo.Accuracy = {range="Cibitshavore",
head="Yaoyotl helm",neck="Light Gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Sakonji Domaru +1",hands="Boor Bracelets",ring1="Rajas ring",ring2="Pyrosoul Ring",
back="Buquwik cape",waist="Light belt",legs="Wakido haidate +1",feet="Sak. Sune-Ate +1"}
--Job Ability Sets--
sets.JA = {}
sets.JA.Meditate = {head="Myn. kabuto +1",hands="Sakonji Kote"}
sets.JA.MeikyoShisui = {feet="Sak. Sune-Ate +1"}
end
function precast(spell)
if spell.english == 'Meditate' then
equip(sets.JA.Meditate)
end
if spell.english == 'Meikyo Shisui' then
equip(sets.JA.MeikyoShisui)
end
if spell.english == 'Tachi: Shoha' then
equip(sets.Shoha[sets.Shoha.index[Shoha_ind]])
end
if spell.english == 'Tachi: Kaiten' or spell.english == 'Tachi: Fudo' then
equip(sets.Fudo[sets.Fudo.index[Fudo_ind]])
end
end
function aftercast(spell,act)
if player.status == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
end
end
function status_change(new,old)
if new == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
end
end
function self_command(command)
if command == 'toggle MTP set' then
TP_ind = TP_ind +1
if TP_ind > #sets.TP.index then TP_ind = 1 end
send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
equip(sets.TP[sets.TP.index[TP_ind]])
elseif command == 'toggle Shoha set' then
Shoha_ind = Shoha_ind +1
if Shoha_ind > #sets.Shoha.index then Shoha_ind = 1 end
send_command('@input /echo <----- Tachi: Shoha Set changed to '..sets.Shoha.index[Shoha_ind]..' ----->')
elseif command == 'toggle Fudo set' then
Fudo_ind = Fudo_ind +1
if Fudo_ind > #sets.Fudo.index then Fudo_ind = 1 end
send_command('@input /echo <----- Tachi: Kaiten/Tachi: Fudo Set changed to '..sets.Fudo.index[Fudo_ind]..' ----->')
elseif command == 'equip TP set' then
equip(sets.TP[sets.TP.index[TP_ind]])
end
end