Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_sets()
- send_command('bind f9 gs c toggle TP set')
- send_command('bind f10 gs c toggle Idle set')
- send_command('bind f11 gs c toggle Res set')
- send_command('bind f12 gs c toggle Dim set')
- send_command('bind ^f11 gs c toggle Req set')
- function file_unload()
- send_command('unbind ^f9')
- send_command('unbind ^f10')
- send_command('unbind ^f11')
- send_command('unbind ^f12')
- send_command('unbind !f9')
- send_command('unbind !f10')
- send_command('unbind !f11')
- send_command('unbind !f12')
- send_command('unbind f9')
- send_command('unbind f10')
- send_command('unbind f11')
- send_command('unbind f12')
- end
- --Idle Sets--
- sets.Idle = {}
- sets.Idle.index = {'Standard', 'DT'}
- Idle_ind = 1
- sets.Idle.Standard = {
- ammo="Staunch Tathlum +1",
- head="Rawhide Mask",
- body="Runeist Coat +1",
- hands={ name="Herculean Gloves", augments={'MND+5','INT+12','"Refresh"+1','Mag. Acc.+11 "Mag.Atk.Bns."+11',}},
- legs="Carmine Cuisses +1",
- feet={ name="Herculean Boots", augments={'Accuracy+30','"Triple Atk."+3','Attack+12',}},
- neck="Sanctity Necklace",
- waist="Flume Belt",
- left_ear="Infused Earring",
- right_ear="Dawn Earring",
- left_ring="Defending Ring",
- right_ring="Stikini Ring +1",
- back="Solemnity Cape",
- }
- sets.Idle.DT = {
- ammo="Staunch Tathlum +1",
- head="Turms Cap +1",
- body="Ayanmo Corazza +2",
- hands="Turms Mittens +1",
- legs="Carmine Cuisses +1",
- feet="Turms Leggings +1",
- neck="Futhark Torque +2",
- waist="Flume Belt",
- left_ear="Eabani Earring",
- right_ear="Odnowa Earring +1",
- left_ring="Defending Ring",
- right_ring="Moonlight Ring",
- back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}},
- }
- --TP Sets--
- sets.TP = {}
- sets.TP.index = {'TwoHand', 'TwoHandAcc', 'DT', 'DW'}
- TP_ind = 1
- sets.TP.TwoHand = {
- ammo="Yamarang",
- head="Adhemar Bonnet +1",
- body="Adhemar Jacket +1",
- hands="Adhemar Wrist. +1",
- legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
- feet={ name="Herculean Boots", augments={'Accuracy+30','"Triple Atk."+3','Attack+12',}},
- neck="Combatant's Torque",
- waist="Windbuffet Belt +1",
- left_ear="Brutal Earring",
- right_ear="Sherida Earring",
- left_ring="Epona's Ring",
- right_ring="Niqmaddu Ring",
- Back="Ogma's Cape",
- }
- sets.TP.TwoHandacc = set_combine(sets.TP.Standard,{})
- sets.TP.DT = {
- ammo="Staunch Tathlum +1", --3DT
- head="Turms Cap +1",
- body="Ayanmo Corazza +2", --6DT
- hands="Turms Mittens +1",
- legs="Erilaz Leg Guards +1", --7PDT
- feet="Turms Leggings +1",
- neck="Futhark Torque +2", -- 7 DT(one day)
- waist="Flume Belt", -- 4PDT
- left_ear="Eabani Earring",
- right_ear="Odnowa Earring +1", --2MDT
- left_ring="Defending Ring", -- 10DT
- right_ring="Moonlight Ring", -- 5DT
- back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}}, --10 PDT
- }
- sets.TP.DW = set_combine(sets.TP.Standard,{left_ear="Suppanomimi"})
- --Weaponskill Sets--
- sets.WS = {}
- sets.Resolution = {}
- sets.Resolution.index = {'Attack','Accuracy'}
- Resolution_ind = 1
- sets.Resolution.Attack = {
- ammo="Knobkierrie",
- head={ name="Adhemar Bonnet +1", augments={'STR+12','DEX+12','Attack+20',}},
- body={ name="Adhemar Jacket +1", augments={'STR+12','DEX+12','Attack+20',}},
- hands={ name="Adhemar Wrist. +1", augments={'STR+12','DEX+12','Attack+20',}},
- legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
- feet={ name="Herculean Boots", augments={'Accuracy+30','"Triple Atk."+3','Attack+12',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear="Moonshade Earring",
- right_ear="Sherida Earring",
- left_ring="Epona's Ring",
- right_ring="Ilabrat Ring",
- Back="Ogma's Cape",
- }
- sets.Resolution.Accuracy = set_combine(sets.Resolution.Attack,{})
- sets.Dimidiation = {}
- sets.Dimidiation.index = {'Attack','Accuracy'}
- Dimidiation_ind = 1
- sets.Dimidiation.Attack = {}
- sets.Dimidiation.Accuracy = set_combine(sets.Dimidiation.Attack,{})
- sets.Requiescat = {}
- sets.Requiescat.index = {'Attack','Accuracy'}
- Requiescat_ind = 1
- sets.Requiescat.Attack = {}
- sets.Requiescat.Accuracy = set_combine(sets.Requiescat.Attack,{})
- sets.Decimation = {}
- sets.Decimation.index = {'Attack','Accuracy'}
- Decimation_ind = 1
- sets.Decimation.Attack = {
- ammo="Knobkierrie",
- head={ name="Adhemar Bonnet +1", augments={'STR+12','DEX+12','Attack+20',}},
- body={ name="Adhemar Jacket +1", augments={'STR+12','DEX+12','Attack+20',}},
- hands={ name="Adhemar Wrist. +1", augments={'STR+12','DEX+12','Attack+20',}},
- legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
- feet={ name="Herculean Boots", augments={'Accuracy+30','"Triple Atk."+3','Attack+12',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear="Brutal Earring",
- right_ear="Sherida Earring",
- left_ring="Epona's Ring",
- right_ring="Niqmaddu Ring",
- Back="Ogma's Cape",
- }
- sets.Decimation.Accuracy = set_combine(sets.Decimation.Attack,{})
- sets.Shockwave = {}
- sets.Shockwave.index = {'Attack','Accuracy'}
- Shockwave_ind = 1
- sets.Shockwave.Attack = {
- ammo="Knobkierrie",
- head="Aya. Zucchetto +2",
- body="Ayanmo Corazza +2",
- hands="Meg. Gloves +2",
- legs="Aya. Cosciales +2",
- feet={ name="Herculean Boots", augments={'"Waltz" potency +2%','CHR+10','Weapon skill damage +8%','Accuracy+9 Attack+9','Mag. Acc.+9 "Mag.Atk.Bns."+9',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear="Sherida Earring",
- right_ear="Ishvara Earring",
- left_ring="Niqmaddu Ring",
- right_ring="Epaminondas's Ring",
- back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}},
- }
- sets.Shockwave.Accuracy = set_combine(sets.Decimation.Attack,{})
- --Utility Sets--
- sets.Utility = {}
- sets.Utility.PDT = {}
- sets.Utility.MDT = {}
- sets.Utility.Enhancing = {
- head={ name="Carmine Mask +1", augments={'Accuracy+12','DEX+12','MND+20',}},
- legs={ name="Carmine Cuisses +1", augments={'Accuracy+12','DEX+12','MND+20',}},
- hands="Runeist Mitons +1",
- neck="Incanter's Torque",
- left_ear="Andoaa Earring",
- left_ring="Stikini Ring +1",
- right_ring="Stikini Ring +1",
- }
- sets.Utility.Stoneskin = {}
- sets.Utility.Phalanx = set_combine(sets.Utility.Enhancing, {
- head="Futhark Bandeau +1",
- })
- sets.Utility.Regen = {
- head="Runeist Bandeau +1",
- legs="Futhark Trousers +1",
- }
- sets.Utility.Refresh = {
- head="Erilaz Galea +1",
- legs="Futhark Trousers +1",
- waist="Gishdubar Sash"
- }
- sets.Utility.Utsusemi = {}
- sets.Utility.Defense = {}
- sets.Utility.SIR = {
- ammo="Staunch Tathlum +1", --11%
- head="Aya. Zucchetto +2",
- body={ name="Futhark Coat", augments={'Enhances "Elemental Sforzo" effect',}},
- hands={ name="Rawhide Gloves", augments={'Mag. Acc.+15','INT+7','MND+7',}}, --15%
- legs={ name="Carmine Cuisses +1", augments={'Accuracy+12','DEX+12','MND+20',}}, --20%
- feet="Ahosi Leggings",
- neck="Moonlight Necklace", --15%
- waist="Rumination Sash", --10%
- left_ring="Defending Ring",
- right_ring="Moonlight Ring",
- back="Evasionist's Cape",
- }
- sets.Utility.Enmity = {
- ammo="Aqreqaq Bomblet",
- body="Emet Harness +1",
- feet="Ahosi Leggings",
- neck="Moonlight Necklace",
- waist="Flume Belt",
- left_ear="Odnowa Earring +1",
- right_ear="Cryptic Earring",
- right_ring="Eihwaz Ring",
- back="Ogma's Cape",
- }
- --Job Ability Sets--
- sets.JA = {}
- sets.JA.Lunge = {
- ammo="Seeth. Bomblet +1",
- head={ name="Herculean Helm", augments={'Magic dmg. taken -5%','"Mag.Atk.Bns."+30','Accuracy+5 Attack+5','Mag. Acc.+17 "Mag.Atk.Bns."+17',}},
- body={ name="Samnuha Coat", augments={'Mag. Acc.+14','"Mag.Atk.Bns."+13','"Fast Cast"+4','"Dual Wield"+3',}},
- hands="Carmine Fin. Ga. +1",
- legs={ name="Herculean Trousers", augments={'Mag. Acc.+16 "Mag.Atk.Bns."+16','"Dbl.Atk."+2','MND+9','Mag. Acc.+13','"Mag.Atk.Bns."+15',}},
- feet={ name="Herculean Boots", augments={'"Waltz" potency +2%','CHR+10','Weapon skill damage +8%','Accuracy+9 Attack+9','Mag. Acc.+9 "Mag.Atk.Bns."+9',}},
- neck="Baetyl Pendant",
- waist="Eschan Stone",
- left_ear="Friomisi Earring",
- right_ear="Novio Earring",
- left_ring="Fenrir Ring +1",
- right_ring="Acumen Ring",
- back="Argocham. Mantle",
- }
- sets.JA.Vallation = set_combine(sets.Utility.Enmity, {body="Runeist Coat +1"})
- sets.JA.Battuta = set_combine(sets.Utility.Enmity, {head="Futhark Bandeau +1"})
- sets.JA.Gambit = set_combine(sets.Utility.Enmity, {hands="Runeist Mitons +1"})
- sets.JA.Rayke = set_combine(sets.Utility.Enmity, {boots="Futhark Boots +1"})
- sets.JA.Pflug = set_combine(sets.Utility.Enmity, {feet="Runeist Boots +1"})
- sets.JA.Embolden = set_combine(sets.Utility.Enmity, {back="Evasionist's Cape"})
- sets.JA.VivPulse = set_combine(sets.Utility.Enmity, {head="Erilaz Galea +1"})
- sets.JA.Liement = set_combine(sets.Utility.Enmity, {body="Futhark Coat +1"})
- sets.JA.EleSforzo = set_combine(sets.Utility.Enmity, {body="Futhark Coat +1"})
- sets.JA.Swordplay = set_combine(sets.Utility.Enmity, {hands="Futhark Mitons +1"})
- --Precast Sets--
- sets.precast = {}
- sets.precast.FC = {
- head={ name="Herculean Helm", augments={'"Fast Cast"+6','Enmity-6','Mag. Acc.+2 "Mag.Atk.Bns."+2',}},
- body="Vrikodara Jupon",
- hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
- legs="Aya. Cosciales +2",
- feet="Carmine Greaves +1",
- neck="Baetyl Pendant",
- left_ear="Loquac. Earring",
- right_ear="Etiolation Earring",
- left_ring="Prolix Ring",
- right_ring="Kishar Ring",
- }
- sets.precast.FC.Standard = set_combine(sets.precast.FC, {})
- sets.precast.FC.Enhancing = set_combine(sets.precast.FC, {})
- end
- function precast(spell)
- if spell.skill == 'Divine Magic' then
- equip(sets.precast.FC.Standard)
- end
- if spell.skill == 'Healing Magic' then
- equip(sets.precast.FC.Standard)
- end
- if spell.skill == 'Blue Magic' then
- equip(sets.precast.FC.Standard)
- end
- if spell.skill == 'Enhancing Magic' then
- equip(sets.precast.FC.Enhancing)
- end
- if spell.skill == 'Ninjutsu' then
- equip(sets.precast.FC.Standard)
- end
- if spell.skill == 'Trust' then
- equip(sets.precast.FC.Standard)
- end
- if spell.english == 'Lunge' or spell.english == 'Swipe' or spell.english == "Onca Suit" or spell.english == "Meteor" then
- equip(sets.JA.Lunge)
- end
- if spell.english == 'Vallation' or spell.english == 'Valiance' then
- equip(sets.JA.Vallation)
- end
- if spell.english == 'Battuta' then
- equip(sets.JA.Battuta)
- end
- if spell.english == 'Pflug' then
- equip(sets.JA.Pflug)
- end
- if spell.english == 'Gambit' then
- equip(sets.JA.Gambit)
- end
- if spell.english == 'Embolden' then
- equip(sets.JA.Embolden)
- end
- if spell.english == 'Vivacious Pulse' then
- equip(sets.JA.VivPulse)
- end
- if spell.english == 'Liement' then
- equip(sets.JA.Liement)
- end
- if spell.english == 'Elemental Sforzo' then
- equip(sets.JA.EleSforzo)
- end
- if spell.english == 'Swordplay' then
- equip(sets.JA.Swordplay)
- end
- if spell.english == 'Resolution' or spell.english == 'Spinning Slash' or spell.english == 'Ground Strike' then
- equip(sets.Resolution[sets.Resolution.index[Resolution_ind]])
- end
- if spell.english == 'Dimidiation' then
- equip(sets.Dimidiation[sets.Dimidiation.index[Dimidiation_ind]])
- end
- if spell.english == 'Requiescat' then
- equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
- end
- if spell.english == 'Decimation' then
- equip(sets.Decimation[sets.Decimation.index[Decimation_ind]])
- end
- if spell.english == 'Shockwave' then
- equip(sets.Shockwave[sets.Shockwave.index[Shockwave_ind]])
- end
- end
- function midcast(spell,act)
- if spell.skill == 'Enhancing Magic' then
- equip(sets.Utility.Enhancing)
- if buffactive['Embolden'] then
- equip(sets.JA.Embolden)
- end
- end
- if spell.english == 'Stoneskin' then
- equip(sets.Utility.Stoneskin)
- if buffactive['Stoneskin'] then
- send_command('@wait 0.7; input //cancel Stoneskin; input /echo Refreshing Stoneskin.')
- end
- end
- if spell.english == 'Phalanx' then
- equip(sets.Utility.Phalanx)
- if buffactive['Embolden'] then
- equip(sets.JA.Embolden)
- end
- if spell.english == 'Temper' then
- equip({head="Erilaz galea"})
- end
- end
- if spell.english == 'Regen IV' then
- equip(sets.Utility.Regen)
- if buffactive['Embolden'] then
- equip(sets.JA.Embolden)
- end
- end
- if spell.english == 'Refresh' then
- equip(sets.Utility.Refresh)
- if buffactive['Embolden'] then
- equip(sets.JA.Embolden)
- end
- end
- if spell.english == 'Protect IV' or spell.english == 'Shell V' then
- equip(sets.Utility.Defense)
- if buffactive['Embolden'] then
- equip(sets.JA.Embolden)
- end
- end
- if spell.english == 'Flash' or spell.english == 'Foil' or spell.english == 'Valiance' or spell.english == 'Vallation' or spell.english == 'One For All' or spell.english == 'Swordplay' or spell.english == 'Battuta' or spell.english == 'Pflug' or spell.english == 'Rune Enchantment' or spell.english == 'Embolden' or spell.english == 'Liement' or spell.skill == 'Blue Magic' then
- equip(sets.Utility.Enmity)
- end
- if spell.english == 'Utsusemi: Ichi' then
- equip(sets.Utility.Utsusemi)
- if buffactive['Copy Image (3)'] then
- send_command('@wait 0.3; input //cancel Copy Image (3)')
- end
- if buffactive['Copy Image (2)'] then
- send_command('@wait 0.3; input //cancel Copy Image (2)')
- end
- if buffactive['Copy Image (1)'] then
- send_command('@wait 0.3; input //cancel Copy Image (1)')
- end
- if buffactive['Copy Image'] then
- send_command('@wait 0.3; input //cancel Copy Image')
- end
- end
- if spell.english == 'Utsusemi: Ni' then
- equip(sets.Utility.Utsusemi)
- end
- if spell.english == 'Vallation' or spell.english == 'Valiance' then
- equip(sets.JA.Vallation)
- end
- if spell.english == 'Battuta' then
- equip(sets.JA.Battuta)
- end
- if spell.english == 'Pflug' then
- equip(sets.JA.Pflug)
- end
- if spell.english == 'Gambit' then
- equip(sets.JA.Gambit)
- end
- if spell.english == 'Embolden' then
- equip(sets.JA.Embolden)
- end
- if spell.english == 'Vivacious Pulse' then
- equip(sets.JA.VivPulse)
- end
- if spell.english == 'Liement' then
- equip(sets.JA.Liement)
- end
- if spell.english == 'Elemental Sforzo' then
- equip(sets.JA.EleSforzo)
- end
- if spell.english == 'Swordplay' then
- equip(sets.JA.Swordplay)
- end
- end
- function aftercast(spell)
- if player.status == 'Engaged' then
- equip(sets.TP[sets.TP.index[TP_ind]])
- else
- equip(sets.Idle[sets.Idle.index[Idle_ind]])
- end
- end
- function status_change(new,old)
- if new == 'Engaged' then
- equip(sets.TP[sets.TP.index[TP_ind]])
- else
- equip(sets.Idle[sets.Idle.index[Idle_ind]])
- end
- end
- function self_command(command)
- if command == 'toggle TP 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 Idle set' then
- Idle_ind = Idle_ind +1
- if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
- send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
- equip(sets.Idle[sets.Idle.index[Idle_ind]])
- elseif command == 'toggle Res set' then
- Resolution_ind = Resolution_ind +1
- if Resolution_ind > #sets.Resolution.index then Resolution_ind = 1 end
- send_command('@input /echo <----- Resolution set changed to '..sets.Resolution.index[Resolution_ind]..' ----->')
- elseif command == 'toggle Dim set' then
- Dimidiation_ind = Dimidiation_ind +1
- if Dimidiation_ind > #sets.Dimidiation.index then Dimidiation_ind = 1 end
- send_command('@input /echo <----- Dimidiation set changed to '..sets.Dimidiation.index[Dimidiation_ind]..' ----->')
- elseif command == 'toggle Req set' then
- Requiescat_ind = Requiescat_ind +1
- if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
- send_command('@input /echo <----- Requiescat Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
- elseif command == 'toggle Dec set' then
- Decimation_ind = Decimation_ind +1
- if Decimation_ind > #sets.Decimation.index then Decimation_ind = 1 end
- send_command('@input /echo <----- Decimation Set changed to '..sets.Decimation.index[Decimation_ind]..' ----->')
- elseif command == 'equip TP set' then
- equip(sets.TP[sets.TP.index[TP_ind]])
- elseif command == 'equip Idle set' then
- equip(sets.Idle[sets.Idle.index[Idle_ind]])
- end
- end
Add Comment
Please, Sign In to add comment