SHARE
TWEET

WAR

Atigeve Sep 9th, 2016 (edited) 1,919 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- *** Credit goes to Flippant for helping me with Gearswap *** --
  2. -- ** I Use Some of Motenten's Functions ** --
  3. -- All Credit goes to Bokura and her Credit notes, I Simply altered a few things to make it work for me and simplify it slightly--
  4.  
  5. function get_sets()
  6.     include('organizer-lib')
  7.  
  8. --KeyBinds
  9.     send_command('wait 5; input /lockstyleset 5')
  10.     send_command('bind ^f1 gs c C7')
  11.     send_command('bind ^f2 gs c C15')
  12.     send_command('bind ^f3 gs c C16')
  13.     send_command('bind !f1 gs c C2')
  14.     send_command('bind !f2 gs c C1')
  15.     send_command('bind !f3 gs c C3')
  16.  
  17.     AccIndex = 1
  18.     AccArray = {"LowACC","MidACC","HighACC"} -- 3 Levels Of Accuracy Sets For TP/WS/Hybrid. First Set Is LowACC. Add More ACC Sets If Needed Then Create Your New ACC Below. Most of These Sets Are Empty So You Need To Edit Them On Your Own. Remember To Check What The Combined Set Is For Each Sets. --
  19.     WeaponIndex = 1
  20.     WeaponArray = {"Conqueror","Chango","Montante", "Ukonvasara","Bravura", "DWSword", "DWAxe" } --"DWSword","Ragnarok","DWSword"Default Main Weapon Is Ukonvasara. Can Delete Any Weapons/Sets That You Don't Need Or Replace/Add The New Weapons That You Want To Use. --
  21.     IdleIndex = 1
  22.     IdleArray = {"Movement","Regen"} -- Default Idle Set Is Movement --
  23.     Armor = 'None'
  24.     Twilight = 'None'
  25.     Attack = 'OFF' -- Set Default WS Attack Set ON or OFF Here --
  26.     Retaliation = 'OFF' -- Set Default Retaliation ON or OFF Here --
  27.     select_default_macro_book() -- Change Default Macro Book At The End --
  28.  
  29.     -- Gavialis Helm --
  30.     elements = {}
  31.     --elements.equip = {head="Gavialis Helm"}
  32.     --elements["Ukko's Fury"] = S{"Light","Lightning","Wind"}
  33.     --elements.Resolution = S{"Lightning","Wind","Earth"}
  34.  
  35.     sets.Idle = {}
  36.     -- Idle/Town Sets --
  37.     sets.Idle.Regen = {
  38.         ammo="Staunch Tathlum +1",
  39.         head="Sulevia's Mask +2",
  40.         body="Souv. Cuirass +1",
  41.         hands="Sulev. Gauntlets +2",
  42.         legs="Souv. Diechlings +1",    
  43.         feet="Pumm. Calligae +3",
  44.         neck="Loricate Torque +1",
  45.         waist="Ioskeha Belt +1",
  46.         left_ear="Telos Earring",
  47.         right_ear="Cessance Earring",
  48.         left_ring="Moonlight Ring",
  49.         right_ring="Defending Ring",
  50.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  51.     }
  52.    
  53.     sets.Idle.Regen.Conqueror = set_combine(sets.Idle.Regen,{
  54.         main="Conqueror",
  55.         sub="Utu Grip"})   
  56.     sets.Idle.Regen.Ukonvasara = set_combine(sets.Idle.Regen,{
  57.             main="Ukonvasara",
  58.             sub="Utu Grip"})
  59.     sets.Idle.Regen.Ragnarok = set_combine(sets.Idle.Regen,{
  60.             main="Ragnarok",
  61.             sub="Utu Grip"})
  62.     sets.Idle.Regen.Ragnarok = set_combine(sets.Idle.Regen,{
  63.             main="Ragnarok",
  64.             sub="Utu Grip"})
  65.     sets.Idle.Regen.Montante = set_combine(sets.Idle.Regen,{
  66.             main="Montante +1",
  67.             sub="Utu Grip"})       
  68.     sets.Idle.Regen.Ragnarok = set_combine(sets.Idle.Regen,{
  69.             main="Ragnarok",
  70.             sub="Utu Grip"})   
  71.     sets.Idle.Regen.Bravura = set_combine(sets.Idle.Regen,{
  72.             main="Bravura",
  73.             sub="Utu Grip"})
  74.     sets.Idle.Regen.Chango = set_combine(sets.Idle.Regen,{
  75.             main="Chango",
  76.             sub="Utu Grip"})
  77.     sets.Idle.Regen.DWSword = set_combine(sets.Idle.Regen,{
  78.         main="Naegling",
  79.         sub="Reikiko"})
  80.     sets.Idle.Regen.DWAxe = set_combine(sets.Idle.Regen,{
  81.             main="Dolichenus",
  82.             sub="Reikiko"})
  83.  
  84.  
  85.     sets.Idle.Movement = set_combine(sets.Idle.Regen,{})
  86.     sets.Idle.Movement.Conqueror = set_combine(sets.Idle.Movement,{
  87.         main="Conqueror",
  88.         sub="Utu Grip"})
  89.     sets.Idle.Movement.Ukonvasara = set_combine(sets.Idle.Movement,{
  90.             main="Ukonvasara",
  91.             sub="Utu Grip"})
  92.     sets.Idle.Movement.Ragnarok = set_combine(sets.Idle.Movement,{
  93.             main="Ragnarok",
  94.             sub="Utu Grip"})
  95.     sets.Idle.Movement.Montante = set_combine(sets.Idle.Regen,{
  96.             main="Montante +1",
  97.             sub="Utu Grip"})
  98.     sets.Idle.Movement.Bravura = set_combine(sets.Idle.Movement,{
  99.             main="Bravura",
  100.             sub="Utu Grip"})
  101.     sets.Idle.Movement.Chango = set_combine(sets.Idle.Movement,{
  102.             main="Chango",
  103.             sub="Utu Grip"})
  104.     sets.Idle.Movement.DWSword = set_combine(sets.Idle.Movement,{
  105.         main="Naegling",
  106.         sub="Reikiko"})
  107.     sets.Idle.Movement.DWAxe = set_combine(sets.Idle.Movement,{
  108.             main="Dolichenus",
  109.             sub="Reikiko"})
  110.  
  111.  
  112.  
  113.     sets.Twilight = {head="Twilight Helm",body="Twilight Mail"}
  114.  
  115.     -- TP Base Set --
  116.     sets.TP = {}
  117.  
  118.     -- Ukonvasara TP Sets --
  119.     sets.TP.Ukonvasara = {
  120.         main="Ukonvasara",
  121.         sub="Utu Grip",
  122.         ammo="Yetshila +1",
  123.         head="Flam. Zucchetto +2",
  124.         body={ name="Valorous Mail", augments={'Accuracy+26','"Dbl.Atk."+5','DEX+6','Attack+15',}},
  125.         hands="Sulev. Gauntlets +2",
  126.         legs="Pumm. Cuisses +3",
  127.         feet="Pumm. Calligae +3",
  128.         neck="War. Beads +2",
  129.         waist="Ioskeha Belt +1",
  130.         left_ear="Brutal Earring",
  131.         right_ear="Cessance Earring",
  132.         left_ring="Chirich Ring +1",
  133.         right_ring="Niqmaddu Ring",
  134.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  135.         }
  136.     sets.TP.Ukonvasara.MidACC = set_combine(sets.TP.Ukonvasara,{
  137.         hands={ name="Emi. Gauntlets +1", augments={'HP+65','DEX+12','Accuracy+20',}},
  138.         left_ear="Telos Earring",
  139.     })
  140.     sets.TP.Ukonvasara.HighACC = set_combine(sets.TP.Ukonvasara.MidACC,{
  141.         ammo="Seeth. Bomblet +1",
  142.         body="Pumm. Lorica +3",
  143.         left_ear="Telos Earring",
  144.         right_ear="Digni. Earring",
  145.         left_ring="Regal Ring",
  146. })
  147.  
  148.     -- Ragnarok TP Sets --
  149.     sets.TP.Ragnarok = {
  150.         main="Ragnarok",
  151.         sub="Utu Grip",
  152.         ammo="Ginsen",
  153.         head="Flam. Zucchetto +2",
  154.         body={ name="Valorous Mail", augments={'Accuracy+22','"Store TP"+6','DEX+5','Attack+3',}},
  155.         hands="Flam. Manopolas +2",
  156.         legs="Pumm. Cuisses +3",
  157.         feet="Pumm. Calligae +3",
  158.         neck="Ainia Collar",
  159.         waist="Ioskeha Belt +1",
  160.         left_ear="Telos Earring",
  161.         right_ear="Cessance Earring",
  162.         left_ring="Chirich Ring +1",
  163.         right_ring="Niqmaddu Ring",
  164.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  165.     }
  166.     sets.TP.Ragnarok.MidACC = set_combine(sets.TP.Ragnarok,{
  167.         ammo="Seeth. Bomblet +1",
  168.         head="Flam. Zucchetto +2",
  169.         body="Pumm. Lorica +3",
  170.         hands={ name="Emi. Gauntlets +1", augments={'HP+65','DEX+12','Accuracy+20',}},
  171.         legs="Pumm. Cuisses +3",
  172.         feet="Pumm. Calligae +3",
  173.         neck="Combatant's Torque",
  174.         waist="Ioskeha Belt +1",
  175.         left_ear="Telos Earring",
  176.         right_ear="Zennaroi Earring",
  177.         left_ring="Ramuh Ring +1",
  178.         right_ring="Regal Ring",
  179.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  180.    
  181.     })
  182.     sets.TP.Ragnarok.HighACC = set_combine(sets.TP.Ragnarok.MidACC,{})
  183.  
  184.  
  185. --Montante TP
  186.     sets.TP.Montante = {
  187.         main="Montante +1",
  188.         sub="Utu Grip",
  189.         ammo="Ginsen",
  190.         head="Flam. Zucchetto +2",
  191.         body={ name="Valorous Mail", augments={'Accuracy+22','"Store TP"+6','DEX+5','Attack+3',}},
  192.         hands="Flam. Manopolas +2",
  193.         legs="Pumm. Cuisses +3",
  194.         feet="Pumm. Calligae +3",
  195.         neck="Ainia Collar",
  196.         waist="Ioskeha Belt +1",
  197.         left_ear="Brutal Earring",
  198.         right_ear="Cessance Earring",
  199.         left_ring="Chirich Ring +1",
  200.         right_ring="Niqmaddu Ring",
  201.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  202.     }
  203.     sets.TP.Montante.MidACC = set_combine(sets.TP.Montante,{
  204.         hands={ name="Emi. Gauntlets +1", augments={'HP+65','DEX+12','Accuracy+20',}},
  205.         left_ear="Telos Earring",
  206.        
  207.     })
  208.     sets.TP.Montante.HighACC = set_combine(sets.TP.Montante.MidACC,{
  209.         ammo="Seeth. Bomblet +1",
  210.         body="Pumm. Lorica +3",
  211.         neck="Combatant's Torque",
  212.         right_ear="Digni. Earring",
  213.         left_ring="Regal Ring",    
  214.     })
  215.  
  216.     -- Bravura TP Sets --
  217.     sets.TP.Bravura = {
  218.         main="Bravura",
  219.         sub="Utu Grip",
  220.         ammo="Ginsen",
  221.         head="Flam. Zucchetto +2",
  222.         body={ name="Valorous Mail", augments={'Accuracy+26','"Dbl.Atk."+5','DEX+6','Attack+15',}},
  223.         hands="Sulev. Gauntlets +2",
  224.         legs="Pumm. Cuisses +3",
  225.         feet="Pumm. Calligae +3",
  226.         neck="War. Beads +2",
  227.         waist="Ioskeha Belt +1",
  228.         left_ear="Brutal Earring",
  229.         right_ear="Cessance Earring",
  230.         left_ring="Chirich Ring +1",
  231.         right_ring="Niqmaddu Ring",
  232.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  233.         }
  234.     sets.TP.Bravura.MidACC = set_combine(sets.TP.Bravura,{
  235.         ammo="Seeth. Bomblet +1",
  236.         head="Flam. Zucchetto +2",
  237.         body="Pumm. Lorica +3",
  238.         hands={ name="Emi. Gauntlets +1", augments={'HP+65','DEX+12','Accuracy+20',}},
  239.         legs="Pumm. Cuisses +3",
  240.         feet="Pumm. Calligae +3",
  241.         neck="Combatant's Torque",
  242.         waist="Ioskeha Belt +1",
  243.         left_ear="Telos Earring",
  244.         right_ear="Cessance Earring",
  245.         left_ring="Regal Ring",
  246.         right_ring="Niqmaddu Ring",
  247.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  248.    
  249.     })
  250.     sets.TP.Bravura.HighACC = set_combine(sets.TP.Bravura.MidACC,{})   
  251.    
  252.     --Chango Set
  253.     sets.TP.Chango = {
  254.         main="Chango",
  255.         sub="Utu Grip",
  256.         ammo="Ginsen",
  257.         head="Flam. Zucchetto +2",
  258.         body={ name="Valorous Mail", augments={'Accuracy+26','"Dbl.Atk."+5','DEX+6','Attack+15',}},
  259.         hands="Sulev. Gauntlets +2",
  260.         legs="Pumm. Cuisses +3",
  261.         feet="Pumm. Calligae +3",
  262.         neck="War. Beads +2",
  263.         waist="Ioskeha Belt +1",
  264.         left_ear="Brutal Earring",
  265.         right_ear="Cessance Earring",
  266.         left_ring="Chirich Ring +1",
  267.         right_ring="Niqmaddu Ring",
  268.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  269.         }
  270.     sets.TP.Chango.MidACC = set_combine(sets.TP.Chango,{
  271.         hands={ name="Emi. Gauntlets +1", augments={'HP+65','DEX+12','Accuracy+20',}},
  272.         left_ear="Telos Earring",          
  273. })
  274.     sets.TP.Chango.HighACC = set_combine(sets.TP.Chango.MidACC,{
  275.         ammo="Seeth. Bomblet +1",
  276.         body="Pumm. Lorica +3",
  277.         right_ear="Digni. Earring",
  278.         left_ring="Regal Ring",
  279.     })
  280.  
  281.     --Duel Wield Set
  282.     sets.TP.DWSword = {
  283.         main="Naegling",
  284.         sub="Reikiko",
  285.         ammo="Ginsen",
  286.         head="Flam. Zucchetto +2",
  287.         body={ name="Valorous Mail", augments={'Accuracy+22','"Store TP"+6','DEX+5','Attack+3',}},
  288.         hands={ name="Emi. Gauntlets +1", augments={'Accuracy+25','"Dual Wield"+6','Pet: Accuracy+25',}},
  289.         legs="Pumm. Cuisses +3",
  290.         feet="Pumm. Calligae +3",
  291.         neck="War. Beads +2",
  292.         waist="Ioskeha Belt +1",
  293.         left_ear="Suppanomimi",
  294.         right_ear="Cessance Earring",
  295.         left_ring="Chirich Ring +1",
  296.         right_ring="Niqmaddu Ring",
  297.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  298.        
  299.         }
  300.     sets.TP.DWSword.MidACC = set_combine(sets.TP.DWSword,{
  301. })
  302.     sets.TP.DWSword.HighACC = set_combine(sets.TP.DWSword.MidACC,{
  303.         ammo="Seeth. Bomblet +1",
  304.         body="Pumm. Lorica +3",
  305.         right_ear="Digni. Earring",
  306.         left_ring="Regal Ring",
  307.     })
  308.  
  309.     sets.TP.DWAxe = {
  310.         main="Dolichenus",
  311.         sub="Reikiko",
  312.         ammo="Ginsen",
  313.         head="Flam. Zucchetto +2",
  314.         body={ name="Valorous Mail", augments={'Accuracy+22','"Store TP"+6','DEX+5','Attack+3',}},
  315.         hands={ name="Emi. Gauntlets +1", augments={'Accuracy+25','"Dual Wield"+6','Pet: Accuracy+25',}},
  316.         legs="Pumm. Cuisses +3",
  317.         feet="Pumm. Calligae +3",
  318.         neck="War. Beads +2",
  319.         waist="Ioskeha Belt +1",
  320.         left_ear="Suppanomimi",
  321.         right_ear="Cessance Earring",
  322.         left_ring="Chirich Ring +1",
  323.         right_ring="Niqmaddu Ring",
  324.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  325.        
  326.         }
  327.     sets.TP.DWAxe.MidACC = set_combine(sets.TP.DWAxe,{
  328. })
  329.     sets.TP.DWAxe.HighACC = set_combine(sets.TP.DWAxe.MidACC,{
  330.         ammo="Seeth. Bomblet +1",
  331.         body="Pumm. Lorica +3",
  332.         right_ear="Digni. Earring",
  333.         left_ring="Regal Ring",
  334.     })
  335.    
  336.     --Conqueror Set
  337.     sets.TP.Conqueror = {
  338.         main="Conqueror",
  339.         sub="Utu Grip",
  340.         ammo="Ginsen",
  341.         head="Flam. Zucchetto +2",
  342.         body={ name="Valorous Mail", augments={'Accuracy+26','"Dbl.Atk."+5','DEX+6','Attack+15',}},
  343.         hands="Sulev. Gauntlets +2",
  344.         legs="Pumm. Cuisses +3",
  345.         feet="Pumm. Calligae +3",
  346.         neck="War. Beads +2",
  347.         waist="Ioskeha Belt +1",
  348.         left_ear="Brutal Earring",
  349.         right_ear="Cessance Earring",
  350.         left_ring="Chirich Ring +1",
  351.         right_ring="Niqmaddu Ring",
  352.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  353.             }
  354.     sets.TP.Conqueror.MidACC = set_combine(sets.TP.Conqueror,{
  355.         hands={ name="Emi. Gauntlets +1", augments={'HP+65','DEX+12','Accuracy+20',}},
  356.         left_ear="Telos Earring",          
  357.     })
  358.     sets.TP.Conqueror.HighACC = set_combine(sets.TP.Conqueror.MidACC,{
  359.         ammo="Seeth. Bomblet +1",
  360.         body="Pumm. Lorica +3",
  361.         left_ear="Telos Earring",
  362.         right_ear="Cessance Earring",
  363.         left_ring="Regal Ring"
  364.     })
  365.  
  366.     -- Conqueror(AM3 Up) TP Sets --
  367.     sets.TP.Conqueror.AM3 = set_combine(sets.TP.Conqueror,{
  368.         ammo="Ginsen",
  369.         head="Flam. Zucchetto +2",
  370.         body={ name="Valorous Mail", augments={'Accuracy+22','"Store TP"+6','DEX+5','Attack+3',}},
  371.         hands={ name="Emi. Gauntlets +1", augments={'HP+65','DEX+12','Accuracy+20',}},
  372.         legs={ name="Odyssean Cuisses", augments={'Accuracy+28','"Store TP"+5','Attack+12',}},
  373.         feet={ name="Valorous Greaves", augments={'Accuracy+29','"Store TP"+6','STR+6','Attack+7',}},
  374.         neck="Ainia Collar",
  375.         waist="Sailfi Belt +1",
  376.         left_ear="Telos Earring",
  377.         right_ear="Dedition Earring",
  378.         left_ring="Chirich Ring +1",
  379.         right_ring="Niqmaddu Ring",
  380.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','"Store TP"+10',}},
  381.     })
  382.     sets.TP.Conqueror.MidACC.AM3 = set_combine(sets.TP.Conqueror.MidACC,{})
  383.     sets.TP.Conqueror.HighACC.AM3 = set_combine(sets.TP.Conqueror.HighACC,{})
  384.  
  385.     -- Mighty Strikes TP Set --
  386.     sets.TP.MS = {
  387.  
  388.     }
  389.  
  390.     -- Retaliation Set --
  391.     --sets.TP.Retaliation = {hands="Pumm. Mufflers +2",feet="Boii Calligae +1"}
  392.  
  393.     -- AM3 Rancor ON Mantle --
  394.     sets.TP.Rancor = {back=""}
  395.  
  396.     -- PDT/MDT Sets --
  397.     sets.PDT = {
  398.         ammo="Staunch Tathlum +1",
  399.         head="Sulevia's Mask +2",
  400.         body="Souv. Cuirass +1",
  401.         hands="Sulev. Gauntlets +2",
  402.         legs="Souv. Diechlings +1",
  403.         feet="Pumm. Calligae +3",
  404.         neck="Loricate Torque +1",
  405.         waist="Ioskeha Belt +1",
  406.         left_ear="Telos Earring",
  407.         right_ear="Cessance Earring",
  408.         left_ring="Moonlight Ring",
  409.         right_ring="Defending Ring",
  410.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  411.     }
  412.    
  413.     sets.MDT = set_combine(sets.PDT,{
  414.         ammo="Staunch Tathlum +1",
  415.         head={ name="Souv. Schaller +1", augments={'HP+105','Enmity+9','Potency of "Cure" effect received +15%',}},
  416.         body="Souv. Cuirass +1",
  417.         hands="Souv. Handsch. +1",
  418.         legs="Souv. Diechlings +1",
  419.         feet={ name="Souveran Schuhs +1", augments={'HP+105','Enmity+9','Potency of "Cure" effect received +15%',}},
  420.         neck="Loricate Torque +1",
  421.         waist="Ioskeha Belt +1",
  422.         left_ear="Telos Earring",
  423.         right_ear="Odnowa Earring",
  424.         left_ring="Moonlight Ring",
  425.         right_ring="Defending Ring",
  426.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  427.     })
  428.  
  429.     -- Hybrid/Kiting Sets for me personally this is my Bravura AM set when expecting to take dmg --
  430.     sets.TP.Hybrid = {
  431.         sub="Utu Grip",
  432.         ammo="Staunch Tathlum +1",
  433.         head="Sulevia's Mask +2",
  434.         body={ name="Souv. Cuirass +1", augments={'HP+65','STR+12','Accuracy+13',}},
  435.         hands="Sulev. Gauntlets +2",
  436.         legs="Pumm. Cuisses +3",
  437.         feet="Pumm. Calligae +3",
  438.         neck="War. Beads +2",
  439.         waist="Ioskeha Belt +1",
  440.         left_ear="Telos Earring",
  441.         right_ear="Cessance Earring",
  442.         left_ring="Moonlight Ring",
  443.         right_ring="Niqmaddu Ring",
  444.         back={ name="Cichol's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10','Damage taken-5%',}},
  445.         }
  446.     sets.TP.Hybrid.MidACC = set_combine(sets.TP.Hybrid,{})
  447.     sets.TP.Hybrid.HighACC = set_combine(sets.TP.Hybrid.MidACC,{})
  448.  
  449.     sets.Kiting = set_combine(sets.PDT,{feet="Hermes' Sandals"})
  450.  
  451.     -- CP Mantle --
  452.     sets.CP = {back="Mecisto. Mantle"}
  453.  
  454.     -- WS Base Set --
  455.     sets.WS = {
  456.         ammo="Seething Bomblet +1",
  457.         head="Sulevia's Mask +2",
  458.         body="Sulevia's Plate. +2",
  459.         hands="Sulev. Gauntlets +2",
  460.         legs="Sulev. Cuisses +2",
  461.         feet="Sulev. Leggings +2",
  462.         neck="Fotia Gorget",
  463.         waist="Fotia Belt",
  464.         left_ear="Telos Earring",
  465.         right_ear="Moonshade Earring",
  466.         left_ring="Regal Ring",
  467.         right_ring="Niqmaddu Ring",
  468.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  469.     }
  470.  
  471.     -- Upheaval Sets --
  472.     sets.WS.Upheaval = {
  473.         ammo="Knobkierrie",
  474.         head={ name="Agoge Mask +3", augments={'Enhances "Savagery" effect',}},
  475.         body="Pumm. Lorica +3",
  476.         hands={ name="Odyssean Gauntlets", augments={'Accuracy+20 Attack+20','Weapon skill damage +4%','Accuracy+3','Attack+5',}},
  477.         legs={ name="Odyssean Cuisses", augments={'Accuracy+25','Weapon skill damage +3%','STR+10','Attack+11',}},
  478.         feet="Sulev. Leggings +2",
  479.         neck={ name="War. Beads +2", augments={'Path: A',}},
  480.         waist="Ioskeha Belt +1",
  481.         left_ear="Thrud Earring",
  482.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  483.         left_ring="Epaminondas's Ring",
  484.         right_ring="Niqmaddu Ring",
  485.         back={ name="Cichol's Mantle", augments={'VIT+20','Accuracy+20 Attack+20','VIT+10','Weapon skill damage +10%',}},
  486.             }
  487.     sets.WS.Upheaval.MidACC = set_combine(sets.WS.Upheaval,{
  488.         left_ear="Telos Earring",
  489.         right_ear="Cessance Earring"})
  490.     sets.WS.Upheaval.HighACC = set_combine(sets.WS.Upheaval.MidACC,{})
  491.  
  492.     -- Upheaval(Attack) Set --
  493.     sets.WS.Upheaval.ATT = set_combine(sets.WS.Upheaval,{})
  494.  
  495.     -- Ukko's Fury Sets --
  496.     sets.WS["Ukko's Fury"] = {
  497.         ammo="Yetshila +1",
  498.         head={ name="Agoge Mask +3", augments={'Enhances "Savagery" effect',}},
  499.         body={ name="Argosy Hauberk +1", augments={'STR+12','Attack+20','"Store TP"+6',}},
  500.         hands={ name="Argosy Mufflers +1", augments={'STR+20','"Dbl.Atk."+3','Haste+3%',}},
  501.         legs={ name="Argosy Breeches +1", augments={'STR+12','Attack+25','"Store TP"+6',}},
  502.         feet="Flam. Gambieras +2",
  503.         neck="War. Beads +2",
  504.         waist="Fotia Belt",
  505.         left_ear="Cessance Earring",
  506.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  507.         left_ring="Epaminondas's Ring",
  508.         right_ring="Niqmaddu Ring",
  509.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  510.             }
  511.     sets.WS["Ukko's Fury"].MidACC = set_combine(sets.WS["Ukko's Fury"],{
  512.         ammo="Seeth. Bomblet +1",
  513.         head="Agoge Mask +3",
  514.         body="Pumm. Lorica +3",
  515.         hands="Sulev. Gauntlets +2",
  516.         legs="Pumm. Cuisses +3",
  517.         feet="Pumm. Calligae +3",
  518.         neck="War. Beads +2",
  519.         waist="Fotia Belt",
  520.         left_ear="Cessance Earring",
  521.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  522.         left_ring="Regal Ring",
  523.         right_ring="Niqmaddu Ring",
  524.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  525.        
  526.     })
  527.     sets.WS["Ukko's Fury"].HighACC = set_combine(sets.WS["Ukko's Fury"].MidACC,{
  528.         ammo="Seeth. Bomblet +1",
  529.         head="Agoge Mask +3",
  530.         body="Pumm. Lorica +3",
  531.         hands={ name="Emi. Gauntlets +1", augments={'HP+65','DEX+12','Accuracy+20',}},
  532.         legs="Pumm. Cuisses +3",
  533.         feet="Pumm. Calligae +3",
  534.         neck="War. Beads +2",
  535.         waist="Fotia Belt",
  536.         left_ear="Telos Earring",
  537.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  538.         left_ring="Regal Ring",
  539.         right_ring="Niqmaddu Ring",
  540.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  541.     })
  542.  
  543.     -- Ukko's Fury(Attack) Set --
  544.     sets.WS["Ukko's Fury"].ATT = set_combine(sets.WS["Ukko's Fury"],{})
  545.  
  546.     -- King's Justice Sets --
  547.     sets.WS["King's Justice"] = {
  548.         ammo="Knobkierrie",
  549.         head={ name="Agoge Mask +3", augments={'Enhances "Savagery" effect',}},
  550.         body={ name="Argosy Hauberk +1", augments={'STR+12','Attack+20','"Store TP"+6',}},
  551.         hands={ name="Argosy Mufflers +1", augments={'STR+20','"Dbl.Atk."+3','Haste+3%',}},
  552.         legs={ name="Argosy Breeches +1", augments={'STR+12','Attack+25','"Store TP"+6',}},
  553.         feet="Flam. Gambieras +2",
  554.         neck="War. Beads +2",
  555.         waist="Fotia Belt",
  556.         left_ear="Cessance Earring",
  557.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  558.         left_ring="Regal Ring",
  559.         right_ring="Niqmaddu Ring",
  560.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  561.     }
  562.     sets.WS["King's Justice"].MidACC  = set_combine(sets.WS["King's Justice"],{
  563.         left_ear="Telos Earring",
  564.     })
  565.     sets.WS["King's Justice"].HighACC = set_combine(sets.WS["King's Justice"].MidACC,{})
  566.  
  567.     -- Metatron Torment Sets --
  568.     sets.WS["Metatron Torment"] = {
  569.         ammo="Knobkierrie",
  570.         head="Agoge Mask +3",
  571.         body="Flamma Korazin +2",
  572.         hands="Flam. Manopolas +2",
  573.         legs="Flamma Dirs +2",
  574.         feet="Flam. Gambieras +2",
  575.         neck="War. Beads +2",
  576.         waist="Fotia Belt",
  577.         left_ear="Telos Earring",
  578.         right_ear="Dignitary's Earring",
  579.         left_ring="Epaminondas's Ring",
  580.         right_ring="Niqmaddu Ring",
  581.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  582.     }
  583.     sets.WS["Metatron Torment"].MidACC  = set_combine(sets.WS["Metatron Torment"],{
  584.     })
  585.     sets.WS["Metatron Torment"].HighACC = set_combine(sets.WS["Metatron Torment"].MidACC,{})
  586.  
  587.     -- Fell Cleave Set --
  588.     sets.WS["Fell Cleave"] = {
  589.         ammo="Knobkierrie",
  590.         head="Agoge Mask +3",
  591.         body="Pumm. Lorica +3",
  592.         hands={ name="Argosy Mufflers +1", augments={'STR+20','"Dbl.Atk."+3','Haste+3%',}},
  593.         legs="Pumm. Cuisses +3",
  594.         feet="Sulev. Leggings +2",
  595.         neck="War. Beads +2",
  596.         waist="Fotia Belt",
  597.         left_ear="Telos Earring",
  598.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  599.         left_ring="Regal Ring",
  600.         right_ring="Niqmaddu Ring",
  601.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  602.     }
  603.  
  604.     -- Resolution --
  605.     sets.WS.Resolution = {
  606.         ammo="Seething Bomblet +1",
  607.         head="Flam. Zucchetto +2",
  608.         body={ name="Argosy Hauberk +1", augments={'STR+12','Attack+20','"Store TP"+6',}},
  609.         hands={ name="Argosy Mufflers +1", augments={'STR+20','"Dbl.Atk."+3','Haste+3%',}},
  610.         legs={ name="Argosy Breeches +1", augments={'STR+12','Attack+25','"Store TP"+6',}},
  611.         feet="Flam. Gambieras +2",
  612.         neck="Fotia Gorget",
  613.         waist="Fotia Belt",
  614.         left_ear="Cessance Earring",
  615.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  616.         left_ring="Regal Ring",
  617.         right_ring="Niqmaddu Ring",
  618.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  619.         }
  620.     sets.WS.Resolution.MidACC  = set_combine(sets.WS.Resolution,{
  621.         ammo="Knobkierrie",
  622.         head="Pummeler's Mask +2",
  623.         body="Pumm. Lorica +3",
  624.         hands="Pumm. Mufflers +2",
  625.         legs="Pumm. Cuisses +3",
  626.         feet="Pumm. Calligae +3",
  627.         neck="Fotia Gorget",
  628.         waist="Fotia Belt",
  629.         left_ear="Telos Earring",
  630.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  631.         left_ring="Regal Ring",
  632.         right_ring="Niqmaddu Ring",
  633.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  634.        
  635.     })
  636.  
  637.     sets.WS.Resolution.HighACC = set_combine(sets.WS.Resolution.MidACC,{})
  638.  
  639.     -- Scourge --
  640.     sets.WS.Scourge = {
  641.         ammo="Knobkierrie",
  642.         head={ name="Agoge Mask +3", augments={'Enhances "Savagery" effect',}},
  643.         body="Pumm. Lorica +3",
  644.         hands="Sulev. Gauntlets +2",
  645.         legs="Sulev. Cuisses +2",
  646.         feet="Sulev. Leggings +2",
  647.         neck="War. Beads +2",
  648.         waist="Caudata Belt",
  649.         left_ear="Thrud Earring",
  650.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  651.         left_ring="Epaminondas's Ring",
  652.         right_ring="Niqmaddu Ring",
  653.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  654.     }
  655.     sets.WS.Scourge.MidACC  = set_combine(sets.WS.Scourge,{
  656.     })
  657.     sets.WS.Scourge.HighACC = set_combine(sets.WS.Scourge.MidACC,{})
  658.  
  659.     sets.WS["Savage Blade"] = {
  660.         ammo="Knobkierrie",
  661.         head={ name="Agoge Mask +3", augments={'Enhances "Savagery" effect',}},
  662.         body="Pumm. Lorica +3",
  663.         hands="Sulev. Gauntlets +2",
  664.         legs={ name="Odyssean Cuisses", augments={'Accuracy+10 Attack+10','Weapon skill damage +2%','Accuracy+12','Attack+3',}},
  665.         feet="Sulev. Leggings +2",
  666.         neck="War. Beads +2",
  667.         waist="Ioskeha Belt +1",
  668.         left_ear="Thrud Earring",
  669.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  670.         left_ring="Epaminondas's Ring",
  671.         right_ring="Niqmaddu Ring",
  672.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','Weapon skill damage +10%',}},
  673.        
  674.     }
  675.     -- Magic Based WS --
  676.     sets.WS.Cloudsplitter = {
  677.         ammo="Pemphredo Tathlum",
  678.         head={ name="Agoge Mask +3", augments={'Enhances "Savagery" effect',}},
  679.         body={ name="Found. Breastplate", augments={'Accuracy+14','Mag. Acc.+13','Attack+14','"Mag.Atk.Bns."+14',}},
  680.         hands={ name="Founder's Gauntlets", augments={'STR+8','Attack+15','"Mag.Atk.Bns."+13','Phys. dmg. taken -3%',}},
  681.         legs={ name="Eschite Cuisses", augments={'"Mag.Atk.Bns."+25','"Conserve MP"+6','"Fast Cast"+5',}},
  682.         feet="Sulev. Leggings +2",
  683.         neck="Sanctity Necklace",
  684.         waist="Eschan Stone",
  685.         left_ear="Friomisi Earring",
  686.         right_ear="Hecate's Earring",
  687.         left_ring="Epaminondas's Ring",
  688.         right_ring="Niqmaddu Ring",
  689.         back={ name="Cichol's Mantle", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  690.         }
  691.  
  692.     sets.WS['Sanguine Blade'] = {
  693.         ammo="Seething Bomblet +1",
  694.         head="Jumalik Helm",
  695.         body={ name="Found. Breastplate", augments={'Accuracy+14','Mag. Acc.+13','Attack+14','"Mag.Atk.Bns."+14',}},
  696.         hands={ name="Founder's Gauntlets", augments={'STR+8','Attack+15','"Mag.Atk.Bns."+13','Phys. dmg. taken -3%',}},
  697.         legs={ name="Eschite Cuisses", augments={'"Mag.Atk.Bns."+25','"Conserve MP"+6','"Fast Cast"+5',}},
  698.         feet={ name="Odyssean Greaves", augments={'Mag. Acc.+14 "Mag.Atk.Bns."+14','Weapon Skill Acc.+6','STR+4','"Mag.Atk.Bns."+15',}},
  699.         neck="Sanctity Necklace",
  700.         waist="Eschan Stone",
  701.         left_ear="Friomisi Earring",
  702.         right_ear="Hecate's Earring",
  703.         left_ring="Acumen Ring",
  704.         right_ring="Rufescent Ring",
  705.         back={ name="Cichol's Mantle", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}},
  706.     }
  707.  
  708.     sets.WS['Full Break'] = {
  709.         ammo="Pemphedro Tathlum",
  710.         head="Flam. Zucchetto +2",
  711.         body="Flamma Korazin +2",
  712.         hands="Flam. Manopolas +2",
  713.         legs="Flamma Dirs +2",
  714.         feet="Flam. Gambieras +2",
  715.         neck="Sanctity Necklace",
  716.         waist="Eschan Stone",
  717.         left_ear="Telos Earring",
  718.         right_ear="Dignitary's Earring",
  719.         left_ring="Chirich Ring +1",
  720.         right_ring="Weatherspoon Ring",
  721.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  722.     }
  723.  
  724.  
  725.     sets.WS['Shield Break'] = {
  726.         ammo="Pemphedro Tathlum",
  727.         head="Flam. Zucchetto +2",
  728.         body="Flamma Korazin +2",
  729.         hands="Flam. Manopolas +2",
  730.         legs="Flamma Dirs +2",
  731.         feet="Flam. Gambieras +2",
  732.         neck="Sanctity Necklace",
  733.         waist="Eschan Stone",
  734.         left_ear="Telos Earring",
  735.         right_ear="Dignitary's Earring",
  736.         left_ring="Chirich Ring +1",
  737.         right_ring="Weatherspoon Ring",
  738.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  739.     }
  740.    
  741.     sets.WS['Armor Break'] = {
  742.         ammo="Pemphedro Tathlum",
  743.         head="Flam. Zucchetto +2",
  744.         body="Flamma Korazin +2",
  745.         hands="Flam. Manopolas +2",
  746.         legs="Flamma Dirs +2",
  747.         feet="Flam. Gambieras +2",
  748.         neck="Sanctity Necklace",
  749.         waist="Eschan Stone",
  750.         left_ear="Telos Earring",
  751.         right_ear="Dignitary's Earring",
  752.         left_ring="Chirich Ring +1",
  753.         right_ring="Weatherspoon Ring",
  754.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  755.     }
  756.    
  757.     sets.WS['Weapon Break'] = {
  758.         ammo="Pemphedro Tathlum",
  759.         head="Flam. Zucchetto +2",
  760.         body="Flamma Korazin +2",
  761.         hands="Flam. Manopolas +2",
  762.         legs="Flamma Dirs +2",
  763.         feet="Flam. Gambieras +2",
  764.         neck="Sanctity Necklace",
  765.         waist="Eschan Stone",
  766.         left_ear="Telos Earring",
  767.         right_ear="Dignitary's Earring",
  768.         left_ring="Chirich Ring +1",
  769.         right_ring="Weatherspoon Ring",
  770.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  771.         }
  772.  
  773.     sets.WS.Decimation = {
  774.         ammo="Knobkierrie",
  775.         head={ name="Agoge Mask +3", augments={'Enhances "Savagery" effect',}},
  776.         body={ name="Argosy Hauberk +1", augments={'STR+12','Attack+20','"Store TP"+6',}},
  777.         hands={ name="Argosy Mufflers +1", augments={'STR+20','"Dbl.Atk."+3','Haste+3%',}},
  778.         legs={ name="Argosy Breeches +1", augments={'STR+12','Attack+25','"Store TP"+6',}},
  779.         feet="Flam. Gambieras +2",
  780.         neck="War. Beads +2",
  781.         waist="Fotia Belt",
  782.         left_ear="Cessance Earring",
  783.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  784.         left_ring="Regal Ring",
  785.         right_ring="Niqmaddu Ring",
  786.         back={ name="Cichol's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Damage taken-5%',}},
  787.  
  788.     }
  789.  
  790.     sets.WS.Ruinator = {
  791.     }
  792.  
  793.     -- Mighty Strikes WS Set --
  794.     sets.MS_WS = {
  795.         ammo="Yetshila +1",
  796.         feet={ name="Valorous Greaves", augments={'Accuracy+26','Crit. hit damage +3%','VIT+7','Attack+12',}},
  797.  
  798.     }
  799.  
  800.     sets.Upheaval2250 = {
  801.         ammo="Knobkierrie",
  802.         head={ name="Agoge Mask +3", augments={'Enhances "Savagery" effect',}},
  803.         body="Pumm. Lorica +3",
  804.         hands="Sulev. Gauntlets +2",
  805.         legs="Pumm. Cuisses +3",
  806.         feet="Pumm. Calligae +3",
  807.         neck="War. Beads +2",
  808.         waist="Ioskeha Belt +1",
  809.         left_ear="Telos Earring",
  810.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  811.         left_ring="Epaminondas's Ring",
  812.         right_ring="Niqmaddu Ring",
  813.         back={ name="Cichol's Mantle", augments={'VIT+20','Accuracy+20 Attack+20','VIT+10','Weapon skill damage +10%',}},
  814.     }      
  815.     sets.Upheaval2k = {
  816.         ammo="Knobkierrie",
  817.         head={ name="Agoge Mask +3", augments={'Enhances "Savagery" effect',}},
  818.         body="Pumm. Lorica +3",
  819.         hands="Sulev. Gauntlets +2",
  820.         legs="Sulev. Cuisses +2",
  821.         feet="Sulev. Leggings +2",
  822.         neck="War. Beads +2",
  823.         waist="Ioskeha Belt +1",
  824.         left_ear="Telos Earring",
  825.         right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
  826.         left_ring="Epaminondas's Ring",
  827.         right_ring="Niqmaddu Ring",
  828.         back={ name="Cichol's Mantle", augments={'VIT+20','Accuracy+20 Attack+20','VIT+10','Weapon skill damage +10%',}},
  829.         }
  830.  
  831.     sets.KJTP2250 = {
  832.  
  833.     }
  834.  
  835.     sets.KJTP2k = {
  836.  
  837.     }
  838.     -- JA Sets --
  839.     sets.JA = {}
  840.     sets.JA.Berserk = {feet="Agoge Calligae +1", body="Pumm. Lorica +3", back="Cichol's Mantle"}
  841.     sets.JA.Aggressor = {head="Pumm. Mask +2",body="Agoge Lorica +1"}
  842.     sets.JA["Blood Rage"] = {body="Boii Lorica +1"}
  843.     sets.JA.Warcry = {head="Agoge Mask +3"}
  844.     sets.JA.Tomahawk = {ammo="Thr. Tomahawk",feet="Agoge Calligae +1"}
  845.     sets.JA["Mighty Strikes"] = {hands="Agoge Mufflers +1"}
  846.     sets.JA.Provoke = {
  847.         ammo="Iron Gobbet",
  848.         head="Pummeler's Mask +2",
  849.         body="Souv. Cuirass +1",
  850.         hands="Pumm. Mufflers +2",
  851.         legs="Souv. Diechlings +1",
  852.         feet={ name="Souveran Schuhs +1", augments={'HP+105','Enmity+9','Potency of "Cure" effect received +15%',}},
  853.         neck="Unmoving Collar",
  854.         waist="Goading Belt",
  855.         left_ring="Pernicious Ring",
  856.         right_ring="Chirich Ring +1",
  857.         back="Reiki Cloak",
  858.        
  859.     }
  860.  
  861.     -- Waltz Set --
  862.     sets.Waltz = {}
  863.  
  864.     sets.Precast = {}
  865.     -- Fastcast Set --
  866.     sets.Precast.FastCast = {
  867.         ammo="Staunch Tathlum +1",
  868.         body={ name="Odyss. Chestplate", augments={'Accuracy+17','"Fast Cast"+5','Attack+6',}},
  869.         hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  870.         legs={ name="Eschite Cuisses", augments={'"Mag.Atk.Bns."+25','"Conserve MP"+6','"Fast Cast"+5',}},
  871.         feet={ name="Odyssean Greaves", augments={'Mag. Acc.+12','"Fast Cast"+5','"Mag.Atk.Bns."+4',}},
  872.         neck="Moonbeam Necklace",
  873.         left_ear="Loquac. Earring",
  874.         right_ear="Etiolation Earring",
  875.         left_ring="Rahab Ring",
  876.         right_ring="Rahab Ring",
  877.         waist="Ioskah Belt"
  878.     }
  879.  
  880.     sets.Midcast = {}
  881.     -- Magic Haste Set --
  882.     sets.Midcast.Haste = set_combine(sets.PDT,{
  883.         ammo="Staunch Tathlum +1",
  884.         head={ name="Souv. Schaller +1", augments={'HP+105','Enmity+9','Potency of "Cure" effect received +15%',}},
  885.         body={ name="Odyss. Chestplate", augments={'Accuracy+17','"Fast Cast"+5','Attack+6',}},
  886.         hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  887.         legs={ name="Founder's Hose", augments={'MND+9','Mag. Acc.+13','Attack+14','Breath dmg. taken -4%',}},
  888.         feet={ name="Odyssean Greaves", augments={'Mag. Acc.+12','"Fast Cast"+5','"Mag.Atk.Bns."+4',}},
  889.         neck="Moonbeam Necklace",
  890.         waist="Ioskeha Belt +1",
  891.         left_ear="Loquac. Earring",
  892.         right_ear="Etiolation Earring",
  893.         left_ring="Defending Ring",
  894.         right_ring="Evanescence Ring",
  895.         back="Moonbeam Cape"
  896.    
  897.     })
  898.  
  899.     sets.organizer = {
  900.         item="Sublime Sushi +1",
  901.         item="Sublime Sushi",
  902.         item="Echo Drops",
  903.         ammo="Thr. Tomahawk",
  904.     }
  905. end
  906.  
  907. function pretarget(spell,action)
  908.     if spell.action_type == 'Magic' and buffactive.silence then -- Auto Use Echo Drops If You Are Silenced --
  909.         cancel_spell()
  910.         send_command('input /item "Echo Drops" <me>')
  911.     elseif spell.english == "Seigan" and buffactive.Seigan then -- Change Seigan To Third Eye If Seigan Is On --
  912.         cancel_spell()
  913.         send_command('ThirdEye')
  914.     elseif spell.english == "Meditate" and player.tp > 2900 then -- Cancel Meditate If TP Is Above 2900 --
  915.         cancel_spell()
  916.         add_to_chat(123, spell.name .. ' Canceled: ['..player.tp..' TP]')
  917.  
  918.     end
  919. end
  920.  
  921. function precast(spell,action)
  922.     if spell.type == "WeaponSkill" then
  923.             equipSet = sets.WS
  924.             if equipSet[spell.english] then
  925.                 equipSet = equipSet[spell.english]
  926.             end
  927.             if Attack == 'ON' then
  928.                 equipSet = equipSet["ATT"]
  929.             end
  930.             if equipSet[AccArray[AccIndex]] then
  931.                 equipSet = equipSet[AccArray[AccIndex]]
  932.             end
  933.             if elements[spell.name] and elements[spell.name]:contains(world.day_element) then
  934.                 equipSet = set_combine(equipSet,elements.equip)
  935.             end
  936.             if buffactive["Mighty Strikes"] then -- Equip MS_WS Set When You Have Mighty Strikes On --
  937.                 equipSet = set_combine(equipSet,sets.MS_WS)
  938.             end
  939.             if spell.english == "Ukko's Fury" or spell.english == "King's Justice" then
  940.                 if world.time <= (7*60) or world.time >= (17*60) then -- Equip Lugra Earring +1 From Dusk To Dawn --
  941.                     equipSet = set_combine(equipSet,{left_ear="Lugra Earring +1"})
  942.                 end
  943.             end
  944.             if spell.english == "Upheaval" then
  945.                 if player.tp > 2750 then
  946.                     equipSet = sets.Upheaval2250
  947.  
  948.                  elseif player.tp > 2000 then
  949.                     equipSet = sets.Upheaval2k
  950.                  end
  951.                  
  952.                 if world.time <= (760) or world.time >= (1760) then -- Equip Lugra Earring +1 From Dusk To Dawn --
  953.                     equipSet = set_combine(equipSet,{left_ear="Lugra Earring +1"})
  954.                 end
  955.             end
  956.             equip(equipSet)
  957.     elseif spell.type == "JobAbility" then
  958.         if sets.JA[spell.english] then
  959.             equip(sets.JA[spell.english])
  960.         end
  961.     elseif spell.action_type == 'Magic' then
  962.         if spell.english == 'Utsusemi: Ni' then
  963.             if buffactive['Copy Image (3)'] then
  964.                 cancel_spell()
  965.                 add_to_chat(123, spell.name .. ' Canceled: [3 Images]')
  966.                 return
  967.             else
  968.                 equip(sets.Precast.FastCast)
  969.             end
  970.         else
  971.             equip(sets.Precast.FastCast)
  972.         end
  973.     elseif spell.type == "Waltz" then
  974.         refine_waltz(spell,action)
  975.         equip(sets.Waltz)
  976.     elseif spell.english == 'Spectral Jig' and buffactive.Sneak then
  977.         cast_delay(0.2)
  978.         send_command('cancel Sneak')
  979.     end
  980.     if Twilight == 'Twilight' then
  981.         equip(sets.Twilight)
  982.     end
  983. end
  984.  
  985. function midcast(spell,action)
  986.     if spell.action_type == 'Magic' then
  987.         if spell.english:startswith('Utsusemi') then
  988.             if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)'] or buffactive['Copy Image (3)']) then -- Cancel Copy Image 1, 2 & 3 For Utsusemi: Ichi --
  989.                 send_command('@wait 1.7;cancel Copy Image*')
  990.             end
  991.             equip(sets.Midcast.Haste)
  992.         elseif spell.english == 'Monomi: Ichi' then -- Cancel Sneak --
  993.             if buffactive['Sneak'] then
  994.                 send_command('@wait 1.7;cancel sneak')
  995.             end
  996.             equip(sets.Midcast.Haste)
  997.         else
  998.             equip(sets.Midcast.Haste)
  999.         end
  1000.     end
  1001. end
  1002.  
  1003. function aftercast(spell,action)
  1004.     if not spell.interrupted then
  1005.         if spell.type == "WeaponSkill" then
  1006.             send_command('wait 0.2;gs c TP')
  1007.         elseif spell.english == "Blood Rage" then -- Blood Rage Timer/Countdown --
  1008.             timer_blood_rage()
  1009.             send_command('wait 50;input /echo '..spell.name..': [WEARING OFF IN 10 SEC.];wait 10;input /echo '..spell.name..': [OFF]')
  1010.         elseif spell.english == "Tomahawk" then -- Tomahawk Timer/Countdown --
  1011.             timer_tomahawk()
  1012.             send_command('wait 80;input /echo '..spell.name..': [WEARING OFF IN 10 SEC.];wait 10;timers delete "Tomahawk";input /echo '..spell.name..': [OFF]')
  1013.         end
  1014.     end
  1015.     status_change(player.status)
  1016. end
  1017.  
  1018. function status_change(new,old)
  1019.     check_equip_lock()
  1020.     if Armor == 'PDT' then
  1021.         equip(sets.PDT)
  1022.     elseif Armor == 'MDT' then
  1023.         equip(sets.MDT)
  1024.     elseif Armor == 'Kiting' then
  1025.         equip(sets.Kiting)
  1026. --[[    elseif Armor == 'CP' then
  1027.         send_command('gs disable back')]]--
  1028.     elseif new == 'Engaged' then
  1029.         equipSet = sets.TP
  1030.         if Armor == 'Hybrid' and equipSet["Hybrid"] then
  1031.             equipSet = equipSet["Hybrid"]
  1032.         end
  1033.         if equipSet[WeaponArray[WeaponIndex]] then
  1034.             equipSet = equipSet[WeaponArray[WeaponIndex]]
  1035.         end
  1036.         if equipSet[AccArray[AccIndex]] then
  1037.             equipSet = equipSet[AccArray[AccIndex]]
  1038.         end
  1039.         if buffactive["Aftermath: Lv.3"] and equipSet["AM3"] then
  1040.             if Rancor == 'ON' then -- Default Rancor Toggle Is Rancorous Mantle --
  1041.                 equipSet = set_combine(equipSet["AM3"],sets.TP.Rancor)
  1042.             else -- Use Rancor Toggle For Atheling Mantle --
  1043.                 equipSet = equipSet["AM3"]
  1044.             end
  1045.         end
  1046.         if buffactive.Aftermath and equipSet["AM"] then
  1047.             equipSet = equipSet["AM"]
  1048.         end
  1049.         if buffactive["Mighty Strikes"] then -- Mighty Strikes TP Set --
  1050.             equipSet = set_combine(equipSet,sets.TP.MS)
  1051.         end
  1052.         equip(equipSet)
  1053.     else
  1054.         equipSet = sets.Idle
  1055.         if equipSet[IdleArray[IdleIndex]] then
  1056.             equipSet = equipSet[IdleArray[IdleIndex]]
  1057.         end
  1058.         if equipSet[WeaponArray[WeaponIndex]] then
  1059.             equipSet = equipSet[WeaponArray[WeaponIndex]]
  1060.         end
  1061.         if buffactive['Reive Mark'] then -- Equip Ygnas's Resolve +1 During Reive --
  1062.             equipSet = set_combine(equipSet,{neck="Ygnas's Resolve +1"})
  1063.         end
  1064.         equip(equipSet)
  1065.     end
  1066.     if Twilight == 'Twilight' then
  1067.         equip(sets.Twilight)
  1068.     end
  1069. end
  1070.  
  1071. function buff_change(buff,gain)
  1072.     buff = string.lower(buff)
  1073.     if buff == "aftermath: lv.3" then -- AM3 Timer/Countdown --
  1074.         if gain then
  1075.             send_command('timers create "Aftermath: Lv.3" 180 down;wait 150;input /echo Aftermath: Lv.3 [WEARING OFF IN 30 SEC.];wait 15;input /echo Aftermath: Lv.3 [WEARING OFF IN 15 SEC.];wait 5;input /echo Aftermath: Lv.3 [WEARING OFF IN 10 SEC.]')
  1076.         else
  1077.             send_command('timers delete "Aftermath: Lv.3"')
  1078.             add_to_chat(123,'AM3: [OFF]')
  1079.         end
  1080.     elseif buff == "blood rage" and not gain then
  1081.         send_command('timers delete "Blood Rage"')
  1082.     elseif buff == 'weakness' then -- Weakness Timer --
  1083.         if gain then
  1084.             send_command('timers create "Weakness" 300 up')
  1085.         else
  1086.             send_command('timers delete "Weakness"')
  1087.         end
  1088.     end
  1089.     if buff == "sleep" and gain and player.hp > 200 and player.status == "Engaged" then -- Equip Berserker's Torque When You Are Asleep & Have 200+ HP --
  1090.         equip({neck="Berserker's Torque"})
  1091.     else
  1092.         if not midaction() then
  1093.             status_change(player.status)
  1094.         end
  1095.     end
  1096. end
  1097.  
  1098. -- In Game: //gs c (command), Macro: /console gs c (command), Bind: gs c (command) --
  1099. function self_command(command)
  1100.     if command == 'C1' then -- Accuracy Toggle --
  1101.         AccIndex = (AccIndex % #AccArray) + 1
  1102.         add_to_chat(158,'Accuracy Level: ' .. AccArray[AccIndex])
  1103.         status_change(player.status)
  1104.     elseif command == 'C2' then -- Main Weapon Toggle --
  1105.         WeaponIndex = (WeaponIndex % #WeaponArray) + 1
  1106.         add_to_chat(158,'Main Weapon: '..WeaponArray[WeaponIndex])
  1107.         status_change(player.status)
  1108.     elseif command == 'C5' then -- Auto Update Gear Toggle --
  1109.         status_change(player.status)
  1110.         add_to_chat(158,'Auto Update Gear')
  1111.     elseif command == 'C16' then -- Hybrid Toggle --
  1112.         if Armor == 'Hybrid' then
  1113.             Armor = 'None'
  1114.             add_to_chat(123,'Hybrid Set: [Unlocked]')
  1115.         else
  1116.             Armor = 'Hybrid'
  1117.             add_to_chat(158,'Hybrid Set: '..AccArray[AccIndex])
  1118.         end
  1119.         status_change(player.status)
  1120.     elseif command == 'C7' then -- PDT Toggle --
  1121.         if Armor == 'PDT' then
  1122.             Armor = 'None'
  1123.             add_to_chat(123,'PDT Set: [Unlocked]')
  1124.         else
  1125.             Armor = 'PDT'
  1126.             add_to_chat(158,'PDT Set: [Locked]')
  1127.         end
  1128.         status_change(player.status)
  1129.     elseif command == 'C15' then -- MDT Toggle --
  1130.         if Armor == 'MDT' then
  1131.             Armor = 'None'
  1132.             add_to_chat(123,'MDT Set: [Unlocked]')
  1133.         else
  1134.             Armor = 'MDT'
  1135.             add_to_chat(158,'MDT Set: [Locked]')
  1136.         end
  1137.         status_change(player.status)
  1138.     elseif command == 'C12' then -- Kiting Toggle --
  1139.         if Armor == 'Kiting' then
  1140.             Armor = 'None'
  1141.             add_to_chat(123,'Kiting Set: [Unlocked]')
  1142.         else
  1143.             Armor = 'Kiting'
  1144.             add_to_chat(158,'Kiting Set: [Locked]')
  1145.         end
  1146.         status_change(player.status)
  1147.     elseif command == 'C10' then -- Retaliation Toggle --
  1148.         if Retaliation == 'ON' then
  1149.             Retaliation = 'OFF'
  1150.             add_to_chat(123,'Retaliation Set: [Unlocked]')
  1151.         else
  1152.             Retaliation = 'ON'
  1153.             add_to_chat(158,'Retaliation Set: [Locked]')
  1154.         end
  1155.         status_change(player.status)
  1156.     elseif command == 'C9' then -- Attack Toggle --
  1157.         if Attack == 'ON' then
  1158.             Attack = 'OFF'
  1159.             add_to_chat(123,'Attack: [OFF]')
  1160.         else
  1161.             Attack = 'ON'
  1162.             add_to_chat(158,'Attack: [ON]')
  1163.         end
  1164.         status_change(player.status)
  1165.     elseif command == 'C3' then -- Twilight Toggle --
  1166.         if Twilight == 'Twilight' then
  1167.             Twilight = 'None'
  1168.             add_to_chat(123,'Twilight Set: [Unlocked]')
  1169.         else
  1170.             Twilight = 'Twilight'
  1171.             add_to_chat(158,'Twilight Set: [locked]')
  1172.         end
  1173.         status_change(player.status)
  1174.     elseif command == 'C6' then -- Idle Toggle --
  1175.         IdleIndex = (IdleIndex % #IdleArray) + 1
  1176.         add_to_chat(158,'Idle Set: ' .. IdleArray[IdleIndex])
  1177.         status_change(player.status)
  1178.     elseif command == 'TP' then
  1179.         add_to_chat(158,'TP Return: ['..tostring(player.tp)..']')
  1180.     elseif command:match('^SC%d$') then
  1181.         send_command('//' .. sc_map[command])
  1182.     end
  1183. end
  1184.  
  1185.  
  1186. function check_equip_lock() -- Lock Equipment Here --
  1187.         if player.equipment.left_ring == "Warp Ring" or player.equipment.left_ring == "Trizec Ring" or player.equipment.right_ring == "Warp Ring" or player.equipment.right_ring == "Facility Ring" then
  1188.                disable('ring1','ring2')
  1189.         elseif player.equipment.back == "Mecisto. Mantle" then
  1190.                 disable('back')
  1191.         else
  1192.                 enable('ring1','ring2','back')
  1193.         end
  1194. end
  1195.  
  1196.  
  1197. function timer_blood_rage()
  1198.     local duration = 60
  1199.     send_command('timers create "Blood Rage" '..tostring(duration)..' down')
  1200. end
  1201.  
  1202. function timer_tomahawk()
  1203.     local duration = 90
  1204.     send_command('timers create "Tomahawk" '..tostring(duration)..' down')
  1205. end
  1206.  
  1207. function refine_waltz(spell,action)
  1208.     if spell.type ~= 'Waltz' then
  1209.         return
  1210.     end
  1211.  
  1212.     if spell.name == "Healing Waltz" or spell.name == "Divine Waltz" or spell.name == "Divine Waltz II" then
  1213.         return
  1214.     end
  1215.  
  1216.     local newWaltz = spell.english
  1217.     local waltzID
  1218.  
  1219.     local missingHP
  1220.  
  1221.     if spell.target.type == "SELF" then
  1222.         missingHP = player.max_hp - player.hp
  1223.     elseif spell.target.isallymember then
  1224.         local target = find_player_in_alliance(spell.target.name)
  1225.         local est_max_hp = target.hp / (target.hpp/100)
  1226.         missingHP = math.floor(est_max_hp - target.hp)
  1227.     end
  1228.  
  1229.     if missingHP ~= nil then
  1230.         if player.sub_job == 'DNC' then
  1231.             if missingHP < 40 and spell.target.name == player.name then
  1232.                 add_to_chat(8,'Full HP!')
  1233.                 cancel_spell()
  1234.                 return
  1235.             elseif missingHP < 150 then
  1236.                 newWaltz = 'Curing Waltz'
  1237.                 waltzID = 190
  1238.             elseif missingHP < 300 then
  1239.                 newWaltz = 'Curing Waltz II'
  1240.                 waltzID = 191
  1241.             else
  1242.                 newWaltz = 'Curing Waltz III'
  1243.                 waltzID = 192
  1244.             end
  1245.         else
  1246.             return
  1247.         end
  1248.     end
  1249.  
  1250.     local waltzTPCost = {['Curing Waltz'] = 20, ['Curing Waltz II'] = 35, ['Curing Waltz III'] = 50}
  1251.     local tpCost = waltzTPCost[newWaltz]
  1252.  
  1253.     local downgrade
  1254.  
  1255.     if player.tp < tpCost and not buffactive.trance then
  1256.  
  1257.         if player.tp < 20 then
  1258.             add_to_chat(8, 'Insufficient TP ['..tostring(player.tp)..']. Cancelling.')
  1259.             cancel_spell()
  1260.             return
  1261.         elseif player.tp < 35 then
  1262.             newWaltz = 'Curing Waltz'
  1263.         elseif player.tp < 50 then
  1264.             newWaltz = 'Curing Waltz II'
  1265.         end
  1266.  
  1267.         downgrade = 'Insufficient TP ['..tostring(player.tp)..']. Downgrading to '..newWaltz..'.'
  1268.     end
  1269.  
  1270.     if newWaltz ~= spell.english then
  1271.         send_command('@input /ja "'..newWaltz..'" '..tostring(spell.target.raw))
  1272.         if downgrade then
  1273.             add_to_chat(158, downgrade)
  1274.         end
  1275.         cancel_spell()
  1276.         return
  1277.     end
  1278.  
  1279.     if missingHP > 0 then
  1280.         add_to_chat(158,'Trying to cure '..tostring(missingHP)..' HP using '..newWaltz..'.')
  1281.     end
  1282. end
  1283.  
  1284. function find_player_in_alliance(name)
  1285.     for i,v in ipairs(alliance) do
  1286.         for k,p in ipairs(v) do
  1287.             if p.name == name then
  1288.                 return p
  1289.             end
  1290.         end
  1291.     end
  1292. end
  1293.  
  1294. function sub_job_change(newSubjob, oldSubjob)
  1295.     select_default_macro_book()
  1296. end
  1297.  
  1298. function set_macro_page(set,book)
  1299.     if not tonumber(set) then
  1300.         add_to_chat(123,'Error setting macro page: Set is not a valid number ('..tostring(set)..').')
  1301.         return
  1302.     end
  1303.     if set < 1 or set > 10 then
  1304.         add_to_chat(123,'Error setting macro page: Macro set ('..tostring(set)..') must be between 1 and 10.')
  1305.         return
  1306.     end
  1307.  
  1308.     if book then
  1309.         if not tonumber(book) then
  1310.             add_to_chat(123,'Error setting macro page: book is not a valid number ('..tostring(book)..').')
  1311.             return
  1312.         end
  1313.         if book < 1 or book > 20 then
  1314.             add_to_chat(123,'Error setting macro page: Macro book ('..tostring(book)..') must be between 1 and 20.')
  1315.             return
  1316.         end
  1317.         send_command('@input /macro book '..tostring(book)..';wait .1;input /macro set '..tostring(set))
  1318.     else
  1319.         send_command('@input /macro set '..tostring(set))
  1320.     end
  1321. end
  1322.  
  1323. function select_default_macro_book()
  1324.     -- Default macro set/book
  1325.     if player.sub_job == 'SAM' then
  1326.         set_macro_page(1, 5)
  1327.     elseif player.sub_job == 'NIN' then
  1328.         set_macro_page(2, 5)
  1329.     elseif player.sub_job == 'BLU' then
  1330.         set_macro_page(3, 5)
  1331.     elseif player.sub_job == 'DNC' then
  1332.         set_macro_page(4, 5)
  1333.     else
  1334.         set_macro_page(5, 5)
  1335.     end
  1336. 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