Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ******************************************************************************************** --
- -- This file uses very minimal GearSwap rules and puts more of the user's focus on set creation.
- -- In order to create sets more easily, consider using //gs export
- -- "//gs export" will export your currently equipped gear (with augments) to a user file stored at
- -- /windower/addons/GearSwap/data/export/
- -- You can open that file up and just copy/paste the set as you like. If your augments change,
- -- you would need to replace them with the new augments, which is most easily accomplished by
- -- exporting again while wearing the piece.
- --
- -- The file is also compatible with the Organizer addon. In order to collect your gear, make sure
- -- the organizer addon is loaded and then use //gs org
- -- ******************************************************************************************** --
- include('organizer-lib')
- function get_sets()
- -- Put any items in here that you want but aren't in your below sets
- sets.organizer = {
- weapon1 = "Vajra",
- weapon2 = "Atoyac",
- weapon3 = "Taming Sari"
- }
- -- This set will be equipped before magic is cast
- sets.FastCast = {
- ammo="Impatiens",
- head={ name="Herculean Helm", augments={'"Fast Cast"+6','Mag. Acc.+2',}},
- body={ name="Taeon Tabard", augments={'Accuracy+22','"Fast Cast"+5','Crit. hit damage +3%',}},
- hands={ name="Leyline Gloves", augments={'Accuracy+14','Mag. Acc.+13','"Mag.Atk.Bns."+13','"Fast Cast"+2',}},
- legs="Enif Cosciales",
- feet={ name="Taeon Boots", augments={'Mag. Acc.+19','"Fast Cast"+5',}},
- neck="Orunmila's Torque",
- left_ear="Loquac. Earring",
- right_ear="Enchntr. Earring +1",
- left_ring="Rahab Ring",
- right_ring="Weather. Ring",
- }
- sets.JA = {}
- -- sets.JA["JA Name"] will be combined with sets.JA["Base"] and equipped when you use the JA
- -- If no sets.JA["JA Name"] entry exists for the JA, only sets.JA["Base"] will be equipped
- sets.JA["Base"] = {} -- No real point in a base JA set, thus it's an empty table, but included for consistency
- sets.JA["Perfect Dodge"] = {hands="Plun. Armlets +1"}
- sets.JA["Steal"] = {ammo="Barathrum",neck="Rabbit Charm",hands="Thief's Kote",
- waist="Key Ring Belt",feet="Pillager's Poulaines +1"}
- sets.WS = {}
- -- sets.WS["WS Name"] will be combined with sets.WS["Base"] and equipped when you use the WS
- -- If no sets.WS["WS Name"] entry exists for the WS, only sets.WS["Base"] will be equipped
- sets.WS["Base"] = {ammo="Floestone",
- head="Lustratio Cap +1",
- neck="Caro Necklace",
- ear1="Moonshade Earring",
- ear2="Jupiter's Pearl",
- body={ name="Rawhide Vest", augments={'HP+50','"Subtle Blow"+7','"Triple Atk."+2',}},
- hands={ name="Herculean Gloves", augments={'Accuracy+14 Attack+14','"Triple Atk."+3','Accuracy+12',}},
- ring1="Ramuh Ring +1",
- ring2="Ramuh Ring +1",
- back="Vespid Mantle",
- waist="Wanion Belt",
- legs="Lustratio Subligar +1",
- feet="Lustratio Leggings +1",}
- sets.WS["Evisceration"] = {
- ammo="Yetshila",
- head={ name="Adhemar Bonnet +1", augments={'STR+12','DEX+12','Attack+20',}},
- body="Pillager's Vest +1",
- hands={ name="Taeon Gloves", augments={'Accuracy+15 Attack+15','Crit.hit rate+3','DEX+7',}},
- feet={ name="Adhe. Gamashes +1", augments={'STR+12','DEX+12','Attack+20',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ring="Begrudging Ring",
- back={ name="Canny Cape", augments={'DEX+4','AGI+2','"Dual Wield"+1','Crit. hit damage +3%',}},
- }
- sets.MA = {}
- -- sets.MA["Magic Name"] will be combined with sets.MA["Base"] and equipped when you cast magic (midcast)
- -- If no sets.MA["Magic Name"] entry exists for the magic, only sets.MA["Base"] will be equipped
- sets.MA["Base"] = {} -- Empty table
- sets.MA["Utsusemi: Ichi"] = {waist="Tempus Fugit +1"}
- sets.MA["Utsusemi: Ni"] = sets.MA["Utsusemi: Ichi"] -- Same as Utsusemi: Ichi
- sets.TP = {}
- -- You can make as many TP sets as you want and cycle through them, but you need to add the names to the TP_Set_Names table.
- -- They will be cycled through in the order that they are listed in TP_Set_Names, top to bottom.
- TP_Index = 1
- TP_Set_Names = {
- "Low Man",
- "Delay Cap",
- "TH",
- "Acc"
- }
- sets.TP["Low Man"] = {
- ammo="Floestone",
- head={ name="Adhemar Bonnet +1", augments={'STR+12','DEX+12','Attack+20',}},
- body={ name="Rawhide Vest", augments={'HP+50','"Subtle Blow"+7','"Triple Atk."+2',}},
- hands={ name="Floral Gauntlets", augments={'Rng.Acc.+15','Accuracy+15','"Triple Atk."+3','Magic dmg. taken -4%',}},
- legs={ name="Samnuha Tights", augments={'STR+9','DEX+8','"Dbl.Atk."+2','"Triple Atk."+2',}},
- feet={ name="Adhe. Gamashes +1", augments={'STR+12','DEX+12','Attack+20',}},
- neck="Lissome Necklace",
- waist="Shetal Stone",
- left_ear="Suppanomimi",
- right_ear="Brutal Earring",
- left_ring="Hetairoi Ring",
- right_ring="Epona's Ring",
- back={ name="Canny Cape", augments={'DEX+5','"Dual Wield"+5',}},
- }
- sets.TP["TH"] = set_combine(sets.TP['Low Man'],{
- hands={ name="Plun. Armlets +1", augments={'Enhances "Perfect Dodge" effect',}},
- feet="Raid. Poulaines +2",
- })
- sets.TP["Acc"] = {
- ammo="Honed Tathlum",
- head={ name="Dampening Tam", augments={'DEX+10','Accuracy+15','Mag. Acc.+15','Quadruple Attack +3',}},
- body={ name="Rawhide Vest", augments={'HP+50','Accuracy+15','Evasion+20',}},
- hands={ name="Herculean Gloves", augments={'Accuracy+14 Attack+14','"Triple Atk."+3','Accuracy+12',}},
- legs={ name="Taeon Tights", augments={'Accuracy+20 Attack+20','"Triple Atk."+2','DEX+9',}},
- feet={ name="Herculean Boots", augments={'Accuracy+30','"Triple Atk."+3','Attack+12',}},
- neck="Combatant's Torque",
- waist="Olseni Belt",
- left_ear="Zennaroi Earring",
- right_ear="Cessance Earring",
- left_ring="Ramuh Ring +1",
- right_ring="Ramuh Ring +1",
- back={ name="Canny Cape", augments={'DEX+5','"Dual Wield"+5',}},
- }
- sets.TP["Delay Cap"] = {
- ammo="Floestone",
- head={ name="Adhemar Bonnet +1", augments={'STR+12','DEX+12','Attack+20',}},
- body={ name="Rawhide Vest", augments={'HP+50','"Subtle Blow"+7','"Triple Atk."+2',}},
- hands={ name="Herculean Gloves", augments={'Accuracy+14 Attack+14','"Triple Atk."+3','Accuracy+12',}},
- legs={ name="Samnuha Tights", augments={'STR+9','DEX+8','"Dbl.Atk."+2','"Triple Atk."+2',}},
- feet={ name="Adhe. Gamashes +1", augments={'STR+12','DEX+12','Attack+20',}},
- neck="Lissome Necklace",
- waist="Windbuffet Belt +1",
- left_ear="Cessance Earring",
- right_ear="Brutal Earring",
- left_ring="Hetairoi Ring",
- right_ring="Epona's Ring",
- back="Bleating Mantle",
- }
- sets.Idle = {}
- -- You can make as many Idle sets as you want and cycle through them, but you need to add the names to the Idle_Set_Names table.
- -- They will be cycled through in the order that they are listed in Idle_Set_Names, top to bottom.
- Idle_Index = 1
- Idle_Set_Names = {
- "Normal",
- "DT"
- }
- sets.Idle.Normal = {
- ammo="Amar Cluster",
- head="Lithelimb Cap",
- body="Emet Harness +1",
- hands={ name="Herculean Gloves", augments={'Accuracy+30','Damage taken-4%','STR+9','Attack+4',}},
- legs={ name="Herculean Trousers", augments={'Attack+28','Damage taken-4%','STR+7',}},
- feet="Skd. Jambeaux +1",
- neck="Wiglen Gorget",
- waist="Kasiri Belt",
- left_ear="Merman's Earring",
- right_ear="Genmei Earring",
- left_ring="Paguroidea Ring",
- right_ring="Sheltered Ring",
- back={ name="Canny Cape", augments={'DEX+5','"Dual Wield"+5',}},
- }
- sets.Idle.DT = {
- ammo="Amar Cluster",
- head={ name="Dampening Tam", augments={'DEX+10','Accuracy+15','Mag. Acc.+15','Quadruple Attack +3',}},
- body="Emet Harness +1",
- hands={ name="Herculean Gloves", augments={'Accuracy+30','Damage taken-4%','STR+9','Attack+4',}},
- legs={ name="Herculean Trousers", augments={'Attack+28','Damage taken-4%','STR+7',}},
- feet="Skd. Jambeaux +1",
- neck="Twilight Torque",
- waist="Wanion Belt",
- left_ear="Merman's Earring",
- right_ear="Genmei Earring",
- left_ring="Defending Ring",
- right_ring={ name="Dark Ring", augments={'Breath dmg. taken -4%','Phys. dmg. taken -6%','Magic dmg. taken -5%',}},
- back="Mollusca Mantle",
- }
- -- You should change this to be whatever your macro book / set are for the intended job
- send_command('input /macro book 12;wait .1;input /macro set 2')
- end
- function precast(spell)
- if spell.prefix == '/jobability' or spell.prefix == '/pet' then
- -- JA Usage
- equip(sets.JA["Base"],sets.JA[spell.english] or {})
- elseif spell.prefix == '/weaponskill' then
- -- WS Usage
- equip(sets.WS["Base"],sets.WS[spell.english] or {})
- elseif spell.prefix == '/magic' or spell.prefix == '/ninjutsu' or spell.prefix == '/song' then
- -- Magic precast
- equip(sets.FastCast)
- end
- end
- function midcast(spell)
- if spell.prefix == '/magic' or spell.prefix == '/ninjutsu' or spell.prefix == '/song' then
- -- Magic Usage
- equip(sets.MA["Base"],sets.MA[spell.english] or {})
- end
- end
- function aftercast(spell)
- if player.status=='Engaged' then
- equip(sets.TP[TP_Set_Names[TP_Index]])
- else
- equip(sets.Idle[Idle_Set_Names[Idle_Index]])
- end
- end
- function status_change(new,old)
- if T{'Idle','Resting'}:contains(new) then
- equip(sets.Idle[Idle_Set_Names[Idle_Index]])
- elseif new == 'Engaged' then
- equip(sets.TP[TP_Set_Names[TP_Index]])
- end
- end
- function self_command(command)
- if command == 'toggle TP set' then
- -- In order to toggle your TP set, you would put this in a macro:
- -- /console gs c toggle TP set
- TP_Index = TP_Index +1
- if TP_Index > #TP_Set_Names then TP_Index = 1 end
- send_command('@input /echo ----- TP Set changed to '..TP_Set_Names[TP_Index]..' -----')
- equip(sets.TP[TP_Set_Names[TP_Index]])
- elseif command == 'toggle Idle set' then
- -- In order to toggle your Idle set, you would put this in a macro:
- -- /console gs c toggle Idle set
- Idle_Index = Idle_Index +1
- if Idle_Index > #Idle_Set_Names then Idle_Index = 1 end
- send_command('@input /echo ----- Idle Set changed to '..Idle_Set_Names[Idle_Index]..' -----')
- equip(sets.Idle[Idle_Set_Names[Idle_Index]])
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement