Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------------------------------------
- -- *** Archaide's Corsair Gearswap Lua File *** --
- --------------------------------------------------
- -- Commands --
- -- In Game: //gs c, Macro: /console gs c, Bind: gs c --
- -- F9 -- gs c flur Flurry Toggle
- -- F10 - gs c pdt -DT on/off
- -- F11 - gs c acc Toggle Accuracy tier for TP/WS
- -- F12 - gs c idle Gearset Update Toggle
- -- Alt-F12 - gs c C6 Idle Toggle
- -- Delete /ra <t>
- -- End Leaden Salute
- -- PageDown Last Stand
- -- Home Savage Blade
- -- PageUp Requiescat
- function get_sets()
- AccIndex = 4
- AccArray = {"LowACC","MidACC","HighACC","DW"}
- IdleIndex = 3
- IdleArray = {'Movement','Regen','Town','Magic'} -- Default Idle Set Is Movement --
- PreshotIndex = 1
- PreshotArray = {'Any','RDM'}
- Armor = 'None'
- autoRAmode = 0
- target_distance = 5 -- Set Default Distance Here --
- send_command('input /macro book 2;wait .1;input /macro set 1') -- Change Default Macro Book Here --
- send_command('bind F9 gs c flur')
- send_command('bind F10 gs c pdt')
- send_command('bind F11 gs c acc')
- send_command('bind F12 gs c auto')
- send_command('bind !F12 gs c C6')
- send_command('bind ` input //send @others /follow Archaide')
- send_command('bind != gs c mdt') --MDT toggle--
- send_command('bind Delete input /ra <t>')
- send_command('bind End input /ws "Leaden Salute" <t>')
- send_command('bind PageDown input /ws "Last Stand" <t>')
- send_command('bind Home input /ws "Savage Blade" <t>')
- send_command('bind PageUp input /ws "Requiescat" <t>')
- function file_unload()
- send_command('unbind F9')
- send_command('unbind F10')
- send_command('unbind F11')
- send_command('unbind F12')
- send_command('unbind !F12')
- send_command('unbind `')
- send_command('unbind !=') --MDT toggle--
- send_command('unbind Delete')
- send_command('unbind End')
- send_command('unbind PageDown')
- send_command('unbind Home')
- send_command('unbind PageUp')
- end
- StartLockStyle = '18'
- send_command('wait 3;input /lockstyleset '..StartLockStyle)
- ranged_ws = S{
- "Hot Shot","Split Shot","Sniper Shot","Slug Shot","Blast Shot","Heavy Shot","Detonator",
- "Numbing Shot","Last Stand","Leaden Salute","Wildfire",}
- --------------------------
- ----- Idle/Town Sets -----
- --------------------------
- sets.Idle = {}
- sets.Idle.Regen = {
- ammo="Living Bullet",
- head="Meghanada Visor +2",
- body="Meg. Cuirie +2",
- hands="Meg. Gloves +2",
- legs={ name="Carmine Cuisses +1", augments={'Accuracy+20','Attack+12','"Dual Wield"+6',}},
- feet="Meg. Jam. +2",
- neck="Bathy Choker +1",
- waist="Flume Belt +1",
- left_ear="Telos Earring",
- right_ear="Etiolation Earring",
- left_ring="Meghanada Ring",
- right_ring="Chirich Ring +1",
- back="Moonbeam Cape",}
- sets.Idle.Movement = set_combine(sets.Idle.Regen,{})
- sets.Idle.Town = {
- ammo="Living Bullet",
- head={ name="Lanun Tricorne +3", augments={'Enhances "Winning Streak" effect',}},
- body="Nisroch Jerkin",
- hands={ name="Lanun Gants +3", augments={'Enhances "Fold" effect',}},
- legs={ name="Carmine Cuisses +1", augments={'Accuracy+20','Attack+12','"Dual Wield"+6',}},
- feet={ name="Lanun Bottes +3", augments={'Enhances "Wild Card" effect',}},
- neck="Comm. Charm +2",
- waist="Reiki Yotai",
- left_ear="Telos Earring",
- right_ear="Enervating Earring",
- left_ring="Dim. Ring (Dem)",
- right_ring="Warp Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
- sets.Idle.Magic = {
- ammo="Living Bullet",
- head={ name="Dampening Tam", augments={'DEX+10','Accuracy+15','Mag. Acc.+15','Quadruple Attack +3',}},
- body={ name="Lanun Frac +3", augments={'Enhances "Loaded Deck" effect',}},
- hands={ name="Floral Gauntlets", augments={'Rng.Acc.+15','Accuracy+15','"Triple Atk."+3','Magic dmg. taken -4%',}},
- legs={ name="Carmine Cuisses +1", augments={'Accuracy+20','Attack+12','"Dual Wield"+6',}},
- feet={ name="Lanun Bottes +3", augments={'Enhances "Wild Card" effect',}},
- neck="Loricate Torque +1",
- waist="Flume Belt +1",
- left_ear="Static Earring",
- right_ear="Etiolation Earring",
- left_ring={ name="Dark Ring", augments={'Phys. dmg. taken -5%','Breath dmg. taken -4%',}},
- right_ring="Defending Ring",
- back="Moonbeam Cape",}
- sets.Fomalhaut = {
- main="Rostam",
- sub="Nusku Shield",
- range="Fomalhaut",
- ammo="Chrono Bullet"}
- sets.DeathPenalty = {
- main="Rostam",
- sub="Nusku Shield",
- range="Death Penalty",
- ammo="Living Bullet"}
- sets.Dualwield = {
- sub="Tauret"}
- ------------------------
- ----- Preshot Sets -----
- ------------------------
- sets.Preshot = {
- ammo="Chrono Bullet",
- head={ name="Taeon Chapeau", augments={'"Snapshot"+5','"Snapshot"+5',}}, -- 10/0
- body="Oshosi Vest", -- 12/0
- hands="Carmine Fin. Ga. +1", -- 8/11
- waist="Yemaya Belt", -- 0/5
- legs={ name="Adhemar Kecks", augments={'AGI+10','"Rapid Shot"+10','Enmity-5',}}, -- 9/10
- feet="Meg. Jam. +2", -- 10/0
- neck="Comm. Charm +2", -- 4/0
- back={ name="Camulus's Mantle", augments={'"Snapshot"+10',}},} -- 10/0
- -- 63/26
- -- Fomalhaut Preshot Sets --
- sets.Preshot.Fomalhaut = {
- ammo="Chrono Bullet",
- head={ name="Taeon Chapeau", augments={'"Snapshot"+5','"Snapshot"+5',}}, -- 10/0
- body="Oshosi Vest", -- 12/0
- hands="Carmine Fin. Ga. +1", -- 8/11
- waist="Yemaya Belt", -- 0/5
- legs={ name="Adhemar Kecks", augments={'AGI+10','"Rapid Shot"+10','Enmity-5',}}, -- 9/10
- feet="Meg. Jam. +2", -- 10/0
- neck="Comm. Charm +2", -- 4/0
- back={ name="Camulus's Mantle", augments={'"Snapshot"+10',}},} -- 10/0
- -- 63/26
- sets.Preshot.Fomalhaut.Any = set_combine(sets.Preshot,{
- body="Laksa. Frac +3"}) -- 0/18
- -- 51/44
- sets.Preshot.Fomalhaut.RDM = set_combine(sets.Preshot.Fomalhaut.Any,{
- head="Chass. Tricorne +1", -- 0/12
- feet={ name="Pursuer's Gaiters", augments={'Rng.Acc.+10','"Rapid Shot"+10','"Recycle"+15',}},}) -- 0/10
- -- 31/66
- -- Armageddon Preshot Sets --
- sets.Preshot.Armageddon = {
- ammo="Chrono Bullet",
- head={ name="Taeon Chapeau", augments={'"Snapshot"+5','"Snapshot"+5',}}, -- 10/0
- body="Oshosi Vest", -- 12/0
- hands="Carmine Fin. Ga. +1", -- 8/11
- waist="Yemaya Belt", -- 0/5
- legs={ name="Adhemar Kecks", augments={'AGI+10','"Rapid Shot"+10','Enmity-5',}}, -- 9/10
- feet="Meg. Jam. +2", -- 10/0
- neck="Comm. Charm +2", -- 4/0
- back={ name="Camulus's Mantle", augments={'"Snapshot"+10',}},} -- 10/0
- -- 63/26
- sets.Preshot.Armageddon.Any = set_combine(sets.Preshot,{
- body="Laksa. Frac +3"}) -- 0/18
- -- 51/44
- sets.Preshot.Armageddon.RDM = set_combine(sets.Preshot.Armageddon.Any,{
- head="Chass. Tricorne +1", -- 0/12
- feet={ name="Pursuer's Gaiters", augments={'Rng.Acc.+10','"Rapid Shot"+10','"Recycle"+15',}},}) -- 0/10
- -- 31/66
- -- Death Penalty Preshot Sets --
- sets.Preshot['Death Penalty'] = {
- ammo="Chrono Bullet",
- head={ name="Taeon Chapeau", augments={'"Snapshot"+5','"Snapshot"+5',}}, -- 10/0
- body="Oshosi Vest", -- 12/0
- hands="Carmine Fin. Ga. +1", -- 8/11
- waist="Yemaya Belt", -- 0/5
- legs={ name="Adhemar Kecks", augments={'AGI+10','"Rapid Shot"+10','Enmity-5',}}, -- 9/10
- feet="Meg. Jam. +2", --10/0
- neck="Comm. Charm +2", -- 4/0
- back={ name="Camulus's Mantle", augments={'"Snapshot"+10',}},} -- 10/0
- -- 63/26
- sets.Preshot['Death Penalty'].Any = set_combine(sets.Preshot,{
- body="Laksa. Frac +3"}) -- 0/18
- -- 51/44
- sets.Preshot['Death Penalty'].RDM = set_combine(sets.Preshot['Death Penalty'].Any,{
- head="Chass. Tricorne +1", -- 0/12
- feet={ name="Pursuer's Gaiters", augments={'Rng.Acc.+10','"Rapid Shot"+10','"Recycle"+15',}},}) -- 0/10
- -- 31/66
- -------------------------
- ----- Midshot Sets ------
- -------------------------
- sets.Midshot = {
- head="Malignance Chapeau",
- body="Nisroch Jerkin",
- hands="Malignance Gloves",
- legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
- feet="Malignance Boots",
- neck="Iskur Gorget",
- waist="Yemaya Belt",
- left_ear="Telos Earring",
- right_ear="Dedition Earring",
- left_ring="Dingir Ring",
- right_ring="Ilabrat Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
- sets.Midshot.MidACC = set_combine(sets.Midshot,{
- right_ear="Enervating Earring"})
- sets.Midshot.HighACC = set_combine(sets.Midshot.MidACC,{
- body="Laksa. Frac +3",
- left_ring="Hajduk Ring +1",
- right_ring="Regal Ring",})
- -- Fomalhaut MS Sets --
- sets.Midshot.Fomalhaut = {
- head="Malignance Chapeau",
- body="Nisroch Jerkin",
- hands="Malignance Gloves",
- legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
- feet="Malignance Boots",
- neck="Iskur Gorget",
- waist="Yemaya Belt",
- left_ear="Telos Earring",
- right_ear="Dedition Earring",
- left_ring="Dingir Ring",
- right_ring="Ilabrat Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
- sets.Midshot.Fomalhaut.MidACC = set_combine(sets.Midshot.Fomalhaut,{
- right_ear="Enervating Earring"})
- sets.Midshot.Fomalhaut.HighACC = set_combine(sets.Midshot.Fomalhaut.MidACC,{
- body="Laksa. Frac +3",
- left_ring="Hajduk Ring +1",
- right_ring="Regal Ring",})
- -- Armageddon MS Sets --
- sets.Midshot.Armageddon = {
- head="Malignance Chapeau",
- body="Nisroch Jerkin",
- hands="Malignance Gloves",
- legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
- feet="Malignance Boots",
- neck="Iskur Gorget",
- waist="Yemaya Belt",
- left_ear="Telos Earring",
- right_ear="Dedition Earring",
- left_ring="Dingir Ring",
- right_ring="Ilabrat Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
- sets.Midshot.Armageddon.MidACC = set_combine(sets.Midshot.Armageddon,{
- right_ear="Enervating Earring"})
- sets.Midshot.Armageddon.HighACC = set_combine(sets.Midshot.Armageddon.MidACC,{
- body="Laksa. Frac +3",
- left_ring="Hajduk Ring +1",
- right_ring="Regal Ring",})
- -- Death Penalty MS Sets --
- sets.Midshot['Death Penalty'] = {
- head="Malignance Chapeau",
- body="Nisroch Jerkin",
- hands="Malignance Gloves",
- legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
- feet="Malignance Boots",
- neck="Iskur Gorget",
- waist="Yemaya Belt",
- left_ear="Telos Earring",
- right_ear="Dedition Earring",
- left_ring="Dingir Ring",
- right_ring="Ilabrat Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
- sets.Midshot['Death Penalty'].MidACC = set_combine(sets.Midshot['Death Penalty'],{
- right_ear="Enervating Earring"})
- sets.Midshot['Death Penalty'].HighACC = set_combine(sets.Midshot['Death Penalty'].MidACC,{
- body="Laksa. Frac +3",
- left_ring="Hajduk Ring +1",
- right_ring="Regal Ring",})
- -----------------------
- ----- Barrage Set -----
- -----------------------
- Barrage = {}
- sets.Midshot.Barrage = {
- head="Meghanada Visor +2",
- body="Laksa. Frac +3",
- hands={ name="Adhemar Wrist. +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
- legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
- feet="Meg. Jam. +2",
- neck="Iskur Gorget",
- waist="Yemaya Belt",
- left_ear="Telos Earring",
- right_ear="Enervating Earring",
- left_ring="Hajduk Ring +1",
- right_ring="Hajduk Ring +1",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','"Store TP"+10',}},}
- sets.Midshot.MidACC.Barrage = set_combine(sets.Midshot.Barrage,{})
- sets.Midshot.HighACC.Barrage = set_combine(sets.Midshot.Barrage.MidACC,{})
- ----------------------------
- ----- Triple Shot Sets -----
- ----------------------------
- -- Fomalhaut TS Set --
- sets.Midshot.Fomalhaut.Tripleshot = set_combine(sets.Midshot,{
- head="Oshosi Mask +1",
- body="Chasseur's Frac +1",
- hands="Lanun Gants +3",
- legs="Oshosi Trousers +1",
- feet="Oshosi Leggings +1",
- neck="Iskur Gorget",
- waist="Yemaya Belt",
- left_ear="Telos Earring",
- right_ear="Enervating Earring",
- left_ring="Hajduk Ring +1",
- right_ring="Hajduk Ring +1",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},})
- -- 60+31 --
- sets.Midshot.Fomalhaut.MidACC.Tripleshot = sets.Midshot.Fomalhaut.Tripleshot
- sets.Midshot.Fomalhaut.HighACC.Tripleshot = sets.Midshot.Fomalhaut.Tripleshot
- -- Armageddon TS Set --
- sets.Midshot.Armageddon.Tripleshot = set_combine(sets.Midshot,{
- head="Oshosi Mask +1",
- body="Chasseur's Frac +1",
- hands="Lanun Gants +3",
- legs="Oshosi Trousers +1",
- feet="Oshosi Leggings +1",
- neck="Iskur Gorget",
- waist="Yemaya Belt",
- left_ear="Telos Earring",
- right_ear="Enervating Earring",
- left_ring="Hajduk Ring +1",
- right_ring="Hajduk Ring +1",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},})
- -- 60+31 --
- sets.Midshot.Armageddon.MidACC.Tripleshot = sets.Midshot.Armageddon.Tripleshot
- sets.Midshot.Armageddon.HighACC.Tripleshot = sets.Midshot.Armageddon.Tripleshot
- -- Death Penalty TS Set --
- sets.Midshot['Death Penalty'].Tripleshot = set_combine(sets.Midshot,{
- head="Oshosi Mask +1",
- body="Chasseur's Frac +1",
- hands="Lanun Gants +3",
- legs="Oshosi Trousers +1",
- feet="Oshosi Leggings +1",
- neck="Iskur Gorget",
- waist="Yemaya Belt",
- left_ear="Telos Earring",
- right_ear="Enervating Earring",
- left_ring="Hajduk Ring +1",
- right_ring="Hajduk Ring +1",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},})
- -- 60+31 --
- sets.Midshot['Death Penalty'].MidACC.Tripleshot = sets.Midshot['Death Penalty'].Tripleshot
- sets.Midshot['Death Penalty'].HighACC.Tripleshot = sets.Midshot['Death Penalty'].Tripleshot
- ------------------------
- ----- PDT/MDT Sets -----
- ------------------------
- sets.PDT = {
- head="Malignance Chapeau",
- body="Malignance Tabard",
- hands="Malignance Gloves",
- legs="Malignance Tights",
- feet="Malignance Boots",
- neck="Lissome Necklace",
- waist="Reiki Yotai",
- left_ear="Telos Earring",
- right_ear="Eabani Earring",
- left_ring="Chirich Ring +1",
- right_ring="Defending Ring",
- back={ name="Camulus's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}},}
- sets.MDT = {
- head="Malignance Chapeau",
- body="Malignance Tabard",
- hands="Malignance Gloves",
- legs="Malignance Tights",
- feet="Malignance Boots",
- neck="Lissome Necklace",
- waist="Reiki Yotai",
- left_ear="Telos Earring",
- right_ear="Cessance Earring",
- left_ring="Chirich Ring +1",
- right_ring="Defending Ring",
- back={ name="Camulus's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}},}
- ----------------------
- ----- Melee Sets -----
- ----------------------
- sets.Melee = {
- head={ name="Dampening Tam", augments={'DEX+10','Accuracy+15','Mag. Acc.+15','Quadruple Attack +3',}},
- body={ name="Adhemar Jacket +1", augments={'DEX+12','AGI+12','Accuracy+20',}},
- hands={ name="Adhemar Wrist. +1", augments={'DEX+12','AGI+12','Accuracy+20',}},
- legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
- feet={ name="Herculean Boots", augments={'Accuracy+21 Attack+21','"Triple Atk."+3','STR+14','Accuracy+11',}},
- neck="Lissome Necklace",
- waist="Windbuffet Belt +1",
- left_ear="Telos Earring",
- right_ear="Cessance Earring",
- left_ring="Epona's Ring",
- right_ring="Ilabrat Ring",
- back={ name="Camulus's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}},}
- sets.Melee.MidACC = set_combine(sets.Melee,{
- neck="Combatant's Torque",
- waist="Kentarch Belt +1"})
- sets.Melee.HighACC = set_combine(sets.Melee.MidACC,{
- head={ name="Carmine Mask +1", augments={'Accuracy+20','Mag. Acc.+12','"Fast Cast"+4',}},
- legs={ name="Carmine Cuisses +1", augments={'Accuracy+20','Attack+12','"Dual Wield"+6',}},
- left_ring="Chirich Ring +1",})
- sets.Melee.DW = set_combine(sets.Melee,{
- waist="Reiki Yotai",
- right_ear="Suppanomimi",})
- -- +18 DW
- -----------------------------
- ----- Weapon Skill Sets -----
- -----------------------------
- -- WS Base Set --
- sets.WS = {
- ammo="Chrono Bullet",
- head={ name="Lanun Tricorne +3", augments={'Enhances "Winning Streak" effect',}},
- body={ name="Herculean Vest", augments={'Rng.Acc.+23 Rng.Atk.+23','Weapon skill damage +3%','AGI+6','Rng.Acc.+3','Rng.Atk.+13',}},
- hands="Meg. Gloves +2",
- legs={ name="Herculean Trousers", augments={'Rng.Atk.+9','Weapon skill damage +4%','AGI+10','Rng.Acc.+13',}},
- feet={ name="Lanun Bottes +3", augments={'Enhances "Wild Card" effect',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear="Telos Earring",
- right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +25',}},
- left_ring="Dingir Ring",
- right_ring="Regal Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','AGI+10','Weapon skill damage +10%',}},}
- -- Last Stand --
- sets.WS['Last Stand'] = {
- ammo="Chrono Bullet",
- head={ name="Lanun Tricorne +3", augments={'Enhances "Winning Streak" effect',}},
- body="Laksa. Frac +3",
- hands="Meg. Gloves +2",
- legs={ name="Herculean Trousers", augments={'Rng.Atk.+9','Weapon skill damage +4%','AGI+10','Rng.Acc.+13',}},
- feet={ name="Lanun Bottes +3", augments={'Enhances "Wild Card" effect',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear="Telos Earring",
- right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
- left_ring="Dingir Ring",
- right_ring="Regal Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','AGI+10','Weapon skill damage +10%',}},}
- sets.WS['Last Stand'].MidACC = set_combine(sets.WS["Last Stand"],{})
- sets.WS['Last Stand'].HighACC = set_combine(sets.WS["Last Stand"].MidACC,{})
- -- Detonator --
- sets.WS.Detonator = sets.WS['Last Stand']
- sets.WS.Detonator.MidACC = sets.WS['Last Stand'].MidACC
- sets.WS.Detonator.HighACC = sets.WS['Last Stand'].HighACC
- -- Slug Shot --
- sets.WS['Slug Shot'] = sets.WS['Last Stand']
- sets.WS['Slug Shot'].MidACC = sets.WS['Last Stand'].MidACC
- sets.WS['Slug Shot'].HighACC = sets.WS['Last Stand'].HighACC
- -- Wildfire --
- sets.WS['Wildfire'] = {
- ammo="Living Bullet",
- head={ name="Herculean Helm", augments={'Mag. Acc.+20 "Mag.Atk.Bns."+20','"Fast Cast"+4','Mag. Acc.+15','"Mag.Atk.Bns."+12',}},
- body={ name="Lanun Frac +3", augments={'Enhances "Loaded Deck" effect',}},
- hands={ name="Carmine Fin. Ga. +1", augments={'Rng.Atk.+20','"Mag.Atk.Bns."+12','"Store TP"+6',}},
- legs={ name="Herculean Trousers", augments={'Accuracy+13','"Mag.Atk.Bns."+29','Accuracy+8 Attack+8','Mag. Acc.+10 "Mag.Atk.Bns."+10',}},
- feet={ name="Lanun Bottes +3", augments={'Enhances "Wild Card" effect',}},
- neck="Comm. Charm +2",
- waist="Orpheus's Sash",
- left_ear="Friomisi Earring",
- right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +25',}},
- left_ring="Dingir Ring",
- right_ring="Regal Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Mag. Acc+20 /Mag. Dmg.+20','AGI+10','Weapon skill damage +10%',}},}
- sets.WS['Wildfire'].MidACC = set_combine(sets.WS['Wildfire'],{})
- sets.WS['Wildfire'].HighACC = set_combine(sets.WS['Wildfire'].MidACC,{})
- -- Hot Shot --
- sets.WS['Hot Shot'] = {
- ammo="Living Bullet",
- head={ name="Herculean Helm", augments={'Mag. Acc.+20 "Mag.Atk.Bns."+20','"Fast Cast"+4','Mag. Acc.+15','"Mag.Atk.Bns."+12',}},
- body={ name="Lanun Frac +3", augments={'Enhances "Loaded Deck" effect',}},
- hands={ name="Carmine Fin. Ga. +1", augments={'Rng.Atk.+20','"Mag.Atk.Bns."+12','"Store TP"+6',}},
- legs={ name="Herculean Trousers", augments={'Accuracy+13','"Mag.Atk.Bns."+29','Accuracy+8 Attack+8','Mag. Acc.+10 "Mag.Atk.Bns."+10',}},
- feet={ name="Lanun Bottes +3", augments={'Enhances "Wild Card" effect',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear="Friomisi Earring",
- right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +25',}},
- left_ring="Dingir Ring",
- right_ring="Regal Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Mag. Acc+20 /Mag. Dmg.+20','AGI+10','Weapon skill damage +10%',}},}
- sets.WS['Hot Shot'].MidACC = set_combine(sets.WS['Hot Shot'],{})
- sets.WS['Hot Shot'].HighACC = set_combine(sets.WS['Hot Shot'].MidACC,{})
- -- Leaden Salute --
- sets.WS['Leaden Salute'] = {
- ammo="Living Bullet",
- head="Pixie Hairpin +1",
- body={ name="Lanun Frac +3", augments={'Enhances "Loaded Deck" effect',}},
- hands={ name="Carmine Fin. Ga. +1", augments={'Rng.Atk.+20','"Mag.Atk.Bns."+12','"Store TP"+6',}},
- legs={ name="Herculean Trousers", augments={'MND+3','"Mag.Atk.Bns."+21','"Treasure Hunter"+2','Mag. Acc.+16 "Mag.Atk.Bns."+16',}},
- feet={ name="Lanun Bottes +3", augments={'Enhances "Wild Card" effect',}},
- neck="Comm. Charm +2",
- waist="Hachirin-no-Obi",
- left_ear="Friomisi Earring",
- right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +25',}},
- left_ring="Dingir Ring",
- right_ring="Archon Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Mag. Acc+20 /Mag. Dmg.+20','AGI+10','Weapon skill damage +10%',}},}
- sets.WS['Leaden Salute'].MidACC = set_combine(sets.WS['Leaden Salute'],{
- hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},})
- sets.WS['Leaden Salute'].HighACC = set_combine(sets.WS['Leaden Salute'].MidACC,{})
- -- Dagger Weapon Skills --
- sets.WS['Exenterator'] = {
- head="Meghanada Visor +2",
- body="Laksa. Frac +3",
- hands="Meg. Gloves +2",
- legs={ name="Herculean Trousers", augments={'Rng.Atk.+9','Weapon skill damage +4%','AGI+10','Rng.Acc.+13',}},
- feet={ name="Lanun Bottes +3", augments={'Enhances "Wild Card" effect',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear="Telos Earring",
- right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +25',}},
- left_ring="Regal Ring",
- right_ring="Ilabrat Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','AGI+10','Weapon skill damage +10%',}},}
- sets.WS['Evisceration'] = {
- head={ name="Adhemar Bonnet +1", augments={'STR+12','DEX+12','Attack+20',}},
- body="Abnoba Kaftan",
- hands="Mummu Wrists +2",
- legs="Mummu Kecks +2",
- feet="Mummu Gamash. +2",
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear="Mache Earring +1",
- right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
- left_ring="Mummu Ring",
- right_ring="Regal Ring",
- back={ name="Camulus's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}},}
- sets.WS['Aeolian Edge'] = sets.WS['Wildfire']
- -- Sword Weapon Skills --
- sets.WS['Savage Blade'] = {
- head={ name="Herculean Helm", augments={'Accuracy+21','Weapon skill damage +4%','STR+8',}},
- body="Laksa. Frac +3",
- hands="Meg. Gloves +2",
- legs={ name="Herculean Trousers", augments={'Accuracy+11 Attack+11','Weapon skill damage +4%','STR+8','Attack+10',}},
- feet={ name="Lanun Bottes +3", augments={'Enhances "Wild Card" effect',}},
- neck={ name="Comm. Charm +2", augments={'Path: A',}},
- waist="Prosilio Belt +1",
- left_ear="Telos Earring",
- right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
- left_ring="Regal Ring",
- right_ring="Epaminondas's Ring",
- back={ name="Camulus's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}},}
- sets.WS['Circle Blade'] = sets.WS['Savage Blade']
- sets.WS['Swift Blade'] = {
- 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="Meg. Chausses +2",
- feet={ name="Carmine Greaves +1", augments={'Accuracy+12','DEX+12','MND+20',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear="Telos Earring",
- right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
- left_ring="Regal Ring",
- right_ring="Rufescent Ring",
- back={ name="Camulus's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}},}
- sets.WS.Requiescat = {
- 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="Meg. Chausses +2",
- feet={ name="Herculean Boots", augments={'Accuracy+21 Attack+21','"Triple Atk."+3','STR+14','Accuracy+11',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear="Telos Earring",
- right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
- left_ring="Regal Ring",
- right_ring="Rufescent Ring",
- back={ name="Camulus's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}},}
- -- JA Sets --
- sets.JA = {}
- -- Waltz Set --
- sets.Waltz = {head="Mummu Bonnet +2",body="Passion Jacket",}
- sets.Precast = {}
- -- Fastcast Set --
- sets.Precast.FastCast = {
- head={ name="Carmine Mask +1", augments={'Accuracy+20','Mag. Acc.+12','"Fast Cast"+4',}},
- body="Dread Jupon",
- hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
- legs={ name="Carmine Cuisses +1", augments={'Accuracy+20','Attack+12','"Dual Wield"+6',}},
- feet={ name="Carmine Greaves +1", augments={'Accuracy+12','DEX+12','MND+20',}},
- neck="Voltsurge Torque",
- waist="Flume Belt +1",
- left_ear="Loquac. Earring",
- right_ear="Enchntr. Earring +1",
- left_ring="Weather. Ring",
- right_ring="Kishar Ring",
- back={ name="Camulus's Mantle", augments={'"Fast Cast"+10',}},}
- -- Utsusemi Precast Set --
- sets.Precast.Utsusemi = set_combine(sets.Precast.FastCast,{body="Passion Jacket",neck="Magoraga Beads"})
- sets.Midcast = {}
- -- Magic Haste Set --
- sets.Midcast.Haste = set_combine(sets.PDT,{})
- ---------------------------
- ----- Quick Draw Sets -----
- ---------------------------
- sets.JA['Quick Draw'] = {
- ammo="Living Bullet",
- head={ name="Herculean Helm", augments={'Mag. Acc.+20 "Mag.Atk.Bns."+20','"Fast Cast"+4','Mag. Acc.+15','"Mag.Atk.Bns."+12',}},
- body={ name="Lanun Frac +3", augments={'Enhances "Loaded Deck" effect',}},
- hands={ name="Carmine Fin. Ga. +1", augments={'Rng.Atk.+20','"Mag.Atk.Bns."+12','"Store TP"+6',}},
- legs={ name="Herculean Trousers", augments={'MND+3','"Mag.Atk.Bns."+21','"Treasure Hunter"+2','Mag. Acc.+16 "Mag.Atk.Bns."+16',}},
- feet="Chass. Bottes +1",
- neck={ name="Comm. Charm +2", augments={'Path: A',}},
- waist="Eschan Stone",
- left_ear="Friomisi Earring",
- right_ear="Hecate's Earring",
- left_ring="Stikini Ring +1",
- right_ring="Dingir Ring",
- back={ name="Camulus's Mantle", augments={'AGI+20','Mag. Acc+20 /Mag. Dmg.+20','AGI+10','Weapon skill damage +10%',}},}
- sets.JA['Quick Draw'].MidACC = set_combine(sets.JA['Quick Draw'],{
- hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},})
- sets.JA['Quick Draw'].HighACC = set_combine(sets.JA['Quick Draw'].MidACC,{})
- sets.JA['Light Shot'] = sets.JA['Quick Draw'].HighACC
- sets.JA['Dark Shot'] = sets.JA['Quick Draw'].HighACC
- -------------------------
- ----- Phantom Rolls -----
- -------------------------
- sets.JA['Random Deal'] = {body={ name="Lanun Frac +3", augments={'Enhances "Loaded Deck" effect',}},}
- sets.JA['Wild Card'] = {feet={ name="Lanun Bottes +3", augments={'Enhances "Wild Card" effect',}},}
- sets.JA['Snake Eye'] = {legs={ name="Lanun Trews +1", augments={'Enhances "Snake Eye" effect',}},}
- sets.JA['Fold'] = {hands={ name="Lanun Gants +3", augments={'Enhances "Fold" effect',}},}
- sets.JA['Triple Shot'] = {body="Chasseur's Frac +1"}
- sets.JA['Phantom Roll'] = {
- head={ name="Lanun Tricorne +3", augments={'Enhances "Winning Streak" effect',}},
- body={ name="Lanun Frac +3", augments={'Enhances "Loaded Deck" effect',}},
- hands="Chasseur's Gants +1",
- neck="Regal Necklace",
- left_ring="Luzaf's Ring",
- back={ name="Camulus's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}},}
- sets.JA['Double-Up'] = {
- head={ name="Lanun Tricorne +3", augments={'Enhances "Winning Streak" effect',}},
- body={ name="Lanun Frac +3", augments={'Enhances "Loaded Deck" effect',}},
- hands="Chasseur's Gants +1",
- neck="Regal Necklace",
- left_ring="Luzaf's Ring",
- back={ name="Camulus's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}},}
- sets.JA["Tactician's Roll"] ={
- head={ name="Lanun Tricorne +3", augments={'Enhances "Winning Streak" effect',}},
- body="Chasseur's Frac +1",
- hands="Chasseur's Gants +1",
- neck="Regal Necklace",
- left_ring="Luzaf's Ring",
- back={ name="Camulus's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}},}
- sets.JA["Courser's Roll"] = {
- head={ name="Lanun Tricorne +3", augments={'Enhances "Winning Streak" effect',}},
- body={ name="Lanun Frac +3", augments={'Enhances "Loaded Deck" effect',}},
- hands="Chasseur's Gants +1",
- feet="Chasseur's Bottes +1",
- neck="Regal Necklace",
- left_ring="Luzaf's Ring",
- back={ name="Camulus's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}},}
- sets.JA["Blitzer's Roll"] = {
- head="Chasseur's Tricorne +1",
- body={ name="Lanun Frac +3", augments={'Enhances "Loaded Deck" effect',}},
- hands="Chasseur's Gants +1",
- neck="Regal Necklace",
- left_ring="Luzaf's Ring",
- back={ name="Camulus's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}},}
- sets.JA["Caster's Roll"] = {
- head={ name="Lanun Tricorne +3", augments={'Enhances "Winning Streak" effect',}},
- body={ name="Lanun Frac +3", augments={'Enhances "Loaded Deck" effect',}},
- hands="Chasseur's Gants +1",
- legs="Chasseur's Culottes +1",
- neck="Regal Necklace",
- left_ring="Luzaf's Ring",
- back={ name="Camulus's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}},}
- end
- function pretarget(spell,action)
- if (spell.type:endswith('Magic') or spell.type == "Ninjutsu") and buffactive.silence then -- Auto Use Echo Drops If You Are Silenced --
- cancel_spell()
- send_command('input /item "Echo Drops" <me>')
- elseif spell.english == "Berserk" and buffactive.Berserk then -- Change Berserk To Aggressor If Berserk Is On --
- cancel_spell()
- send_command('Aggressor')
- elseif spell.english == "Seigan" and buffactive.Seigan then -- Change Seigan To Third Eye If Seigan Is On --
- cancel_spell()
- send_command('ThirdEye')
- elseif spell.english == "Meditate" and player.tp > 290 then -- Cancel Meditate If TP Is Above 290 --
- cancel_spell()
- add_to_chat(123, spell.name .. ' Canceled: ['..player.tp..' TP]')
- elseif (spell.english == 'Ranged' and spell.target.distance > 24.9) or (player.status == 'Engaged' and ((ranged_ws:contains(spell.english) and spell.target.distance > 16+target_distance))) then -- Cancel Ranged Attack or WS If You Are Out Of Range --
- cancel_spell()
- add_to_chat(123, spell.name..' Canceled: [Out of Range]')
- return
- end
- end
- function precast(spell,action)
- if spell.english == 'Ranged' then
- equipSet = sets.Preshot
- add_to_chat(57,"Flurry Level"..PreshotArray[PreshotIndex])
- if buffactive['Flurry'] then
- add_to_chat(122,"Flurry found")
- if PreshotArray[PreshotIndex] == 'RDM' then
- if equipSet[player.equipment.range].RDM then
- equipSet = equipSet[player.equipment.range].RDM
- end
- else
- if equipSet[player.equipment.range].Any then
- equipSet = equipSet[player.equipment.range].Any
- end
- end
- else
- if equipSet[player.equipment.range] then
- equipSet = equipSet[player.equipment.range]
- end
- add_to_chat(122,"No flurry")
- end
- equip(equipSet)
- elseif spell.type == "WeaponSkill" then
- equipSet = sets.WS
- if equipSet[spell.english] then
- equipSet = equipSet[spell.english]
- end
- if equipSet[AccArray[AccIndex]] then
- equipSet = equipSet[AccArray[AccIndex]]
- end
- if player.tp > 2749 or buffactive.Sekkanoki then
- if spell.english == "Last Stand" then -- Equip Thrud Earring When You Have 3000 TP or Sekkanoki For Last Stand --
- equipSet = set_combine(equipSet,{ear2="Thrud Earring"})
- elseif spell.english == "Leaden Salute" then --Equip Thrud Earring When you have 3000 TP or Sekkanoki for Leaden Salute --
- equipSet = set_combine(equipSet,{ear2="Thrud Earring"})
- end
- end
- equip(equipSet)
- elseif spell.type=="JobAbility" then
- if sets.JA[spell.english] then
- equip(sets.JA[spell.english])
- end
- elseif spell.type:endswith('Magic') or spell.type == "Ninjutsu" then
- if string.find(spell.english,'Utsusemi') then
- if buffactive['Copy Image (3)'] or buffactive['Copy Image (4)'] then
- cancel_spell()
- add_to_chat(123, spell.name .. ' Canceled: [3+ Images]')
- return
- else
- equip(sets.Precast.Utsusemi)
- end
- else
- equip(sets.Precast.FastCast)
- end
- elseif spell.type == "Waltz" then
- equip(sets.Waltz)
- elseif spell.english == 'Spectral Jig' and buffactive.Sneak then
- cast_delay(0.2)
- send_command('cancel Sneak')
- end
- if spell.type == 'CorsairRoll' or spell.english == "Double-Up" then
- sets.JA['Phantom Roll'] = sets.JA['Phantom Roll']
- equip(sets.JA['Phantom Roll'])
- end
- if spell.english == "Blitzer's Roll" then
- equip(sets.JA["Blitzer's Roll"])
- end
- if spell.english == "Tactician's Roll" then
- equip(sets.JA["Tactician's Roll"])
- end
- if spell.english == "Courser's Roll" then
- equip(sets.JA["Courser's Roll"])
- end
- if spell.english == "Castor's Roll" then
- equip(sets.JA["Caster's Roll"])
- end
- if spell.type == 'CorsairShot' then
- equip(sets.JA['Quick Draw'])
- end
- if spell.english == "Random Deal" then
- equip(sets.JA['Random Deal'])
- end
- if spell.english == "Double-Up" then
- equip(sets.JA['Phantom Roll'])
- end
- if spell.english == "Wild Card" then
- equip(sets.JA['Wild Card'])
- end
- if spell.english == "Fold" then
- equip(sets.JA['Fold'])
- end
- if spell.english == "Snake Eye" then
- equip(sets.JA['Snake Eye'])
- end
- if spell.english == "Triple Shot" then
- equip(sets.JA['Triple Shot'])
- end
- end
- function midcast(spell,action)
- if spell.english == 'Ranged' then
- equipSet = sets.Midshot
- if equipSet[player.equipment.range] then
- equipSet = equipSet[player.equipment.range]
- end
- if equipSet[AccArray[AccIndex]] then
- equipSet = equipSet[AccArray[AccIndex]]
- end
- if buffactive.Barrage and equipSet["Barrage"] then
- equipSet = equipSet["Barrage"]
- end
- if buffactive['Triple Shot'] and equipSet["Tripleshot"] then
- equipSet = equipSet["Tripleshot"]
- end
- equip(equipSet)
- elseif spell.type:endswith('Magic') or spell.type == "Ninjutsu" then
- if string.find(spell.english,'Utsusemi') then
- if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)']) then
- send_command('@wait 1.7;cancel Copy Image*')
- end
- equip(sets.Midcast.Haste)
- elseif spell.english == 'Monomi: Ichi' then
- if buffactive['Sneak'] then
- send_command('@wait 1.7;cancel sneak')
- end
- equip(sets.Midcast.Haste)
- else
- equip(sets.Midcast.Haste)
- end
- end
- if spell.english == "Leaden Salute" and (world.day == "Darksday" or world.weather_element == "Dark" or (buffactive['Voidstorm'])) then
- add_to_chat(125,'WEATHER MODE')
- equip({waist="Hachirin-no-Obi"})
- end
- if spell.english == "Wildfire" and (world.day == "Firesday" or world.weather_element == "Fire" or(buffactive['Firestorm'])) then
- add_to_chat(125,'WEATHER MODE')
- equip({waist="Hachirin-no-Obi"})
- end
- end
- function aftercast(spell,action)
- if spell.english == 'Ranged' and autoRAmode==1 then
- autoRA()
- elseif spell.type == "WeaponSkill" and not spell.interrupted then
- send_command('wait 0.2;gs c TP')
- end
- status_change(player.status)
- end
- function buff_change(buff,gain,buff_table)
- buff = string.lower(buff)
- if buff_table['id'] == 434 then -- Brew Timer --
- if gain then
- send_command('timers create "Transcendency" 180 down')
- else
- send_command('timers delete "Transcendency"')
- add_to_chat(123,'Transcendency: [OFF]')
- end
- elseif buff_table['id'] == 1 then -- Weakness Timer --
- if gain then
- send_command('timers create "Weakness" 300 up')
- else
- send_command('timers delete "Weakness"')
- add_to_chat(158,'Weakness: [OFF]')
- end
- elseif buff_table['id'] == 15 then -- Doom Party Chat --
- if gain then
- send_command('input /party Doom')
- else
- send_command('input /party Doom off')
- add_to_chat(158,'Doom: [OFF]')
- end
- elseif buff_table['id'] == 9 then -- Curse Party Chat --
- if gain then
- send_command('input /party Curse')
- else
- add_to_chat(158,'Curse: [OFF]')
- end
- elseif buff_table['id'] == 14 or buff_table['id'] == 17 then -- Charm Party Chat --
- if gain then
- send_command('input /party Charmed')
- else
- send_command('input /party Charm off')
- add_to_chat(158,'Charm: [OFF]')
- end
- elseif buff_table['id'] == 4 then -- Paralysis --
- if gain then
- add_to_chat(123,'Paralyzed!')
- else
- add_to_chat(158,'Paralysis: [OFF]')
- end
- elseif buff_table['id'] == 310 then -- Fighter's Roll --
- if not gain then
- add_to_chat(123,'Fighters Roll: [OFF]')
- end
- elseif buff_table['id'] == 313 then -- Wizard's Roll --
- if not gain then
- add_to_chat(123,'Wizards Roll: [OFF]')
- end
- elseif buff_table['id'] == 317 then -- Chaos Roll --
- if not gain then
- add_to_chat(123,'Chaos Roll: [OFF]')
- end
- elseif buff_table['id'] == 318 then -- Beast Roll --
- if not gain then
- add_to_chat(123,'Beast Roll: [OFF]')
- end
- elseif buff_table['id'] == 320 then -- Hunter's Roll --
- if not gain then
- add_to_chat(123,'Hunters Roll: [OFF]')
- end
- elseif buff_table['id'] == 321 then -- Samurai Roll --
- if not gain then
- add_to_chat(123,'Samurai Roll: [OFF]')
- end
- elseif buff_table['id'] == 323 then -- Drachen Roll --
- if not gain then
- add_to_chat(123,'Drachen Roll: [OFF]')
- end
- elseif buff_table['id'] == 324 then -- Evoker's Roll --
- if not gain then
- add_to_chat(123,'Evokers Roll: [OFF]')
- end
- elseif buff_table['id'] == 326 then -- Corsair's Roll --
- if not gain then
- add_to_chat(123,'Corsairs Roll: [OFF]')
- end
- elseif buff_table['id'] == 334 then -- Tactician's Roll --
- if not gain then
- add_to_chat(123,'Tacticians Roll: [OFF]')
- end
- elseif buff_table['id'] == 335 then -- Allies' Roll --
- if not gain then
- add_to_chat(123,'Allies Roll: [OFF]')
- end
- elseif buff_table['id'] == 467 then -- Triple Shot --
- if not gain then
- add_to_chat(123,'Triple Shot: [OFF]')
- end
- elseif buff_table['id'] == 56 then -- Berserk --
- if not gain then
- add_to_chat(123,'Berserk: [OFF]')
- end
- elseif buff_table['id'] == 58 then -- Aggressor --
- if not gain then
- add_to_chat(123,'Aggressor: [OFF]')
- end
- elseif buff_table['id'] == 68 then -- Warcry --
- if not gain then
- add_to_chat(123,'Warcry: [OFF]')
- end
- elseif buff_table['id'] == 33 then -- Haste --
- if not gain then
- add_to_chat(123,'Haste: [OFF]')
- end
- elseif buff_table['id'] == 370 then -- Haste Samba --
- if not gain then
- add_to_chat(123,'Haste Samba: [OFF]')
- end
- elseif buff_table['id'] == 589 then -- Firestorm --
- if not gain then
- add_to_chat(123,'Firestorm: [OFF]')
- end
- elseif buff_table['id'] == 596 then -- Voidstorm --
- if not gain then
- add_to_chat(123,'Voidstorm: [OFF]')
- end
- elseif buff_table['id'] == 13 then -- Slow --
- if gain then
- add_to_chat(123,'Slowed!')
- else
- add_to_chat(158,'Slow: [OFF]')
- end
- elseif buff_table['id'] == 251 then -- Food --
- if not gain then
- add_to_chat(123,'Food: [OFF]')
- end
- elseif buff_table['id'] == 28 then -- Terror --
- if not gain then
- add_to_chat(158,'Terror: [OFF]')
- end
- elseif buff_table['id'] == 10 then -- Stun --
- if not gain then
- add_to_chat(158,'Stun: [OFF]')
- end
- elseif buff_table['id'] == 16 then -- Amnesia --
- if not gain then
- add_to_chat(158,'Amnesia: [OFF]')
- end
- elseif buff_table['id'] == 2 or buff_table['id'] == 19 then -- Sleep --
- if gain then
- send_command('input /party ZZZ')
- else
- add_to_chat(158,'Sleep: [OFF]')
- end
- end
- if not midaction() then
- status_change(player.status)
- end
- end
- function status_change(new,old)
- if Armor == 'PDT' then
- equip(sets.PDT)
- elseif Armor == 'MDT' then
- equip(sets.MDT)
- elseif new == 'Engaged' then
- equipSet = sets.Melee
- if equipSet[AccArray[AccIndex]] then
- equipSet = equipSet[AccArray[AccIndex]]
- end
- equip(equipSet)
- else
- equip(sets.Idle[IdleArray[IdleIndex]])
- end
- end
- -- In Game: //gs c (command), Macro: /console gs c (command), Bind: gs c (command) --
- function self_command(command)
- if command == 'acc' then -- Accuracy Level Toggle --
- AccIndex = (AccIndex % #AccArray) + 1
- add_to_chat(158,'Accuracy Level: ' .. AccArray[AccIndex])
- status_change(player.status)
- elseif command == 'flur' then -- Flurry Level Toggle --
- PreshotIndex = (PreshotIndex % #PreshotArray) + 1
- add_to_chat(158,'Flurry Level: ' ..PreshotArray[PreshotIndex])
- status_change(player.status)
- elseif command == 'auto' then -- Auto Update Gear Toggle --
- status_change(player.status)
- add_to_chat(158,'Auto Update Gear')
- elseif command == 'pdt' then -- PDT Toggle --
- if Armor == 'PDT' then
- Armor = 'None'
- add_to_chat(123,'PDT Set: [Unlocked]')
- else
- Armor = 'PDT'
- add_to_chat(158,'PDT Set: [Locked]')
- end
- status_change(player.status)
- elseif command == 'mdt' then -- MDT Toggle --
- if Armor == 'MDT' then
- Armor = 'None'
- add_to_chat(123,'MDT Set: [Unlocked]')
- else
- Armor = 'MDT'
- add_to_chat(158,'MDT Set: [Locked]')
- end
- status_change(player.status)
- elseif command == 'C8' then -- Distance Toggle --
- if player.target.distance then
- target_distance = math.floor(player.target.distance*10)/10
- add_to_chat(158,'Distance: '..target_distance)
- else
- add_to_chat(123,'No Target Selected')
- end
- elseif command == 'C6' then -- Idle Toggle --
- IdleIndex = (IdleIndex % #IdleArray) + 1
- add_to_chat(158,'Idle Set: ' .. IdleArray[IdleIndex])
- status_change(player.status)
- elseif command == 'AutoRA' then -- Auto Ranged Attack Toggle. *Don't Rely On This. It Isn't As Fast As Shooting Manually. It Is Mainly For AFK or When You Dualbox* --
- if autoRAmode == 0 then
- autoRAmode = 1
- add_to_chat(158,'AutoRA Mode: [ON]')
- else
- autoRAmode = 0
- add_to_chat(123,'AutoRA Mode: [OFF]')
- end
- elseif command == 'TP' then
- add_to_chat(158,'TP Return: ['..tostring(player.tp)..']')
- elseif command:match('^SC%d$') then
- send_command('//' .. sc_map[command])
- end
- end
- function autoRA()
- send_command('@wait 2.5; input /ra <t>')
- end
- function sub_job_change(newSubjob, oldSubjob)
- select_default_macro_book()
- end
- function set_macro_page(set,book)
- if not tonumber(set) then
- add_to_chat(123,'Error setting macro page: Set is not a valid number ('..tostring(set)..').')
- return
- end
- if set < 1 or set > 10 then
- add_to_chat(123,'Error setting macro page: Macro set ('..tostring(set)..') must be between 1 and 10.')
- return
- end
- if book then
- if not tonumber(book) then
- add_to_chat(123,'Error setting macro page: book is not a valid number ('..tostring(book)..').')
- return
- end
- if book < 1 or book > 20 then
- add_to_chat(123,'Error setting macro page: Macro book ('..tostring(book)..') must be between 1 and 20.')
- return
- end
- send_command('@input /macro book '..tostring(book)..';wait .1;input /macro set '..tostring(set))
- else
- send_command('@input /macro set '..tostring(set))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement