Advertisement
Guest User

RNG.lua

a guest
Apr 7th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 17.85 KB | None | 0 0
  1.  
  2. function get_sets()
  3.     TP_Index = 1
  4.     Idle_Index = 1 
  5.     DefensePDT_Index = 1
  6.     DefenseMDT_Index = 1
  7.     Midshot_Index = 1
  8.     Barrage_Index = 1
  9.     Coronach_Index = 1
  10.     LS_Index = 1 --Last Stand
  11.     NA_Index = 1 --Namas Arrow
  12.     JR_Index = 1 --Jishnu's Radiance
  13.     SW_Index = 1 --Sidewinder
  14.    
  15.     --Default Macro Set for RNG
  16.     send_command('input /macro book 8;wait .1;input /macro set 5')
  17.  
  18.     --PreSets Below (Snapshot/JA's)
  19.     sets.precast = {}
  20.     sets.precast.bullet = {ammo="Achiyalabopa Bullet"}
  21.     sets.precast.arrow = {ammo="Achiyal. Arrow"}
  22.     sets.precast.trialsammo = {ammo="Gargouille Arrow"}
  23.     sets.precast['Double Shot'] = {head="Sylvan Gapette +2",body="Arcadian jerkin"}
  24.     sets.precast['Velocity Shot'] = {body="Sylvan Caban +2"}
  25.     sets.precast['Camouflage'] = {body="Orion Jerkin +1"}  
  26.     sets.precast['Bounty Shot'] = {hands="Syl. Glvltte. +2"}
  27.     sets.precast['Sharpshot'] = {legs="Orion Braccae +1"}
  28.     sets.precast['Scavenge'] = {feet="Orion socks +1"}
  29.     sets.precast['Shadowbind'] = {hands="Orion Bracers +1"}
  30.    
  31.     sets.precast['Eagle Eye Shot'] = {
  32.         head="Umbani Cap", -- Orion Beret +1
  33.         neck="Peacock Charm",
  34.         ear1="Vulcan's Pearl",
  35.         ear2="Vulcan's Pearl",
  36.         body="Kyujutsugi",
  37.         hands="Arcadian bracers +1",
  38.         ring1="Rajas Ring",
  39.         ring2="Pyrosoul Ring",
  40.         back="Libeccio Mantle",
  41.         waist="Prosilio belt",
  42.         legs="Arcadian Braccae",
  43.         feet="Orion Socks +1"}
  44.                        
  45.     sets.precast.PreShot = {
  46.         head="Sylvan Gapette +2", -- Arcadian Beret +1                         
  47.         body="Sylvan Caban +2", -- Arcadian jerkin
  48.         hands="Iuitl Wristbands",
  49.         waist="Impulse Belt",
  50.         legs="Nahtirah Trousers",
  51.         feet="Wurrukatte Boots"} -- Arcadian Socks
  52.        
  53.     --DoubleShot
  54.      sets.precast.DoubleShot = {}
  55.      sets.precast.DoubleShot = set_combine(sets.precast.Preshot, {body="Arcadian jerkin"})
  56.        
  57.     -- Magic Sets Below    
  58.     sets.precast.FastCast = {
  59.         head="Whirlpool Mask",
  60.         neck="Twilight Torque",    
  61.         hands="Iuitl Wristbands",
  62.         ring1="Patricius Ring",
  63.         ring2="Defending Ring",
  64.         back="Shadow Mantle",      
  65.         legs="Nahtirah Trousers",
  66.         feet="Iuitl Gaiters"}
  67.    
  68.     sets.precast.Utsusemi = set_combine(sets.precast.FastCast,{neck="Magoraga Beads"})     
  69.                        
  70.     --Midshot Sets Below
  71.     Midshot_Set_Names = {'LightAcc','FullAcc','STP'}
  72.     sets.Midshot = {}  
  73.     sets.Midshot.LightAcc = {
  74.         head="Umbani Cap",-- Orion Beret +1
  75.         neck="Faith Torque", -- Ocachi Gorget
  76.         ear1="Clearview Earring",
  77.         ear2="Volley Earring",
  78.         body="Orion Jerkin +1",
  79.         hands="Iuitl Wristbands", --
  80.         ring1="Pyrosoul Ring",
  81.         ring2="Rajas Ring",
  82.         back="Terebellum Mantle",
  83.         waist="Scout's Belt",
  84.         legs="Nahtirah Trousers",
  85.         feet="Orion Socks +1"}
  86.                
  87.     sets.Midshot.FullAcc = {
  88.         head="Umbani Cap",-- Arcadian Beret +1
  89.         neck="Peacock Charm",
  90.         ear1="Clearview Earring",
  91.         ear2="Volley Earring",
  92.         body="Kyujutsugi",
  93.         hands="Iuitl Wristbands",
  94.         ring1="Hajduk ring",
  95.         ring2="Paqichikaji Ring",
  96.         back="Jaeger Mantle",
  97.         waist="Scout's Belt", -- Elanid Belt
  98.         legs="Orion Braccae +1",
  99.         feet="Orion Socks +1"}
  100.        
  101.     sets.Midshot.STP = {
  102.         head="Arcadian Beret +1",
  103.         neck="Peacock Charm", -- Ocachi Gorget
  104.         ear1="Clearview Earring",-- Tripudio Earring
  105.         ear2="Volley Earring", -- 2%
  106.         body="Kyujutsugi", -- 5%
  107.         hands="Sylvan Glovelettes +2", -- 7% Manibozho Gloves
  108.         ring1="K'ayres Ring", -- 5%
  109.         ring2="Rajas Ring", -- 5%
  110.         back="Sylvan Chlamys", -- 5%
  111.         waist="Scout's Belt", -- Elanid Belt
  112.         legs="Orion Braccae +1", -- Nahtirah Trousers
  113.         feet="Orion Socks +1"} --
  114.        
  115.  
  116.        
  117.     --Barrage Sets Below
  118.     Barrage_Set_Names = {'BarrageAcc','BarrageSTP'}
  119.     sets.Barrage = {}
  120.     sets.Barrage.BarrageAcc = {
  121.         head="Umbani Cap",-- Orion Beret +1
  122.         neck="Rancor collar", -- Clearview earring
  123.         ear1="Vulcan's Pearl", -- Volley Earring
  124.         ear2="Vulcan's Pearl",
  125.         body="Orion Jerkin +1",
  126.         hands="Orion Bracers +1",
  127.         ring1="Hajduk ring",
  128.         ring2="Pyrosoul Ring",
  129.         back="Libeccio Mantle",
  130.         waist="Scout's Belt",-- Elanid Belt
  131.         legs="Desultor Tassets",
  132.         feet="Orion Socks +1"}
  133.                
  134.     sets.Barrage.BarrageSTP = {
  135.         head="Arcadian Beret +1",
  136.         neck="Rancor collar",
  137.         ear1="Vulcan's Pearl", -- Vulcan's Pearl
  138.         ear2="Volley Earring", -- Vulcan's Pearl
  139.         body="Kyujutsugi",
  140.         hands="Orion Bracers +1",
  141.         ring1="Rajas Ring",
  142.         ring2="Pyrosoul Ring",
  143.         back="Libeccio Mantle",
  144.         waist="Prosilio belt",-- Elanid Belt
  145.         legs="Desultor Tassets",
  146.         feet="Orion Socks +1"} 
  147.    
  148.     -- Coronach Sets Below
  149.     Coronach_Set_Names = {'Normal','Acc','Atk'}
  150.     sets.Coronach = {}
  151.     sets.Coronach.Normal = {
  152.         head="Orion Beret +1",
  153.         neck="Manibozho Gloves",
  154.         ear1="Vulcan's Pearl",
  155.         ear2="Vulcan's Pearl",
  156.         body="Orion Jerkin +1", -- Orion Jerkin +1
  157.         hands="",
  158.         ring1="Rajas Ring",
  159.         ring2="Pyrosoul Ring",
  160.         back="Buquwik Cape",
  161.         waist="",
  162.         legs="Nahtirah Trousers",
  163.         feet="Orion Socks +1"}
  164.  
  165.     sets.Coronach.Acc = {
  166.         head="Umbani Cap", -- Orion Beret +1
  167.         neck="Thunder Gorget", -- Thunder Gorget
  168.         ear1="Vulcan's Pearl",
  169.         ear2="Vulcan's Pearl",
  170.         body="Kyujutsugi",
  171.         hands="Iuitl Wristbands", -- Manibozho Gloves
  172.         ring1="Rajas Ring",
  173.         ring2="Pyrosoul Ring",
  174.         back="Terebellum Mantle", -- Libeccio Mantle
  175.         waist="Thunder belt", -- Thunder belt
  176.         legs="Orion Braccae +1", -- Nahtirah Trousers
  177.         feet="Orion Socks +1"}
  178.                        
  179.     sets.Coronach.Atk = {
  180.         head="Umbani Cap", -- Arcadian Beret +1
  181.         neck="Breeze Gorget", -- Ocachi Gorget Thunder Gorget
  182.         ear1="Vulcan's Pearl",
  183.         ear2="Vulcan's Pearl",
  184.         body="Kheper Jacket", -- Orion Jerkin +1
  185.         hands="Arcadian bracers +1", -- Arcadian bracers +1 +1
  186.         ring1="Rajas Ring",
  187.         ring2="Pyrosoul Ring",
  188.         back="Buquwik Cape", -- Libeccio Mantle/Terebellum Mantle
  189.         waist="Breeze Belt", -- Prosilio belt Thunder belt
  190.         legs="Nahtirah Trousers",
  191.         feet="Orion Socks +1"}
  192.    
  193.     -- Last Stand Sets Below
  194.     LS_Set_Names = {'Normal','Acc','Atk'}
  195.     sets.LS = {}
  196.     sets.LS.Normal = {
  197.         head="Orion Beret +1",
  198.         neck="Light Gorget",
  199.         ear1="Vulcan's Pearl",
  200.         ear2="Sylvan Earring",
  201.         body="Orion Jerkin +1",
  202.         hands="Manibozho Gloves",
  203.         ring1="Stormsoul Ring",
  204.         ring2="Pyrosoul Ring",
  205.         back="Libeccio Mantle",
  206.         waist="Light belt",
  207.         legs="Nahtirah Trousers",
  208.         feet="Orion Socks +1"}
  209.  
  210.     sets.LS.Acc = {
  211.         head="Arcadian Beret +1",
  212.         neck="Light Gorget",
  213.         ear1="Clearview Earring",
  214.         ear2="Volley Earring",
  215.         body="Kyujutsugi",
  216.         hands="Iuitl Wristbands", -- Manibozho Gloves
  217.         ring1="Hajduk ring",
  218.         ring2="Paqichikaji Ring",
  219.         back="Terebellum Mantle", -- Libeccio Mantle
  220.         waist="Light belt",
  221.         legs="Orion Braccae +1", -- Thurandaut Tights +1
  222.         feet="Orion Socks +1"}
  223.                        
  224.     sets.LS.Atk = {
  225.         head="Arcadian Beret +1",
  226.         neck="Faith Torque",
  227.         ear1="Vulcan's Pearl",
  228.         ear2="Vulcan's Pearl",
  229.         body="Kyujutsugi",
  230.         hands="Manibozho Gloves",
  231.         ring1="Stormsoul Ring",
  232.         ring2="Pyrosoul Ring",
  233.         back="Libeccio Mantle",
  234.         waist="Prosilio belt",
  235.         legs="Nahtirah Trousers",
  236.         feet="Orion Socks +1"}
  237.    
  238.     -- Namas Arrow Sets Below
  239.     NA_Set_Names = {'Normal','Acc','Atk'}
  240.     sets.NA = {}
  241.     sets.NA.Normal = {}
  242.     sets.NA.Acc = {}                       
  243.     sets.NA.Atk = {}
  244.    
  245.     -- Jishnu's Radiance Sets Below
  246.     JR_Set_Names = {'Normal','Acc','Atk'}
  247.     sets.JR = {}
  248.     sets.JR.Normal = {
  249.         head="Uk'uxkaj cap",
  250.         neck="Light Gorget",
  251.         ear1="Vulcan's Pearl",
  252.         ear2="Vulcan's Pearl",
  253.         body="Kyujutsugi",
  254.         hands="Orion Bracers +1",
  255.         ring1="Rajas Ring",
  256.         ring2="Pyrosoul Ring",
  257.         back="Libeccio Mantle",
  258.         waist="Light belt",
  259.         legs="Nahtirah Trousers",
  260.         feet="Orion Socks +1"}
  261.  
  262.     sets.JR.Acc = {
  263.         head="Uk'uxkaj cap",
  264.         neck="Light Gorget",
  265.         ear1="Clearview Earring",
  266.         ear2="Volley Earring",
  267.         body="Kyujutsugi",
  268.         hands="Buremte Gloces",
  269.         ring1="Rajas Ring",
  270.         ring2="Pyrosoul Ring",
  271.         back="Libeccio Mantle",
  272.         waist="Light belt",
  273.         legs="Thurandaut tights +1",
  274.         feet="Orion Socks +1"}
  275.                        
  276.     sets.JR.Atk = {
  277.         head="Orion Beret +1",
  278.         neck="Ocachi Gorget",
  279.         ear1="Vulcan's Pearl",
  280.         ear2="Vulcan's Pearl",
  281.         body="Kyujutsugi",
  282.         hands="Manibozho Gloves",
  283.         ring1="Rajas Ring",
  284.         ring2="Pyrosoul Ring",
  285.         back="Libeccio Mantle",
  286.         waist="Prosilio belt",
  287.         legs="Nahtirah Trousers",
  288.         feet="Orion Socks +1"}
  289.    
  290.     -- Sidewinder Sets Below
  291.     SW_Set_Names = {'Normal','Acc','Atk'}
  292.     sets.SW = {}
  293.     sets.SW.Normal = {
  294.         head="Orion Beret +1",
  295.         neck="Light Gorget",
  296.         ear1="Vulcan's Pearl",
  297.         ear2="Vulcan's Pearl",
  298.         body="Kyujutsugi",
  299.         hands="Manibozho Gloves",
  300.         ring1="Rajas Ring",
  301.         ring2="Pyrosoul Ring",
  302.         back="Libeccio Mantle",
  303.         waist="Light belt",
  304.         legs="Nahtirah Trousers",
  305.         feet="Orion Socks +1"}
  306.  
  307.     sets.SW.Acc = {
  308.         head="Orion Beret +1",
  309.         neck="Light Gorget",
  310.         ear1="Vulcan's Pearl",
  311.         ear2="Vulcan's Pearl",
  312.         body="Kyujutsugi",
  313.         hands="Manibozho Gloves",
  314.         ring1="Hajduk ring",
  315.         ring2="Paqichikaji Ring",
  316.         back="Libeccio Mantle",
  317.         waist="Light belt",
  318.         legs="Thurandaut Tights +1",
  319.         feet="Orion Socks +1"}
  320.                        
  321.     sets.SW.Atk = {}
  322.    
  323.     -- TP Sets Below(I don't really use for RNG but feel free to add your own)
  324.     TP_Set_Names = {"ACC","ATK","PDT","MDT"}
  325.     sets.TP = {}
  326.     sets.TP['ACC'] = {}
  327.     sets.TP['ATK'] = {}
  328.    
  329.     sets.TP['MDT'] = {
  330.         head="Orion Beret +1",
  331.         neck="Twilight Torque",
  332.         ear1="Merman's Earring",
  333.         ear2="Merman's Earring",
  334.         body="Iuitl Vest", -- Kyujutsugi
  335.         hands="Iuitl Wristbands", -- Manibozho Gloves
  336.         ring1="Shadow Ring",
  337.         ring2="Defending Ring",
  338.         back="Engulfer Cape",
  339.         waist="Resolute Belt",
  340.         legs="Nahtirah Trousers",
  341.         feet="Iuitl Gaiters"}
  342.        
  343.     sets.TP['PDT'] = {
  344.         head="Orion Beret +1", -- Whirlpool Mask
  345.         neck="Twilight Torque",
  346.         ear1="Merman's Earring",
  347.         ear2="Merman's Earring",
  348.         body="Iuitl Vest", -- Kyujutsugi
  349.         hands="Iuitl Wristbands",
  350.         ring1="Defending Ring",
  351.         ring2="K'ayres Ring",
  352.         back="Mollusca Mantle", -- Shadow Mantle
  353.         waist="Flume Belt",
  354.         legs="Nahtirah Trousers",
  355.         feet="Iuitl Gaiters"}
  356.    
  357.     --Idle Sets Below
  358.     Idle_Set_Names = {'Regen','Normal','Town'}
  359.     sets.Idle = {}
  360.     sets.Idle.Normal = {
  361.         head="Orion Beret +1",
  362.         neck="Peacock Charm",
  363.         ear1="Clearview Earring",
  364.         ear2="Volley Earring",
  365.         body="Kyujutsugi",
  366.         hands="Manibozho Gloves",
  367.         ring1="Hajduk ring",
  368.         ring2="Paqichikaji Ring",
  369.         back="Libeccio Mantle",
  370.         waist="Elanid Belt",
  371.         legs="Nahtirah Trousers",
  372.         feet="Orion Socks +1"}
  373.                        
  374.     sets.Idle.Town = {
  375.         head="Orion Beret +1",
  376.         neck="Peacock Charm",
  377.         ear1="Clearview Earring",
  378.         ear2="Volley Earring",
  379.         body="Kyujutsugi",
  380.         hands="Manibozho Gloves",
  381.         ring1="Hajduk ring",
  382.         ring2="Paqichikaji Ring",
  383.         back="Libeccio Mantle",
  384.         waist="Elanid Belt",
  385.         legs="Nahtirah Trousers",
  386.         feet="Orion Socks +1"}                 
  387.                
  388.     sets.Idle.Regen = set_combine(sets.Idle.Normal,{
  389.         head="Ocelomeh headpiece",
  390.         neck="Orochi Nodowa",                      
  391.         body="Kheper jacket",
  392.         hands="Orion Bracers +1",
  393.         ring1="Paguroidea Ring",
  394.         ring2="Sheltered Ring",
  395.         back="Scuta Cape"})
  396.    
  397.     PDT_Set_Names = {'PDT'}
  398.     sets.DefensePDT = {}
  399.     sets.DefensePDT.PDT = {
  400.         head="Orion Beret +1", -- Whirlpool Mask
  401.         neck="Twilight Torque",
  402.         ear1="Merman's Earring",
  403.         ear2="Merman's Earring",
  404.         body="Iuitl Vest", -- Kyujutsugi
  405.         hands="Iuitl Wristbands",
  406.         ring1="Patricius Ring",
  407.         ring2="Defending Ring",
  408.         back="Mollusca Mantle", -- Shadow Mantle
  409.         waist="Flume Belt",
  410.         legs="Nahtirah Trousers",
  411.         feet="Iuitl Gaiters"}
  412.        
  413.     MDT_Set_Names = {'MDT'}
  414.     sets.DefenseMDT = {}
  415.     sets.DefenseMDT.MDT = set_combine(sets.DefensePDT.PDT,{    
  416.         ear1="Merman's Earring",
  417.         ear2="Merman's Earring",
  418.         head="Orion Beret +1",
  419.         body="Iuitl Vest", 
  420.         ring1="Shadow Ring",
  421.         ring2="Defending Ring",
  422.         back="Engulfer Cape",
  423.         waist="Resolute Belt"})
  424. end
  425.  
  426. function precast(spell)
  427.     if sets.precast[spell.english] then
  428.                 equip(sets.precast[spell.english])
  429.         elseif spell.type == 'WeaponSkill' then
  430.             if spell.target.distance > 21.0  then                      
  431.             add_to_chat(167,''..spell.target.name..' is too far can not use '..spell.name..'!!!. Cancelling WeaponSkill ')                          
  432.             cancel_spell()
  433.             return         
  434.             elseif spell.name == "Coronach" then
  435.                 equip(sets.Coronach[Coronach_Set_Names[Coronach_Index]])
  436.             elseif spell.name == "Last Stand" then
  437.                 equip(sets.LS[LS_Set_Names[LS_Index]])
  438.             elseif spell.name == "Namas Arrow" then
  439.                 equip(sets.NA[NA_Set_Names[NA_Index]])
  440.             elseif spell.name == "Jishnu's Radiance" then
  441.                 equip(sets.JR[JR_Set_Names[JR_Index]])
  442.             elseif spell.name == "Sidewinder" then
  443.                 equip(sets.SW[SW_Set_Names[SW_Index]])         
  444.         end    
  445.         elseif spell.name == "Ranged" then
  446.             if buffactive['Double Shot'] then
  447.                 equip(sets.precast.DoubleShot)
  448.             else
  449.                 equip(sets.precast.PreShot)
  450.             end
  451.             if player.equipment.range == 'Ajjub Bow' then
  452.             equip(sets.precast.arrow)            
  453.             elseif player.equipment.range == 'Yoichinoyumi' then
  454.             equip(sets.precast.arrow)            
  455.             elseif player.equipment.range == 'Annihilator' then
  456.             equip(sets.precast.bullet)            
  457.             elseif player.equipment.range == 'Astrild' then
  458.             equip(sets.precast.trialsammo)         
  459.         end
  460.         elseif spell.type == "Ninjutsu" then
  461.             if string.find(spell.english,'Utsusemi') then
  462.                 if buffactive['Copy Image (3)'] or buffactive['Copy Image (4)'] then
  463.                     cancel_spell()
  464.                     add_to_chat(167, spell.english .. ' Canceled: [3+ Images]')
  465.                     return
  466.             else
  467.                 equip(sets.precast.Utsusemi)
  468.             end
  469.             else
  470.                 equip(sets.precast.FastCast)
  471.         end
  472.         elseif spell.english == 'Spectral Jig' and buffactive.Sneak then
  473.             cast_delay(0.2)
  474.             send_command('cancel Sneak')        
  475.     end
  476. end
  477.  
  478. function midcast(spell)
  479.     if spell.name == "Ranged" then
  480.         equip(sets.Midshot[Midshot_Set_Names[Midshot_Index]])
  481.         -- Double Shot
  482.         --if buffactive.DoubleShot then
  483.             --equip(sets.DoubleShot)
  484.         if buffactive.Barrage then
  485.             equip(sets.Barrage[Barrage_Set_Names[Barrage_Index]])                      
  486.             --end -- Double Shot
  487.         end
  488.     end
  489. end
  490.  
  491. function aftercast(spell)  
  492.     if player.status=='Engaged' then
  493.         equip(sets.TP[TP_Set_Names[TP_Index]]) 
  494.     else       
  495.         equip(sets.Idle[Idle_Set_Names[Idle_Index]])       
  496.     end
  497. end
  498.  
  499. function status_change(new,old)
  500.     if T{'Idle','Resting'}:contains(new) then      
  501.         equip(sets.Idle[Idle_Set_Names[Idle_Index]])
  502.     elseif new == 'Engaged' then
  503.         equip(sets.TP[TP_Set_Names[TP_Index]])
  504.     end
  505. end
  506.  
  507. -- Auto scavenge
  508. function buff_change(name,gain_or_loss)
  509.     if name == 'Battlefield' and not gain_or_loss then
  510.         send_command('wait 3; input /ja "Scavenge" <me>')
  511.     end
  512. end
  513.  
  514. --Toggle Self Commands with //gs c [command name]
  515. --Example type in chat //gs c tp (case sensitive)
  516. --Example Make a macro /console gs c tp (case sensitive)
  517. function self_command(command)
  518.     if command == 'tp' then
  519.         TP_Index = TP_Index +1     
  520.         if TP_Index > #TP_Set_Names then TP_Index = 1 end
  521.         add_to_chat(207,'TP Set Changed to: '..TP_Set_Names[TP_Index]..'')
  522.     elseif command == 'idle' then
  523.         Idle_Index = Idle_Index +1
  524.         if Idle_Index > #Idle_Set_Names then Idle_Index = 1 end
  525.         add_to_chat(207,'Idle Set Changed to: '..Idle_Set_Names[Idle_Index]..'')       
  526.         equip(sets.Idle[Idle_Set_Names[Idle_Index]])   
  527.     elseif command == 'pdt' then
  528.         DefensePDT_Index = DefensePDT_Index +1
  529.         if DefensePDT_Index > #PDT_Set_Names then DefensePDT_Index = 1 end
  530.         add_to_chat(207,'PDT Set Changed to: '..PDT_Set_Names[DefensePDT_Index]..'')       
  531.         equip(sets.DefensePDT[PDT_Set_Names[DefensePDT_Index]])            
  532.     elseif command == 'mdt' then
  533.         DefenseMDT_Index = DefenseMDT_Index +1
  534.         if DefenseMDT_Index > #MDT_Set_Names then DefenseMDT_Index = 1 end
  535.         add_to_chat(207,'MDT Set Changed to: '..MDT_Set_Names[DefenseMDT_Index]..'')       
  536.         equip(sets.DefenseMDT[MDT_Set_Names[DefenseMDT_Index]])
  537.     elseif command == 'midshot' then
  538.         Midshot_Index = Midshot_Index +1
  539.         if Midshot_Index > #Midshot_Set_Names then Midshot_Index = 1 end
  540.         add_to_chat(207,'Midshot Set Changed to: '..Midshot_Set_Names[Midshot_Index]..'')      
  541.     elseif command == 'barrage' then
  542.         Barrage_Index = Barrage_Index +1
  543.         if Barrage_Index > #Barrage_Set_Names then Barrage_Index = 1 end
  544.         add_to_chat(207,'Barrage Set Changed to: '..Barrage_Set_Names[Barrage_Index]..'')
  545.     elseif command == 'relicgunws' then
  546.         Coronach_Index = Coronach_Index +1
  547.         if Coronach_Index > #Coronach_Set_Names then Coronach_Index = 1 end
  548.         add_to_chat(207,'Coronach Set Changed to: '..Coronach_Set_Names[Coronach_Index]..'')       
  549.     elseif command == 'meritws' then
  550.         LS_Index = LS_Index +1
  551.         if LS_Index > #LS_Set_Names then LS_Index = 1 end
  552.         add_to_chat(207,'Last Stand Set Changed to: '..LS_Set_Names[LS_Index]..'')     
  553.     elseif command == 'relicbowws' then
  554.         NA_Index = NA_Index +1
  555.         if NA_Index > #NA_Set_Names then NA_Index = 1 end
  556.         add_to_chat(207,'Namas Arrow Set Changed to: '..NA_Set_Names[NA_Index]..'')    
  557.     elseif command == 'empws' then
  558.         JR_Index = JR_Index +1
  559.         if JR_Index > #JR_Set_Names then JR_Index = 1 end
  560.         add_to_chat(207,'Jishnu\'s Radiance Set Changed to: '..JR_Set_Names[JR_Index]..'')     
  561.     elseif command == 'sidewinderws' then
  562.         SW_Index = SW_Index +1
  563.         if SW_Index > #Coronach_Set_Names then SW_Index = 1 end
  564.         add_to_chat(207,'Sidewinder Set Changed to: '..SW_Set_Names[SW_Index]..'')     
  565.     elseif command == 'update' then
  566.         status_change(player.status)       
  567.     elseif command == 'active' then
  568.         add_to_chat(207,'Idle Set Active: '..Idle_Set_Names[Idle_Index]..'')
  569.         add_to_chat(207,'PDT Set Active: '..PDT_Set_Names[DefensePDT_Index]..'')
  570.         add_to_chat(207,'MDT Set Active: '..MDT_Set_Names[DefenseMDT_Index]..'')
  571.         add_to_chat(207,'TP Set Active: '..TP_Set_Names[TP_Index]..'')
  572.         add_to_chat(207,'Midshot Set Active: '..Midshot_Set_Names[Midshot_Index]..'')
  573.         add_to_chat(207,'Barrage Set Active: '..Barrage_Set_Names[Barrage_Index]..'')
  574.         add_to_chat(207,'Coronach Set Active: '..Coronach_Set_Names[Coronach_Index]..'')
  575.         add_to_chat(207,'Last Stand Set Active: '..LS_Set_Names[LS_Index]..'')
  576.         add_to_chat(207,'Namas Arrow Set Active: '..NA_Set_Names[NA_Index]..'')
  577.         add_to_chat(207,'Jishnu\'s Radiance Set Active: '..JR_Set_Names[JR_Index]..'')
  578.         add_to_chat(207,'Sidewinder Set Active: '..SW_Set_Names[SW_Index]..'')     
  579.     end
  580. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement