daily pastebin goal
76%
SHARE
TWEET

Archaide RNG lua, Mar 2019

Archaide Mar 20th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.         -------------------------------------------------
  3.         -- *** Archaide's Ranger Gearswap Lua File *** --
  4.         -------------------------------------------------
  5.                
  6.             -- Commands --
  7.                
  8.                 -- In Game: //gs c, Macro: /console gs c, Bind: gs c --
  9.            
  10.                 -- F9 -- gs c flur          Flurry Toggle
  11.                 -- F10 - gs c pdt           -DT on/off
  12.                 -- F11 - gs c acc           Toggle Accuracy tier for TP/WS
  13.                 -- F12 - gs c idle          Gearset Update Toggle
  14.                 -- Alt-F12 - gs c C6        Idle Toggle
  15.                
  16.                 -- Delete                   /ra <t>
  17.                 -- End                      Last Stand
  18.                 -- PageDown                 Trueflight
  19.                 -- Home                     Coronach
  20.                 -- PageUp                   Jishnu's Radiance
  21.  
  22. function get_sets()
  23.     AccIndex = 1
  24.     AccArray = {"LowACC","MidACC","HighACC","AM3"}
  25.     IdleIndex = 3
  26.     IdleArray = {'Movement','Regen','Town'}                        -- Default Idle Set Is Movement --
  27.     PreshotIndex = 1
  28.     PreshotArray = {'Any','RDM'}
  29.     Armor = 'None'
  30.     autoRAmode = 0
  31.     target_distance = 5 -- Set Default Distance Here --
  32.  
  33.     send_command('input /macro book 3;wait .1;input /macro set 1') -- Change Default Macro Book Here --
  34.     send_command('bind F9 gs c flur')
  35.     send_command('bind F10 gs c pdt')
  36.     send_command('bind F11 gs c acc')
  37.     send_command('bind F12 gs c auto')
  38.     send_command('bind !F12 gs c C6')
  39.     send_command('bind != gs c mdt') --MDT toggle--
  40.     send_command('bind Delete input /ra <t>')
  41.     send_command('bind End input /ws "Last Stand" <t>')
  42.     send_command('bind PageDown input /ws "Trueflight" <t>')
  43.     send_command('bind Home input /ws "Coronach" <t>')
  44.     send_command('bind PageUp input /ws "Jishnu/s Radiance" <t>')
  45.     function file_unload()
  46.     send_command('unbind F9')
  47.     send_command('unbind F10')
  48.     send_command('unbind F11')
  49.     send_command('unbind F12')
  50.     send_command('unbind !F12')
  51.     send_command('unbind !=') --MDT toggle--
  52.     send_command('unbind Delete')
  53.     send_command('unbind End')
  54.     send_command('unbind PageDown')
  55.     send_command('unbind Home')
  56.     send_command('unbind PageUp')
  57.     end
  58.  
  59.     StartLockStyle = '100'
  60.     send_command('wait 3;input /lockstyleset '..StartLockStyle)
  61.  
  62. ranged_ws = S{
  63.  
  64.     "Hot Shot","Split Shot","Sniper Shot","Slug Shot","Blast Shot","Heavy Shot","Detonator",
  65.  
  66.     "Numbing Shot","Last Stand","Coronach","Trueflight","Wildfire","Flaming Arrow",
  67.  
  68.     "Piercing Arrow","Dulling Arrow","Sidewinder","Blast Arrow","Arching Arrow",
  69.  
  70.     "Empyreal Arrow","Refulgent Arrow","Apex Arrow","Jishnu's Radiance","Namas Arrow"}
  71.  
  72.    
  73. --------------------------
  74. ----- Idle/Town Sets -----
  75. --------------------------
  76.  
  77. sets.Idle = {}
  78.  
  79. sets.Idle.Regen = {
  80.         head="Meghanada Visor +2",
  81.         body="Meg. Cuirie +2",
  82.         hands="Meg. Gloves +2",
  83.         legs={ name="Carmine Cuisses +1", augments={'Accuracy+20','Attack+12','"Dual Wield"+6',}},
  84.         feet="Meg. Jam. +2",
  85.         neck="Bathy Choker +1",
  86.         waist="Flume Belt +1",
  87.         left_ear="Telos Earring",
  88.         right_ear="Etiolation Earring",
  89.         left_ring="Meghanada Ring",
  90.         right_ring="Chirich Ring +1",
  91.         back="Moonbeam Cape",}
  92.  
  93. sets.Idle.Movement = set_combine(sets.Idle.Regen,{})
  94.  
  95. sets.Idle.Town = {
  96.         head={ name="Arcadian Beret +3", augments={'Enhances "Recycle" effect',}},
  97.         body="Nisroch Jerkin",
  98.         hands={ name="Adhemar Wrist. +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  99.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  100.         feet="Orion Socks +3",
  101.         neck="Scout's Gorget +2",
  102.         waist="Yemaya Belt",
  103.         left_ear="Telos Earring",
  104.         right_ear="Dedition Earring",
  105.         left_ring="Dingir Ring",
  106.         right_ring="Ilabrat Ring",
  107.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
  108.  
  109. sets.Fomalhaut = {
  110.         main="Perun +1",
  111.         sub="Nusku Shield",
  112.         range="Fomalhaut",
  113.         ammo="Eradicating Bullet"}
  114.  
  115. sets.Annihilator = {
  116.         main="Perun +1",
  117.         sub="Nusku Shield",
  118.         range="Annihilator",
  119.         ammo="Eradicating Bullet"}
  120.  
  121. sets.Gastraphetes = {
  122.         main={ name="Malevolence", augments={'INT+10','Mag. Acc.+10','"Mag.Atk.Bns."+10','"Fast Cast"+5',}},
  123.         sub={ name="Malevolence", augments={'INT+6','Mag. Acc.+7','"Mag.Atk.Bns."+4','"Fast Cast"+3',}},
  124.         range="Gastraphetes",
  125.         ammo="Quelling Bolt"}
  126.  
  127. sets.Gandiva = {
  128.         main="Oneiros Knife",
  129.         sub="Nusku Shield",
  130.         range="Gandiva",
  131.         ammo="Chrono Arrow"}
  132.  
  133.        
  134. -------------------
  135. ----- Preshot -----
  136. -------------------
  137.  
  138. sets.Preshot = {
  139.         head={ name="Taeon Chapeau", augments={'"Snapshot"+5','"Snapshot"+5',}}, -- 10/0
  140.         body="Oshosi Vest", -- 12/0
  141.         hands={ name="Carmine Fin. Ga. +1", augments={'Rng.Atk.+20','"Mag.Atk.Bns."+12','"Store TP"+6',}}, -- 8/11
  142.         legs={ name="Adhemar Kecks", augments={'AGI+10','"Rapid Shot"+10','Enmity-5',}}, -- 9/10
  143.         feet="Meg. Jam. +2", -- 10/0
  144.         waist="Yemaya Belt", -- 0/5
  145.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','"Snapshot"+10',}},} -- 10/0
  146.         -- 69 SS/ 61 RS
  147.            
  148. -- Fomalhaut Preshot --
  149.  
  150. sets.Preshot.Fomalhaut = {
  151.         ammo="Eradicating Bullet",
  152.         head={ name="Taeon Chapeau", augments={'"Snapshot"+5','"Snapshot"+5',}}, -- 10/0
  153.         body="Oshosi Vest", -- 12/0
  154.         hands={ name="Carmine Fin. Ga. +1", augments={'Rng.Atk.+20','"Mag.Atk.Bns."+12','"Store TP"+6',}}, -- 8/11
  155.         legs={ name="Adhemar Kecks", augments={'AGI+10','"Rapid Shot"+10','Enmity-5',}}, -- 9/10
  156.         feet="Meg. Jam. +2", -- 10/0
  157.         neck="Scout's Gorget +2", -- 4/0
  158.         waist="Yemaya Belt", -- 0/5
  159.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','"Snapshot"+10',}},} -- 10/0
  160.         -- 73 SS/ 61 RS
  161.  
  162. sets.Preshot.Fomalhaut.Any = set_combine(sets.Preshot.Fomalhaut,{
  163.         head="Orion Beret +3", -- 0/18
  164.         body="Amini Caban +1", -- 0/0
  165.         waist="Impulse Belt",}) -- 3/0
  166.         -- 54 SS/ 74 RS
  167.  
  168. sets.Preshot.Fomalhaut.RDM = set_combine(sets.Preshot.Fomalhaut.Any,{
  169.         feet={ name="Arcadian Socks +3", augments={'Enhances "Stealth Shot" effect',}}, -- 0/10
  170.         waist="Yemaya Belt",}) -- 0/5
  171.         -- 41 SS/ 89 RS
  172.  
  173. -- Annihilator Preshot --
  174.  
  175. sets.Preshot.Annihilator = {
  176.         ammo="Eradicating Bullet",
  177.         head={ name="Taeon Chapeau", augments={'"Snapshot"+5','"Snapshot"+5',}}, -- 10/0
  178.         body="Oshosi Vest", -- 12/0
  179.         hands={ name="Carmine Fin. Ga. +1", augments={'Rng.Atk.+20','"Mag.Atk.Bns."+12','"Store TP"+6',}}, -- 8/11
  180.         legs={ name="Adhemar Kecks", augments={'AGI+10','"Rapid Shot"+10','Enmity-5',}}, -- 9/10
  181.         feet="Meg. Jam. +2", -- 10/0
  182.         neck="Scout's Gorget +2", -- 4/0
  183.         waist="Yemaya Belt", -- 0/5
  184.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','"Snapshot"+10',}},} -- 10/0
  185.         -- 73 SS/ 61 RS
  186.  
  187. sets.Preshot.Annihilator.Any = set_combine(sets.Preshot.Annihilator,{
  188.         head="Orion Beret +3", -- 0/18
  189.         body="Amini Caban +1", -- 0/0
  190.         waist="Impulse Belt",}) -- 3/0
  191.         -- 54 SS/ 74 RS
  192.  
  193. sets.Preshot.Annihilator.RDM = set_combine(sets.Preshot.Annihilator.Any,{
  194.         feet={ name="Arcadian Socks +3", augments={'Enhances "Stealth Shot" effect',}}, -- 0/10
  195.         waist="Yemaya Belt",}) -- 0/5
  196.         -- 41 SS/ 89 RS
  197.  
  198. -- Gastraphetes Preshot --     
  199.        
  200. sets.Preshot.Gastraphetes = {
  201.         ammo="Quelling Bolt",
  202.         head={ name="Taeon Chapeau", augments={'"Snapshot"+5','"Snapshot"+5',}}, -- 10/0
  203.         body="Amini Caban +1", -- 0/0
  204.         hands={ name="Carmine Fin. Ga. +1", augments={'Rng.Atk.+20','"Mag.Atk.Bns."+12','"Store TP"+6',}}, -- 8/11
  205.         legs={ name="Adhemar Kecks", augments={'AGI+10','"Rapid Shot"+10','Enmity-5',}}, -- 9/10
  206.         feet="Meg. Jam. +2", -- 10/0
  207.         neck="Scout's Gorget +2", -- 4/0
  208.         waist="Yemaya Belt", -- 0/5
  209.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','"Snapshot"+10',}},} -- 10/0
  210.         -- 71 SS/ 61 RS
  211.  
  212. sets.Preshot.Gastraphetes.Any = set_combine(sets.Preshot.Gastraphetes,{
  213.         head="Orion Beret +3", -- 0/18
  214.         feet={ name="Arcadian Socks +3", augments={'Enhances "Stealth Shot" effect',}}, -- 0/10
  215.         waist="Impulse Belt",}) -- 3/0
  216.         -- 54 SS/ 84 RS
  217.  
  218. sets.Preshot.Gastraphetes.RDM = set_combine(sets.Preshot.Gastraphetes.Any,{
  219.         hands="Mrigavyadha Gloves", -- 0/15
  220.         waist="Yemaya Belt",}) -- 0/5
  221.         -- 43 SS/ 93 RS
  222.        
  223. -- Gandiva Preshot --
  224.  
  225. sets.Preshot.Gandiva = {
  226.         ammo="Chrono Arrow",
  227.         head={ name="Taeon Chapeau", augments={'"Snapshot"+5','"Snapshot"+5',}}, -- 10/0
  228.         body="Oshosi Vest", -- 12/0
  229.         hands={ name="Carmine Fin. Ga. +1", augments={'Rng.Atk.+20','"Mag.Atk.Bns."+12','"Store TP"+6',}}, -- 8/11
  230.         legs={ name="Adhemar Kecks", augments={'AGI+10','"Rapid Shot"+10','Enmity-5',}}, -- 9/10
  231.         feet="Meg. Jam. +2", -- 10/0
  232.         neck="Scout's Gorget +2", -- 4/0
  233.         waist="Yemaya Belt", -- 0/5
  234.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','"Snapshot"+10',}},} -- 10/0
  235.         -- 73 SS/ 61 RS
  236.  
  237. sets.Preshot.Gandiva.Any = set_combine(sets.Preshot.Gandiva,{
  238.         head="Orion Beret +3", -- 0/18
  239.         body="Amini Caban +1", -- 0/0
  240.         waist="Impulse Belt",}) -- 3/0
  241.         -- 54 SS/ 74 RS
  242.  
  243. sets.Preshot.Gandiva.RDM = set_combine(sets.Preshot.Gandiva.Any,{
  244.         feet={ name="Arcadian Socks +3", augments={'Enhances "Stealth Shot" effect',}}, -- 0/10
  245.         waist="Yemaya Belt",}) -- 0/5
  246.         -- 41 SS/ 89 RS
  247.        
  248. sets.Preshot.Gandiva.AM3 = set_combine(sets.Preshot.Gandiva.Any, {})
  249.  
  250.  
  251. ------------------------
  252. ----- Midshot Base -----
  253. ------------------------
  254.  
  255. sets.Midshot = {
  256.         head={ name="Arcadian Beret +3", augments={'Enhances "Recycle" effect',}},
  257.         body="Nisroch Jerkin",
  258.         hands={ name="Adhemar Wrist. +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  259.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  260.         feet={ name="Adhe. Gamashes +1", augments={'HP+65','"Store TP"+7','"Snapshot"+10',}},
  261.         neck="Scout's Gorget +2",
  262.         waist="Yemaya Belt",
  263.         left_ear="Telos Earring",
  264.         right_ear="Dedition Earring",
  265.         left_ring="Dingir Ring",
  266.         right_ring="Ilabrat Ring",
  267.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
  268.  
  269. sets.Midshot.MidACC = set_combine(sets.Midshot,{
  270.         body="Orion Jerkin +3",
  271.         right_ear="Enervating Earring",
  272.         left_ring="Regal Ring"})
  273.  
  274. sets.Midshot.HighACC = set_combine(sets.Midshot.MidACC,{
  275.         feet={ name="Arcadian Socks +3", augments={'Enhances "Stealth Shot" effect',}},
  276.         right_ring="Hajduk Ring +1"})
  277.  
  278. -- Fomalhaut Midshot --
  279.  
  280. sets.Midshot.Fomalhaut = {
  281.         head={ name="Arcadian Beret +3", augments={'Enhances "Recycle" effect',}},
  282.         body="Nisroch Jerkin",
  283.         hands={ name="Adhemar Wrist. +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  284.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  285.         feet={ name="Adhe. Gamashes +1", augments={'HP+65','"Store TP"+7','"Snapshot"+10',}},
  286.         neck="Scout's Gorget +2",
  287.         waist="Yemaya Belt",
  288.         left_ear="Telos Earring",
  289.         right_ear="Dedition Earring",
  290.         left_ring="Dingir Ring",
  291.         right_ring="Ilabrat Ring",
  292.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
  293.  
  294. sets.Midshot.Fomalhaut.MidACC = set_combine(sets.Midshot.Fomalhaut,{
  295.         body="Orion Jerkin +3",
  296.         right_ear="Enervating Earring",
  297.         left_ring="Regal Ring"})
  298.  
  299. sets.Midshot.Fomalhaut.HighACC = set_combine(sets.Midshot.Fomalhaut.MidACC,{
  300.         feet={ name="Arcadian Socks +3", augments={'Enhances "Stealth Shot" effect',}},
  301.         right_ring="Hajduk Ring +1"})
  302.  
  303. -- Annihilator Midshot --
  304.  
  305. sets.Midshot.Annihilator = {
  306.         head={ name="Arcadian Beret +3", augments={'Enhances "Recycle" effect',}},
  307.         body="Nisroch Jerkin",
  308.         hands={ name="Adhemar Wrist. +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  309.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  310.         feet={ name="Adhe. Gamashes +1", augments={'HP+65','"Store TP"+7','"Snapshot"+10',}},
  311.         neck="Scout's Gorget +2",
  312.         waist="Yemaya Belt",
  313.         left_ear="Telos Earring",
  314.         right_ear="Dedition Earring",
  315.         left_ring="Dingir Ring",
  316.         right_ring="Ilabrat Ring",
  317.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
  318.        
  319. sets.Midshot.Annihilator.MidACC = set_combine(sets.Midshot.Annihilator,{
  320.         body="Orion Jerkin +3",
  321.         right_ear="Enervating Earring",
  322.         left_ring="Regal Ring"})
  323.        
  324. sets.Midshot.Annihilator.HighACC = set_combine(sets.Midshot.Annihilator.MidACC,{
  325.         feet={ name="Arcadian Socks +3", augments={'Enhances "Stealth Shot" effect',}},
  326.         right_ring="Hajduk Ring +1"})
  327.  
  328. -- Gastraphetes Midshot --
  329.  
  330. sets.Midshot.Gastraphetes = {
  331.         head={ name="Arcadian Beret +3", augments={'Enhances "Recycle" effect',}},
  332.         body="Nisroch Jerkin",
  333.         hands={ name="Adhemar Wrist. +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  334.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  335.         feet={ name="Adhe. Gamashes +1", augments={'HP+65','"Store TP"+7','"Snapshot"+10',}},
  336.         neck="Scout's Gorget +2",
  337.         waist="Yemaya Belt",
  338.         left_ear="Telos Earring",
  339.         right_ear="Dedition Earring",
  340.         left_ring="Dingir Ring",
  341.         right_ring="Ilabrat Ring",
  342.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
  343.  
  344. sets.Midshot.Gastraphetes.MidACC = set_combine(sets.Midshot.Gastraphetes,{
  345.         body="Orion Jerkin +3",
  346.         right_ear="Enervating Earring",
  347.         left_ring="Regal Ring"})
  348.  
  349. sets.Midshot.Gastraphetes.HighACC = set_combine(sets.Midshot.Gastraphetes.MidACC,{
  350.         feet="Oshosi Leggings +1",
  351.         right_ring="Hajduk Ring +1"})
  352.        
  353. -- Gandiva Midshot --
  354.  
  355. sets.Midshot.Gandiva = {
  356.         ammo="Chrono Arrow",
  357.         head={ name="Arcadian Beret +3", augments={'Enhances "Recycle" effect',}},
  358.         body="Nisroch Jerkin",
  359.         hands={ name="Adhemar Wrist. +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  360.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  361.         feet={ name="Adhe. Gamashes +1", augments={'HP+65','"Store TP"+7','"Snapshot"+10',}},
  362.         neck="Scout's Gorget +2",
  363.         waist="Yemaya Belt",
  364.         left_ear="Telos Earring",
  365.         right_ear="Dedition Earring",
  366.         left_ring="Dingir Ring",
  367.         right_ring="Ilabrat Ring",
  368.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
  369.        
  370. sets.Midshot.Gandiva.MidACC = set_combine(sets.Midshot.Gandiva,{
  371.         body="Orion Jerkin +3",
  372.         right_ear="Enervating Earring",
  373.         left_ring="Regal Ring"})
  374.        
  375. sets.Midshot.Gandiva.HighACC = set_combine(sets.Midshot.Gandiva.MidACC,{
  376.         feet={ name="Arcadian Socks +3", augments={'Enhances "Stealth Shot" effect',}},
  377.         right_ring="Hajduk Ring +1"})
  378.        
  379. sets.Midshot.Gandiva.AM3 = {
  380.         ammo="Chrono Arrow",
  381.         head="Meghanada Visor +2",
  382.         body="Nisroch Jerkin",
  383.         hands="Mummu Wrists +2",
  384.         legs="Mummu Kecks +2",
  385.         feet={ name="Arcadian Socks +3", augments={'Enhances "Stealth Shot" effect',}},
  386.         neck="Scout's Gorget +2",
  387.         waist="K. Kachina Belt +1",
  388.         left_ear="Telos Earring",
  389.         right_ear="Enervating Earring",
  390.         left_ring="Mummu Ring",
  391.         right_ring="Begrudging Ring",
  392.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','Crit.hit rate+10',}},}
  393.  
  394.        
  395. ----------------------------
  396. ----- Barrage Base Set -----
  397. ----------------------------
  398.  
  399. Barrage = {
  400.         head="Orion Beret +3",
  401.         body="Orion Jerkin +3",
  402.         hands="Orion Bracers +3",
  403.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  404.         feet="Orion Socks +3",
  405.         neck="Scout's Gorget +2",
  406.         waist="Yemaya Belt",
  407.         left_ear="Telos Earring",
  408.         right_ear="Enervating Earring",
  409.         left_ring="Regal Ring",
  410.         right_ring="Hajduk Ring +1",
  411.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
  412.  
  413. -- Fomalhaut Barrage Sets --
  414.  
  415. sets.Midshot.Fomalhaut.Barrage = set_combine(sets.Midshot.Fomalhaut, {
  416.         head="Orion Beret +3",
  417.         body="Orion Jerkin +3",
  418.         hands="Orion Bracers +3",
  419.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  420.         feet="Orion Socks +3",
  421.         neck="Scout's Gorget +2",
  422.         waist="Yemaya Belt",
  423.         left_ear="Telos Earring",
  424.         right_ear="Enervating Earring",
  425.         left_ring="Regal Ring",
  426.         right_ring="Hajduk Ring +1",
  427.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},})
  428.  
  429. sets.Midshot.Fomalhaut.MidACC.Barrage = set_combine(sets.Midshot.Fomalhaut.Barrage,{})
  430.  
  431. sets.Midshot.Fomalhaut.HighACC.Barrage = set_combine(sets.Midshot.Fomalhaut.Barrage,{})
  432.  
  433. -- Annihilator Barrage Sets --
  434.  
  435. sets.Midshot.Annihilator.Barrage = set_combine(sets.Midshot.Annihilator,{
  436.         head="Orion Beret +3",
  437.         body="Orion Jerkin +3",
  438.         hands="Orion Bracers +3",
  439.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  440.         feet="Orion Socks +3",
  441.         neck="Scout's Gorget +2",
  442.         waist="Yemaya Belt",
  443.         left_ear="Telos Earring",
  444.         right_ear="Enervating Earring",
  445.         left_ring="Regal Ring",
  446.         right_ring="Hajduk Ring +1",
  447.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},})
  448.  
  449. sets.Midshot.Annihilator.MidACC.Barrage = set_combine(sets.Midshot.Annihilator.Barrage,{})
  450.  
  451. sets.Midshot.Annihilator.HighACC.Barrage = set_combine(sets.Midshot.Annihilator.Barrage,{})
  452.  
  453. --Gastraphetes Barrage Sets --
  454.  
  455. sets.Midshot.Gastraphetes.Barrage = set_combine(sets.Midshot.Gastraphetes, {
  456.         head="Orion Beret +3",
  457.         body="Orion Jerkin +3",
  458.         hands="Orion Bracers +3",
  459.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  460.         feet="Orion Socks +3",
  461.         neck="Scout's Gorget +2",
  462.         waist="Yemaya Belt",
  463.         left_ear="Telos Earring",
  464.         right_ear="Enervating Earring",
  465.         left_ring="Regal Ring",
  466.         right_ring="Hajduk Ring +1",
  467.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},})
  468.  
  469. sets.Midshot.Gastraphetes.MidACC.Barrage = set_combine(sets.Midshot.Gastraphetes.Barrage,{})
  470.  
  471. sets.Midshot.Gastraphetes.HighACC.Barrage = set_combine(sets.Midshot.Gastraphetes.Barrage,{})
  472.  
  473. -- Gandiva Barrage Sets --
  474.  
  475. sets.Midshot.Gandiva.Barrage = set_combine(sets.Midshot.Gandiva,{
  476.         head="Orion Beret +3",
  477.         body="Orion Jerkin +3",
  478.         hands="Orion Bracers +3",
  479.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  480.         feet="Orion Socks +3",
  481.         neck="Scout's Gorget +2",
  482.         waist="Yemaya Belt",
  483.         left_ear="Telos Earring",
  484.         right_ear="Enervating Earring",
  485.         left_ring="Regal Ring",
  486.         right_ring="Hajduk Ring +1",
  487.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},})
  488.        
  489.  
  490. sets.Midshot.Gandiva.MidACC.Barrage = set_combine(sets.Midshot.Gandiva.Barrage,{})
  491.  
  492. sets.Midshot.Gandiva.HighACC.Barrage = set_combine(sets.Midshot.Gandiva.Barrage,{})
  493.  
  494. sets.Midshot.Gandiva.AM3.Barrage = set_combine(sets.Midshot.Gandiva.Barrage, {})
  495.  
  496.  
  497. ---------------------------
  498. ----- Doubleshot Sets -----
  499. ---------------------------
  500.  
  501. sets.Doubleshot = {
  502.         head={ name="Arcadian Beret +3", augments={'Enhances "Recycle" effect',}},
  503.         body={ name="Arc. Jerkin +3", augments={'Enhances "Snapshot" effect',}},
  504.         hands="Oshosi Gloves +1 +1",
  505.         legs="Oshosi Trousers +1",
  506.         feet="Oshosi Leggings +1",
  507.         neck="Scout's Gorget +2",
  508.         waist="Yemaya Belt",
  509.         left_ear="Telos Earring",
  510.         right_ear="Dedition Earring",
  511.         left_ring="Ilabrat Ring",
  512.         right_ring="Dingir Ring",
  513.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
  514.  
  515. -- Fomalhaut Doubleshot Sets --
  516.  
  517. sets.Midshot.Fomalhaut.Doubleshot = set_combine(sets.Midshot.Fomalhaut,{
  518.         head={ name="Arcadian Beret +3", augments={'Enhances "Recycle" effect',}},
  519.         body={ name="Arc. Jerkin +3", augments={'Enhances "Snapshot" effect',}},
  520.         hands="Oshosi Gloves +1",
  521.         legs="Oshosi Trousers +1",
  522.         feet="Oshosi Leggings +1",
  523.         neck="Scout's Gorget +2",
  524.         waist="Yemaya Belt",
  525.         left_ear="Telos Earring",
  526.         right_ear="Dedition Earring",
  527.         left_ring="Ilabrat Ring",
  528.         right_ring="Dingir Ring",
  529.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},})
  530.  
  531. sets.Midshot.Fomalhaut.MidACC.Doubleshot = set_combine(sets.Midshot.Fomalhaut.Doubleshot,{
  532.         right_ear="Enervating Earring",
  533.         left_ring="Hajduk Ring +1",
  534.         right_ring="Hajduk Ring +1",})
  535.  
  536. sets.Midshot.Fomalhaut.HighACC.Doubleshot = set_combine(sets.Midshot.Fomalhaut.Doubleshot,{})
  537.  
  538. --Annihilator Doubleshot Sets--
  539.  
  540. sets.Midshot.Annihilator.Doubleshot = set_combine(sets.Midshot.Annihilator,{
  541.         head={ name="Arcadian Beret +3", augments={'Enhances "Recycle" effect',}},
  542.         body={ name="Arc. Jerkin +3", augments={'Enhances "Snapshot" effect',}},
  543.         hands="Oshosi Gloves +1",
  544.         legs="Oshosi Trousers +1",
  545.         feet="Oshosi Leggings +1",
  546.         neck="Scout's Gorget +2",
  547.         waist="Yemaya Belt",
  548.         left_ear="Telos Earring",
  549.         right_ear="Dedition Earring",
  550.         left_ring="Ilabrat Ring",
  551.         right_ring="Dingir Ring",
  552.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},})
  553.  
  554. sets.Midshot.Annihilator.MidACC.Doubleshot = set_combine(sets.Midshot.Annihilator.Doubleshot,{
  555.         right_ear="Enervating Earring",
  556.         left_ring="Hajduk Ring +1",
  557.         right_ring="Hajduk Ring +1",})
  558.  
  559. sets.Midshot.Annihilator.HighACC.Doubleshot = set_combine(sets.Midshot.Annihilator.Doubleshot,{})
  560.  
  561.  --Gastraphetes Doubleshot Sets--
  562.  
  563.  sets.Midshot.Gastraphetes.Doubleshot = set_combine(sets.Midshot.Gastraphetes,{
  564.         head={ name="Arcadian Beret +3", augments={'Enhances "Recycle" effect',}},
  565.         body={ name="Arc. Jerkin +3", augments={'Enhances "Snapshot" effect',}},
  566.         hands="Oshosi Gloves +1",
  567.         legs="Oshosi Trousers +1",
  568.         feet="Oshosi Leggings +1",
  569.         neck="Scout's Gorget +2",
  570.         waist="Yemaya Belt",
  571.         left_ear="Telos Earring",
  572.         right_ear="Dedition Earring",
  573.         left_ring="Ilabrat Ring",
  574.         right_ring="Dingir Ring",
  575.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},})
  576.  
  577. sets.Midshot.Gastraphetes.MidACC.Doubleshot = set_combine(sets.Midshot.Gastraphetes.Doubleshot,{
  578.         right_ear="Enervating Earring",
  579.         left_ring="Hajduk Ring +1",
  580.         right_ring="Hajduk Ring +1",})
  581.  
  582. sets.Midshot.Gastraphetes.HighACC.Doubleshot = set_combine(sets.Midshot.Gastraphetes.Doubleshot,{})    
  583.  
  584. --Gandiva Doubleshot Sets--
  585.  
  586. sets.Midshot.Gandiva.Doubleshot = set_combine(sets.Midshot.Gandiva,{
  587.         head={ name="Arcadian Beret +3", augments={'Enhances "Recycle" effect',}},
  588.         body={ name="Arc. Jerkin +3", augments={'Enhances "Snapshot" effect',}},
  589.         hands="Oshosi Gloves +1",
  590.         legs="Oshosi Trousers +1",
  591.         feet="Oshosi Leggings +1",
  592.         neck="Scout's Gorget +2",
  593.         waist="Yemaya Belt",
  594.         left_ear="Telos Earring",
  595.         right_ear="Dedition Earring",
  596.         left_ring="Ilabrat Ring",
  597.         right_ring="Dingir Ring",
  598.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},})
  599.  
  600. sets.Midshot.Gandiva.MidACC.Doubleshot = set_combine(sets.Midshot.Gandiva.Doubleshot,{
  601.         right_ear="Enervating Earring",
  602.         left_ring="Hajduk Ring +1",
  603.         right_ring="Hajduk Ring +1",})
  604.  
  605. sets.Midshot.Gandiva.HighACC.Doubleshot = set_combine(sets.Midshot.Gandiva.Doubleshot,{})
  606.  
  607. sets.Midshot.Gandiva.AM3.Doubleshot = set_combine(sets.Midshot.Gandiva.Doubleshot, {
  608.         waist="K. Kachina Belt +1",
  609.         right_ear="Enervating Earring",
  610.         left_ring="Mummu Ring",
  611.         right_ring="Begrudging Ring",
  612.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','Crit.hit rate+10',}},})
  613.  
  614.  
  615. ---------------------------
  616. ----- Camouflage Sets -----
  617. ---------------------------
  618.  
  619. sets.Midshot.Camouflage = {}             
  620.                
  621. sets.Midshot.Fomalhaut.Camouflage = {
  622.         head="Meghanada Visor +2",
  623.         neck="Scout's Gorget +2",
  624.         ear1="Enervating Earring",
  625.         body="Meghanada Cuirie +2",
  626.         hands="Mummu Wrists +2",
  627.         ring1="Begrudging Ring",
  628.         ring2="Mummu Ring",
  629.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','Crit.hit rate+10',}},
  630.         waist="K. Kachina Belt +1",
  631.         legs="Darraigner's Brais",
  632.         feet="Thereoid Greaves"}
  633.                
  634. sets.Midshot.Annihilator.Camouflage = {
  635.         head="Meghanada Visor +2",
  636.         neck="Scout's Gorget +2",
  637.         ear1="Enervating Earring",
  638.         body="Meghanada Cuirie +2",
  639.         hands="Mummu Wrists +2",
  640.         ring1="Begrudging Ring",
  641.         ring2="Mummu Ring",
  642.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','Crit.hit rate+10',}},
  643.         waist="K. Kachina Belt +1",
  644.         legs="Darraigner's Brais",
  645.         feet="Thereoid Greaves"}
  646.  
  647. sets.Midshot.Gastraphetes.Camouflage = {
  648.         head="Meghanada Visor +2",
  649.         neck="Scout's Gorget +2",
  650.         ear1="Enervating Earring",
  651.         body="Meghanada Cuirie +2",
  652.         hands="Mummu Wrists +2",
  653.         ring1="Begrudging Ring",
  654.         ring2="Mummu Ring",
  655.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','Crit.hit rate+10',}},
  656.         waist="K. Kachina Belt +1",
  657.         legs="Darraigner's Brais",
  658.         feet="Thereoid Greaves"}
  659.  
  660. sets.Midshot.Gandiva.Camouflage = {
  661.         head="Meghanada Visor +2",
  662.         neck="Scout's Gorget +2",
  663.         ear1="Enervating Earring",
  664.         body="Meghanada Cuirie +2",
  665.         hands="Mummu Wrists +2",
  666.         ring1="Begrudging Ring",
  667.         ring2="Mummu Ring",
  668.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','Crit.hit rate+10',}},
  669.         waist="K. Kachina Belt +1",
  670.         legs="Darraigner's Brais",
  671.         feet="Thereoid Greaves"}
  672.  
  673.        
  674. ------------------------               
  675. ----- PDT/MDT Sets -----
  676. ------------------------
  677.  
  678. sets.PDT = {
  679.         head="Meghanada Visor +2",
  680.         body="Meg. Cuirie +2",
  681.         hands="Meg. Gloves +2",
  682.         legs={ name="Carmine Cuisses +1", augments={'Accuracy+20','Attack+12','"Dual Wield"+6',}},
  683.         feet="Meg. Jam. +2",
  684.         neck="Loricate Torque +1",
  685.         waist="Flume Belt +1",
  686.         left_ear="Odnowa Earring +1",
  687.         right_ear="Etiolation Earring",
  688.         left_ring="Meghanada Ring",
  689.         right_ring="Defending Ring",
  690.         back="Moonbeam Cape",}
  691.  
  692. sets.MDT = set_combine(sets.PDT,{})
  693.  
  694.  
  695.  
  696. ----------------------        
  697. ----- Melee Sets -----
  698. ----------------------
  699.  
  700. sets.Melee = {
  701.         head={ name="Dampening Tam", augments={'DEX+10','Accuracy+15','Mag. Acc.+15','Quadruple Attack +3',}},
  702.         body={ name="Adhemar Jacket +1", augments={'DEX+12','AGI+12','Accuracy+20',}},
  703.         hands={ name="Adhemar Wrist. +1", augments={'DEX+12','AGI+12','Accuracy+20',}},
  704.         legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
  705.         feet={ name="Herculean Boots", augments={'Accuracy+19 Attack+19','"Triple Atk."+3','AGI+7','Accuracy+9','Attack+6',}},
  706.         neck="Lissome Necklace",
  707.         waist="Kentarch Belt +1",
  708.         left_ear="Sherida Earring",
  709.         right_ear="Cessance Earring",
  710.         left_ring="Epona's Ring",
  711.         right_ring="Ilabrat Ring",
  712.         back={ name="Belenus's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},}
  713.  
  714. sets.Melee.MidACC = set_combine(sets.Melee,{
  715.         legs="Meg. Chausses +2",
  716.         neck="Combatant's Torque"})
  717.  
  718. sets.Melee.HighACC = set_combine(sets.Melee.MidACC,{
  719.         feet="Meg. Jam. +2",
  720.         left_ear="Telos Earring",
  721.         left_ring="Chirich Ring +1"})
  722.        
  723.        
  724.        
  725. -----------------------
  726. -----Weapon Skills-----
  727. -----------------------    
  728.        
  729. -- WS Base Set --
  730.  
  731. sets.WS = {
  732.         head="Orion Beret +3",
  733.         body={ name="Herculean Vest", augments={'Rng.Acc.+23 Rng.Atk.+23','Weapon skill damage +3%','AGI+6','Rng.Acc.+3','Rng.Atk.+13',}},
  734.         hands="Meg. Gloves +2",
  735.         legs={ name="Arc. Braccae +3", augments={'Enhances "Eagle Eye Shot" effect',}},
  736.         feet={ name="Herculean Boots", augments={'Rng.Acc.+29','Weapon skill damage +5%','AGI+4','Rng.Atk.+9',}},
  737.         neck="Scout's Gorget +2",
  738.         waist="Fotia Belt",
  739.         left_ear="Ishvara Earring",
  740.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +25',}},
  741.         left_ring="Regal Ring",
  742.         right_ring="Epaminondas's Ring",
  743.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','AGI+10','Weapon skill damage +10%',}},}
  744.  
  745.  
  746.  
  747. ---------------------------
  748. ----- Marksmanship WS -----
  749. ---------------------------
  750.  
  751. -- Last Stand --
  752.  
  753. sets.WS['Last Stand'] = set_combine(sets.WS, {
  754.         ammo="Chrono Bullet",
  755.         --ammo="Quelling Bolt",
  756.         head="Orion Beret +3",
  757.         body={ name="Herculean Vest", augments={'Rng.Acc.+23 Rng.Atk.+23','Weapon skill damage +3%','AGI+6','Rng.Acc.+3','Rng.Atk.+13',}},
  758.         hands="Meg. Gloves +2",
  759.         legs={ name="Arc. Braccae +3", augments={'Enhances "Eagle Eye Shot" effect',}},
  760.         feet={ name="Herculean Boots", augments={'Rng.Acc.+29','Weapon skill damage +5%','AGI+4','Rng.Atk.+9',}},
  761.         neck="Scout's Gorget +2",
  762.         waist="Fotia Belt",
  763.         left_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +25',}},
  764.         right_ear="Ishvara Earring",
  765.         left_ring="Regal Ring",
  766.         right_ring="Epaminondas's Ring",
  767.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','AGI+10','Weapon skill damage +10%',}},})
  768.  
  769. sets.WS['Last Stand'].MidACC = set_combine(sets.WS["Last Stand"],{})
  770.  
  771. sets.WS['Last Stand'].HighACC = set_combine(sets.WS["Last Stand"].MidACC,{})
  772.  
  773. -- Coronach --
  774.  
  775. sets.WS['Coronach'] = set_combine(sets.WS, {
  776.         ammo="Chrono Bullet",
  777.         head="Orion Beret +3",
  778.         body={ name="Herculean Vest", augments={'Rng.Acc.+23 Rng.Atk.+23','Weapon skill damage +3%','AGI+6','Rng.Acc.+3','Rng.Atk.+13',}},
  779.         hands="Meg. Gloves +2",
  780.         legs={ name="Arc. Braccae +3", augments={'Enhances "Eagle Eye Shot" effect',}},
  781.         feet={ name="Herculean Boots", augments={'Rng.Acc.+29','Weapon skill damage +5%','AGI+4','Rng.Atk.+9',}},
  782.         neck="Scout's Gorget +2",
  783.         waist="Fotia Belt",
  784.         left_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +25',}},
  785.         right_ear="Ishvara Earring",
  786.         left_ring="Regal Ring",
  787.         right_ring="Epaminondas's Ring",
  788.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','AGI+10','Weapon skill damage +10%',}},})
  789.  
  790. sets.WS['Coronach'].MidACC = set_combine(sets.WS['Coronach'].MidACC,{})
  791.  
  792. sets.WS['Coronach'].HighACC = set_combine(sets.WS['Coronach'].HighACC,{})
  793.                
  794. -- Trueflight --
  795.  
  796. sets.WS['Trueflight'] = {
  797.         --head="Orion Beret +3",
  798.         head={ name="Herculean Helm", augments={'Mag. Acc.+20 "Mag.Atk.Bns."+20','"Fast Cast"+4','Mag. Acc.+15','"Mag.Atk.Bns."+12',}},
  799.         body={ name="Herculean Vest", augments={'"Mag.Atk.Bns."+28','Pet: Attack+24 Pet: Rng.Atk.+24','Weapon skill damage +3%','Accuracy+19 Attack+19','Mag. Acc.+10 "Mag.Atk.Bns."+10',}},
  800.         hands={ name="Carmine Fin. Ga. +1", augments={'Rng.Atk.+20','"Mag.Atk.Bns."+12','"Store TP"+6',}},
  801.         --legs={ name="Herculean Trousers", augments={'Accuracy+13','"Mag.Atk.Bns."+29','Accuracy+8 Attack+8','Mag. Acc.+10 "Mag.Atk.Bns."+10',}},
  802.         legs={ name="Arc. Braccae +3", augments={'Enhances "Eagle Eye Shot" effect',}},
  803.         feet={ name="Herculean Boots", augments={'Mag. Acc.+20 "Mag.Atk.Bns."+20','MND+5','Mag. Acc.+1','"Mag.Atk.Bns."+14',}},
  804.         neck="Scout's Gorget +2",
  805.         waist="Hachirin-no-Obi",
  806.         left_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +25',}},
  807.         right_ear="Friomisi Earring",
  808.         left_ring="Weather. Ring",
  809.         right_ring="Epaminondas's Ring",
  810.         back={ name="Belenus's Cape", augments={'AGI+20','Mag. Acc+20 /Mag. Dmg.+20','AGI+10','Weapon skill damage +10%',}},}
  811.  
  812. sets.WS['Trueflight'].MidACC = set_combine(sets.WS["Trueflight"],{
  813.         hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},})
  814.  
  815. sets.WS['Trueflight'].HighACC = set_combine(sets.WS["Trueflight"].MidACC,{})
  816.  
  817. -- Wildfire --
  818.  
  819. sets.WS['Wildfire'] = set_combine(sets.WS["Trueflight"],{
  820.         left_ring="Epaminondas's Ring",})
  821.  
  822. sets.WS['Wildfire'].MidACC = set_combine(sets.WS["Trueflight"].MidACC,{})
  823.  
  824. sets.WS['Wildfire'].HighACC = set_combine(sets.WS["Trueflight"].HighACC,{})
  825.        
  826. -- Hotshot --
  827.  
  828. sets.WS['Hot Shot'] = set_combine(sets.WS["Trueflight"],{
  829.         neck="Scout's Gorget +2",
  830.         waist="Fotia Belt",
  831.         left_ring="Epaminondas's Ring",})
  832.  
  833. sets.WS['Hot Shot'].MidACC = set_combine(sets.WS['Hot Shot'],{})
  834.  
  835. sets.WS['Hot Shot'].HighACC = set_combine(sets.WS['Hot Shot'].MidACC,{})
  836.  
  837.  
  838. --------------------------
  839. ------- Archery WS -------
  840. --------------------------
  841.  
  842. -- Jishnu's Radiance --
  843.  
  844. sets.WS["Jishnu's Radiance"] = set_combine(sets.WS, {
  845.         ammo="Chrono Arrow",
  846.         head="Mummu Bonnet +2",
  847.         --body="Nisroch Jerkin",
  848.         body="Meg. Cuirie +2",
  849.         hands="Mummu Wrists +2",
  850.         legs="Mummu Kecks +2",
  851.         --feet={ name="Arcadian Socks +3", augments={'Enhances "Stealth Shot" effect',}},
  852.         feet="Thereoid Greaves",
  853.         neck="Fotia Gorget",
  854.         waist="Fotia Belt",
  855.         left_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  856.         right_ear="Sherida Earring",
  857.         left_ring="Mummu Ring",
  858.         --right_ring="Begrudging Ring",
  859.         right_ring="Regal Ring",
  860.         back={ name="Belenus's Cape", augments={'DEX+20','Rng.Acc.+20 Rng.Atk.+20','DEX+10','Crit.hit rate+10',}},})
  861.        
  862. sets.WS["Jishnu's Radiance"].MidACC = set_combine(sets.WS["Jishnu's Radiance"],{})
  863.  
  864. sets.WS["Jishnu's Radiance"].HighACC = set_combine(sets.WS["Jishnu's Radiance"].MidACC,{})
  865.  
  866. -- Dagger Weapon Skills --
  867.  
  868. sets.WS['Exenterator'] = {
  869.         head="Orion Beret +3",
  870.         body="Meg. Cuirie +2",
  871.         hands="Meg. Gloves +2",
  872.         legs="Meg. Chausses +2",
  873.         feet="Meg. Jam. +2",
  874.         neck="Fotia Gorget",
  875.         waist="Fotia Belt",
  876.         left_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +25',}},
  877.         right_ear="Ishvara Earring",
  878.         left_ring="Regal Ring",
  879.         right_ring="Dingir Ring",
  880.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','AGI+10','Weapon skill damage +10%',}},}
  881.  
  882. sets.WS['Evisceration'] = sets.WS['Exenterator']
  883.  
  884. sets.WS['Aeolian Edge'] = sets.WS['Hot Shot']
  885.                              
  886.                              
  887. -------------------
  888. ----- JA Sets -----
  889. -------------------
  890.  
  891. sets.JA = {}
  892.  
  893. sets.JA.Shadowbind = {
  894.         head="Orion Beret +3",
  895.         body="Orion Jerkin +3",
  896.         hands="Orion Bracers +3",
  897.         legs={ name="Adhemar Kecks +1", augments={'AGI+12','Rng.Acc.+20','Rng.Atk.+20',}},
  898.         feet="Orion Socks +3",
  899.         neck="Scout's Gorget +2",
  900.         waist="Yemaya Belt",
  901.         left_ear="Telos Earring",
  902.         right_ear="Enervating Earring",
  903.         left_ring="Regal Ring",
  904.         right_ring="Hajduk Ring +1",
  905.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
  906.  
  907. sets.JA.Scavenge = {feet="Orion Socks +3"}
  908.  
  909. sets.JA.Camouflage = {body="Orion Jerkin +3"}
  910.  
  911. sets.JA.Sharpshot = {legs="Orion Braccae +2"}
  912.  
  913. sets.JA["Bounty Shot"] = {
  914.         hands="Amini Glove. +1",
  915.         legs={ name="Herculean Trousers", augments={'"Mag.Atk.Bns."+12','"Treasure Hunter"+1','Mag. Acc.+12 "Mag.Atk.Bns."+12',}},}
  916.  
  917. sets.JA["Double Shot"] = {head="Amini Gapette +1"}
  918.  
  919. sets.JA["Eagle Eye Shot"] = {
  920.         head="Orion Beret +3",
  921.         body="Orion Jerkin +3",
  922.         hands="Orion Bracers +3",
  923.         legs={ name="Arc. Braccae +3", augments={'Enhances "Eagle Eye Shot" effect',}},
  924.         feet="Orion Socks +3",
  925.         neck="Scout's Gorget +2",
  926.         waist="Yemaya Belt",
  927.         left_ear="Telos Earring",
  928.         right_ear="Enervating Earring",
  929.         left_ring="Regal Ring",
  930.         right_ring="Hajduk Ring +1",
  931.         back={ name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','Rng.Acc.+10','"Store TP"+10',}},}
  932.  
  933. sets.JA["Barrage"] = set_combine(sets.Midshot,{})
  934.  
  935.          
  936. -- Waltz Set --
  937. sets.Waltz = {head="Mummu Bonnet +2",body="Passion Jacket",}
  938.  
  939. sets.Precast = {}
  940.  
  941. -- Fastcast Set --
  942.  
  943. sets.Precast.FastCast = {
  944.         head={ name="Carmine Mask +1", augments={'Accuracy+20','Mag. Acc.+12','"Fast Cast"+4',}},
  945.         body={ name="Samnuha Coat", augments={'Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+5','"Dual Wield"+5',}},
  946.         hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  947.         legs="Gyve Trousers",
  948.         feet={ name="Carmine Greaves +1", augments={'Accuracy+12','DEX+12','MND+20',}},
  949.         neck="Voltsurge Torque",
  950.         waist="Flume Belt +1",
  951.         left_ear="Loquac. Earring",
  952.         right_ear="Enchntr. Earring +1",
  953.         left_ring="Weather. Ring",
  954.         right_ring="Stikini Ring",
  955.         back="Moonbeam Cape",}
  956.  
  957. -- Utsusemi Precast Set --
  958.  
  959. sets.Precast.Utsusemi = set_combine(sets.Precast.FastCast,{
  960.         body="Passion Jacket",
  961.         neck="Magoraga Beads"})
  962.  
  963. sets.Midcast = {}
  964.  
  965.  -- Magic Haste Set --
  966.  
  967. sets.Midcast.Haste = set_combine(sets.PDT,{})
  968.         end
  969.  
  970.          
  971.  
  972. function pretarget(spell,action)
  973.  
  974.     if (spell.type:endswith('Magic') or spell.type == "Ninjutsu") and buffactive.silence then -- Auto Use Echo Drops If You Are Silenced --
  975.                         cancel_spell()
  976.                         send_command('input /item "Echo Drops" <me>')
  977.     elseif spell.english == "Berserk" and buffactive.Berserk then -- Change Berserk To Aggressor If Berserk Is On --
  978.                         cancel_spell()
  979.                         send_command('Aggressor')
  980.     elseif spell.english == "Seigan" and buffactive.Seigan then -- Change Seigan To Third Eye If Seigan Is On --
  981.                         cancel_spell()
  982.                         send_command('ThirdEye')
  983.     elseif spell.english == "Meditate" and player.tp > 290 then -- Cancel Meditate If TP Is Above 290 --
  984.                         cancel_spell()
  985.                         add_to_chat(123, spell.name .. ' Canceled: ['..player.tp..' TP]')
  986.     elseif (spell.english == 'Ranged' and spell.target.distance > 24.9) or (player.status == 'Engaged' and ((ranged_ws:contains(spell.english)
  987.         and spell.target.distance > 16+target_distance) or (spell.type == "WeaponSkill" and not ranged_ws:contains(spell.english)
  988.         and spell.target.distance > target_distance))) then -- Cancel Ranged Attack or WS If You Are Out Of Range --
  989.                         cancel_spell()
  990.                         add_to_chat(123, spell.name..' Canceled: [Out of Range]')
  991.                         return
  992.                 end
  993.         end
  994.  
  995.          
  996.  
  997. function precast(spell,action)
  998.     if spell.english == 'Ranged' then
  999.                     equipSet = sets.Preshot
  1000.                     add_to_chat(57,"Flurry Level "..PreshotArray[PreshotIndex])
  1001.     if buffactive['Flurry'] then
  1002.                     add_to_chat(122,"Flurry found")
  1003.     if PreshotArray[PreshotIndex] == 'RDM' then
  1004.         if  equipSet[player.equipment.range].RDM then
  1005.         equipSet =  equipSet[player.equipment.range].RDM
  1006.                 end
  1007. else
  1008.     if  equipSet[player.equipment.range].Any then
  1009.                     equipSet =  equipSet[player.equipment.range].Any
  1010. end
  1011. end
  1012. else
  1013.     if  equipSet[player.equipment.range] then
  1014.                     equipSet =  equipSet[player.equipment.range]
  1015. end
  1016.                     add_to_chat(122,"No flurry")
  1017. end
  1018.                     equip(equipSet)
  1019. elseif spell.type == "WeaponSkill" then
  1020.         equipSet = sets.WS
  1021.     if equipSet[spell.english] then
  1022.         equipSet = equipSet[spell.english]
  1023.         end
  1024.     if equipSet[AccArray[AccIndex]] then
  1025.         equipSet = equipSet[AccArray[AccIndex]]
  1026.         end
  1027.     if player.tp > 2249  or buffactive.Sekkanoki then
  1028.     if spell.english == "Last Stand" then -- Equip Telos Earring When You Have 3000 TP or Sekkanoki For Last Stand --
  1029.         equipSet = set_combine(equipSet,{left_ear="Telos Earring"})
  1030. elseif spell.english == "Jishnu's Radiance" then -- Equip Telos Earring When You Have 3000 TP or Sekkanoki For Jishnu's Radiance --
  1031.         equipSet = set_combine(equipSet,{left_ear="Telos Earring"})
  1032. elseif spell.english == "Trueflight" then --Equip Ishvara Earring When you have 3000 TP or Sekkanoki for Trueflight --
  1033.         equipSet = set_combine(equipSet,{left_ear="Ishvara Earring"})
  1034. end
  1035. end
  1036.  
  1037.         equip(equipSet)
  1038.                      
  1039. elseif spell.type=="JobAbility" then
  1040.     if sets.JA[spell.english] then
  1041.         equip(sets.JA[spell.english])
  1042. end
  1043. elseif spell.type:endswith('Magic') or spell.type == "Ninjutsu" then
  1044.     if string.find(spell.english,'Utsusemi') then
  1045.     if buffactive['Copy Image (3)'] or buffactive['Copy Image (4)'] then
  1046.         cancel_spell()
  1047.         add_to_chat(123, spell.name .. ' Canceled: [3+ Images]')
  1048.         return
  1049.     else
  1050.         equip(sets.Precast.Utsusemi)
  1051. end
  1052.     else   
  1053.         equip(sets.Precast.FastCast)
  1054. end
  1055. elseif spell.type == "Waltz" then
  1056.         equip(sets.Waltz)
  1057. elseif spell.english == 'Spectral Jig' and buffactive.Sneak then
  1058.         cast_delay(0.2)
  1059.         send_command('cancel Sneak')
  1060. end
  1061. end
  1062.    
  1063.  
  1064. function midcast(spell,action)
  1065.     if spell.english == 'Ranged' then
  1066.         equipSet = sets.Midshot
  1067.     if equipSet[player.equipment.range] then
  1068.         equipSet = equipSet[player.equipment.range]
  1069. end
  1070.     if equipSet[AccArray[AccIndex]] then
  1071.         equipSet = equipSet[AccArray[AccIndex]]
  1072. end
  1073.     if buffactive.Barrage and equipSet["Barrage"] then
  1074.         equipSet = equipSet["Barrage"]
  1075. end
  1076.     if buffactive['Double Shot'] and equipSet["Doubleshot"] then
  1077.         equipSet = equipSet["Doubleshot"]
  1078. end
  1079.     if buffactive['Camouflage'] and equipSet["Camouflage"] then
  1080.         equipSet = equipSet["Camouflage"]
  1081. end
  1082.         equip(equipSet)
  1083.                        
  1084.     elseif spell.type:endswith('Magic') or spell.type == "Ninjutsu" then
  1085.     if string.find(spell.english,'Utsusemi') then
  1086.     if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)']) then
  1087.         send_command('@wait 1.7;cancel Copy Image*')
  1088. end
  1089.         equip(sets.Midcast.Haste)
  1090.     elseif spell.english == 'Monomi: Ichi' then
  1091.     if buffactive['Sneak'] then
  1092.         send_command('@wait 1.7;cancel sneak')
  1093. end
  1094.         equip(sets.Midcast.Haste)
  1095.     else
  1096.         equip(sets.Midcast.Haste)
  1097. end
  1098.  
  1099.     if spell.english == "Trueflight" and (world.day == "Lightsday" or world.weather_element == "Light" or (buffactive['Aurorastorm'])) then
  1100.         add_to_chat(125,'WEATHER MODE')
  1101.         equip({waist="Hachirin-no-Obi"})
  1102. end
  1103.     if spell.english == "Wildfire" and (world.day == "Firesday" or world.weather_element == "Fire" or(buffactive['Firestorm'])) then
  1104.         add_to_chat(125,'WEATHER MODE')
  1105.         equip({waist="Hachirin-no-Obi"})
  1106.         end
  1107.     end
  1108. end    
  1109.  
  1110. function aftercast(spell,action)
  1111.     if spell.english == 'Ranged' and autoRAmode==1 then
  1112.         autoRA()
  1113.     elseif spell.type == "WeaponSkill" and not spell.interrupted then
  1114.         send_command('wait 0.2;gs c TP')
  1115. end
  1116.         status_change(player.status)
  1117. end
  1118.        
  1119. function buff_change(buff,gain,buff_table)
  1120.     buff = string.lower(buff)
  1121.     if buff_table['id'] == 434 then -- Brew Timer --
  1122.     if gain then
  1123.         send_command('timers create "Transcendency" 180 down')
  1124.     else
  1125.         send_command('timers delete "Transcendency"')
  1126.         add_to_chat(123,'Transcendency: [OFF]')
  1127. end    
  1128.     elseif buff_table['id'] == 272 and player.equipment.range == 'Gandiva' then -- Gandiva AM3 Timer/Countdown --
  1129.     if gain then
  1130.         send_command('timers create "Mythic Aftermath: Lv.3" 180 down')
  1131.         add_to_chat(158,'Gandiva AM3: [ON]')
  1132.     else
  1133.         send_command('timers delete "Mythic Aftermath: Lv.3"')
  1134.         add_to_chat(123,'Gandiva AM3: [OFF]')
  1135. end            
  1136.     elseif buff_table['id'] == 1 then -- Weakness Timer --
  1137.     if gain then
  1138.         send_command('timers create "Weakness" 300 up')
  1139.     else
  1140.         send_command('timers delete "Weakness"')
  1141.         add_to_chat(158,'Weakness: [OFF]')
  1142. end
  1143.     elseif buff_table['id'] == 15 then -- Doom Party Chat --
  1144.     if gain then
  1145.         send_command('input /party Doom')
  1146.     else
  1147.         send_command('input /party Doom off')
  1148.         add_to_chat(158,'Doom: [OFF]')
  1149. end
  1150.     elseif buff_table['id'] == 9 then -- Curse Party Chat --
  1151.     if gain then
  1152.         send_command('input /party Curse')
  1153.     else
  1154.         add_to_chat(158,'Curse: [OFF]')
  1155. end
  1156.     elseif buff_table['id'] == 14 or buff_table['id'] == 17 then -- Charm Party Chat --
  1157.     if gain then
  1158.         send_command('input /party Charmed')
  1159.     else
  1160.         send_command('input /party Charm off')
  1161.         add_to_chat(158,'Charm: [OFF]')
  1162. end
  1163.     elseif buff_table['id'] == 4 then -- Paralysis --
  1164.     if gain then
  1165.         add_to_chat(123,'Paralyzed!')
  1166.     else
  1167.         add_to_chat(158,'Paralysis: [OFF]')
  1168. end            
  1169.     elseif buff_table['id'] == 72 then -- Sharpshot --
  1170.     if not gain then
  1171.         add_to_chat(123,'Sharpshot: [OFF]')
  1172. end
  1173.     elseif buff_table['id'] == 433 then -- Double Shot --
  1174.     if not gain then
  1175.         add_to_chat(123,'Double Shot: [OFF]')
  1176. end
  1177.     elseif buff_table['id'] == 482 then -- Decoy Shot --
  1178.     if not gain then
  1179.         add_to_chat(123,'Decoy Shot: [OFF]')
  1180. end    
  1181.     elseif buff_table['id'] == 500 then -- Overkill --
  1182.     if not gain then
  1183.         add_to_chat(123,'Overkill: [OFF]')
  1184. end
  1185.     elseif buff_table['id'] == 589 then -- Firestorm --
  1186.     if not gain then
  1187.         add_to_chat(123,'Firestorm: [OFF]')
  1188. end
  1189.     elseif buff_table['id'] == 595 then -- Aurorastorm --
  1190.     if not gain then
  1191.         add_to_chat(123,'Aurorastorm: [OFF]')
  1192. end                
  1193.     elseif buff_table['id'] == 56 then -- Berserk --
  1194.     if not gain then
  1195.         add_to_chat(123,'Berserk: [OFF]')
  1196. end
  1197.     elseif buff_table['id'] == 58 then -- Aggressor --
  1198.     if not gain then
  1199.         add_to_chat(123,'Aggressor: [OFF]')
  1200. end
  1201.     elseif buff_table['id'] == 68 then -- Warcry --
  1202.     if not gain then
  1203.         add_to_chat(123,'Warcry: [OFF]')
  1204. end            
  1205.     elseif buff_table['id'] == 33 then -- Haste --
  1206.     if not gain then
  1207.         add_to_chat(123,'Haste: [OFF]')
  1208. end    
  1209.     elseif buff_table['id'] == 370 then -- Haste Samba --
  1210.     if not gain then
  1211.         add_to_chat(123,'Haste Samba: [OFF]')
  1212. end            
  1213.     elseif buff_table['id'] == 13  then    -- Slow --
  1214.     if gain then
  1215.         add_to_chat(123,'Slowed!')
  1216.     else
  1217.         add_to_chat(158,'Slow: [OFF]')
  1218. end
  1219.     elseif buff_table['id'] == 251 then -- Food --
  1220.     if not gain then
  1221.         add_to_chat(123,'Food: [OFF]')
  1222. end
  1223.     elseif buff_table['id'] == 28 then -- Terror --
  1224.     if not gain then
  1225.         add_to_chat(158,'Terror: [OFF]')
  1226. end
  1227.     elseif buff_table['id'] == 10 then -- Stun --
  1228.     if not gain then
  1229.         add_to_chat(158,'Stun: [OFF]')
  1230. end    
  1231.     elseif buff_table['id'] == 16 then -- Amnesia --
  1232.     if not gain then
  1233.         add_to_chat(158,'Amnesia: [OFF]')
  1234. end                
  1235.     elseif buff_table['id'] == 2 or buff_table['id'] == 19 then -- Sleep --
  1236.     if gain then
  1237.         send_command('input /party ZZZ')
  1238.     else
  1239.         add_to_chat(158,'Sleep: [OFF]')
  1240. end        
  1241. end
  1242.     if not midaction() then
  1243.                 status_change(player.status)
  1244. end
  1245. end      
  1246.  
  1247. function status_change(new,old)
  1248.     if Armor == 'PDT' then
  1249.         equip(sets.PDT)
  1250.     elseif Armor == 'MDT' then
  1251.         equip(sets.MDT)
  1252.     elseif new == 'Engaged' then
  1253.         equipSet = sets.Melee
  1254.     if equipSet[AccArray[AccIndex]] then
  1255.         equipSet = equipSet[AccArray[AccIndex]]
  1256. end
  1257.         equip(equipSet)
  1258.     else
  1259.         equip(sets.Idle[IdleArray[IdleIndex]])
  1260. end
  1261.  end
  1262.  
  1263.         -- In Game: //gs c (command), Macro: /console gs c (command), Bind: gs c (command) --
  1264.  
  1265. function self_command(command)
  1266.     if command == 'acc' then -- Accuracy Level Toggle --
  1267.         AccIndex = (AccIndex % #AccArray) + 1
  1268.         add_to_chat(158,'Accuracy Level: ' .. AccArray[AccIndex])
  1269.         status_change(player.status)
  1270.     elseif command == 'flur' then -- Flurry Level Toggle --
  1271.         PreshotIndex = (PreshotIndex % #PreshotArray) + 1
  1272.         add_to_chat(158,'Flurry Level: ' ..PreshotArray[PreshotIndex])
  1273.         status_change(player.status)
  1274.     elseif command == 'auto' then -- Auto Update Gear Toggle --
  1275.         status_change(player.status)
  1276.         add_to_chat(158,'Auto Update Gear')
  1277.     elseif command == 'pdt' then -- PDT Toggle --
  1278.     if Armor == 'PDT' then
  1279.         Armor = 'None'
  1280.         add_to_chat(123,'PDT Set: [Unlocked]')
  1281.     else
  1282.         Armor = 'PDT'
  1283.         add_to_chat(158,'PDT Set: [Locked]')
  1284. end
  1285.         status_change(player.status)
  1286.     elseif command == 'mdt' then -- MDT Toggle --
  1287.     if Armor == 'MDT' then
  1288.         Armor = 'None'
  1289.         add_to_chat(123,'MDT Set: [Unlocked]')
  1290.     else
  1291.         Armor = 'MDT'
  1292.         add_to_chat(158,'MDT Set: [Locked]')
  1293. end
  1294.                         status_change(player.status)
  1295.     elseif command == 'C8' then -- Distance Toggle --
  1296.     if player.target.distance then
  1297.         target_distance = math.floor(player.target.distance*10)/10
  1298.         add_to_chat(158,'Distance: '..target_distance)
  1299.     else
  1300.         add_to_chat(123,'No Target Selected')
  1301. end
  1302.     elseif command == 'C6' then -- Idle Toggle --
  1303.         IdleIndex = (IdleIndex % #IdleArray) + 1
  1304.         add_to_chat(158,'Idle Set: ' .. IdleArray[IdleIndex])
  1305.         status_change(player.status)
  1306.     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* --
  1307.     if autoRAmode == 0 then
  1308.         autoRAmode = 1
  1309.         add_to_chat(158,'AutoRA Mode: [ON]')
  1310.     else
  1311.         autoRAmode = 0
  1312.         add_to_chat(123,'AutoRA Mode: [OFF]')
  1313. end
  1314.     elseif command == 'TP' then
  1315.          add_to_chat(158,'TP Return: ['..tostring(player.tp)..']')
  1316.     elseif command:match('^SC%d$') then
  1317.         send_command('//' .. sc_map[command])
  1318. end
  1319. end
  1320.  
  1321.          
  1322.  
  1323. function autoRA()
  1324.         send_command('@wait 2.5; input /ra <t>')
  1325. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top