SeekerStar Admin replied
584 weeks ago
SeekerStar Admin replied
583 weeks ago
Alexcennah Default replied
583 weeks ago
Alexcennah Default replied
583 weeks ago
function get_sets()
--Idle Set
sets.Idle = {ammo="Raider's Bmrng.",
head="Oce. Headpiece +1",neck="Wiglen Gorget",lear="Colossus's earring",rear="Ethereal earring",
body="Iuitl Vest",hands="Plun. Armlets +1",lring="Dark ring",rring="Defending Ring",
back="Repulse Mantle",waist="Windbuffet Belt",legs="Iuitl Tights +1",feet='Fajin boots'}
--TP Sets
sets.TP = {}
sets.TP.index = {'Standard','TH','Evasion'}
---- 1=Standard, 2=TH, 3=Evasion ----
TP_ind = 1
sets.TP.Standard = {ammo="Raider's Bmrng.",
head="Iuitl Headgear +1",neck="Asperity necklace",lear="Dudgeon earring",rear="Heartseeker earring",
body="Thaumas coat",hands="Plun. Armlets +1",lring="Epona's ring",rring="Rajas Ring",
back="Atheling Mantle",waist="Windbuffet Belt",legs="Iuitl Tights +1",feet="Manibozho boots"}
sets.TP.TH = set_combine(sets.TP.Standard,{feet="Raid. Poulaines +2"})
sets.TP.Evasion = set_combine(sets.TP.Standard,{body = 'Espial gambison',legs = 'Kaabnax Trousers',feet = 'Espial Socks'})
--Weaponskill Sets--
sets.WS = {}
sets.WS.Standard = {}
sets.WS.Exenterator = {ammo="Raider's Bmrng.",
head="Whirlpool mask",neck="Asperity necklace",lear="Dudgeon earring",rear="Heartseeker earring",
body="Espial Gambison",hands="Buremte gloves",lring="Epona's ring",rring="Rajas Ring",
back="Atheling Mantle",waist="Windbuffet Belt",legs="Manibozho Brais",feet="Espial Socks"}
sets.WS.Evisceration = sets.WS.Exenterator
--Job Ability Sets--
sets.JA = {}
sets.JA['Sneak Attack'] = {}
sets.JA['Trick Attack'] = {}
sets.JA['Perfect Dodge'] = {hands="Plun. Armlets +1"}
--Utility Sets--
sets.Utility = {}
sets.Utility.GearCollector = {"Izhiikoh","Sandung","Sole sushi","Sole sushi +1",
"Red Curry Bun","R. Curry Bun +1","Remedy","Instant Warp",
"Instant Reraise","Reraise earring","Reraise Gorget","Warp Ring",
"Thief's Knife","Atoyac"}
end
function precast(spell)
if spell.type == 'WeaponSkill' then
if sets.WS[spell.name] then
equip(sets.WS[spell.name])
else
equip(sets.WS.Standard)
end
elseif sets.JA[spell.name] then
equip(sets.JA[spell.name])
end
end
function midcast(spell,act)
end
function aftercast(spell)
if player.status == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
else
equip(sets.Idle)
end
end
function status_change(new,old)
if new == 'Engaged' then
equip_TP_set()
else
equip_Idle_set()
end
end
function filtered_action(spell)
end
function self_command(command)
if command == 'mode' 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_TP_set()
end
if command == 'tp' then
TP_ind = 1
send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
equip_TP_set()
end
if command == 'th' then
TP_ind = 2
send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
equip_TP_set()
end
if command == 'eva' then
TP_ind = 3
send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
equip_TP_set()
end
if command == 'idle' then
equip_Idle_set()
end
end
-- User defined functions
function equip_TP_set()
equip(sets.TP[sets.TP.index[TP_ind]])
end
function equip_Idle_set()
equip(sets.Idle)
end
SeekerStar Admin replied
583 weeks ago
Alexcennah Default replied
583 weeks ago
Alexcennah Default replied
583 weeks ago
Alexcennah Default replied
583 weeks ago
Alexcennah Default replied
585 weeks ago