daily pastebin goal
39%
SHARE
TWEET

Untitled

a guest Jul 20th, 2018 231 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. include('organizer-lib') -- my personal augs file, remove
  2.  
  3. --[[
  4. Things I need to add/ could use help adding are....
  5.  
  6. 1.) line ~1280 : how to get holy waters to equip rings
  7. 2.) Add a rule that when doomed - will auto matically use holy waters w/ rings
  8. 3.) a Toggle to lock weapon/sub for when I was to use sword/shield/gax manuallly for armor break etc
  9. 4.) rule that when arcane circle is up, locks founder's body for tp and ws gear w/ added stp for difference
  10. 5.) a check to make sure sams roll is lucky or not, so only use .STP sets when lucky rolls and not-unlucky
  11. 6.) figure out weapon customized PDT sets, hybrid works currently, PDT does not and idk why.
  12. 7.) when using a ws, will let me know self sc options through chat
  13.  
  14. ]]--
  15.  
  16.  
  17. function get_sets()
  18.    
  19. -- 3 Levels Of Accuracy Sets For TP/WS/Hybrid/Stun. First Set Is LowACC.
  20. --Add More ACC Sets If Needed Then Create Your New ACC Below.
  21.     AccIndex = 1
  22.     AccArray = {"LowACC","MidACC","HighACC"}
  23.     MaccIndex = 1
  24.     MaccArray = {"Potency","Resist","Duration"}
  25. --Can Delete Any Weapons/Sets That You Don't Need Or Replace/Add The New Weapons That You Want To Use. --
  26.     WeaponIndex = 1
  27.     WeaponArray = {"Ragnarok","Caladbolg","Apocalypse","Anguta"} --,"Liberator"
  28.     IdleIndex = 1
  29.     IdleArray = {"Movement","Regen","Refresh","Regain"} -- Default Idle Set Is Movement --
  30.     DarkSealIndex = 0 --Index for Dark Seal headpiece Potency(0) vs Duration(1)
  31.     --add_to_chat(158,'DarkSeal Potency: [On]')
  32.     Armor = 'None'
  33.     Twilight = 'None'
  34.     Samurai_Roll = 'ON' -- Set Default SAM Roll ON or OFF Here --
  35.     target_distance = 5 -- Set Default Distance Here --
  36.     select_default_macro_book() -- Change Default Macro Book At The End --
  37.  
  38.     Ankou={}
  39.     Ankou.WSDSTR=   { name="Ankou's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}}
  40.     Ankou.DA=       { name="Ankou's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10',}}
  41.     Ankou.WSDVIT=   { name="Ankou's Mantle", augments={'VIT+20','Accuracy+20 Attack+20','VIT+10','Weapon skill damage +10%',}}
  42.     Ankou.ACC=      { name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}}
  43.     Ankou.FC=       { name="Ankou's Mantle", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Fast Cast"+10',}}
  44.     Ankou.STP=      { name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Store TP"+10',}}
  45.     Ankou.INTDA=    { name="Ankou's Mantle", augments={'INT+20','Accuracy+20 Attack+20','INT+10','"Dbl.Atk."+10',}}
  46.     Ankou.MEVA=     { name="Ankou's Mantle", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Fast Cast"+10',}}
  47.    
  48.    
  49.     send_command('bind f9 gs c acc')
  50.                 send_command('bind f10 gs c idle')
  51.                 send_command('bind f11 gs c pdt')
  52.                 send_command('bind f12 gs c hybrid')
  53.                 send_command('bind ^f9 gs c weapon')
  54.                 send_command('bind ^f10 gs c update')
  55.                 send_command('bind ` input /ma Stun <t>; wait 0.5; input /p Casting STUN on <t>.')
  56.                 send_command('bind delete input /ws "Torcleaver" <t>')
  57.                 send_command('bind end input /ws "Resolution" <t>')
  58.    
  59.     sets.Idle = {          
  60.         ammo="Brigantia Pebble",
  61.     head="Sulevia's Mask +2",
  62.     body="Sulevia's Plate. +2",
  63.     hands="Sulev. Gauntlets +2",
  64.     legs="Sulev. Cuisses +2",
  65.     feet="Sulev. Leggings +2",
  66.     neck="Ainia Collar",
  67.     waist="Ioskeha Belt",
  68.     left_ear="Dedition Earring",
  69.     right_ear="Telos Earring",
  70.     left_ring="Defending Ring",
  71.     right_ring="Gelatinous Ring +1",
  72.     back="Solemnity Cape",}
  73.  
  74.         -- Regen Set --
  75.     sets.Idle.Regen = set_combine(sets.Idle,{ring2="Chirich Ring"})
  76.     sets.Idle.Regen.Liberator = set_combine(sets.Idle.Regen,{main="Liberator"})
  77.     sets.Idle.Regen.Ragnarok = set_combine(sets.Idle.Regen,{main="Ragnarok"})
  78.     sets.Idle.Regen.Caladbolg = set_combine(sets.Idle.Regen,{main="Caladbolg"})
  79.     sets.Idle.Regen.Apocalypse = set_combine(sets.Idle.Regen,{main="Apocalypse"})
  80.     sets.Idle.Regen.Anguta = set_combine(sets.Idle.Regen,{main="Anguta"})
  81.  
  82.         -- Movement Sets --
  83.     sets.Idle.Movement = set_combine(sets.Idle,{legs="Carmine Cuisses +1"})
  84.     sets.Idle.Movement.Liberator = set_combine(sets.Idle.Movement,{main="Liberator"})
  85.     sets.Idle.Movement.Ragnarok = set_combine(sets.Idle.Movement,{main="Ragnarok"})
  86.     sets.Idle.Movement.Caladbolg = set_combine(sets.Idle.Movement,{main="Caladbolg"})
  87.     sets.Idle.Movement.Apocalypse = set_combine(sets.Idle.Movement,{main="Apocalypse"})
  88.     sets.Idle.Movement.Anguta = set_combine(sets.Idle.Movement,{main="Anguta"})
  89.  
  90.         -- Refresh Sets --
  91.     sets.Idle.Refresh = set_combine(sets.Idle,{neck="Vim Torque +1",body="Lugra Cloak +1"})
  92.     sets.Idle.Refresh.Liberator = set_combine(sets.Idle.Refresh,{main="Liberator"})
  93.     sets.Idle.Refresh.Ragnarok = set_combine(sets.Idle.Refresh,{main="Ragnarok"})
  94.     sets.Idle.Refresh.Caladbolg = set_combine(sets.Idle.Refresh,{main="Caladbolg"})
  95.     sets.Idle.Refresh.Apocalypse = set_combine(sets.Idle.Refresh,{main="Apocalypse"})
  96.     sets.Idle.Refresh.Anguta = set_combine(sets.Idle.Refresh,{main="Anguta"})
  97.  
  98.         -- Regain Sets --
  99.     sets.Idle.Regain = set_combine(sets.Idle,{head="Ratri Sallet",
  100.         body="Sulevia's Plate. +2",
  101.     hands="Sulev. Gauntlets +2",
  102.     legs="Sulev. Cuisses +2",
  103.     feet="Sulev. Leggings +2",
  104.     neck="Ainia Collar",
  105.     waist="Ioskeha Belt",
  106.     left_ear="Dedition Earring",
  107.     right_ear="Telos Earring",
  108.     left_ring="Defending Ring",
  109.     right_ring="Gelatinous Ring +1",
  110.     back="Solemnity Cape",})
  111.     sets.Idle.Regain.Liberator = set_combine(sets.Idle.Regain,{main="Liberator"})
  112.     sets.Idle.Regain.Ragnarok = set_combine(sets.Idle.Regain,{main="Ragnarok"})
  113.     sets.Idle.Regain.Caladbolg = set_combine(sets.Idle.Regain,{main="Caladbolg"})
  114.     sets.Idle.Regain.Apocalypse = set_combine(sets.Idle.Regain,{main="Apocalypse"})
  115.     sets.Idle.Regain.Anguta = set_combine(sets.Idle.Regain,{main="Anguta"})
  116.  
  117.     sets.Twilight = set_combine(sets.Idle.Regen,{head="Twilight Helm",body="Twilight Mail"})
  118.  
  119.     -- JA Sets --
  120.     sets.JA = {}
  121.     sets.JA['Diabolic Eye'] = {hands="Fallen's finger gauntlets +1"}
  122.     sets.JA['Arcane Circle'] = {feet="Ignominy Sollerets +1"}
  123.     sets.JA['Nether Void'] = {legs="Heath. Flanchard +1"}
  124.     sets.JA['Souleater'] = {head="Ignominy Burgonet +3"}
  125.     sets.JA['Weapon Bash'] = {hands="Ignominy Gauntlets +1"}
  126.     sets.JA['Last Resort'] = {back="Ankou's Mantle",feet="Fallen's Sollerets +1"}
  127.     sets.JA['Dark Seal'] = {head="Fallen's Burgeonet +1"}
  128.     sets.JA['Blood Weapon'] = {body="Fallen's Cuirass +1"}
  129.  
  130.     sets.Precast = {}
  131.     -- Fastcast Set --
  132.     sets.Precast.FastCast = {
  133.         ammo="Sapience Orb",
  134.     head="Sulevia's Mask +2",
  135.     body={ name="Odyss. Chestplate", augments={'"Fast Cast"+5','CHR+4','Attack+4',}},
  136.     hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  137.     legs="Arjuna Breeches",
  138.     feet={ name="Odyssean Greaves", augments={'Mag. Acc.+1','"Fast Cast"+5','MND+4',}},
  139.     neck="Voltsurge Torque",
  140.     waist="Ioskeha Belt",
  141.     left_ear="Enchntr. Earring +1",
  142.     right_ear="Etiolation Earring",
  143.     left_ring="Kishar Ring",
  144.     right_ring="Prolix Ring",
  145.     back="Solemnity Cape"} -- 11
  146.         --72 FC
  147.  
  148.     -- Precast Dark Magic --
  149.     sets.Precast['Dark Magic'] = set_combine(sets.Precast.FastCast,{})
  150.  
  151.     -- Midcast Base Set --
  152.     sets.Midcast = {}
  153.    
  154.     -- Magic Haste Set --
  155.     sets.Midcast.Haste = set_combine(sets.PDT,{})
  156.  
  157.     -- Dark Magic Set --
  158.     sets.Midcast['Dark Magic'] = {
  159.         head={ name="Fall. Burgeonet +1", augments={'Enhances "Dark Seal" effect',}},
  160.             neck="Erra Pendant",
  161.             ear1="Dark Earring",
  162.             body="Carm. Scale Mail",
  163.             hands="Fall. Fin. Gaunt. +1",
  164.             ring1="Stikini Ring",
  165.             ring2="Evanescence Ring",
  166.             back="Niht Mantle",
  167.             waist="Casso Sash",
  168.             legs="Eschite Cuisses",
  169.             feet="Ratri Sollerets"}
  170.    
  171.     -- Absorb Set --
  172.     sets.Midcast.Absorb = {
  173.         ammo="Pemphredo Tathlum",
  174.     ammo="Pemphredo Tathlum",
  175.     head="Ig. Burgonet +3",
  176.     body="Carmine Scale Mail",
  177.     hands="Pavor Gauntlets",
  178.     legs={ name="Eschite Cuisses", augments={'Mag. Evasion+15','Spell interruption rate down +15%','Enmity+7',}},
  179.     feet="Ratri Sollerets",
  180.     neck="Erra Pendant",
  181.     waist="Casso Sash",
  182.     left_ear="Dark Earring",
  183.     right_ear="Digni. Earring",
  184.     left_ring="Kishar Ring",
  185.     right_ring="Evanescence Ring",
  186.     back="Chuparrosa Mantle",}
  187.     sets.Midcast.Absorb.Resist = set_combine(sets.Midcast.Absorb,{
  188.         head="Carmine Mask +1",
  189.         hands="Leyline Gloves",
  190.         left_ring="Regal Ring",
  191.         right_ring="Stikini Ring",
  192.         waist="Eschan Stone",
  193.         feet="Ignominy Sollerets +3",
  194.         back=Ankou.FC})
  195.     sets.Midcast.Absorb.Duration = set_combine(sets.Midcast.Absorb,{hands="Onyx Gadlings", legs="Black Cuisses"})
  196.            
  197.     -- Absorb-TP Set --
  198.     sets.Midcast['Absorb-TP'] = set_combine(sets.Midcast.Absorb,{hands="Heathen's Gauntlets +1"})
  199.  
  200.     -- Stun Sets --
  201.     sets.Midcast.Stun = set_combine(sets.Midcast['Dark Magic'],{
  202.         head="Carmine Mask +1",
  203.         hands="Leyline Gloves",
  204.         left_ring="Regal Ring",
  205.         waist="Eschan Stone",
  206.         legs="Eschite cuisses",
  207.         feet="Ignominy Sollerets +3",
  208.         back=Ankou.FC})
  209.     sets.Midcast.Stun.Resist = set_combine(sets.Midcast.Stun,{})
  210.     sets.Midcast.Stun.Duration = set_combine(sets.Midcast.Stun,{left_ring="Stikini Ring",feet="Ratri Sollerets",})
  211.  
  212.     -- Endark Set --
  213.     sets.Midcast['Endark II'] = {
  214.         head={ name="Fall. Burgeonet +1", augments={'Enhances "Dark Seal" effect',}},
  215.     body="Carmine Scale Mail",
  216.     hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
  217.     legs={ name="Eschite Cuisses", augments={'Mag. Evasion+15','Spell interruption rate down +15%','Enmity+7',}},
  218.     feet="Ratri Sollerets",
  219.     neck="Incanter's Torque",
  220.     waist="Casso Sash",
  221.     left_ear="Loquac. Earring",
  222.     right_ear="Dark Earring",
  223.     left_ring="Evanescence Ring",
  224.     right_ring="Stikini Ring",
  225.     back={ name="Niht Mantle", augments={'Attack+8','Dark magic skill +7','"Drain" and "Aspir" potency +20',}}}
  226.  
  227.     -- Enfeebling Magic Set --
  228.     sets.Midcast['Enfeebling Magic'] = {
  229.         ammo="Pemphredo Tathlum",
  230.         head="Carmine Mask +1",
  231.         body="Ignominy Cuirass +3",
  232.         hands="Leyline Gloves",
  233.         legs="Eschite cuisses",
  234.         feet="Ignominy Sollerets +3",
  235.         neck="Sanctity necklace",
  236.         waist="Eschan Stone",
  237.         left_ear="Loquacious Earring",
  238.         right_ear="Hermetic Earring",
  239.         left_ring="Stikini Ring",
  240.         right_ring="Stikini Ring",}
  241.  
  242.     -- Elemental Magic Set --
  243.     sets.Midcast['Elemental Magic'] = {
  244.         ammo="Pemphredo Tathlum",
  245.         head="Carmine Mask +1",
  246.         body="Carmine Scale Mail",
  247.         hands="Leyline gloves",
  248.         legs="Eschite Cuisses",
  249.         feet="Ignominy Sollerets +3",
  250.         neck="Sanctity necklace",
  251.         waist="Eschan Stone",
  252.         left_ear="Hecate's Earring",
  253.         right_ear="Friomisi Earring",
  254.         left_ring="Stikini Ring",
  255.         right_ring="Shiva Ring",}
  256.  
  257.     -- Dread Spikes Set --
  258.     sets.Midcast['Dread Spikes'] = {
  259.         ammo="Psilomene",
  260.     head="Ratri Sallet",
  261.     body="Heathen's Cuirass +1",
  262.     hands="Ratri Gadlings",
  263.     legs="Ratri Cuisses",
  264.     feet="Ratri Sollerets",
  265.     neck="Sanctity Necklace",
  266.     waist="Eschan Stone",
  267.     left_ear="Etiolation Earring",
  268.     right_ear="Calamitous Earring",
  269.     left_ring="Regal Ring",
  270.     right_ring="Etana Ring",
  271.     back="Reiki Cloak"}
  272.        
  273.     sets.Midcast.Drain = {
  274.         ammo="Pemphredo Tathlum",
  275.     head="Fallen's Burgeonet +1",head={ name="Fall. Burgeonet +1", augments={'Enhances "Dark Seal" effect',}},
  276.     body="Carmine Scale Mail",
  277.     hands="Fallen's Finger Gauntlets +1",
  278.     legs={ name="Eschite Cuisses", augments={'Mag. Evasion+15','Spell interruption rate down +15%','Enmity+7',}},
  279.     feet="Ratri Sollerets",
  280.     neck="Erra Pendant",
  281.     waist="Casso Sash",
  282.     left_ear="Hirudinea Earring",
  283.     right_ear="Digni. Earring",
  284.     left_ring="Archon Ring",
  285.     right_ring="Evanescence Ring",
  286.     back={ name="Niht Mantle", augments={'Attack+8','Dark magic skill +7','"Drain" and "Aspir" potency +20',}}}
  287.  
  288.     sets.Midcast.Aspir = set_combine(sets.Midcast.Drain, {})
  289.    
  290.     sets.MAXDrain = {main="Misanthropy",}
  291.    
  292.         -- TP Base Set --
  293.     sets.TP = {}
  294. -------------------------------------------------------------------------------------------------------------------------------------------------------------------
  295. ---------------------------------------------------------------- LIBERATOR SETS -----------------------------------------------------------------------------------
  296. -------------------------------------------------------------------------------------------------------------------------------------------------------------------
  297.    
  298.     -- Liberator(AM3 Down) TP Sets --
  299.     sets.TP.Liberator = {main="Liberator",}
  300.     sets.TP.Liberator.MidACC = set_combine(sets.TP.Liberator,{})
  301.     sets.TP.Liberator.HighACC = set_combine(sets.TP.Liberator.MidACC,{})
  302.  
  303.     -- Liberator(AM3 Up) TP Sets --
  304.     sets.TP.Liberator.AM3 = set_combine(sets.TP.Liberator,{})
  305.     sets.TP.Liberator.MidACC.AM3 = set_combine(sets.TP.Liberator.AM3,{})
  306.     sets.TP.Liberator.HighACC.AM3 = set_combine(sets.TP.Liberator.MidACC.AM3,{})
  307.  
  308.     -- Liberator(AM3 Down: High Haste) TP Sets --
  309.     sets.TP.Liberator.HighHaste = set_combine(sets.TP.Liberator,{})
  310.     sets.TP.Liberator.MidACC.HighHaste = set_combine(sets.TP.Liberator.HighHaste,{})
  311.     sets.TP.Liberator.HighACC.HighHaste = set_combine(sets.TP.Liberator.MidACC.HighHaste,{})
  312.  
  313.     -- Liberator(AM3 Up: High Haste) TP Sets --
  314.     sets.TP.Liberator.AM3_HighHaste = set_combine(sets.TP.Liberator.AM3,{})
  315.     sets.TP.Liberator.MidACC.AM3_HighHaste = set_combine(sets.TP.Liberator.AM3_HighHaste,{})
  316.     sets.TP.Liberator.HighACC.AM3_HighHaste = set_combine(sets.TP.Liberator.MidACC.AM3_HighHaste,{})
  317.  
  318.     -- Liberator(AM3 Down: SAM Roll) TP Sets --
  319.     sets.TP.Liberator.STP = set_combine(sets.TP.Liberator,{})
  320.     sets.TP.Liberator.MidACC.STP = set_combine(sets.TP.Liberator.MidACC,{})
  321.     sets.TP.Liberator.HighACC.STP = set_combine(sets.TP.Liberator.HighACC,{})
  322.  
  323.     -- Liberator(AM3 Up: SAM Roll) TP Sets --
  324.     sets.TP.Liberator.AM3.STP = set_combine(sets.TP.Liberator.AM3,{})
  325.     sets.TP.Liberator.MidACC.AM3.STP = set_combine(sets.TP.Liberator.MidACC.AM3,{})
  326.     sets.TP.Liberator.HighACC.AM3.STP = set_combine(sets.TP.Liberator.HighACC.AM3,{})
  327.  
  328.     -- Liberator(AM3 Down: High Haste + SAM Roll) TP Sets --
  329.     sets.TP.Liberator.HighHaste.STP = set_combine(sets.TP.Liberator.HighHaste,{})
  330.     sets.TP.Liberator.MidACC.HighHaste.STP = set_combine(sets.TP.Liberator.MidACC.HighHaste,{})
  331.     sets.TP.Liberator.HighACC.HighHaste.STP = set_combine(sets.TP.Liberator.HighACC.HighHaste,{})
  332.  
  333.     -- Liberator(AM3 Up: High Haste + SAM Roll) TP Sets --
  334.     sets.TP.Liberator.AM3_HighHaste.STP = set_combine(sets.TP.Liberator.HighHaste,{})
  335.     sets.TP.Liberator.MidACC.AM3_HighHaste.STP = set_combine(sets.TP.Liberator.MidACC.HighHaste,{})
  336.     sets.TP.Liberator.HighACC.AM3_HighHaste.STP = set_combine(sets.TP.Liberator.HighACC.HighHaste,{})
  337.  
  338.     ---------------------------------- /sam sets --------------------------------------
  339.    
  340.     -- Liberator(AM3 Down) /SAM TP Sets --
  341.     sets.TP.Liberator.SAM = {main="Liberator",}
  342.     sets.TP.Liberator.SAM.MidACC = set_combine(sets.TP.Liberator.SAM,{})
  343.     sets.TP.Liberator.SAM.HighACC = set_combine(sets.TP.Liberator.SAM.MidACC,{})
  344.  
  345.     -- Liberator(AM3 Up) /SAM TP Sets --
  346.     sets.TP.Liberator.SAM.AM3 = set_combine(sets.TP.Liberator.SAM,{})
  347.     sets.TP.Liberator.SAM.MidACC.AM3 = set_combine(sets.TP.Liberator.SAM.AM3,{})
  348.     sets.TP.Liberator.SAM.HighACC.AM3 = set_combine(sets.TP.Liberator.SAM.MidACC.AM3,{})
  349.  
  350.     -- Liberator(AM3 Down: High Haste) /SAM TP Sets --
  351.     sets.TP.Liberator.SAM.HighHaste = set_combine(sets.TP.Liberator.SAM,{waist="Windbuffet Belt +1",})
  352.     sets.TP.Liberator.SAM.MidACC.HighHaste = set_combine(sets.TP.Liberator.SAM.HighHaste,{})
  353.     sets.TP.Liberator.SAM.HighACC.HighHaste = set_combine(sets.TP.Liberator.SAM.MidACC.HighHaste,{})
  354.  
  355.     -- Liberator(AM3 Up: High Haste) /SAM TP Sets --
  356.     sets.TP.Liberator.SAM.AM3_HighHaste = set_combine(sets.TP.Liberator.SAM.AM3,{waist="Windbuffet Belt +1",})
  357.     sets.TP.Liberator.SAM.MidACC.AM3_HighHaste = set_combine(sets.TP.Liberator.SAM.AM3_HighHaste,{})
  358.     sets.TP.Liberator.SAM.HighACC.AM3_HighHaste = set_combine(sets.TP.Liberator.SAM.MidACC.AM3_HighHaste,{})
  359.  
  360.     -- Liberator(AM3 Down: SAM Roll) /SAM TP Sets --
  361.     sets.TP.Liberator.SAM.STP = set_combine(sets.TP.Liberator.SAM,{})
  362.     sets.TP.Liberator.SAM.MidACC.STP = set_combine(sets.TP.Liberator.SAM.MidACC,{})
  363.     sets.TP.Liberator.SAM.HighACC.STP = set_combine(sets.TP.Liberator.SAM.HighACC,{})
  364.  
  365.     -- Liberator(AM3 Up: SAM Roll) /SAM TP Sets --
  366.     sets.TP.Liberator.SAM.AM3.STP = set_combine(sets.TP.Liberator.SAM.AM3,{})
  367.     sets.TP.Liberator.SAM.MidACC.AM3.STP = set_combine(sets.TP.Liberator.SAM.MidACC.AM3,{})
  368.     sets.TP.Liberator.SAM.HighACC.AM3.STP = set_combine(sets.TP.Liberator.SAM.HighACC.AM3,{})
  369.  
  370.     -- Liberator(AM3 Down: High Haste + SAM Roll) /SAM TP Sets --
  371.     sets.TP.Liberator.SAM.HighHaste.STP = set_combine(sets.TP.Liberator.SAM.HighHaste,{})
  372.     sets.TP.Liberator.SAM.MidACC.HighHaste.STP = set_combine(sets.TP.Liberator.SAM.MidACC.HighHaste,{})
  373.     sets.TP.Liberator.SAM.HighACC.HighHaste.STP = set_combine(sets.TP.Liberator.SAM.HighACC.HighHaste,{})
  374.  
  375.     -- Liberator(AM3 Up: High Haste + SAM Roll) /SAM TP Sets --
  376.     sets.TP.Liberator.SAM.AM3_HighHaste.STP = set_combine(sets.TP.Liberator.SAM.HighHaste,{})
  377.     sets.TP.Liberator.SAM.MidACC.AM3_HighHaste.STP = set_combine(sets.TP.Liberator.SAM.MidACC.HighHaste,{})
  378.     sets.TP.Liberator.SAM.HighACC.AM3_HighHaste.STP = set_combine(sets.TP.Liberator.SAM.HighACC.HighHaste,{})
  379.  
  380. -------------------------------------------------------------------------------------------------------------------------------------------------------------------
  381. ---------------------------------------------------------------- RAGNAROK SETS -----------------------------------------------------------------------------------
  382. -------------------------------------------------------------------------------------------------------------------------------------------------------------------
  383.  
  384.     -- Ragnarok TP Sets --
  385.     sets.TP.Ragnarok = {main="Ragnarok",
  386.         ammo="Ginsen",
  387.         head="Argosy Celata +1",
  388.         hands="Argosy Mufflers +1",
  389.         neck="Ainia Collar",
  390.         waist="Ioskeha belt",
  391.         right_ear="Telos Earring",
  392.         left_ear="Brutal earring",
  393.         left_ring="Petrov Ring",
  394.         right_ring="Niqmaddu Ring",}
  395.        
  396.     sets.TP.Ragnarok.MidACC = set_combine(sets.TP.Ragnarok,{
  397.         hands="Emicho Gauntlets",
  398.         left_ear="Cessance earring",
  399.         left_ring="Chirich Ring",})
  400.        
  401.     sets.TP.Ragnarok.HighACC = set_combine(sets.TP.Ragnarok.MidACC,{
  402.         head="Ignominy Burgonet +3",
  403.         neck="Lissome Necklace",
  404.         body="Ignominy Cuirass +3",
  405.         hands="Ignominy Gauntlets +3",
  406.         legs="Ignominy Flanchard +3",
  407.         left_ring="Regal Ring",})
  408.        
  409.     -- Ragnarok(High Haste) TP Sets --
  410.     sets.TP.Ragnarok.HighHaste = set_combine(sets.TP.Ragnarok,{waist="Windbuffet Belt +1",})
  411.     sets.TP.Ragnarok.MidACC.HighHaste = set_combine(sets.TP.Ragnarok.HighHaste,{waist="Windbuffet Belt +1",})
  412.     sets.TP.Ragnarok.HighACC.HighHaste = set_combine(sets.TP.Ragnarok.MidACC.HighHaste,{ammo="Seething Bomblet",waist="Kentarch Belt +1",})
  413.    
  414.     -- Ragnarok(SAM Roll) TP Sets --
  415.     sets.TP.Ragnarok.STP = set_combine(sets.TP.Ragnarok,{left_ear="Cessance earring",})
  416.     sets.TP.Ragnarok.MidACC.STP = set_combine(sets.TP.Ragnarok.STP,{})
  417.     sets.TP.Ragnarok.HighACC.STP = set_combine(sets.TP.Ragnarok.MidACC.STP,{
  418.         ammo="Seething Bomblet",
  419.         neck="Lissome Necklace",
  420.         ear1="Mache Earring",
  421.         feet="Flamma Gambieras +1"})
  422.                            
  423.     -- Ragnarok(High Haste + SAM Roll) TP Sets --
  424.     sets.TP.Ragnarok.HighHaste.STP = set_combine(sets.TP.Ragnarok.STP,{waist="Windbuffet Belt +1",})
  425.     sets.TP.Ragnarok.MidACC.HighHaste.STP = set_combine(sets.TP.Ragnarok.MidACC.STP,{waist="Windbuffet Belt +1",})
  426.     sets.TP.Ragnarok.HighACC.HighHaste.STP = set_combine(sets.TP.Ragnarok.HighACC.STP,{waist="Windbuffet Belt +1",})
  427.    
  428.     ------------------- /sam sets -----------------------------
  429.    
  430.     -- Ragnarok /SAM TP Sets --
  431.     sets.TP.Ragnarok.SAM = {main="Ragnarok",
  432.         ammo="Ginsen",
  433.         head="Argosy Celata +1",
  434.         hands="Argosy Mufflers +1",
  435.         neck="Ainia Collar",
  436.         waist="Ioskeha belt",
  437.         right_ear="Telos Earring",
  438.         left_ear="Brutal earring",
  439.         left_ring="Petrov Ring",
  440.         right_ring="Niqmaddu Ring",}
  441.    
  442.     sets.TP.Ragnarok.SAM.MidACC = set_combine(sets.TP.Ragnarok.SAM,{
  443.         hands="Emicho Gauntlets",
  444.         left_ear="Cessance earring",
  445.         left_ring="Chirich Ring",})
  446.    
  447.     sets.TP.Ragnarok.SAM.HighACC = set_combine(sets.TP.Ragnarok.SAM.MidACC,{
  448.         head="Ignominy Burgonet +3",
  449.         neck="Lissome Necklace",
  450.         body="Ignominy Cuirass +3",
  451.         hands="Ignominy Gauntlets +3",
  452.         legs="Ignominy Flanchard +3",
  453.         left_ring="Regal Ring",})
  454.  
  455.     -- Ragnarok(High Haste) /SAM TP Sets --
  456.     sets.TP.Ragnarok.SAM.HighHaste = set_combine(sets.TP.Ragnarok.SAM,{waist="Windbuffet Belt +1",})
  457.     sets.TP.Ragnarok.SAM.MidACC.HighHaste = set_combine(sets.TP.Ragnarok.SAM.MidACC,{waist="Windbuffet Belt +1",})
  458.     sets.TP.Ragnarok.SAM.HighACC.HighHaste = set_combine(sets.TP.Ragnarok.SAM.HighACC,{ammo="Seething Bomblet",waist="Kentarch Belt +1",})
  459.  
  460.     -- Ragnarok(SAM Roll) /SAM TP Sets --
  461.     sets.TP.Ragnarok.SAM.STP = set_combine(sets.TP.Ragnarok.SAM,{left_ear="Cessance earring",})
  462.     sets.TP.Ragnarok.SAM.MidACC.STP = set_combine(sets.TP.Ragnarok.SAM.MidACC,{})
  463.     sets.TP.Ragnarok.SAM.HighACC.STP = set_combine(sets.TP.Ragnarok.SAM.HighACC,{
  464.         ammo="Seething Bomblet",
  465.         neck="Lissome Necklace",
  466.         ear1="Mache Earring",
  467.         feet="Flamma Gambieras +1"})
  468.  
  469.     -- Ragnarok(High Haste + SAM Roll) /SAM TP Sets --
  470.     sets.TP.Ragnarok.SAM.HighHaste.STP = set_combine(sets.TP.Ragnarok.SAM.STP,{waist="Windbuffet Belt +1",})
  471.     sets.TP.Ragnarok.SAM.MidACC.HighHaste.STP = set_combine(sets.TP.Ragnarok.SAM.MidACC.STP,{waist="Windbuffet Belt +1",})
  472.     sets.TP.Ragnarok.SAM.HighACC.HighHaste.STP = set_combine(sets.TP.Ragnarok.SAM.HighACC.STP,{waist="Windbuffet Belt +1",})
  473.    
  474. -------------------------------------------------------------------------------------------------------------------------------------------------------------------
  475. ---------------------------------------------------------------- APOCALYPSE SETS -----------------------------------------------------------------------------------
  476. -------------------------------------------------------------------------------------------------------------------------------------------------------------------
  477.  
  478.     -- Apocalypse(AM Down) TP Sets --
  479.     sets.TP.Apocalypse = {main="Apocalypse",
  480.         ammo="Ginsen",
  481.         head="Flamma Zucchetto +1",
  482.         hands="Sulevia's Gauntlets +2",
  483.         legs="Ignominy Flanchard +3",
  484.         feet="Flamma Gambieras +1",
  485.         neck="Lissome Necklace",
  486.         waist="Ioskeha belt",
  487.         right_ear="Telos Earring",
  488.         left_ear="Cessance earring",
  489.         left_ring="Petrov Ring",
  490.         right_ring="Niqmaddu Ring",}
  491.        
  492.     sets.TP.Apocalypse.MidACC = set_combine(sets.TP.Apocalypse,{
  493.         ammo="Seething Bomblet",
  494.         hands="Emicho Gauntlets",})
  495.        
  496.     sets.TP.Apocalypse.HighACC = set_combine(sets.TP.Apocalypse.MidACC,{
  497.         ammo="Ginsen",
  498.         head="Ignominy Burgonet +3",
  499.         body="Ignominy Cuirass +3",
  500.         legs="Ignominy Flanchard +3",
  501.         left_ring="Regal Ring",})
  502.  
  503.     -- Apocalypse(AM Down: High Haste) TP Sets --
  504.     sets.TP.Apocalypse.HighHaste = set_combine(sets.TP.Apocalypse,{waist="Windbuffet Belt +1",})
  505.     sets.TP.Apocalypse.MidACC.HighHaste = set_combine(sets.TP.Apocalypse.MidACC,{waist="Windbuffet Belt +1",})
  506.     sets.TP.Apocalypse.HighACC.HighHaste = set_combine(sets.TP.Apocalypse.HighACC,{waist="Windbuffet Belt +1",})
  507.    
  508.     -- Apocalypse(AM Down: SAM Roll) TP Sets --
  509.     sets.TP.Apocalypse.STP = set_combine(sets.TP.Apocalypse,{neck="Ganesha's Mala",left_ear="Brutal earring",})
  510.     sets.TP.Apocalypse.MidACC.STP = set_combine(sets.TP.Apocalypse.MidACC,{neck="Ganesha's Mala",left_ring="Regal Ring",})
  511.     sets.TP.Apocalypse.HighACC.STP = set_combine(sets.TP.Apocalypse.HighACC,{ammo="Seething Bomblet",})
  512.    
  513.     -- Apocalypse(AM Down: High Haste + SAM Roll) TP Sets --
  514.     sets.TP.Apocalypse.HighHaste.STP = set_combine(sets.TP.Apocalypse.STP,{waist="Windbuffet Belt +1",})
  515.     sets.TP.Apocalypse.MidACC.HighHaste.STP = set_combine(sets.TP.Apocalypse.MidACC.STP,{waist="Windbuffet Belt +1",})
  516.     sets.TP.Apocalypse.HighACC.HighHaste.STP = set_combine(sets.TP.Apocalypse.HighACC.STP,{waist="Windbuffet Belt +1",})
  517.    
  518.     -- Apocalypse(AM Up) TP Sets --
  519.     sets.TP.Apocalypse.AM = set_combine(sets.TP.Apocalypse,{waist="Windbuffet Belt +1",})
  520.     sets.TP.Apocalypse.MidACC.AM = set_combine(sets.TP.Apocalypse.MidACC,{waist="Windbuffet Belt +1",})
  521.     sets.TP.Apocalypse.HighACC.AM = set_combine(sets.TP.Apocalypse.HighACC,{waist="Windbuffet Belt +1",})
  522.  
  523.     -- Apocalypse(AM Up: High Haste) TP Sets --
  524.     sets.TP.Apocalypse.AM.HighHaste = set_combine(sets.TP.Apocalypse.AM,{waist="Windbuffet Belt +1",})
  525.     sets.TP.Apocalypse.MidACC.AM.HighHaste = set_combine(sets.TP.Apocalypse.MidACC.AM,{waist="Windbuffet Belt +1",})
  526.     sets.TP.Apocalypse.HighACC.AM.HighHaste = set_combine(sets.TP.Apocalypse.HighACC.AM,{waist="Windbuffet Belt +1",})
  527.  
  528.     -- Apocalypse(AM Up: SAM Roll) TP Sets --
  529.     sets.TP.Apocalypse.AM.STP = set_combine(sets.TP.Apocalypse.AM,{neck="Ganesha's Mala",left_ear="Brutal earring",})
  530.     sets.TP.Apocalypse.MidACC.AM.STP = set_combine(sets.TP.Apocalypse.MidACC.AM,{neck="Ganesha's Mala",left_ring="Regal Ring",})
  531.     sets.TP.Apocalypse.HighACC.AM.STP = set_combine(sets.TP.Apocalypse.HighACC.AM,{ammo="Seething Bomblet",})
  532.  
  533.     -- Apocalypse(AM Up: High Haste + SAM Roll) TP Sets --
  534.     sets.TP.Apocalypse.AM.HighHaste.STP = set_combine(sets.TP.Apocalypse.AM.STP,{waist="Windbuffet Belt +1",})
  535.     sets.TP.Apocalypse.MidACC.AM.HighHaste.STP = set_combine(sets.TP.Apocalypse.MidACC.AM.STP,{waist="Windbuffet Belt +1",})
  536.     sets.TP.Apocalypse.HighACC.AM.HighHaste.STP = set_combine(sets.TP.Apocalypse.HighACC.AM.STP,{waist="Windbuffet Belt +1",})
  537.  
  538.     ------------ /sam sets --------------------------------
  539.    
  540.     -- Apocalypse(AM Down) /SAM TP Sets --
  541.     sets.TP.Apocalypse.SAM = {main="Apocalypse",
  542.         ammo="Ginsen",
  543.         head="Flamma Zucchetto +1",
  544.         hands="Sulevia's Gauntlets +2",
  545.         legs="Ignominy Flanchard +3",
  546.         feet="Flamma Gambieras +1",
  547.         neck="Lissome Necklace",
  548.         waist="Ioskeha belt",
  549.         right_ear="Telos Earring",
  550.         left_ear="Cessance earring",
  551.         left_ring="Petrov Ring",
  552.         right_ring="Niqmaddu Ring",}
  553.        
  554.     sets.TP.Apocalypse.SAM.MidACC = set_combine(sets.TP.Apocalypse.SAM,{
  555.         ammo="Seething Bomblet",
  556.         hands="Emicho Gauntlets",})
  557.        
  558.     sets.TP.Apocalypse.SAM.HighACC = set_combine(sets.TP.Apocalypse.SAM.MidACC,{
  559.         ammo="Ginsen",
  560.         head="Ignominy Burgonet +3",
  561.         body="Ignominy Cuirass +3",
  562.         legs="Ignominy Flanchard +3",
  563.         left_ring="Regal Ring",})
  564.  
  565.     -- Apocalypse(AM Down: High Haste) /SAM TP Sets --
  566.     sets.TP.Apocalypse.SAM.HighHaste = set_combine(sets.TP.Apocalypse.SAM,{waist="Windbuffet Belt +1",})
  567.     sets.TP.Apocalypse.SAM.MidACC.HighHaste = set_combine(sets.TP.Apocalypse.SAM.MidACC,{waist="Windbuffet Belt +1",})
  568.     sets.TP.Apocalypse.SAM.HighACC.HighHaste = set_combine(sets.TP.Apocalypse.SAM.HighACC,{waist="Windbuffet Belt +1",})
  569.  
  570.     -- Apocalypse(AM Down: SAM Roll) /SAM TP Sets --
  571.     sets.TP.Apocalypse.SAM.STP = set_combine(sets.TP.Apocalypse.SAM,{neck="Ganesha's Mala",left_ear="Brutal earring",})
  572.     sets.TP.Apocalypse.SAM.MidACC.STP = set_combine(sets.TP.Apocalypse.SAM.MidACC,{neck="Ganesha's Mala",left_ring="Regal Ring",})
  573.     sets.TP.Apocalypse.SAM.HighACC.STP = set_combine(sets.TP.Apocalypse.SAM.HighACC,{ammo="Seething Bomblet",})
  574.    
  575.     -- Apocalypse(AM Down: High Haste + SAM Roll) /SAM TP Sets --
  576.     sets.TP.Apocalypse.SAM.HighHaste.STP = set_combine(sets.TP.Apocalypse.SAM.STP,{waist="Windbuffet Belt +1",})
  577.     sets.TP.Apocalypse.SAM.MidACC.HighHaste.STP = set_combine(sets.TP.Apocalypse.SAM.MidACC.STP,{waist="Windbuffet Belt +1",})
  578.     sets.TP.Apocalypse.SAM.HighACC.HighHaste.STP = set_combine(sets.TP.Apocalypse.SAM.HighACC.STP,{waist="Windbuffet Belt +1",})
  579.    
  580.     -- Apocalypse(AM Up) /SAM TP Sets --
  581.     sets.TP.Apocalypse.SAM.AM = set_combine(sets.TP.Apocalypse.SAM,{})
  582.     sets.TP.Apocalypse.SAM.MidACC.AM = set_combine(sets.TP.Apocalypse.SAM.AM,{})
  583.     sets.TP.Apocalypse.SAM.HighACC.AM = set_combine(sets.TP.Apocalypse.SAM.MidACC.AM,{})
  584.  
  585.     -- Apocalypse(AM Up: High Haste) /SAM TP Sets --
  586.     sets.TP.Apocalypse.SAM.AM.HighHaste = set_combine(sets.TP.Apocalypse.SAM.AM,{waist="Windbuffet Belt +1",})
  587.     sets.TP.Apocalypse.SAM.MidACC.AM.HighHaste = set_combine(sets.TP.Apocalypse.SAM.MidACC.AM,{waist="Windbuffet Belt +1",})
  588.     sets.TP.Apocalypse.SAM.HighACC.AM.HighHaste = set_combine(sets.TP.Apocalypse.SAM.HighACC.AM,{waist="Windbuffet Belt +1",})
  589.  
  590.     -- Apocalypse(AM Up: SAM Roll) /SAM TP Sets --
  591.     sets.TP.Apocalypse.SAM.AM.STP = set_combine(sets.TP.Apocalypse.SAM.AM,{neck="Ganesha's Mala",left_ear="Brutal earring",})
  592.     sets.TP.Apocalypse.SAM.MidACC.AM.STP = set_combine(sets.TP.Apocalypse.SAM.MidACC.AM,{neck="Ganesha's Mala",left_ring="Regal Ring",})
  593.     sets.TP.Apocalypse.SAM.HighACC.AM.STP = set_combine(sets.TP.Apocalypse.SAM.HighACC.AM,{ammo="Seething Bomblet",})
  594.  
  595.     -- Apocalypse(AM Up: High Haste + SAM Roll) /SAM TP Sets --
  596.     sets.TP.Apocalypse.SAM.AM.HighHaste.STP = set_combine(sets.TP.Apocalypse.SAM.AM.STP,{waist="Windbuffet Belt +1",})
  597.     sets.TP.Apocalypse.SAM.MidACC.AM.HighHaste.STP = set_combine(sets.TP.Apocalypse.SAM.MidACC.AM.STP,{waist="Windbuffet Belt +1",})
  598.     sets.TP.Apocalypse.SAM.HighACC.AM.HighHaste.STP = set_combine(sets.TP.Apocalypse.SAM.HighACC.AM.STP,{waist="Windbuffet Belt +1",})
  599.  
  600. -------------------------------------------------------------------------------------------------------------------------------------------------------------------
  601. ---------------------------------------------------------------- CALADBOLG SETS -----------------------------------------------------------------------------------
  602. -------------------------------------------------------------------------------------------------------------------------------------------------------------------
  603.    
  604.     -- Caladbolg(AM Down) TP Sets --
  605.     sets.TP.Caladbolg = {main="Caladbolg",
  606.         ammo="Seeth. Bomblet +1",
  607.     head="Flam. Zucchetto +2",
  608.     body={ name="Valorous Mail", augments={'Accuracy+21 Attack+21','"Store TP"+6','DEX+10','Accuracy+8','Attack+1',}},
  609.     hands="Sulev. Gauntlets +2",
  610.     legs="Ig. Flanchard +3",
  611.     feet="Flam. Gambieras +2",
  612.     neck="Ainia Collar",
  613.     waist="Ioskeha Belt",
  614.     left_ear="Dedition Earring",
  615.     right_ear="Telos Earring",
  616.     left_ring="Flamma Ring",
  617.     right_ring="Petrov Ring",
  618.     back={ name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}}}
  619.        
  620.     sets.TP.Caladbolg.MidACC = set_combine(sets.TP.Caladbolg,{
  621.         hands="Emicho Gauntlets",
  622.         left_ear="Cessance earring",
  623.         left_ring="Chirich Ring",})
  624.        
  625.     sets.TP.Caladbolg.HighACC = set_combine(sets.TP.Caladbolg.MidACC,{
  626.         head="Ignominy Burgonet +3",
  627.         neck="Lissome Necklace",
  628.         body="Ignominy Cuirass +3",
  629.         hands="Ignominy Gauntlets +3",
  630.         legs="Ignominy Flanchard +3",
  631.         left_ring="Regal Ring",})
  632.        
  633.     -- Caladbolg(AM Down: High Haste) TP Sets --
  634.     sets.TP.Caladbolg.HighHaste = set_combine(sets.TP.Caladbolg,{waist="Windbuffet Belt +1",})
  635.     sets.TP.Caladbolg.MidACC.HighHaste = set_combine(sets.TP.Caladbolg.MidACC,{waist="Windbuffet Belt +1",})
  636.     sets.TP.Caladbolg.HighACC.HighHaste = set_combine(sets.TP.Caladbolg.HighACC,{ammo="Seething Bomblet",waist="Kentarch Belt +1",})
  637.  
  638.     -- Caladbolg(AM Down: SAM Roll) TP Sets --
  639.     sets.TP.Caladbolg.STP = set_combine(sets.TP.Caladbolg,{left_ear="Cessance earring",})
  640.     sets.TP.Caladbolg.MidACC.STP = set_combine(sets.TP.Caladbolg.MidACC,{})
  641.     sets.TP.Caladbolg.HighACC.STP = set_combine(sets.TP.Caladbolg.HighACC,{
  642.         ammo="Seething Bomblet",
  643.         neck="Lissome Necklace",
  644.         ear1="Mache Earring",
  645.         feet="Flamma Gambieras +1"})
  646.  
  647.     -- Caladbolg(AM Down: High Haste + SAM Roll) TP Sets --
  648.     sets.TP.Caladbolg.HighHaste.STP = set_combine(sets.TP.Caladbolg.STP,{waist="Windbuffet Belt +1",})
  649.     sets.TP.Caladbolg.MidACC.HighHaste.STP = set_combine(sets.TP.Caladbolg.MidACC.STP,{waist="Windbuffet Belt +1",})
  650.     sets.TP.Caladbolg.HighACC.HighHaste.STP = set_combine(sets.TP.Caladbolg.HighACC.STP,{waist="Windbuffet Belt +1",})
  651.    
  652.     -- Caladbolg(AM Up) TP Sets --
  653.     sets.TP.Caladbolg.AM = set_combine(sets.TP.Caladbolg,{
  654.         ammo="Ginsen",
  655.         head="Argosy Celata +1",
  656.         hands="Argosy Mufflers +1",
  657.         neck="Ainia Collar",
  658.         waist="Ioskeha belt",
  659.         right_ear="Telos Earring",
  660.         left_ear="Brutal earring",
  661.         left_ring="Petrov Ring",
  662.         right_ring="Niqmaddu Ring",})
  663.        
  664.     sets.TP.Caladbolg.MidACC.AM = set_combine(sets.TP.Caladbolg.AM,{
  665.         hands="Emicho Gauntlets",
  666.         left_ear="Cessance earring",
  667.         left_ring="Chirich Ring",})
  668.        
  669.     sets.TP.Caladbolg.HighACC.AM = set_combine(sets.TP.Caladbolg.MidACC.AM,{
  670.         head="Ignominy Burgonet +3",
  671.         neck="Lissome Necklace",
  672.         body="Ignominy Cuirass +3",
  673.         hands="Ignominy Gauntlets +3",
  674.         legs="Ignominy Flanchard +3",
  675.         left_ring="Regal Ring",})
  676.  
  677.     -- Caladbolg(AM Up: High Haste) TP Sets --
  678.     sets.TP.Caladbolg.AM.HighHaste = set_combine(sets.TP.Caladbolg.AM,{waist="Windbuffet Belt +1",})
  679.     sets.TP.Caladbolg.MidACC.AM.HighHaste = set_combine(sets.TP.Caladbolg.AM.MidACC,{waist="Windbuffet Belt +1",})
  680.     sets.TP.Caladbolg.HighACC.AM.HighHaste = set_combine(sets.TP.Caladbolg.HighACC.AM,{ammo="Seething Bomblet",waist="Kentarch Belt +1",})
  681.  
  682.     -- Caladbolg(AM Up: SAM Roll) TP Sets --
  683.     sets.TP.Caladbolg.AM.STP = set_combine(sets.TP.Caladbolg.STP,{left_ear="Cessance earring",})
  684.     sets.TP.Caladbolg.MidACC.AM.STP = set_combine(sets.TP.Caladbolg.MidACC.AM,{})
  685.     sets.TP.Caladbolg.HighACC.AM.STP = set_combine(sets.TP.Caladbolg.HighACC.AM,{
  686.         ammo="Seething Bomblet",
  687.         neck="Lissome Necklace",
  688.         ear1="Mache Earring",
  689.         feet="Flamma Gambieras +1"})
  690.  
  691.     -- Caladbolg(AM Up: High Haste + SAM Roll) TP Sets --
  692.     sets.TP.Caladbolg.AM.HighHaste.STP = set_combine(sets.TP.Caladbolg.HighHaste.STP,{waist="Windbuffet Belt +1",})
  693.     sets.TP.Caladbolg.MidACC.AM.HighHaste.STP = set_combine(sets.TP.Caladbolg.MidACC.STP,{waist="Windbuffet Belt +1",})
  694.     sets.TP.Caladbolg.HighACC.AM.HighHaste.STP = set_combine(sets.TP.Caladbolg.HighACC.STP,{waist="Windbuffet Belt +1",})
  695.    
  696.    
  697.     -- Caladbolg /SAM TP Sets -------------------------------------------------------------------
  698.  
  699.     -- Caladbolg(AM Down) TP Sets --  /SAM
  700.     --[ACC: 1150 STP: 61]--
  701.     sets.TP.Caladbolg.SAM = {main="Caladbolg",
  702.         ammo="Seeth. Bomblet +1",
  703.     head="Flam. Zucchetto +2",
  704.     body={ name="Valorous Mail", augments={'Accuracy+21 Attack+21','"Store TP"+6','DEX+10','Accuracy+8','Attack+1',}},
  705.     hands="Sulev. Gauntlets +2",
  706.     legs="Ig. Flanchard +3",
  707.     feet="Flam. Gambieras +2",
  708.     neck="Ainia Collar",
  709.     waist="Ioskeha Belt",
  710.     left_ear="Dedition Earring",
  711.     right_ear="Telos Earring",
  712.     left_ring="Flamma Ring",
  713.     right_ring="Petrov Ring",
  714.     back={ name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}}}
  715.        
  716.     --[ACC: 1184 STP: 63]--
  717.     sets.TP.Caladbolg.SAM.MidACC = set_combine(sets.TP.Caladbolg.SAM,{
  718.         hands="Emicho Gauntlets",
  719.         left_ear="Cessance earring",
  720.         left_ring="Chirich Ring",})
  721.        
  722.     --[ACC: 1264 STP: 27]--    
  723.     sets.TP.Caladbolg.SAM.HighACC = set_combine(sets.TP.Caladbolg.SAM.MidACC,{
  724.         head="Ignominy Burgonet +3",
  725.         neck="Lissome Necklace",
  726.         body="Ignominy Cuirass +3",
  727.         hands="Ignominy Gauntlets +3",
  728.         legs="Ignominy Flanchard +3",
  729.         left_ring="Regal Ring",})
  730.  
  731.     -- Caladbolg(AM Down: High Haste) TP Sets -- /SAM
  732.     sets.TP.Caladbolg.SAM.HighHaste = set_combine(sets.TP.Caladbolg.SAM,{waist="Windbuffet Belt +1",})
  733.     sets.TP.Caladbolg.SAM.MidACC.HighHaste = set_combine(sets.TP.Caladbolg.SAM.MidACC,{waist="Windbuffet Belt +1",})
  734.     sets.TP.Caladbolg.SAM.HighACC.HighHaste = set_combine(sets.TP.Caladbolg.SAM.HighACC,{ammo="Seething Bomblet",waist="Kentarch Belt +1",})
  735.    
  736.     -- Caladbolg(AM Down: SAM Roll) TP Sets -- /SAM
  737.     sets.TP.Caladbolg.SAM.STP = set_combine(sets.TP.Caladbolg.SAM,{ammo="Seeth. Bomblet +1",
  738.     head="Flam. Zucchetto +2",
  739.     body={ name="Valorous Mail", augments={'Accuracy+21 Attack+21','"Store TP"+6','DEX+10','Accuracy+8','Attack+1',}},
  740.     hands="Sulev. Gauntlets +2",
  741.     legs="Ig. Flanchard +3",
  742.     feet="Flam. Gambieras +2",
  743.     neck="Ainia Collar",
  744.     waist="Ioskeha Belt",
  745.     left_ear="Cessance Earring",
  746.     right_ear="Telos Earring",
  747.     left_ring="Flamma Ring",
  748.     right_ring="Niqmaddu Ring",
  749.     back={ name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}}})
  750.     sets.TP.Caladbolg.SAM.MidACC.STP = set_combine(sets.TP.Caladbolg.SAM.MidACC,{})
  751.     sets.TP.Caladbolg.SAM.HighACC.STP = set_combine(sets.TP.Caladbolg.SAM.HighACC,{
  752.         ammo="Seething Bomblet",
  753.         neck="Lissome Necklace",
  754.         ear1="Mache Earring",
  755.         feet="Flamma Gambieras +1"})
  756.  
  757.     -- Caladbolg(AM Down: High Haste + SAM Roll) TP Sets -- /SAM
  758.     sets.TP.Caladbolg.SAM.HighHaste.STP = set_combine(sets.TP.Caladbolg.SAM.STP,{waist="Windbuffet Belt +1",})
  759.     sets.TP.Caladbolg.SAM.MidACC.HighHaste.STP = set_combine(sets.TP.Caladbolg.SAM.MidACC.STP,{waist="Windbuffet Belt +1",})
  760.     sets.TP.Caladbolg.SAM.HighACC.HighHaste.STP = set_combine(sets.TP.Caladbolg.SAM.HighACC.STP,{waist="Windbuffet Belt +1",})
  761.    
  762.     -- Caladbolg(AM Up) TP Sets -- /SAM
  763.     --[ACC: 1150 STP: 61]--
  764.     sets.TP.Caladbolg.SAM.AM = set_combine(sets.TP.Caladbolg.SAM,{
  765.         ammo="Seeth. Bomblet +1",
  766.     head="Flam. Zucchetto +2",
  767.     body={ name="Valorous Mail", augments={'Accuracy+21 Attack+21','"Store TP"+6','DEX+10','Accuracy+8','Attack+1',}},
  768.     hands="Sulev. Gauntlets +2",
  769.     legs="Ig. Flanchard +3",
  770.     feet="Flam. Gambieras +2",
  771.     neck="Ganesha's Mala",
  772.     waist="Ioskeha Belt",
  773.     left_ear="Brutal Earring",
  774.     right_ear="Cessance Earring",
  775.     left_ring="Flamma Ring",
  776.     right_ring="Niqmaddu Ring",
  777.     back={ name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}}})
  778.        
  779.     --[ACC: 1184 STP: 63]--    
  780.     sets.TP.Caladbolg.SAM.MidACC.AM = set_combine(sets.TP.Caladbolg.SAM.AM,{
  781.         hands="Emicho Gauntlets",
  782.         left_ear="Cessance earring",
  783.         left_ring="Chirich Ring",})
  784.    
  785.     --[ACC: 1264 STP: 27]--    
  786.     sets.TP.Caladbolg.SAM.HighACC.AM = set_combine(sets.TP.Caladbolg.SAM.MidACC.AM,{
  787.         head="Ignominy Burgonet +3",
  788.         neck="Lissome Necklace",
  789.         body="Ignominy Cuirass +3",
  790.         hands="Ignominy Gauntlets +3",
  791.         legs="Ignominy Flanchard +3",
  792.         left_ring="Regal Ring",})
  793.    
  794.     -- Caladbolg(AM Up: High Haste) TP Sets -- /SAM
  795.     sets.TP.Caladbolg.SAM.AM.HighHaste = set_combine(sets.TP.Caladbolg.SAM.AM,{waist="Windbuffet Belt +1",})
  796.     sets.TP.Caladbolg.SAM.MidACC.AM.HighHaste = set_combine(sets.TP.Caladbolg.SAM.MidACC.AM,{waist="Windbuffet Belt +1",})
  797.     sets.TP.Caladbolg.SAM.HighACC.AM.HighHaste = set_combine(sets.TP.Caladbolg.SAM.HighACC.AM,{ammo="Seething Bomblet",waist="Kentarch Belt +1",})
  798.  
  799.     -- Caladbolg(AM Up: SAM Roll) TP Sets -- /SAM
  800.     sets.TP.Caladbolg.SAM.AM.STP = set_combine(sets.TP.Caladbolg.SAM.STP,{ammo="Seeth. Bomblet +1",
  801.     head="Flam. Zucchetto +2",
  802.     body={ name="Valorous Mail", augments={'Accuracy+11 Attack+11','"Dbl.Atk."+4','STR+10',}},
  803.     hands="Sulev. Gauntlets +2",
  804.     legs="Ig. Flanchard +3",
  805.     feet="Flam. Gambieras +2",
  806.     neck="Ganesha's Mala",
  807.     waist="Ioskeha Belt",
  808.     left_ear="Brutal Earring",
  809.     right_ear="Cessance Earring",
  810.     left_ring="Flamma Ring",
  811.     right_ring="Niqmaddu Ring",
  812.     back={ name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}}})
  813.     sets.TP.Caladbolg.SAM.MidACC.AM.STP = set_combine(sets.TP.Caladbolg.SAM.MidACC.AM,{})
  814.     sets.TP.Caladbolg.SAM.HighACC.AM.STP = set_combine(sets.TP.Caladbolg.SAM.HighACC.AM,{
  815.         ammo="Seething Bomblet",
  816.         neck="Lissome Necklace",
  817.         ear1="Mache Earring",
  818.         feet="Flamma Gambieras +1"})
  819.  
  820.     -- Caladbolg(AM Up: High Haste + SAM Roll) TP Sets --
  821.     sets.TP.Caladbolg.SAM.AM.HighHaste.STP = set_combine(sets.TP.Caladbolg.SAM.HighHaste.STP,{waist="Windbuffet Belt +1",})
  822.     sets.TP.Caladbolg.SAM.MidACC.AM.HighHaste.STP = set_combine(sets.TP.Caladbolg.SAM.MidACC.STP,{waist="Windbuffet Belt +1",})
  823.     sets.TP.Caladbolg.SAM.HighACC.AM.HighHaste.STP = set_combine(sets.TP.Caladbolg.SAM.HighACC.STP,{waist="Windbuffet Belt +1",})
  824.  
  825. -------------------------------------------------------------------------------------------------------------------------------------------------------------------
  826. ---------------------------------------------------------------- ANGUTA SETS -----------------------------------------------------------------------------------
  827. -------------------------------------------------------------------------------------------------------------------------------------------------------------------    
  828.  
  829.     -- Anguta TP Sets --
  830.     sets.TP.Anguta = {main="Anguta",}
  831.     sets.TP.Anguta.MidACC = set_combine(sets.TP.Anguta,{})
  832.     sets.TP.Anguta.HighACC = set_combine(sets.TP.Anguta.MidACC,{})
  833.  
  834.     -- Anguta(High Haste) TP Sets --
  835.     sets.TP.Anguta.HighHaste = set_combine(sets.TP.Anguta,{})
  836.     sets.TP.Anguta.MidACC.HighHaste = set_combine(sets.TP.Anguta.MidACC,{})
  837.     sets.TP.Anguta.HighACC.HighHaste = set_combine(sets.TP.Anguta.HighACC,{})
  838.  
  839.     -- Anguta(SAM Roll) TP Sets --
  840.     sets.TP.Anguta.STP = set_combine(sets.TP.Anguta,{})
  841.     sets.TP.Anguta.MidACC.STP = set_combine(sets.TP.Anguta.MidACC,{})
  842.     sets.TP.Anguta.HighACC.STP = set_combine(sets.TP.Anguta.HighACC,{})
  843.  
  844.     -- Anguta(High Haste + SAM Roll) TP Sets --
  845.     sets.TP.Anguta.HighHaste.STP = set_combine(sets.TP.Anguta.STP,{})
  846.     sets.TP.Anguta.MidACC.HighHaste.STP = set_combine(sets.TP.Anguta.MidACC.STP,{})
  847.     sets.TP.Anguta.HighACC.HighHaste.STP = set_combine(sets.TP.Anguta.HighACC.STP,{})
  848.  
  849.     ----------------- /sam sets -----------------------------
  850.    
  851.     -- Anguta /SAM TP Sets --
  852.     sets.TP.Anguta.SAM = {main="Anguta",
  853.         ammo="Seeth. Bomblet +1",
  854.     head="Flam. Zucchetto +2",
  855.     body={ name="Valorous Mail", augments={'Accuracy+21 Attack+21','"Store TP"+6','DEX+10','Accuracy+8','Attack+1',}},
  856.     hands="Sulev. Gauntlets +2",
  857.     legs="Ignominy Flanchard +3",
  858.     feet="Flamma Gambieras +2",
  859.     neck="Ainia Collar",
  860.     waist="Ioskeha Belt",
  861.     left_ear="Dedition Earring",
  862.     right_ear="Telos Earring",
  863.     left_ring="Flamma Ring",
  864.     right_ring="Niqmaddu Ring",
  865.     back={ name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}}}
  866.     sets.TP.Anguta.SAM.MidACC = set_combine(sets.TP.Anguta.SAM,{
  867.         neck="Lissome Necklace",
  868.         left_ear="Cessance earring",
  869.         left_ring="Chirich Ring",})
  870.     sets.TP.Anguta.SAM.HighACC = set_combine(sets.TP.Anguta.SAM.MidACC,{
  871.         head="Ignominy Burgonet +3",
  872.         body="Ignominy Cuirass +3",
  873.         hands="Ignominy Gauntlets +3",
  874.         legs="Ignominy Flanchard +3",
  875.         left_ring="Regal Ring",
  876.         feet="Flamma Gambieras +1"})
  877.  
  878.     -- Anguta(High Haste) /SAM TP Sets --
  879.     sets.TP.Anguta.SAM.HighHaste = set_combine(sets.TP.Anguta.SAM,{waist="Windbuffet Belt +1",})
  880.     sets.TP.Anguta.SAM.MidACC.HighHaste = set_combine(sets.TP.Anguta.SAM.MidACC,{})
  881.     sets.TP.Anguta.SAM.HighACC.HighHaste = set_combine(sets.TP.Anguta.SAM.HighACC,{})
  882.  
  883.     -- Anguta(SAM Roll) /SAM TP Sets --
  884.     sets.TP.Anguta.SAM.STP = set_combine(sets.TP.Anguta.SAM,{
  885.         ammo="Seeth. Bomblet +1",
  886.     head="Flam. Zucchetto +2",
  887.     body={ name="Valorous Mail", augments={'Accuracy+21 Attack+21','"Store TP"+6','DEX+10','Accuracy+8','Attack+1',}},
  888.     hands="Sulev. Gauntlets +2",
  889.     legs="Ignominy Flanchard +3",
  890.     feet="Flamma Gambieras +2",
  891.     neck="Ainia Collar",
  892.     waist="Ioskeha Belt",
  893.     left_ear="Dedition Earring",
  894.     right_ear="Telos Earring",
  895.     left_ring="Flamma Ring",
  896.     right_ring="Niqmaddu Ring",
  897.     back={ name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}}})
  898.     sets.TP.Anguta.SAM.MidACC.STP = set_combine(sets.TP.Anguta.SAM.MidACC,{
  899.         head="Argosy Celata +1",
  900.         hands="Emicho Gauntlets",
  901.         neck="Ainia Collar",
  902.         right_ear="Telos Earring",})
  903.     sets.TP.Anguta.SAM.HighACC.STP = set_combine(sets.TP.Anguta.SAM.HighACC,{
  904.         head="Argosy Celata +1",
  905.         hands="Ignominy Gauntlets +3",
  906.         legs="Ignominy Flanchard +3",
  907.         left_ring="Regal Ring",
  908.         neck="Lissome Necklace",})
  909.  
  910.     -- Anguta(High Haste + SAM Roll) /SAM TP Sets --
  911.     sets.TP.Anguta.SAM.HighHaste.STP = set_combine(sets.TP.Anguta.SAM.STP,{waist="Windbuffet Belt +1",})
  912.     sets.TP.Anguta.SAM.MidACC.HighHaste.STP = set_combine(sets.TP.Anguta.SAM.MidACC.STP,{})
  913.     sets.TP.Anguta.SAM.HighACC.HighHaste.STP = set_combine(sets.TP.Anguta.SAM.HighACC.STP,{})
  914.    
  915. ----------------------------------------------------------------------------------------------------------------------
  916. ----------------------------------------------------------------------------------------------------------------------
  917. ----------------------------------------------------------------------------------------------------------------------
  918.  
  919.     -- PDT/MDT Sets --
  920.     sets.PDT = {
  921.         ammo="Brigantia Pebble",
  922.     head="Sulevia's Mask +2",
  923.     body="Sulevia's Plate. +2",
  924.     hands="Sulev. Gauntlets +2",
  925.     legs="Sulev. Cuisses +2",
  926.     feet="Sulev. Leggings +2",
  927.     neck="Ainia Collar",
  928.     waist="Ioskeha Belt",
  929.     left_ear="Dedition Earring",
  930.     right_ear="Telos Earring",
  931.     left_ring="Defending Ring",
  932.     right_ring="Gelatinous Ring +1",
  933.     back="Solemnity Cape",}
  934.        
  935.         -- all these specialize PDT sets seems to not be working
  936.     sets.PDT.Liberator = set_combine(sets.PDT,{main="Liberator",
  937.         ammo="Seething Bomblet",
  938.         right_ear="Cessance Earring",
  939.         left_ear="Brutal earring",
  940.         waist="Tempus Fugit",
  941.         right_ring="Moonbeam Ring",})
  942.     sets.PDT.Ragnarok = set_combine(sets.PDT,{main="Ragnarok",
  943.         ammo="Seething Bomblet",
  944.         right_ear="Cessance Earring",
  945.         left_ear="Brutal earring",
  946.         waist="Tempus Fugit",
  947.         right_ring="Moonbeam Ring",})
  948.     sets.PDT.Caladbolg = set_combine(sets.PDT,{main="Caladbolg",
  949.         ammo="Brigantia Pebble",
  950.     head="Sulevia's Mask +2",
  951.     body="Sulevia's Plate. +2",
  952.     hands="Sulev. Gauntlets +2",
  953.     legs="Sulev. Cuisses +2",
  954.     feet="Sulev. Leggings +2",
  955.     neck="Ainia Collar",
  956.     waist="Ioskeha Belt",
  957.     left_ear="Dedition Earring",
  958.     right_ear="Telos Earring",
  959.     left_ring="Defending Ring",
  960.     right_ring="Gelatinous Ring +1",
  961.     back="Solemnity Cape",})
  962.     sets.PDT.Apocalypse = set_combine(sets.PDT,{main="Apocalypse",
  963.         ammo="Seething Bomblet",
  964.         right_ear="Telos Earring",
  965.         left_ear="Cessance earring",
  966.         waist="Tempus Fugit",
  967.         right_ring="Moonbeam Ring",})
  968.     sets.PDT.Anguta = set_combine(sets.PDT,{main="Anguta",
  969.         ammo="Brigantia Pebble",
  970.     head="Sulevia's Mask +2",
  971.     body="Sulevia's Plate. +2",
  972.     hands="Sulev. Gauntlets +2",
  973.     legs="Sulev. Cuisses +2",
  974.     feet="Sulev. Leggings +2",
  975.     neck="Ainia Collar",
  976.     waist="Ioskeha Belt",
  977.     left_ear="Dedition Earring",
  978.     right_ear="Telos Earring",
  979.     left_ring="Defending Ring",
  980.     right_ring="Gelatinous Ring +1",
  981.     back="Solemnity Cape",})
  982.        
  983.     sets.MDT = set_combine(sets.PDT,{back="Moonbeam Cape", waist="Tempus Fugit", right_ring="Shadow Ring",})
  984.                            
  985.     sets.Scarlet = set_combine(sets.PDT,{})
  986.  
  987.     -- Hybrid Set --
  988.     sets.TP.Hybrid = set_combine(sets.PDT,{
  989.         ammo="Seeth. Bomblet +1",
  990.     head="Sulevia's Mask +2",
  991.     body={ name="Valorous Mail", augments={'Accuracy+21 Attack+21','"Store TP"+6','DEX+10','Accuracy+8','Attack+1',}},
  992.     hands="Sulev. Gauntlets +2",
  993.     legs="Sulev. Cuisses +2",
  994.     feet="Flam. Gambieras +2",
  995.     neck="Loricate Torque +1",
  996.     waist="Ioskeha Belt",
  997.     left_ear="Dedition Earring",
  998.     right_ear="Telos Earring",
  999.     left_ring="Gelatinous Ring +1",
  1000.     right_ring="Defending Ring",
  1001.     back={ name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}}})
  1002.        
  1003.     sets.TP.Hybrid.Liberator = set_combine(sets.TP.Hybrid,{main="Liberator",ammo="Seething Bomblet",})
  1004.     sets.TP.Hybrid.Ragnarok = set_combine(sets.TP.Hybrid,{main="Ragnarok", ammo="Seething Bomblet",})
  1005.     sets.TP.Hybrid.Caladbolg = set_combine(sets.TP.Hybrid,{main="Caladbolg", ammo="Seething Bomblet",})
  1006.     sets.TP.Hybrid.Apocalypse = set_combine(sets.TP.Hybrid,{main="Apocalypse", ammo="Seething Bomblet",})
  1007.     sets.TP.Hybrid.Anguta = set_combine(sets.TP.Hybrid,{main="Anguta", ammo="Seething Bomblet",})
  1008.        
  1009.     sets.TP.Hybrid.MidACC = set_combine(sets.TP.Hybrid,{
  1010.         left_ear="Cessance Earring",
  1011.         body="Sulevia's Platemail +2",
  1012.         hands="Ignominy Gauntlets +3",
  1013.         legs="Ignominy Flanchard +3"})
  1014.        
  1015.     sets.TP.Hybrid.HighACC = set_combine(sets.TP.Hybrid.MidACC,{
  1016.         ammo="Seething Bomblet",
  1017.         head="Ignominy Burgonet +3",
  1018.         feet="Sulevia's Leggings +2"})
  1019.  
  1020. --[[ Scythe Light:
  1021.     Insurgency > Vorpal Scythe > Entropy > Guillotine > Entropy > Insurgency
  1022.     Vorpal Scythe > Entropy > Guillotine > Entropy > Insurgency
  1023.     Entropy > Guillotine > Entropy > Insurgency
  1024.     Guillotine > Entropy > Insurgency
  1025.    
  1026. -- Scythe Darkness:
  1027.     Insurgency (M) > Vorpal Scythe > Vorpal Scythe > Insurgency (M) > Entropy (MM) > Cross Reaper
  1028.     Entropy (MM) > Guillotine > Entropy (MM) > Cross Reaper > Entropy (MM)
  1029.     Cross Reaper > Insurgency (M) > Entropy (MM) > Cross Reaper
  1030.     Insurgency (M) > Entropy (MM) > Cross Reaper
  1031.     Cross Reaper > Entropy (MM)
  1032.     Entropy (MM) > Cross Reaper
  1033.  
  1034. -- Apoc Darkness
  1035.     Entropy (MM) > Guillotine > Entropy (MM) > Cross Reaper > Entropy (MM) > Catastrophe (R)
  1036.     Entropy (MM) > Guillotine > Entropy (MM) > Cross Reaper > Entropy (MM)
  1037.     Insurgency (M) > Entropy (MM) > Cross Reaper > Catastrophe (R)
  1038.     Insurgency (M) > Catastrophe (R) > Cross Reaper > Catastrophe (R)
  1039.     Cross Reaper > Insurgency (M) > Catastrophe (R) > Cross Reaper
  1040.     Catastrophe (R) > Cross Reaper > Catastrophe (R)
  1041.     Insurgency (M) > Catastrophe (R) > Cross Reaper
  1042.     Cross Reaper > Catastrophe (R) > Catastrophe (R)
  1043.     Cross Reaper > Entropy (MM) > Catastrophe (R)
  1044.     Entropy (MM) > Cross Reaper > Catastrophe (R)
  1045.     Catastrophe (R) > Catastrophe (R)
  1046.     Catastrophe (R) > Cross Reaper
  1047.     Cross Reaper > Catastrophe (R)
  1048.  
  1049. -- Other Light
  1050.     Catastrophe (R) > Savage Blade (Q) > Insurgency (M)
  1051.     Entropy (MM) > Savage Blade (Q) > Insurgency (M)
  1052.     Savage Blade (Q) > Insurgency (M)
  1053.     Chant du Cygne (E) > Torcleaver (E)
  1054.  
  1055. -- Other Dark
  1056.     Atonement (M) > Entropy (MM) > Cross Reaper
  1057.     Savage Blade (Q) > Cross Reaper > Entropy (MM)
  1058.     Chant du Cygne (E) > Catastrophe (R)
  1059.     Chant du Cygne (E) > Entropy (MM)
  1060.     Requiescat (MM) > Cross Reaper
  1061.     Requiescat (MM) > Torcleaver (E)
  1062.  
  1063. -- GreatSword
  1064.     Resolution (MM) > Torcleaver (E) > Scourge (R) > Resolution (MM) > Torcleaver (E)
  1065.     Resolution (MM) > Torcleaver (E) > Scourge (R) > Resolution (MM)
  1066.     Resolution (MM) > Scourge (R) > Torcleaver (E)
  1067.     Scourge (R) > Resolution (MM) > Torcleaver (E)
  1068.     Torcleaver (E) > Torcleaver (E)
  1069.     Scourge (R) > Resolution (MM)
  1070. --]]
  1071.  
  1072.     -- WS Base Set --
  1073.     sets.WS = {
  1074.         ammo="Knobkierrie",
  1075.     head={ name="Odyssean Helm", augments={'Accuracy+21 Attack+21','Weapon skill damage +3%','STR+8','Accuracy+8',}},
  1076.     body="Ignominy Cuirass +3",
  1077.     hands={ name="Odyssean Gauntlets", augments={'Accuracy+27','Weapon skill damage +4%','MND+8','Attack+2',}},
  1078.     legs="Ig. Flanchard +3",
  1079.     feet="Sulev. Leggings +2",
  1080.     neck="Fotia Gorget",
  1081.     waist="Fotia Belt",
  1082.     left_ear="Ishvara Earring",
  1083.     right_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +250',}},
  1084.     left_ring="Regal Ring",
  1085.     right_ring="Niqmaddu Ring",
  1086.     back={ name="Ankou's Mantle", augments={'VIT+20','Accuracy+20 Attack+20','VIT+10','Weapon skill damage +10%',}}}
  1087.  
  1088.     -- Resolution Sets --
  1089.     --Description:  Delivers a fivefold attack. Damage varies with TP.
  1090.     --Stat Modifier:    73~85% STR fTP: 0.71875 1.5 2.25
  1091.     sets.WS.Resolution = {     
  1092.         ammo="Seeth. Bomblet +1",
  1093.     head="Flam. Zucchetto +2",
  1094.     body="Ignominy Cuirass +3",
  1095.     hands="Sulev. Gauntlets +2",
  1096.     legs="Ig. Flanchard +3",
  1097.     feet="Flam. Gambieras +2",
  1098.     neck="Fotia Gorget",
  1099.     waist="Fotia Belt",
  1100.     left_ear="Brutal Earring",
  1101.     right_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +25',}},
  1102.     left_ring="Niqmaddu Ring",
  1103.     right_ring="Regal Ring",
  1104.     back={ name="Ankou's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10',}}}
  1105.    
  1106.     sets.WS.Resolution.MidACC = set_combine(sets.WS.Resolution,{
  1107.         hands="Ignominy Gauntlets +3",})
  1108.        
  1109.     sets.WS.Resolution.HighACC = set_combine(sets.WS.Resolution.MidACC,{})
  1110.    
  1111.     -- Torcleaver Sets --
  1112.     -- Description: Deals triple damage. Damage varies with TP.
  1113.     -- Stat Modifier:   80% VIT fTP:    4.75    7.5 10
  1114.     sets.WS.Torcleaver = {
  1115.         ammo="Knobkierrie",
  1116.     head={ name="Odyssean Helm", augments={'Accuracy+21 Attack+21','Weapon skill damage +3%','STR+8','Accuracy+8',}},
  1117.     body="Ignominy Cuirass +3",
  1118.     hands={ name="Odyssean Gauntlets", augments={'Accuracy+27','Weapon skill damage +4%','MND+8','Attack+2',}},
  1119.     legs="Ig. Flanchard +3",
  1120.     feet="Sulev. Leggings +2",
  1121.     neck="Fotia Gorget",
  1122.     waist="Fotia Belt",
  1123.     left_ear="Ishvara Earring",
  1124.     right_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +250',}},
  1125.     left_ring="Regal Ring",
  1126.     right_ring="Niqmaddu Ring",
  1127.     back={ name="Ankou's Mantle", augments={'VIT+20','Accuracy+20 Attack+20','VIT+10','Weapon skill damage +10%',}}}
  1128.        
  1129.     sets.WS.Torcleaver.MidACC = set_combine(sets.WS.Torcleaver,{
  1130.         ammo="Knobkierrie",
  1131.         head="Ignominy Burgonet +3",
  1132.         right_ear="Telos Earring",})
  1133.        
  1134.     sets.WS.Torcleaver.HighACC = set_combine(sets.WS.Torcleaver.MidACC,{})
  1135.  
  1136.     -- Scourge Sets --
  1137.     --Relic Aftermath: +5% Critical Hit Rate 15 acc
  1138.     --Stat Modifier:    40% STR / 40% VIT   fTP:    3.0
  1139.     sets.WS.Scourge = {
  1140.         ammo="Knobkierrie",
  1141.         body="Ignominy Cuirass +3",
  1142.         feet="Sulevia's Leggings +2",
  1143.         neck="Fotia Gorget",
  1144.         waist="Fotia Belt",
  1145.         left_ear="Brutal earring",
  1146.         right_ear="Ishvara Earring",
  1147.         left_ring="Regal Ring",
  1148.         right_ring="Niqmaddu Ring",}
  1149.        
  1150.     sets.WS.Scourge.MidACC = set_combine(sets.WS.Scourge,{
  1151.         left_ear="Cessance earring",
  1152.         right_ear="Telos Earring",})
  1153.        
  1154.     sets.WS.Scourge.HighACC = set_combine(sets.WS.Scourge.MidACC,{})   
  1155.  
  1156.     sets.WS.Shockwave = {
  1157.         ammo="Pemphredo Tathlum",
  1158.         head="Carmine Mask +1",
  1159.         body="Carmine Scale Mail",
  1160.         hands="Leyline Gloves",
  1161.         legs="Eschite cuisses",
  1162.         feet="Ignominy Sollerets +3",
  1163.         neck="Erra Pendant",
  1164.         waist="Eschan Stone",
  1165.         left_ear="Hermetic Earring",
  1166.         right_ear="Telos Earring",
  1167.         left_ring="Regal Ring",
  1168.         right_ring="Stikini Ring",}
  1169.  
  1170.     -- Catastrophe Sets --
  1171.     --Stat Modifier:    40% STR / 40% INT   fTP:    2.75
  1172.     --Relic Aftermath: 10% Equipment Haste (+102/1024) AG 10% Ability
  1173.     sets.WS.Catastrophe = {
  1174.         ammo="Knobkierrie",
  1175.         head="Ratri Sallet",
  1176.         body="Ignominy Cuirass +3",
  1177.         hands="Ratri Gadlings",
  1178.         legs="Ratri Cuisses",
  1179.         feet="Ratri Sollerets",
  1180.         neck="Fotia Gorget",
  1181.         waist="Fotia Belt",
  1182.         left_ear="Brutal earring",
  1183.         right_ear="Ishvara Earring",
  1184.         left_ring="Regal Ring",
  1185.         right_ring="Niqmaddu Ring",}
  1186.        
  1187.     sets.WS.Catastrophe.MidACC = set_combine(sets.WS.Catastrophe,{
  1188.         right_ear="Telos Earring",})
  1189.        
  1190.     sets.WS.Catastrophe.HighACC = set_combine(sets.WS.Catastrophe.MidACC,{})
  1191.  
  1192.     -- Entropy Sets --
  1193.     --Delivers a fourfold attack. Converts some of the damage into MP. Damage varies with TP.
  1194.     --Stat Modifier:    73~85% INT fTP: 0.75    1.25    2.0
  1195.     sets.WS.Entropy = {
  1196.         ammo="Pemphredo Tathlum",
  1197.     head="Flam. Zucchetto +2",
  1198.     body={ name="Valorous Mail", augments={'Accuracy+11 Attack+11','"Dbl.Atk."+4','STR+10',}},
  1199.     hands="Sulev. Gauntlets +2",
  1200.     legs="Ignominy Flanchard +3",
  1201.     feet={ name="Valorous Greaves", augments={'"Dbl.Atk."+4','Accuracy+5','Attack+2',}},
  1202.     neck="Fotia Gorget",
  1203.     waist="Fotia Belt",
  1204.     left_ear="Brutal Earring",
  1205.     right_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +25',}},
  1206.     left_ring="Shiva Ring",
  1207.     right_ring="Shiva Ring",
  1208.     back={ name="Ankou's Mantle", augments={'INT+20','Accuracy+20 Attack+20','"Dbl.Atk."+10',}}}
  1209.        
  1210.     sets.WS.Entropy.MidACC = set_combine(sets.WS.Entropy,{
  1211.         right_ear="Telos earring",})
  1212.        
  1213.     sets.WS.Entropy.HighACC = set_combine(sets.WS.Entropy.MidACC,{
  1214.         ammo="Seething Bomblet",
  1215.         body="Ignominy Cuirass +3",})
  1216.                            
  1217.     -- CrossReaper Sets --
  1218.     --Delivers a two-hit attack. Damage varies with TP.
  1219.     --Stat Modifier:    60% STR / 60% MND fTP:  2.0 4.0 7.0
  1220.     sets.WS['Cross Reaper'] = {
  1221.         head="Ratri Sallet",
  1222.     body="Ignominy Cuirass +3",
  1223.     hands="Ratri Gadlings",
  1224.     legs="Ratri Cuisses",
  1225.     feet="Sulev. Leggings +2",
  1226.     neck="Caro Necklace",
  1227.     waist="Fotia Belt",
  1228.     left_ear="Ishvara Earring",
  1229.     right_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +25',}},
  1230.     left_ring="Niqmaddu Ring",
  1231.     right_ring="Regal Ring",
  1232.     back={ name="Ankou's Mantle", augments={'STR+20','Accuracy+20 Attack+20','Weapon skill damage +10%',}}}
  1233.        
  1234.     sets.WS['Cross Reaper'].MidACC = set_combine(sets.WS['Cross Reaper'],{
  1235.         legs="Ignominy Flanchard +3",
  1236.         hands="Ignominy Gauntlets +3",})
  1237.        
  1238.     sets.WS['Cross Reaper'].HighACC = set_combine(sets.WS['Cross Reaper'].MidACC,{
  1239.         head="Ignominy Burgonet +3",
  1240.         right_ear="Telos earring",})                           
  1241.  
  1242.     -- Insurgency Sets --
  1243.     --Delivers a fourfold attack. Damage varies with TP.
  1244.     --Stat Modifier:    20% STR / 20% INT fTP:  0.5 3.25    6.0
  1245.     sets.WS.Insurgency = {
  1246.         ammo="Knobkierrie",
  1247.     head="Ratri Sallet",
  1248.     body="Ignominy Cuirass +3",
  1249.     hands="Ratri Gadlings",
  1250.     legs="Ignominy Flanchard +3",
  1251.     feet="Sulev. Leggings +2",
  1252.     neck="Caro Necklace",
  1253.     waist="Fotia Belt",
  1254.     left_ear="Ishvara Earring",
  1255.     right_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +25',}},
  1256.     left_ring="Niqmaddu Ring",
  1257.     right_ring="Regal Ring",
  1258.     back={ name="Ankou's Mantle", augments={'STR+20','Accuracy+20 Attack+20','Weapon skill damage +10%',}}}
  1259.        
  1260.     sets.WS.Insurgency.MidACC = set_combine(sets.WS.Insurgency,{
  1261.         hands="Ignominy Gauntlets +3",
  1262.         feet="Ratri Sollerets",})
  1263.        
  1264.     sets.WS.Insurgency.HighACC = set_combine(sets.WS.Insurgency.MidACC,{
  1265.         head="Ignominy Burgonet +3",
  1266.         right_ear="Telos earring",})
  1267.    
  1268.     -- Quietus Sets --
  1269.     --Delivers a triple damage attack that ignores target's defense. Amount ignored varies with TP.
  1270.     --Stat Modifier:    60% STR / 60% MND Defense ignored:  10% 30% 50% fTP:    3.0
  1271.     sets.WS.Quietus = {
  1272.         ammo="Knobkierrie",
  1273.     head="Ratri Sallet",
  1274.     body="Ignominy Cuirass +3",
  1275.     hands="Ratri Gadlings",
  1276.     legs="Ratri Cuisses",
  1277.     feet="Sulev. Leggings +2",
  1278.     neck="Caro Necklace",
  1279.     waist="Fotia Belt",
  1280.     left_ear="Ishvara Earring",
  1281.     right_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +25',}},
  1282.     left_ring="Niqmaddu Ring",
  1283.     right_ring="Regal Ring",
  1284.     back={ name="Ankou's Mantle", augments={'STR+20','Accuracy+20 Attack+20','Weapon skill damage +10%',}}}
  1285.  
  1286.     sets.WS.Quietus.MidACC = set_combine(sets.WS.Quietus, {
  1287.         right_ear="Telos Earring",})
  1288.        
  1289.     sets.WS.Quietus.HighACC = set_combine(sets.WS.Quietus.MidACC, {})
  1290.  
  1291.     -----------------------------------------------------------------------------------------------------------------
  1292.     -- works in motes based, not sure how to get it to work here
  1293.     sets.Item = {HolyWater}
  1294.     sets.Item['Holy Water'] = {ring1="Blenmot's Ring", ring2="Blenmot's Ring"}
  1295.    
  1296.     --react sets
  1297.     sets.Meva = {
  1298.     ammo="Staunch Tathlum",
  1299.     head="Ratri Sallet",
  1300.     neck="Warder's Charm",
  1301.     left_ear="Hearty Earring",
  1302.     right_ear="Eabani Earring",
  1303.     left_ring="Defending Ring",
  1304.     right_ring="Shadow Ring",
  1305.     legs="Ratri Cuisses",
  1306.     feet="Ratri Sollerets",
  1307.     hands="Ratri Gadlings",
  1308.     waist="Asklepian Belt",}
  1309.     sets.CurePotencyRecieved = {waist="Gishdubar sash", neck="Phalaina Locket", ring1="Kunaji Ring", hands="Buremte Gloves",}
  1310.     sets.PhalanxRecieved = {}
  1311.     sets.RefreshRecieved = {waist="Gishdubar sash",} --feet="Inspirited boots"
  1312.     sets.CursnaRecieved = {waist="Gishdubar sash", legs="Shabti Cuisses +1", ring1="Eshmun's Ring", ring2="Eshmun's Ring"}
  1313.     sets.ResistStun = set_combine(sets.Meva, {right_ear="Arete del Luna", left_ear="Hearty Earring", body="Onca Suit", })
  1314.     sets.ProShellRecieved = {ear1="Brachyura Earring",}
  1315.     sets.ResistTerror = set_combine(sets.Meva,{feet="Founder's Greaves",})
  1316.    
  1317. end
  1318.  
  1319. function pretarget(spell,action)
  1320.     if spell.action_type == 'Magic' and buffactive.silence then -- Auto Use Echo Drops If You Are Silenced --
  1321.         cancel_spell()
  1322.         send_command('input /item "Echo Drops" <me>')
  1323.     elseif spell.english == "Berserk" and buffactive.Berserk then -- Change Berserk To Aggressor If Berserk Is On --
  1324.         cancel_spell()
  1325.         send_command('Aggressor')
  1326.     elseif spell.english == "Seigan" and buffactive.Seigan then -- Change Seigan To Third Eye If Seigan Is On --
  1327.         cancel_spell()
  1328.         send_command('ThirdEye')
  1329.     elseif spell.english == "Meditate" and player.tp > 2900 then -- Cancel Meditate If TP Is Above 2900 --
  1330.         cancel_spell()
  1331.         add_to_chat(123, spell.name .. ' Canceled: ['..player.tp..' TP]')
  1332.     elseif spell.type == "WeaponSkill" and spell.target.distance > target_distance and player.status == 'Engaged' then -- Cancel WS If You Are Out Of Range --
  1333.         cancel_spell()
  1334.         add_to_chat(123, spell.name..' Canceled: [Out of Range]')
  1335.         return
  1336.     end
  1337. end
  1338.  
  1339. function precast(spell,action)
  1340.     if spell.type == "WeaponSkill" then
  1341.             equipSet = sets.WS
  1342.             if equipSet[spell.english] then
  1343.                 equipSet = equipSet[spell.english]
  1344.             end
  1345.             if equipSet[AccArray[AccIndex]] then
  1346.                 equipSet = equipSet[AccArray[AccIndex]]
  1347.             end
  1348.             if buffactive['Reive Mark'] then -- Equip Ygnas's Resolve +1 During Reive --
  1349.                 equipSet = set_combine(equipSet,{neck="Ygnas's Resolve +1"})
  1350.             end
  1351.             if (spell.english == "Entropy" or spell.english == "Resolution" or spell.english == "Insurgency") and (player.tp > 2990 or buffactive.Sekkanoki) then
  1352.                 if world.time <= (7*60) or world.time >= (17*60) then
  1353.                     equipSet = set_combine(equipSet,{ear1="Lugra Earring +1"})
  1354.                 else
  1355.                     equipSet = set_combine(equipSet,{ear1="Ishvara Earring"})
  1356.                 end
  1357.             end
  1358.             equip(equipSet)
  1359.     elseif spell.type == "JobAbility" then
  1360.         if sets.JA[spell.english] then
  1361.             equip(sets.JA[spell.english])
  1362.         end
  1363.     elseif spell.action_type == 'Magic' then
  1364.         if buffactive.silence or spell.target.distance > 16+target_distance then -- Cancel Magic or Ninjutsu If You Are Silenced or Out of Range --
  1365.             cancel_spell()
  1366.             add_to_chat(123, spell.name..' Canceled: [Silenced or Out of Casting Range]')
  1367.             return
  1368.         else
  1369.             if spell.english == 'Utsusemi: Ni' then
  1370.                 if buffactive['Copy Image (3)'] then
  1371.                     cancel_spell()
  1372.                     add_to_chat(123, spell.name .. ' Canceled: [3 Images]')
  1373.                     return
  1374.                 else
  1375.                     equip(sets.Precast.FastCast)
  1376.                 end
  1377.             elseif sets.Precast[spell.skill] then
  1378.                 equip(sets.Precast[spell.skill])
  1379.             else
  1380.                 equip(sets.Precast.FastCast)
  1381.             end
  1382.         end
  1383.     elseif spell.english == 'Spectral Jig' and buffactive.Sneak then
  1384.         cast_delay(0.2)
  1385.         send_command('cancel Sneak')
  1386.     end
  1387.     if Twilight == 'Twilight' then
  1388.         equip(sets.Twilight)
  1389.     end
  1390. end
  1391.  
  1392. function midcast(spell,action)
  1393.     equipSet = {}
  1394.     if spell.action_type == 'Magic' then
  1395.         equipSet = sets.Midcast
  1396.         if spell.english:startswith('Absorb') and spell.english ~= "Absorb-TP" then
  1397.             equipSet = sets.Midcast.Absorb
  1398.             if equipSet[MaccArray[MaccIndex]] then
  1399.                 equipSet = equipSet[MaccArray[MaccIndex]]
  1400.             end
  1401.         elseif spell.english:startswith('Drain') or spell.english:startswith('Aspir') or spell.english:startswith('Bio') then
  1402.             if world.day == "Darksday" or world.weather_element == "Dark" then -- Equip Hachirin-no-Obi On Darksday or Dark Weather --
  1403.                 equipSet = set_combine(equipSet,{waist="Hachirin-no-Obi"})
  1404.             end
  1405.             equipSet =  sets.Midcast.Drain
  1406.         elseif spell.english == "Stoneskin" then
  1407.             if buffactive.Stoneskin then
  1408.                 send_command('@wait 1.7;cancel stoneskin')
  1409.             end
  1410.             equipSet = equipSet.Stoneskin
  1411.         elseif spell.english == "Sneak" then
  1412.             if spell.target.name == player.name and buffactive['Sneak'] then
  1413.                 send_command('cancel sneak')
  1414.             end
  1415.             equipSet = equipSet.Haste
  1416.         elseif spell.english:startswith('Utsusemi') then
  1417.             if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)'] or buffactive['Copy Image (3)']) then
  1418.                 send_command('@wait 1.7;cancel Copy Image*')
  1419.             end
  1420.             equipSet = equipSet.Haste
  1421.         elseif spell.english == 'Monomi: Ichi' then
  1422.             if buffactive['Sneak'] then
  1423.                 send_command('@wait 1.7;cancel sneak')
  1424.             end
  1425.             equipSet = equipSet.Haste
  1426.         else
  1427.             if equipSet[spell.english] then
  1428.                 equipSet = equipSet[spell.english]
  1429.             end
  1430.             if equipSet[MaccArray[MaccIndex]] then
  1431.                 equipSet = equipSet[MaccArray[MaccIndex]]
  1432.             end
  1433.             if equipSet[spell.skill] then
  1434.                 equipSet = equipSet[spell.skill]
  1435.             end
  1436.             if equipSet[spell.type] then
  1437.                 equipSet = equipSet[spell.type]
  1438.             end
  1439.         end
  1440.     elseif equipSet[spell.english] then
  1441.         equipSet = equipSet[spell.english]
  1442.     end
  1443.     if buffactive["Dark Seal"] and DarkSealIndex==0 then -- Equip Aug'd Fall. Burgeonet +1 When You Have Dark Seal Up --
  1444.         equipSet = set_combine(equipSet,{head="Fall. Burgeonet +1",})
  1445.     end
  1446.     if buffactive['Dark Seal'] and buffactive['Nether Void'] and S{"Drain II","Drain III"}:contains(spell.english) and player.tp<600 then
  1447.         equipSet = set_combine(equipSet,(sets.MAXDrain))
  1448.         add_to_chat(100,'WARNING: Misanthropy is on now *****')
  1449.     end
  1450.     equip(equipSet)
  1451. end
  1452.  
  1453. function aftercast(spell,action)
  1454.  
  1455.         if spell.type == "WeaponSkill" then
  1456.             send_command('wait 0.2;gs c TP')
  1457.         elseif spell.english == "Arcane Circle" then -- Arcane Circle Countdown --
  1458.             send_command('wait 260;input /echo '..spell.name..': [WEARING OFF IN 10 SEC.];wait 10;input /echo '..spell.name..': [OFF]')
  1459.         elseif spell.english == "Sleep II" then -- Sleep II Countdown --
  1460.             send_command('wait 60;input /echo Sleep Effect: [WEARING OFF IN 30 SEC.];wait 15;input /echo Sleep Effect: [WEARING OFF IN 15 SEC.];wait 10;input /echo Sleep Effect: [WEARING OFF IN 5 SEC.]')
  1461.         elseif spell.english == "Sleep" then -- Sleep Countdown --
  1462.             send_command('wait 30;input /echo Sleep Effect: [WEARING OFF IN 30 SEC.];wait 15;input /echo Sleep Effect: [WEARING OFF IN 15 SEC.];wait 10;input /echo Sleep Effect: [WEARING OFF IN 5 SEC.]')
  1463.         end
  1464.         status_change(player.status)
  1465.     end
  1466.    
  1467.  
  1468. function status_change(new,old)
  1469.     if Armor == 'PDT' then
  1470.         equip(sets.PDT)
  1471.     elseif Armor == 'MDT' then
  1472.         equip(sets.MDT)
  1473.     elseif Armor == 'Scarlet' then
  1474.         equip(sets.Scarlet)
  1475.     elseif new == 'Engaged' then
  1476.         equipSet = sets.TP
  1477.         if Armor == 'Hybrid' and equipSet["Hybrid"] then
  1478.             equipSet = equipSet["Hybrid"]
  1479.         end
  1480.         if equipSet[WeaponArray[WeaponIndex]] then
  1481.             equipSet = equipSet[WeaponArray[WeaponIndex]]
  1482.         end
  1483.         if equipSet[player.sub_job] then
  1484.             equipSet = equipSet[player.sub_job]
  1485.         end
  1486.         if equipSet[AccArray[AccIndex]] then
  1487.             equipSet = equipSet[AccArray[AccIndex]]
  1488.         end
  1489.         if buffactive["Aftermath: Lv.3"] and equipSet["AM"] then
  1490.                 if buffactive["Last Resort"] and ((buffactive.Haste and buffactive.March == 2) or (buffactive.Embrava and (buffactive.March == 2 or (buffactive.March and buffactive.Haste) or (buffactive.March and buffactive['Mighty Guard']) or (buffactive['Mighty Guard'] and buffactive.Haste))) or (buffactive[580] and (buffactive.March or buffactive.Haste or buffactive.Embrava or buffactive['Mighty Guard']))) and equipSet["HighHaste"] then
  1491.                     equipSet = equipSet["AM.HighHaste"]
  1492.                 else
  1493.                     equipSet = equipSet["AM"]
  1494.                 end
  1495.         end
  1496.         if buffactive.Aftermath and equipSet["AM"] then
  1497.             equipSet = equipSet["AM"]
  1498.         end
  1499.         if buffactive["Last Resort"] and ((buffactive.Haste and buffactive.March == 2) or (buffactive.Embrava and (buffactive.March == 2 or (buffactive.March and buffactive.Haste) or (buffactive.March and buffactive['Mighty Guard']) or (buffactive['Mighty Guard'] and buffactive.Haste))) or (buffactive[580] and (buffactive.March or buffactive.Haste or buffactive.Embrava or buffactive['Mighty Guard']))) and equipSet["HighHaste"] then
  1500.             equipSet = equipSet["HighHaste"]
  1501.         end
  1502.         if buffactive["Samurai Roll"] and equipSet["STP"] and Samurai_Roll == 'ON' then
  1503.             equipSet = equipSet["STP"]
  1504.         end
  1505.         equip(equipSet)
  1506.     else
  1507.         equipSet = sets.Idle
  1508.         if equipSet[IdleArray[IdleIndex]] then
  1509.             equipSet = equipSet[IdleArray[IdleIndex]]
  1510.         end
  1511.         if equipSet[WeaponArray[WeaponIndex]] then
  1512.             equipSet = equipSet[WeaponArray[WeaponIndex]]
  1513.         end
  1514.         if equipSet[player.sub_job] then
  1515.             equipSet = equipSet[player.sub_job]
  1516.         end
  1517.         if buffactive['Reive Mark'] then -- Equip Ygnas's Resolve +1 During Reive --
  1518.             equipSet = set_combine(equipSet,{neck="Ygnas's Resolve +1"})
  1519.         end
  1520.         if world.area:endswith('Adoulin') then
  1521.             equipSet = set_combine(equipSet,{body="Councilor's Garb"})
  1522.         end
  1523.         equip(equipSet)
  1524.     end
  1525.     if Twilight == 'Twilight' then
  1526.         equip(sets.Twilight)
  1527.     end
  1528. end
  1529.  
  1530. function buff_change(buff,gain)
  1531.     buff = string.lower(buff)
  1532.     if buff == "aftermath: lv.3" then -- AM3 Timer/Countdown --
  1533.         if gain then
  1534.             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.]')
  1535.         else
  1536.             send_command('timers delete "Aftermath: Lv.3"')
  1537.             add_to_chat(123,'AM3: [OFF]')
  1538.         end
  1539.     elseif buff == 'weakness' then -- Weakness Timer --
  1540.         if gain then
  1541.             send_command('timers create "Weakness" 300 up')
  1542.         else
  1543.             send_command('timers delete "Weakness"')
  1544.         end
  1545.     end
  1546.     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 --
  1547.         equip({neck="Vim Torque +1"})
  1548.     else
  1549.         if not midaction() then
  1550.             status_change(player.status)
  1551.         end
  1552.     end
  1553. end
  1554.  
  1555. -- In Game: //gs c (command), Macro: /console gs c (command), Bind: gs c (command) --
  1556. function self_command(command)
  1557.     if command == 'acc' then -- Accuracy Level Toggle --
  1558.         AccIndex = (AccIndex % #AccArray) + 1
  1559.         status_change(player.status)
  1560.         add_to_chat(155,'Accuracy Level: '..AccArray[AccIndex])
  1561.     elseif command == 'weapon' then -- Main Weapon Toggle --
  1562.         WeaponIndex = (WeaponIndex % #WeaponArray) + 1
  1563.         add_to_chat(158,'Main Weapon: '..WeaponArray[WeaponIndex])
  1564.         status_change(player.status)
  1565.     elseif command == 'C14' then -- Macc Toggle --
  1566.         MaccIndex = (MaccIndex % #MaccArray) + 1
  1567.         add_to_chat(158,'Macc Level: '..MaccArray[MaccIndex])
  1568.         status_change(player.status)
  1569.     elseif command == 'C5' then -- Auto Update Gear Toggle --
  1570.         status_change(player.status)
  1571.         add_to_chat(158,'Auto Update Gear')
  1572.     elseif command == 'hybrid' then -- Hybrid Toggle --
  1573.         if Armor == 'Hybrid' then
  1574.             Armor = 'None'
  1575.             add_to_chat(123,'Hybrid Set: [Unlocked]')
  1576.         else
  1577.             Armor = 'Hybrid'
  1578.             add_to_chat(158,'Hybrid Set: '..AccArray[AccIndex])
  1579.         end
  1580.         status_change(player.status)
  1581.         elseif command == 'C10' then -- DarkSeal Toggle --
  1582.         if DarkSealIndex == 1 then
  1583.                         DarkSealIndex = 0
  1584.                         add_to_chat(158,'DarkSeal Duration: [On]')
  1585.         else
  1586.                         DarkSealIndex = 1
  1587.                         add_to_chat(158,'DarkSeal Potency: [On]')
  1588.         end
  1589.         status_change(player.status)
  1590.     elseif command == 'pdt' then -- PDT Toggle --
  1591.         if Armor == 'PDT' then
  1592.             Armor = 'None'
  1593.             add_to_chat(123,'PDT Set: [Unlocked]')
  1594.         else
  1595.             Armor = 'PDT'
  1596.             add_to_chat(158,'PDT Set: [Locked]')
  1597.         end
  1598.         status_change(player.status)
  1599.     elseif command == 'C15' then -- MDT Toggle --
  1600.         if Armor == 'MDT' then
  1601.             Armor = 'None'
  1602.             add_to_chat(123,'MDT Set: [Unlocked]')
  1603.         else
  1604.             Armor = 'MDT'
  1605.             add_to_chat(158,'MDT Set: [Locked]')
  1606.         end
  1607.         status_change(player.status)
  1608.     elseif command == 'C9' then -- Scarlet Toggle --
  1609.         if Armor == 'Scarlet' then
  1610.             Armor = 'None'
  1611.             add_to_chat(123,'Scarlet Set: [Unlocked]')
  1612.         else
  1613.             Armor = 'Scarlet'
  1614.             add_to_chat(158,'Scarlet Set: [Locked]')
  1615.         end
  1616.         status_change(player.status)
  1617.     elseif command == 'C3' then -- Twilight Toggle --
  1618.         if Twilight == 'Twilight' then
  1619.             Twilight = 'None'
  1620.             add_to_chat(123,'Twilight Set: [Unlocked]')
  1621.         else
  1622.             Twilight = 'Twilight'
  1623.             add_to_chat(158,'Twilight Set: [locked]')
  1624.         end
  1625.         status_change(player.status)
  1626.     elseif command == 'C8' then -- Distance Toggle --
  1627.         if player.target.distance then
  1628.             target_distance = math.floor(player.target.distance*10)/10
  1629.             add_to_chat(158,'Distance: '..target_distance)
  1630.         else
  1631.             add_to_chat(123,'No Target Selected')
  1632.         end
  1633.     elseif command == 'idle' then -- Idle Toggle --
  1634.         IdleIndex = (IdleIndex % #IdleArray) + 1
  1635.         status_change(player.status)
  1636.         add_to_chat(158,'Idle Set: '..IdleArray[IdleIndex])
  1637.     elseif command == 'TP' then
  1638.         add_to_chat(158,'TP Return: ['..tostring(player.tp)..']')
  1639.     elseif command:match('^SC%d$') then
  1640.         send_command('//' .. sc_map[command])
  1641.     end
  1642. end
  1643.  
  1644. function sub_job_change(newSubjob, oldSubjob)
  1645.     select_default_macro_book()
  1646. end
  1647.  
  1648. function set_macro_page(set,book)
  1649.     if not tonumber(set) then
  1650.         add_to_chat(123,'Error setting macro page: Set is not a valid number ('..tostring(set)..').')
  1651.         return
  1652.     end
  1653.     if set < 1 or set > 10 then
  1654.         add_to_chat(123,'Error setting macro page: Macro set ('..tostring(set)..') must be between 1 and 10.')
  1655.         return
  1656.     end
  1657.    
  1658.     if book then
  1659.         if not tonumber(book) then
  1660.             add_to_chat(123,'Error setting macro page: book is not a valid number ('..tostring(book)..').')
  1661.             return
  1662.         end
  1663.         if book < 1 or book > 20 then
  1664.             add_to_chat(123,'Error setting macro page: Macro book ('..tostring(book)..') must be between 1 and 20.')
  1665.             return
  1666.         end
  1667.         send_command('@input /macro book '..tostring(book)..';wait .1;input /macro set '..tostring(set))
  1668.     else
  1669.         send_command('@input /macro set '..tostring(set))
  1670.     end
  1671. end
  1672.  
  1673. function select_default_macro_book()
  1674.     -- Default macro set/book
  1675.     if player.sub_job == 'SAM' then
  1676.         set_macro_page(1, 10)
  1677.     else
  1678.         set_macro_page(1, 10)
  1679.     end
  1680. 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