Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 12/02/2016 19:30 - Added Hetairoi, moved Apate a bit
- -- 19/12/2015 03:30 - Added Abnoba Kaftan to various sets
- -- 09/12/2015 01:00 - Swapped Qaaxo feet for Rawhide in several sets. Added Herc hands/feet to TP sets.
- -- 21/09/2015 22:00 - Prosilio belt for Grunfeld Rope. Swapped Windbuffet+1 to Grunfeld in some WS normal. Removed Fotia from some WS acc. Added Lilitu Headpiece to WS sets.
- -- 28/08/2015 01:30 - Added Empath Necklace, removed Puppetry Torque. Swapped Pitre Taj+1 for Rawhide Mask in Pet midcast spell.
- -- 09/08/2015 19:30 - Added Leyline Gloves in place of Taeon for spell precast
- -- 08/08/2015 03:00 - Added Ta'lab trousers in TP sets (in place of Quiahuiz) and in multiple WS sets.
- -- 19/07/2015 18:30 - Added Karagoz Head/Body/Legs/Feet +1. Swapped body Pitre+1 for Kara+1 in WSsets and TPacc sets.
- -- 11/07/2015 22:30 - Updated DT sets with Dring. Swapped Colossus Earring for Steelflash in PDT
- -- 25/04/2015 03:00 - Swapped Otronif/Nilas for Count's Cuffs in TP and Raging Fists set. (actually reverted to Otronif+1 in TP until I get an 8% haste head)
- -- 03/04/2015 01:00 - Added Textbox thing to track TP/Pet/Idle sets, removed related add_to_chat lines
- -- 20/02/2015 22:30 - Added Fotia Gorget/Belt in place of old elemental Gorgets/Belts
- -- 07/02/2015 05:00 - Incorporated the new kbind system for G19 keyboard
- -- 23/12/2014 20:00 - Added Nilas Gloves, Prosilio Belt, added madrigal checks for Kuwunga Earring
- -- 20/12/2014 04:00 - Added Moonshade Earring and rules for TP > 2900
- -- 15/12/2014 20:00 - Removed Orvail body from Idle, swapped Orvail legs with Kaabnax in precast, consolidated Utsusemi sets for precast and midcast, removed Cirque Earring, added Rimeice Earring and Ukko Sash to Pet mode, changed send_command to add_to_chat,
- -- 19/09/2014 19:00 - Pitre Tobe +1 on TP and various WS set, added Domesticator's Earring, added Dread Jupon and fixed WS/TP sets, removed Twilight Belt, added Foire feet/legs +1
- include('organizer-lib.lua')
- function get_sets()
- --send_command('exec PUPkbind.txt')
- --send_command('text SET delete')
- --send_command('text SET create')
- --send_command('text SET pos 90 0')
- WeaponskillMode = 'Normal'
- send_command('bind @f9 gs c toggle TP set')
- send_command('bind @f10 gs c toggle Pet Mode')
- send_command('bind @f11 gs c PDT set')
- send_command('bind @f12 gs c MDT set')
- send_command('bind #r gs equip sets.regen')
- --Idle Sets
- sets.Idle = { ammo="Automat. Oil +3",
- head="Pitre Taj +1",
- body="Councilor's Garb",
- hands="Herculean Gloves",
- legs={ name="Taeon Tights", augments={'Pet: Damage Taken -3%','Pet: Accuracy+15: Tng. Acc.+15','"Dbl. Atk."+5',}},
- feet="Hermes' Sandals",
- neck="Twilight Torque",
- waist="Isa Belt",
- left_ear="Handler's Earring",
- right_ear="Handler's Earring +1",
- left_ring="Thurandaut Ring",
- right_ring="Defending Ring",
- back="Contriver's Cape"}
- sets.regen = {
- head="Pitre Taj +1",
- body="Pitre Tobe +1",
- hands="Ryuo Tekko",
- legs="Kara. Pantaloni +1",
- feet="Hermes' Sandals",
- neck="Empath Necklace",
- waist="Isa Belt",
- left_ear="Pratik Earring",
- right_ear="Guignol Earring",
- left_ring="Thurandaut Ring",
- right_ring="Defending Ring",
- back="Contriver's Cape",
- }
- --TP Sets
- sets.TP = {}
- sets.TP.index = {'Normal', 'Acc', 'Farming', 'Hybrid', 'Pet_DD', 'Pet_Tank', 'PDT', 'MDT'}
- -- Normal is average att/acc for DDing, Acc focuses on Accuracy, Farming is optimized for targets where you're att/acc capped, Hybrid is a set with master and automaton stats together
- TP_ind = 1
- sets.TP.Normal = {head="Karagoz Chapeau",
- body="Qaaxo Harness",
- hands="Herculean Gloves",
- legs="Kara. Pantaloni +1",
- feet="Ryuo Sune-Ate",
- neck="Asperity Necklace",
- waist="Windbuffet Belt +1",
- left_ear="Cessance Earring",
- right_ear="Brutal Earring",
- left_ring="Apate Ring",
- right_ring="Epona's Ring",
- back="Visucius's Mantle",}
- sets.TP.Acc = {head="Rao Kabuto",
- body="Pitre Tobe +1",
- hands="Herculean Gloves",
- legs="Kara. Pantaloni +1",
- feet="Herculean Boots",
- neck="Empath Necklace",
- waist="Hurch'lan Sash",
- left_ear="Mache Earring",
- right_ear="Mache Earring",
- left_ring="Varar Ring",
- right_ring="Epona's Ring",
- back="Visucius's Mantle",
- }
- sets.TP.Farming = set_combine(sets.TP.Normal, {head="", back="Dispersal Mantle",})
- sets.TP.Hybrid = {
- head="Rao Kabuto",
- body="Pitre Tobe +1",
- hands="Ryuo Tekko",
- legs="Ryup Hakama",
- feet="Herculean Boots",
- neck="Empath Necklace",
- waist="Hurch'lan Sash",
- left_ear="Cessance Earring",
- right_ear="Rimeice Earring",
- left_ring="Thurandaut Ring",
- right_ring="Varar Ring",
- back="Visucius's Mantle",
- }
- sets.TP.Pet_DD = {
- head={ name="Taeon Chapeau", augments={'Pet: Haste+2%','Pet: Accuracy+20 Rng. Acc.+20','Pet: "Dbl. Atk."+3',}},
- body={ name="Taeon Tabard", augments={'Pet: Haste+5%','Pet: Accuracy+24 Rng. Acc.+24','Pet: "Dbl. Atk."+4',}},
- hands={ name="Taeon Gloves", augments={'Pet: Damage taken -4%','Pet: Attack+25 Rng. Atk.+25','Pet: "Dbl. Atk."+4',}},
- legs={ name="Taeon Tights", augments={'Pet: Damage taken -3%','Pet: Accuracy+15 Rng. Acc.+15','Pet: "Dbl. Atk."+5',}},
- feet={ name="Taeon Boots", augments={'Pet: Haste+3%','Pet: Attack+21 Rng. Atk.+21','Pet: "Dbl. Atk."+5',}},
- neck="Empath Necklace",
- waist="Ukko Sash",
- left_ear="Rimeice Earring",
- right_ear="Domes. Earring",
- left_ring="Thurandaut Ring",
- right_ring="Varar Ring",
- back="Visucius's Mantle",
- }
- sets.TP.Pet_Tank = {ammo="Automat. Oil +3",
- head="Anwig Salade",
- body="Taeon Tabard",
- hands={ name="Taeon Gloves", augments={'Pet: Damage taken -4%','Pet: Attack+25 Rng. Atk.+25','Pet: "Dbl. Atk."+4',}},
- legs={ name="Taeon Tights", augments={'Pet: Damage taken -3%','Pet: Accuracy+15 Rng. Acc.+15','Pet: "Dbl. Atk."+5',}},
- feet={ name="Taeon Boots", augments={'Pet: Damage taken -4%','Pet: Accuracy+17 Rng. Acc.+17','Pet: "Dbl. Atk."+4',}},
- neck="Empath Necklace",
- waist="Isa Belt",
- left_ear="Handler's Earring",
- right_ear="Handler's Earring +1",
- left_ring="Thurandaut Ring",
- right_ring="Varar Ring",
- back="Visucius's Mantle",}
- sets.TP.PDT = {head="",
- neck="",
- ear1="",
- ear2="",
- body="",
- hands="",
- ring1="",
- ring2="Defending ring",
- back="",
- waist="Windbuffet Belt +1",
- legs="",
- feet=""}
- sets.TP.MDT = {head="",
- neck="",
- ear1="",
- ear2="",
- body="",
- hands="Regimen Mittens",
- ring1="",
- ring2="Defending Ring",
- waist="Windbuffet Belt +1",
- legs="",
- feet=""}
- --WS Sets
- sets.precast = {}
- sets.precast.WS = {head="Sukeroku Hachi.",
- body="Qaaxo Harness",
- hands="Ryuo Tekko",
- legs="Ta'lab Trousers",
- feet="Ryuo Sune-Ate",
- neck="Bilious Torque",
- waist="Windbuffet Belt +1",
- left_ear="Cessance Earring",
- right_ear="Moonshade Earring",
- left_ring="Apate Ring",
- right_ring="Epona's Ring",
- back="Dispersal Mantle"}
- sets.precast.WS.madri = {}
- sets.precast.WS.maxTP = {}
- sets.precast.WS.maxTP.Normal = {ear1="Cessance Earring", ear2="Ishvara Earring"}
- sets.precast.WS.maxTP.Acc = {ear1="Cessance Earring", ear2="Ishvara Earring"}
- sets.precast.WS.maxTP.Mod = set_combine(sets.precast.WS.maxTP.Normal, {})
- sets.precast.WS['Stringing Pummel'] = {}
- sets.precast.WS['Stringing Pummel'].Normal = {head="Sukeroku Hachi.",
- body="Qaaxo Harness",
- hands="Ryuo Tekko",
- legs="Ta'lab Trousers",
- feet="Ryuo Sune-Ate",
- neck="Bilious Torque",
- waist="Windbuffet Belt +1",
- left_ear="Cessance Earring",
- right_ear="Moonshade Earring",
- left_ring="Apate Ring",
- right_ring="Epona's Ring",
- back="Dispersal Mantle",
- }
- sets.precast.WS['Stringing Pummel'].Acc = set_combine(sets.precast.WS['Stringing Pummel'].Normal, {head="Sukeroku Hachi."})
- sets.precast.WS['Stringing Pummel'].Mod = set_combine(sets.precast.WS['Stringing Pummel'].Normal, {hands="Regimen Mittens"})
- sets.precast.WS['Victory Smite'] = {}
- sets.precast.WS['Victory Smite'].Normal = sets.precast.WS['Stringing Pummel'].Normal
- sets.precast.WS['Victory Smite'].Acc = set_combine(sets.precast.WS['Victory Smite'].Normal, {head="Sukeroku Hachi."})
- sets.precast.WS['Victory Smite'].Mod = set_combine(sets.precast.WS['Victory Smite'].Normal, {hands="Regimen Mittens"})
- sets.precast.WS['Spinning Attack'] = {}
- sets.precast.WS['Spinning Attack'].Normal = {head="Sukeroku Hachi.",
- body="Qaaxo Harness",
- hands="Ryuo Tekko",
- legs="Ta'lab Trousers",
- feet="Ryuo Sune-Ate",
- neck="Bilious Torque",
- waist="Windbuffet Belt +1",
- left_ear="Cessance Earring",
- right_ear="Moonshade Earring",
- left_ring="Apate Ring",
- right_ring="Epona's Ring",
- back="Dispersal Mantle"}
- sets.precast.WS['Spinning Attack'].Acc = set_combine(sets.precast.WS['Spinning Attack'].Normal, {})
- sets.precast.WS['Spinning Attack'].Mod = set_combine(sets.precast.WS['Spinning Attack'].Normal, {})
- sets.precast.WS['Raging Fists'] = {}
- sets.precast.WS['Raging Fists'].Normal = {}
- sets.precast.WS['Raging Fists'].Acc = set_combine(sets.precast.WS['Raging Fists'].Normal, {head="", neck="Bilious Torque", ear1="Cessance Earring", body="Karagoz Farsetto", back="Dispersal Mantle", waist="Windbuffet Belt +1", legs="Ta'lab Trousers"})
- sets.precast.WS['Raging Fists'].Mod = set_combine(sets.precast.WS['Raging Fists'].Normal, {})
- --Precast stuff for JAs and various
- sets.precast.Maneuver = {main = "", neck="Buffoon's Collar +1", body="Karagoz Farsetto", hands="Foire Dastanas +1", back="Dispersal Mantle"}
- sets.precast['Repair'] = {main = "", ear1="Guignol Earring", ear2="Pratik Earring", legs="Karagoz Pantaloni +1", feet="Foire Babouches +1"}
- sets.precast['Tactical Switch'] = {feet="Karagoz Scarpe +1"}
- sets.precast['Overdrive'] = {body="Pitre Tobe +1"}
- sets.precast['Ventriloquy'] = {legs="Pitre Churidars +1"}
- sets.precast['Role Reversal'] = {feet="Pitre Babouches"}
- sets.precast['Ninjutsu'] = {head="", neck="", ear1="", ear2="", body="", hands="", ring1="", ring2="", back="", legs="", feet=""}
- sets.precast['Utsusemi: Ichi'] = set_combine(sets.precast['Ninjutsu'], {neck=""})
- sets.precast['Utsusemi: Ni'] = set_combine(sets.precast['Ninjutsu'], {})
- --Midcast sets
- sets.midcast = {}
- sets.midcast.sheltered = {ring1="Sheltered Ring"}
- sets.midcast.spellcasting = {head="Pitre Taj +1",
- hands="Regimen Mittens",
- legs="Pitre Churidars +1",
- feet="Pitre Babouches",
- neck="Empath Necklace",
- left_ear="Charivari Earring",
- body="Foire Tobe",
- right_ear="Burana Earring",
- back="Visucius's Mantle"}
- sets.midcast.petcure = {
- head="Pitre Taj +1",
- body="Foire Tobe",
- hands="Regimen Mittens",
- legs="Foire Churidars +1",
- feet="Naga Kyahan",
- neck="Empath Necklace",
- waist="Isa Belt",
- left_ear="Domes. Earring",
- right_ear="Charivari Earring",
- left_ring="Thurandaut Ring",
- right_ring="Varar Ring",
- back="Visucius's Mantle",
- }
- sets.midcast['Ninjutsu'] = {neck="Voltsurge Torque", back="Mujin Mantle", waist="Hurch'lan Sash"}
- sets.midcast.PetWS={
- head="Karagoz Capello +1",
- body="Pitre Tobe +1",
- hands={ name="Taeon Gloves", augments={'Pet: Damage taken -4%','Pet: Attack+25 Rng. Atk.+25','Pet: "Dbl. Atk."+4',}},
- legs="Kara. Pantaloni +1",
- feet={ name="Taeon Boots", augments={'Pet: Haste+3%','Pet: Attack+21 Rng. Atk.+21','Pet: "Dbl. Atk."+5',}},
- neck="Empath Necklace",
- waist="Ukko Sash",
- left_ear="Domes. Earring",
- right_ear="Rimeice Earring",
- left_ring="Thurandaut Ring",
- right_ring="Varar Ring",
- back={ name="Visucius's Mantle", augments={'Pet: Acc.+20 Pet: R.Acc.+20 Pet: Atk.+20 Pet: R.Atk.+20','Accuracy+20 Attack+20','Pet: "Regen"+10',}},
- }
- send_command('text SET text '..sets.TP.index[TP_ind]..'')
- end
- function precast(spell,action)
- if spell.english:endswith('Maneuver') then
- equip(sets.precast.Maneuver)
- elseif sets.precast[spell.english] then
- equip(sets.precast[spell.english])
- elseif sets.precast[spell.type] then
- equip(sets.precast[spell.type])
- elseif sets.precast[spell.action_type] then
- equip(sets.precast[spell.action_type])
- elseif sets.precast.WS[spell.english] then
- equip(sets.precast.WS[spell.english][WeaponskillMode])
- end
- if (spell.english == "Stringing Pummel" or spell.english == "Victory Smite" or spell.english == "Raging Fists") and player.tp > 2900 then
- equip(sets.precast.WS.maxTP[WeaponskillMode])
- end
- if spell.prefix == "/weaponskill" and WeaponskillMode ~= "Acc" and (buffactive['Blade Madrigal'] or buffactive['Sword Madrigal']) then
- equip(sets.precast.WS.madri)
- end
- end
- function midcast(spell,action)
- if sets.midcast[spell.type] then
- equip(sets.midcast[spell.type])
- elseif sets.midcast[spell.action_type] then
- equip(sets.midcast[spell.action_type])
- end
- end
- function aftercast(spell,action)
- if player.status == 'Engaged' then
- equip(sets.TP[sets.TP.index[TP_ind]])
- elseif pet.status == 'Engaged' and TP_ind == 5 then
- equip(sets.TP.Pet_DD)
- elseif pet.status == 'Engaged' and TP_ind == 6 then
- equip(sets.TP.Pet_Tank)
- else
- equip(sets.Idle)
- end
- end
- function pet_midcast(spell)
- if spell.english:startswith('Cure') then
- equip(sets.midcast.petcure)
- elseif spell.english:startswith('Protect') or spell.english:startswith('Shell') then
- equip(sets.midcast.sheltered)
- elseif spell.skill == 'Elemental Magic' or spell.english:startswith('Drain') or spell.english:startswith('Aspir') then
- equip(sets.midcast.spellcasting)
- elseif (spell.english == "Arcuballista" or spell.english == "Chimera Ripper" or spell.english == "Bone Crusher" or spell.english == "Daze" or spell.english == "String Shredder") then
- equip(sets.midcast.PetWS)
- end
- end
- function pet_aftercast(spell)
- if player.status == 'Engaged' then
- equip(sets.TP[sets.TP.index[TP_ind]])
- elseif pet.status == 'Engaged' and TP_ind == 5 then
- equip(sets.TP.Pet_DD)
- elseif pet.status == 'Engaged' and TP_ind == 6 then
- equip(sets.TP.Pet_Tank)
- else
- equip(sets.Idle)
- end
- end
- function status_change(new,old)
- if new == 'Engaged' then
- equip(sets.TP[sets.TP.index[TP_ind]])
- elseif pet.status == 'Engaged' and TP_ind == 5 then
- equip(sets.TP.Pet_DD)
- elseif pet.status == 'Engaged' and TP_ind == 6 then
- equip(sets.TP.Pet_Tank)
- else
- equip(sets.Idle)
- end
- end
- function pet_status_change(new,old)
- if new == 'Engaged' and TP_ind == 5 then
- equip(sets.TP.Pet_DD)
- elseif pet.status == 'Engaged' and TP_ind == 6 then
- equip(sets.TP.Pet_Tank)
- elseif player.status ~= 'Engaged' then
- equip(sets.Idle)
- end
- end
- function self_command(command)
- --This handles commands to equip specific sets directly from the console
- if command == 'PDT set' then
- TP_ind = 7
- equip(sets.TP.PDT)
- send_command('@input /echo <----- PDT Mode Set '..sets.TP.index[TP_ind]..'')
- end
- if command == 'MDT set' then
- TP_ind = 8
- equip(sets.TP.MDT)
- send_command('@input /echo <----- MDT Mode Set '..sets.TP.index[TP_ind]..'')
- end
- if command == 'toggle Pet Mode' then
- if TP_ind ~= 5 then
- TP_ind = 5
- else
- TP_ind = 6
- end
- send_command('@input /echo <----- Pet Mode Set changed to '..sets.TP.index[TP_ind]..' ----->')
- equip(sets.TP[sets.TP.index[TP_ind]])
- --send_command('text SET text '..sets.TP.index[TP_ind]..'')
- end
- if command == 'toggle TP set' then
- TP_ind = TP_ind +1
- if TP_ind > 4 then
- TP_ind = 1
- elseif TP_ind == 2 then
- WeaponskillMode = 'Acc'
- elseif TP_ind == 3 then
- WeaponskillMode = 'Mod'
- else
- WeaponskillMode = 'Normal'
- end
- send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
- --send_command('text SET text '..sets.TP.index[TP_ind]..'')
- equip(sets.TP[sets.TP.index[TP_ind]])
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement