Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_sets()
- sets.misc = {}
- sets.misc.SM = {back="Shadow Mantle"}
- sets.misc.Impetus = {body="Tantra Cyclas +2"}
- sets.misc.Idle = {
- head="Ocelo. Headpiece", neck="Twilight Torque",
- body="Hesychast's Cyclas", ring1="Paguroidea Ring", ring2="Sheltered Ring",
- feet="Hermes' Sandals" }
- sets.misc.Chakra = {
- ammo="Tantra Tathlum",
- head="Uk'uxkaj Cap", neck="Tjukurrpa Medal", ear1="Soil Pearl", ear2="Soil Pearl",
- body="Anchorite's Cyclas", hands="Hesychast's Gloves +1", ring1="Terrasoul Ring", ring2="Terrasoul Ring",
- back="Anchoret's Mantle", waist="Caudata Belt", legs="Quiahuiz Trousers", feet="Thurandaut Boots +1" }
- sets.precast = {}
- sets.precast['Perfect Counter'] = {}
- sets.precast['Hundred Fists'] = {legs="Hesychast's Hose"}
- sets.precast.Boost = {hands="Temple Gloves"}
- sets.precast.Counterstance = {feet="Melee Gaiters +1"}
- sets.precast['Formless Strikes'] = {body="Hesychast's Cyclas"}
- sets.precast.Dodge = {feet="Anchorite's Gaiters"}
- sets.precast.Focus = {head="Temple Crown"}
- sets.precast.Mantra = {}
- sets.precast.Waltz = {}
- sets.precast['Shijin Spiral'] = {
- ammo="Honed Tathlum",
- head="Uk'uxkaj Cap", neck="Asperity Necklace", ear1="Bladeborn Earring", ear2="Steelflash Earring",
- body="Qaaxo Harness", hands="Hesychast's Gloves +1", ring1="Epona's Ring", ring2="Jupiter's Ring",
- back="Atheling Mantle", waist="Caudata Belt", legs="Manibozho Brais", feet="Espial Socks" }
- sets.VS = {}
- sets.VS.index = {'DD', 'Acc'}
- VS_Index = 1
- sets.VS.DD = { -- 119 AF Body
- ammo="Potestas Bomblet",
- head="Uk'uxkaj Cap", neck="Tjukurrpa Medal", ear1="Brutal Earring", ear2="Moonshade Earring",
- body="Espial Gambison", hands="Hesychast's Gloves +1", ring1="Epona's Ring", ring2="Rajas Ring",
- back="Atheling Mantle", waist="Caudata Belt", legs="Manibozho Brais", feet="Manibozho Boots" }
- sets.VS.Acc = { -- get 119 AF body, letalis mantle, finish upgrading mani boots
- ammo="Honed Tathlum",
- head="Uk'uxkaj Cap", neck="Tjukurpa Medal", ear1="Brutal Earring", ear2="Moonshade Earring",
- body="Espial Gambison", hands="Hesychast's Gloves +1", ring1="Epona's Ring", ring2="Rajas Ring",
- back="Anchoret's Mantle", waist="Caudata Belt", legs="Manibozho Brais", feet="Manibozho Boots" }
- sets.TP = {}
- sets.TP.index = {'DD','Acc','DT',}
- TP_Index = 1
- sets.TP.DD = {
- ammo="Potestas Bomblet",
- head="Uk'uxkaj Cap", neck="Asperity Necklace", ear1="Bladeborn Earring", ear2="Steelflash Earring",
- body="Qaaxo Harness", hands="Hesychast's Gloves +1", ring1="Epona's Ring", ring2="Oneiros Ring",
- back="Atheling Mantle", waist="Windbuffet Belt", legs="Quiahuiz Trousers", feet="Manibozho Boots" }
- sets.TP.Acc = { -- upgrades: 119 weapon, letalis, potentially swap in agasaya/anguinus if still issues
- ammo="Honed Tathlum",
- head="Uk'uxkaj Cap", neck="Asperity Necklace", ear1="Bladeborn Earring", ear2="Steelflash Earring",
- body="Qaaxo Harness", hands="Hesychast's Gloves +1", ring1="Epona's Ring", ring2="Oneiros Ring",
- back="Anchoret's Mantle", waist="Windbuffet Belt", legs="Manibozho Brais", feet="Manibozho Boots" }
- sets.TP.DT = {
- ammo="Tantra Tathlum",
- head="Uk'uxkaj Cap", neck="Twilight Torque", ear1="Merman's Earring", ear2="Merman's Earring",
- body="Qaaxo Harness", hands="Hesychast's Gloves +1", ring1="Dark Ring", ring2="Dark Ring",
- back="Mollusca Mantle", waist="Black Belt", legs="Quiahuiz Trousers", feet="Thurandaut Boots +1" }
- sets.aftercast = {}
- sets.aftercast.Idle = set_combine(sets.TP.DD, sets.misc.Idle)
- end
- function precast(spell)
- if player.equipment.head == 'Reraise Hairpin' then disable('head')
- else enable('head') end
- if player.equipment.left_ear == 'Reraise Earring' then disable('ear1')
- else enable('ear1') end
- if player.equipment.right_ear == 'Reraise Earring' then disable('ear2')
- else enable('ear2') end
- if spell.name=="Chakra" and world.day_element=="Dark" then
- equip(set_combine(sets.misc.Chakra, sets.misc.SM))
- elseif spell.name=="Chakra" then
- equip(sets.misc.Chakra)
- end
- if sets.precast[spell.english] then
- equip(sets.precast[spell.english])
- end
- if (spell.english=="Victory Smite" or spell.english=="Ascetic's Fury") and buffactive['Impetus'] then
- equip(set_combine(sets.VS[sets.VS.index[VS_Index]], sets.misc.Impetus))
- elseif spell.type=="Victory Smite" or spell.english=="Ascetic's Fury" then
- equip(sets.VS[sets.VS.index[VS_Index]])
- elseif spell.type=="WeaponSkill" then
- equip(sets.precast.WS)
- end
- if string.find(spell.english,'Waltz') then
- equip(sets.precast.Waltz)
- end
- end
- function midcast(spell)
- end
- function aftercast(spell)
- if player.status =='Engaged' then
- if TP_Index == 1 then
- if player.mp >= 100 then
- equip(sets.TP[sets.TP.index[TP_Index]])
- elseif player.mp < 100 then
- equip(sets.TP[sets.TP.index[TP_Index]], {ring2="Rajas Ring"})
- end
- else
- equip(sets.TP[sets.TP.index[TP_Index]])
- end
- else
- equip(sets.aftercast.Idle)
- end
- end
- function status_change(new,old)
- if T{'Idle','Resting'}:contains(new) then
- equip(sets.aftercast.Idle)
- elseif new == 'Engaged' then
- equip(sets.TP[sets.TP.index[TP_Index]])
- end
- end
- function self_command(command)
- if command == 'TP' then
- TP_Index = TP_Index +1
- if TP_Index > #sets.TP.index then TP_Index = 1 end
- send_command('@ input /echo >>> TP set changed to '..sets.TP.index[TP_Index]..' ')
- equip(sets.TP[sets.TP.index[TP_Index]])
- end
- if command == "VS" then
- VS_Index = VS_Index +1
- if VS_Index > #sets.VS.index then VS_Index = 1 end
- send_command('@ input /echo >>> VS set changed to '..sets.VS.index[VS_Index]..' ')
- end
- end
- function select_default_macro_book()
- if player.sub_job == 'NIN' then
- set_macro_page(3, 1)
- elseif player.sub_job == 'DNC' then
- set_macro_page(5, 1)
- elseif player.sub_job == 'RUN' then
- set_macro_page(7, 1)
- else
- set_macro_page(1, 1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement