SHARE
TWEET

BLU.lua

a guest Aug 14th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function get_sets()
  2.     maps()
  3.     send_command('bind f9 gs c toggle TP set')
  4.     send_command('bind !f9 gs c toggle Treasure Lock')
  5.     send_command('bind f10 gs c toggle CDC set')
  6.     send_command('bind f11 gs c toggle Req set')
  7.     send_command('bind f12 gs c toggle Idle set')
  8.    
  9.     function file_unload()
  10.      
  11.  
  12.         send_command('unbind ^f9')
  13.         send_command('unbind ^f10')
  14.         send_command('unbind ^f11')
  15.         send_command('unbind ^f12')
  16.        
  17.         send_command('unbind !f9')
  18.         send_command('unbind !f10')
  19.         send_command('unbind !f11')
  20.         send_command('unbind !f12')
  21.  
  22.         send_command('unbind f9')
  23.         send_command('unbind f10')
  24.         send_command('unbind f11')
  25.         send_command('unbind f12')
  26.  
  27.        
  28.  
  29.     end
  30.    
  31.     -- Augmented Gear Variables --
  32.     RosmertaTP =  { name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Store TP"+10','Phys. dmg. taken-10%',}}
  33.     RosmertaWSD = { name="Rosmerta's Cape", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}}
  34.     RosmertaCDC = { name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','Crit.hit rate+10','Magic dmg. taken-10%',}}
  35.     HerculeanFeetTP = { name="Herculean Boots", augments={'Attack+22','"Triple Atk."+4','DEX+9','Accuracy+8',}}
  36.     HerculeanFeetTH = { name="Herculean Boots", augments={'"Subtle Blow"+7','Pet: STR+1','"Treasure Hunter"+2',}}
  37.     HerculeanFeetWSD = { name="Herculean Boots", augments={'Accuracy+7','Weapon skill damage +5%','STR+8','Attack+8',}}
  38.     HerculeanBodyCD = { name="Herculean Vest", augments={'Crit. hit damage +5%','DEX+7','Accuracy+1','Attack+5',}}
  39.     HerculeanHeadWSD = { name="Herculean Helm", augments={'Rng.Atk.+22','Weapon skill damage +5%','STR+8','Attack+15',}}
  40.     TelchBodyPet = { name="Telchine Chas.", augments={'Pet: "Regen"+2','Pet: Damage taken -3%',}} -- Get Enhancing Duration Body --
  41.     TelchHandHeals = { name="Telchine Gloves", augments={'"Cure" potency +7%','INT+6 MND+6',}}
  42.     TelchHandEnh = { name="Telchine Gloves", augments={'Enh. Mag. eff. dur. +7',}}
  43.     TelchLegsEnh = { name="Telchine Braconi", augments={'Enh. Mag. eff. dur. +10',}}
  44.    
  45.    
  46.     --Treasurelock--   
  47.     sets.Treasurelock = {}
  48.    
  49.     sets.Treasurelock.index = {'Unlocked', 'Locked'}
  50.     Treasurelock_ind = 1   
  51.    
  52.     sets.Treasurelock.Unlocked = {}
  53.     sets.Treasurelock.Locked = {feet=HerculeanFeetTH}
  54.    
  55.    
  56.     --Idle Sets--  
  57.     sets.Idle = {}
  58.    
  59.     sets.Idle.index = {'Standard','DT'}
  60.     Idle_ind = 1           
  61.    
  62.     sets.Idle.Standard = {ammo="Hydrocera",
  63.                           head="Rawhide Mask", neck="Sanctity Necklace", left_ear="Ethereal Earring", right_ear="Infused Earring",
  64.                           body="Assim. Jubbah +3", hands="Serpentes Cuffs", left_ring="Defending Ring", right_ring="Dark Ring",
  65.                           back=RosmertaTP, waist="Flume Belt +1", legs="Carmine Cuisses +1", feet="Serpentes Sabots"}
  66.                          
  67.     sets.Idle.DT = set_combine(sets.Idle.Standard, {neck="Twilight Torque", body="Ayanmo Corazza +2", hands="Assim. Bazu. +2", feet=HerculeanFeetTP})
  68.    
  69.     --TP Sets--
  70.     sets.TP = {}
  71.  
  72.     sets.TP.index = {'Standard', 'Accuracy', 'PDT', 'PDTAccuracy', 'MDT', 'MDTAccuracy', 'Learning'}
  73.     TP_ind = 1
  74.    
  75.     sets.TP.Standard = {ammo="Ginsen",
  76.                           head="Adhemar Bonnet +1", neck="Mirage Stole +2", left_ear="Suppanomimi", right_ear="Telos Earring",
  77.                           body="Adhemar Jacket", hands="Adhemar Wrist. +1", left_ring="Petrov Ring", right_ring="Epona's Ring",
  78.                           back=RosmertaTP, waist="Windbuffet Belt +1", legs="Samnuha Tights", feet=HerculeanFeetTP}
  79.                    
  80.     sets.TP.Accuracy =     set_combine(sets.TP.Standard, {})
  81.     sets.TP.PDT =          set_combine(sets.TP.Standard, {})
  82.     sets.TP.PDTAccuracy =  set_combine(sets.TP.Standard, {})
  83.     sets.TP.MDT =          set_combine(sets.TP.Standard, {})
  84.     sets.TP.MDTAccuracy =  set_combine(sets.TP.Standard, {})
  85.     sets.TP.Learning =     set_combine(sets.TP.Standard, {ammo="Mavi Tathlum", body="Assim. Jubbah +3", hands="Assim. Bazu. +2", back="Cornflower Cape", legs="Hashishin Tayt +1", feet="Luhlaza Charuqs +1"})
  86.  
  87.    
  88.    
  89.    
  90.     --Generic Weaponskill Sets--
  91.     sets.WS = {}
  92.    
  93.     -- Savage/Expiacion: STR WSD --
  94.     sets.WS.SavageExpiacion = {ammo="Cheruski Needle",
  95.                           head=HerculeanHeadWSD, neck="Mirage Stole +2", left_ear="Moonshade Earring", right_ear="Telos Earring",
  96.                           body="Assim. Jubbah +3", hands="Jhakri Cuffs +2", left_ring="Shukuyu Ring", right_ring="Rajas Ring",
  97.                           back=RosmertaWSD, waist="Fotia Belt", legs="Luhlaza Shalwar +3", feet=HerculeanFeetWSD}
  98.    
  99.     --Sanguine Blade: MagAtt INT MND STR WSD --
  100.     sets.WS.SanguineBlade = {ammo="Pemphredo Tathlum",
  101.                           head="Pixie Hairpin +1", neck="Sanctity Necklace", left_ear="Friomisi Earring", right_ear="Regal Earring",
  102.                           body="Amalric Doublet", hands="Jhakri Cuffs +2", left_ring="Shiva Ring +1", right_ring="Diamond Ring",
  103.                           back="Cornflower Cape", waist="Eschan Stone", legs="Luhlaza Shalwar +3", feet="Amalric Nails +1"}
  104.                          
  105.     -- Black Halo: MND STR WSD --
  106.     sets.WS.BlackHalo = set_combine(sets.WS.SavageExpiacion, {ammo="Hydrocera", right_ring="Aquasoul Ring"})
  107.    
  108.     -- Flashnova: MagAtt MND STR INT --
  109.     sets.WS.FlashNova = set_combine(sets.WS.SanguineBlade, {ammo="Hydrocera", head="Jhakri Coronal +1", left_ring="Star Ring", right_ring="Aquasoul Ring"})
  110.  
  111.  
  112.    
  113.     --CDC Weaponskill Sets--   
  114.     sets.ChantDuCygne = {}
  115.    
  116.     sets.ChantDuCygne.index = {'Attack','Accuracy'}
  117.     ChantDuCygne_ind = 1
  118.    
  119.     --Chant du Cygne: Full DEX Attack Acc multi hit STR --
  120.     sets.ChantDuCygne.Attack = {ammo="Jukukik Feather",
  121.                           head="Adhemar Bonnet +1", neck="Mirage Stole +2", left_ear="Moonshade Earring", right_ear="Brutal Earring",
  122.                           body=HerculeanBodyCD, hands="Adhemar Wrist. +1", left_ring="Begrudging Ring", right_ring="Epona's Ring",
  123.                           back=RosmertaCDC, waist="Fotia Belt", legs="Samnuha Tights", feet="Thereoid Greaves"}
  124.                                
  125.     sets.ChantDuCygne.Accuracy = set_combine(sets.ChantDuCygne.Attack, {})
  126.    
  127.    
  128.    
  129.     --Requiescat & Realmrazer Weaponskill Sets--
  130.     sets.Requiescat = {}
  131.    
  132.     sets.Requiescat.index = {'Attack','Accuracy'}
  133.     Requiescat_ind = 1
  134.    
  135.     --Requiescat/Realmrazer: Full MND Attack multi hit STR Acc as needed --
  136.     sets.Requiescat.Attack = {ammo="Hydrocera",
  137.                           head="Jhakri Coronal +1", neck="Fotia Gorget", left_ear="Moonshade Earring", right_ear="Brutal Earring",
  138.                           body="Jhakri Robe +1", hands="Jhakri Cuffs +2", left_ring="Aquasoul Ring", right_ring="Epona's Ring",
  139.                           back="Relucent Cape", waist="Fotia Belt", legs="Jhakri Slops +1", feet="Jhakri Pigaches +1"}
  140.                                  
  141.     sets.Requiescat.Accuracy = set_combine(sets.Requiescat.Attack, {})
  142.  
  143.    
  144.  
  145.  
  146.    
  147.     -- BLU Specific Magic Sets --
  148.     sets.BLU = {}
  149.     -- Physical --
  150.     sets.BLU.STR = {ammo="Cheruski Needle",
  151.                           head="Adhemar Bonnet +1", neck="Caro Necklace", left_ear="Flame Pearl", right_ear="Telos Earring",
  152.                           body="Assim. Jubbah +3", hands="Jhakri Cuffs +2", left_ring="Shukuyu ring", right_ring="Rajas Ring",
  153.                           back=RosmertaWSD, waist="Grunfeld Rope", legs="Jhakri Slops +1", feet="Jhakri Pigaches +1"}
  154.    
  155.     sets.BLU.DEX = set_combine(sets.BLU.STR, {}) -- Meh --
  156.     sets.BLU.VIT = set_combine(sets.BLU.STR, {}) -- Meh --
  157.     sets.BLU.AGI = set_combine(sets.BLU.STR, {}) -- Meh --
  158.    
  159.     sets.BLU.AddedEffect = {ammo="Pemphredo Tathlum",
  160.                           head="Carmine Mask +1", neck="Mirage Stole +2", left_ear="Digni. Earring", right_ear="Regal Earring",
  161.                           body="Jhakri Robe +1", hands="Jhakri Cuffs +2", left_ring="Weather. Ring", right_ring="Kishar Ring",
  162.                           back="Cornflower Cape", waist="Eschan Stone", legs="Jhakri Slops +1", feet="Jhakri Pigaches +1"}
  163.                          
  164.     -- Nukes --                  
  165.     sets.BLU.Nukes = {ammo="Pemphredo Tathlum",
  166.                           head="Jhakir Coronal +1", neck="Sanctity Necklace", left_ear="Friomisi Earring", right_ear="Regal Earring",
  167.                           body="Amalric Doublet", hands="Amalric Gages +1", left_ring="Shiva Ring +1", right_ring="Diamond Ring",
  168.                           back="Cornflower Cape", waist="Eschan Stone", legs="Amalric Slops +1", feet="Amalric Nails +1"}
  169.    
  170.     sets.BLU.DarkNukes =  set_combine(sets.BLU.Nukes, {head="Pixie Hairpin +1"})
  171.     sets.BLU.LightNukes = set_combine(sets.BLU.Nukes, {left_ring="Weather. Ring", right_ring="Shiva Ring +1",})
  172.     sets.BLU.Breath = set_combine(sets.BLU.Nukes, {}) -- Meh --
  173.    
  174.     sets.BLU.MagicAcc = {ammo="Pemphredo Tathlum",
  175.                           head="Assim. Keffiyeh +2", neck="Mirage Stole +2", left_ear="Digni. Earring", right_ear="Regal Earring",
  176.                           body="Jhakri Robe +1", hands="Jhakri Cuffs +2", left_ring="Weather. Ring", right_ring="Kishar Ring",
  177.                           back="Cornflower Cape", waist="Luminary Sash", legs="Assim. Shalwar +2", feet="Jhakri Pigaches +1"}
  178.                          
  179.     sets.BLU.Enmity = set_combine(sets.BLU.MagicAcc, {})
  180.     sets.BLU.AccRecast = set_combine(sets.BLU.MagicAcc, {hands="Hashi. Bazubands"})
  181.    
  182.    
  183.    
  184.     -- Heals --                  
  185.     sets.BLU.Cures = {ammo="Hydrocera",
  186.                           head="Assim. Keffiyeh +2", neck="Henic Torque", left_ear="Calamitous Earring", right_ear="Mendi. Earring",
  187.                           body="Ayanmo Corazza +2", hands=TelchHandHeals, left_ring="Aquasoul Ring", right_ring="Lebeche Ring",
  188.                           back="Solemnity Cape", waist="Luminary Sash", legs="Carmine Cuisses +1", feet="Amalric Nails +1"}
  189.    
  190.     -- Stack HP & Cure Potency--
  191.     sets.BLU.WhiteWind = set_combine(sets.BLU.Cures, {})
  192.                      
  193.     sets.BLU.Regeneration = {ammo="",
  194.                           head="", neck="", left_ear="", right_ear="",
  195.                           body=TelchBodyPet, hands="", left_ring="", right_ring="",
  196.                           back="", waist="", legs="", feet=""}
  197.    
  198.     -- For buffs unaffected by skill -- stack Conserve MP, Spell Interruption Down, Haste, Fast Cast -- Also Used for General Casting --
  199.     sets.BLU.Buffs = {ammo="Pemphredo Tathlum",
  200.                           head="Carmine Mask +1", neck="Voltsurge Torque", left_ear="Calamitous Earring", right_ear="Mendi. Earring",
  201.                           body="Amalric Doublet", hands="Rawhide Gloves", left_ring="Weather. Ring", right_ring="Kishar Ring",
  202.                           back="Solemnity Cape", waist="Luminary Sash", legs="Assim. Shalwar +2", feet="Amalric Nails +1"}
  203.    
  204.     sets.BLU.BuffsSkill = set_combine(sets.BLU.Buffs, {ammo="Mavi Tathlum", neck="Mirage Stole +2", body="Assim. Jubbah +3", back="Cornflower Cape", legs="Hashishin Tayt +1", feet="Luhlaza Charuqs +1"})
  205.     sets.BLU.BuffsRecast = set_combine(sets.BLU.BuffsSkill, {hands="Hashi. Bazubands"})
  206.    
  207.    
  208.    
  209.     --Utility Sets & Subjob Sets--
  210.     sets.Utility = {}
  211.    
  212.     sets.Utility.Enhance = {ammo="Pemphredo Tathlum",
  213.                           head="Carmine Mask +1", neck="Malic Torque", left_ear="Calamitous Earring", right_ear="Mendi. Earring",
  214.                           body=TelchBodyPet, hands=TelchHandEnh, left_ring="Weather. ring", right_ring="Lebeche Ring",
  215.                           back="Solemnity Cape", waist="Luminary Sash", legs=TelchHLegsEnh, feet="Amalric Nails +1"}
  216.                          
  217.     sets.Utility.Adoulin ={body="Councilor's garb"}
  218.    
  219.    
  220.    
  221.     --Job Ability Sets--
  222.     sets.JA = {}
  223.    
  224.     sets.JA.AzureLore = {hands="Luhlaza Bazubands"}
  225.    
  226.     sets.JA.ChainAffinity = {feet="Assim. Charuqs +1"} -- Goes with Midcast --
  227.    
  228.     sets.JA.BurstAffinity = {feet="Hashi. Basmak +1"} -- Goes with Midcast -- Legs are not worth macroing in over Amalric --
  229.    
  230.     sets.JA.Diffusion = {feet="Luhlaza Charuqs +1"} -- Goes with Midcast --
  231.    
  232.     sets.JA.Efflux = {back=RosmertaWSD, legs="Hashishin Tayt +1"} -- Goes with Midcast --
  233.    
  234.    
  235.    
  236.     --Precast Sets - Fast Cast and reduced cast time only--
  237.     sets.precast = {}
  238.    
  239.     sets.precast.FC = {}
  240.    
  241.     --Basic Fast Cast set Includes Spell interruption down  Nice for all jobs since fast cast affects Trusts --
  242.     sets.precast.FC.Standard = {ammo="Hydrocera",
  243.                        head="Carmine Mask +1", neck="Voltsurge torque", left_ear="Ethereal earring", right_ear="Loquac. earring",
  244.                        body="Taeon Tabard", hands="Leyline Gloves", left_ring="Weather. ring", right_ring="Lebeche Ring",
  245.                        back=RosmertaTP, waist="Witful Belt", legs="Psycloth Lappas", feet="Amalric Nails"}
  246.    
  247.     sets.precast.FC.Blue = set_combine(sets.precast.FC.Standard, {body="Hashishin Mintan"})
  248.  
  249. end
  250.  
  251.  
  252. -------------------------
  253. --   BLU Spells List   --
  254. -------------------------
  255. function maps()
  256.    
  257.     -- Physical ----------------------------------------------------------------
  258.     -- Put in the PhysicalAll List as well as its sub list --
  259.     PhysicalBlueMagic_PhysicalAll = S {
  260.         'Asuran Claws', 'Battle Dance', 'Bludgeon', 'Bloodrake', 'Death Scissors',
  261.         'Dimensional Death', 'Empty Thrash', 'Quadrastrike', 'Uppercut', 'Sinker Drill',
  262.         'Thrashing Assault', 'Vertical Cleave', 'Spinal Cleave', 'Heavy Strike',
  263.         'Amorphic Spikes', 'Claw Cyclone', 'Disseverment', 'Foot Kick',
  264.         'Frenetic Rip', 'Goblin Rush', 'Hysteric Barrage', 'Seedspray',
  265.         'Vanity Dive', 'Sickle Slash',
  266.         'Cannonball', 'Glutinous Dart', 'Grand Slam', 'Quad. Continuum',
  267.         'Sprout Smack',
  268.         'Benthic Typhoon', 'Helldive', 'Hydro Shot', 'Jet Stream', 'Pinecone Bomb', 'Wild Oats',
  269.         'Spiral Spin',
  270.         'Frypan', 'Head Butt', 'Sudden Lunge', 'Tail slap', 'Sub-zero Smash', 'Sweeping Gouge', 'Paralyzing Triad', 'Bilgestorm',
  271.         'Tourbillion', 'Whirl of Rage', 'Saurian Slide', 'Delta Thrust', 'Barbed Crescent',
  272.     }
  273.    
  274.     PhysicalBlueMagic_STR = S {
  275.         'Asuran Claws', 'Battle Dance', 'Bludgeon', 'Bloodrake', 'Death Scissors',
  276.         'Dimensional Death', 'Empty Thrash', 'Quadrastrike', 'Uppercut', 'Sinker Drill',
  277.         'Thrashing Assault', 'Vertical Cleave', 'Spinal Cleave', 'Heavy Strike',
  278.     }
  279.  
  280.     PhysicalBlueMagic_DEX = S {
  281.         'Amorphic Spikes', 'Claw Cyclone', 'Disseverment', 'Foot Kick',
  282.         'Frenetic Rip', 'Goblin Rush', 'Hysteric Barrage', 'Seedspray',
  283.         'Vanity Dive', 'Sickle Slash',
  284.     }
  285.  
  286.     PhysicalBlueMagic_VIT = S {
  287.         'Cannonball', 'Glutinous Dart', 'Grand Slam', 'Quad. Continuum',
  288.         'Sprout Smack',
  289.     }
  290.  
  291.     PhysicalBlueMagic_AGI = S {
  292.         'Benthic Typhoon', 'Helldive', 'Hydro Shot', 'Jet Stream', 'Pinecone Bomb', 'Wild Oats',
  293.         'Spiral Spin',
  294.     }
  295.    
  296.     BlueMagic_AddedEffect = S {
  297.         'Frypan', 'Head Butt', 'Sudden Lunge', 'Tail slap', 'Sub-zero Smash', 'Sweeping Gouge', 'Paralyzing Triad', 'Bilgestorm',
  298.         'Tourbillion', 'Whirl of Rage', 'Saurian Slide', 'Delta Thrust', 'Barbed Crescent',
  299.     }
  300.    
  301.     -- Nukes ---------------------------------------------------------------------
  302.     -- Put in the NukesAll List as well as its sub list --
  303.     BlueMagic_NukesAll = S {
  304.         'Acrid Stream', 'Anvil Lightning', 'Crashing Thunder', 'Charged Whisker', 'Droning Whirlwind', 'Firespit',
  305.         'Foul Waters', 'Gates of Hades', 'Leafstorm', 'Molting Plumage', 'Nectarous Deluge', 'Polar Roar',
  306.         'Regurgitation', 'Rending Deluge', 'Scouring Spate', 'Searing Tempest', 'Silent Storm', 'Spectral Floe',
  307.         'Subduction', 'Tem. Upheaval', 'Thermal Pulse', 'Thunderbolt', 'Uproot', 'Water Bomb', 'Embalming Earth', 'Entomb', 'Sandspin',
  308.         'Dark Orb', 'Death Ray', 'Eyes On Me',
  309.         'Evryone. Grudge', 'Palling Salvo', 'Tenebral Crush',
  310.         'Blinding Fulgor', 'Diffusion Ray', 'Magic Hammer', 'Rail Cannon', 'Retinal Glare',
  311.         'Bad Breath', 'Flying Hip Press', 'Frost Breath', 'Heat Breath', 'Magnetite Cloud',
  312.         'Poison Breath', 'Radiant Breath', 'Self Destruct', 'Thunder Breath', 'Vapor Spray', 'Wind Breath',
  313.         '1000 Needles', 'Absolute Terror', 'Auroral Drape', 'Awful Eye', 'Blastbomb', 'Blank Gaze', 'Blistering Roar', 'Blitzstrahl',
  314.         'Blood Drain', 'Blood Saber', 'Chaotic Eye', 'Cimicine Discharge', 'Cold Wave', 'Digest', 'Corrosive Ooze',
  315.         'Demoralizing Roar', 'Dream Flower', 'Enervation', 'Filamented Hold', 'Frightful Roar',
  316.         'Geist Wall', 'Hecatomb Wave', 'Infrasonics', 'Light of Penance', 'Lowing', 'Mind Blast', 'Mortal Ray',
  317.         'MP Drainkiss', 'Sheep Song', 'Soporific', 'Sound Blast', 'Sprout Smack', 'Stinking Gas',
  318.         'Venom Shell', 'Voracious Trunk', 'Yawn',
  319.         'Actinic Burst', 'Exuviation', 'Fantod', 'Jettatura', 'Temporal Shift',
  320.         'Osmosis', 'Feather Tickle', 'Reaving Wind',
  321.     }
  322.    
  323.     BlueMagic_Nukes = S {
  324.         'Acrid Stream', 'Anvil Lightning', 'Crashing Thunder', 'Charged Whisker', 'Droning Whirlwind', 'Firespit',
  325.         'Foul Waters', 'Gates of Hades', 'Leafstorm', 'Molting Plumage', 'Nectarous Deluge', 'Polar Roar',
  326.         'Regurgitation', 'Rending Deluge', 'Scouring Spate', 'Searing Tempest', 'Silent Storm', 'Spectral Floe',
  327.         'Subduction', 'Tem. Upheaval', 'Thermal Pulse', 'Thunderbolt', 'Uproot', 'Water Bomb', 'Embalming Earth', 'Entomb', 'Sandspin',
  328.     }
  329.  
  330.     BlueMagic_DarkNukes = S {
  331.         'Dark Orb', 'Death Ray', 'Eyes On Me',
  332.         'Evryone. Grudge', 'Palling Salvo', 'Tenebral Crush',
  333.     }
  334.  
  335.     BlueMagic_LightNukes = S {
  336.         'Blinding Fulgor', 'Diffusion Ray', 'Magic Hammer', 'Rail Cannon', 'Retinal Glare',
  337.     }
  338.    
  339.     BlueMagic_Breath = S {
  340.         'Bad Breath', 'Flying Hip Press', 'Frost Breath', 'Heat Breath', 'Magnetite Cloud',
  341.         'Poison Breath', 'Radiant Breath', 'Self Destruct', 'Thunder Breath', 'Vapor Spray', 'Wind Breath',
  342.     }
  343.    
  344.     BlueMagic_MagicAcc = S {
  345.         '1000 Needles', 'Absolute Terror', 'Auroral Drape', 'Awful Eye', 'Blastbomb', 'Blank Gaze', 'Blistering Roar', 'Blitzstrahl',
  346.         'Blood Drain', 'Blood Saber', 'Chaotic Eye', 'Cimicine Discharge', 'Cold Wave', 'Digest', 'Corrosive Ooze',
  347.         'Demoralizing Roar', 'Dream Flower', 'Enervation', 'Filamented Hold', 'Frightful Roar',
  348.         'Geist Wall', 'Hecatomb Wave', 'Infrasonics', 'Light of Penance', 'Lowing', 'Mind Blast', 'Mortal Ray',
  349.         'MP Drainkiss', 'Sheep Song', 'Soporific', 'Sound Blast', 'Sprout Smack', 'Stinking Gas',
  350.         'Venom Shell', 'Voracious Trunk', 'Yawn',
  351.     }
  352.    
  353.     BlueMagic_Enmity = S {
  354.         'Actinic Burst', 'Exuviation', 'Fantod', 'Jettatura', 'Temporal Shift',
  355.     }
  356.    
  357.     BlueMagic_AccRecast = S {
  358.         'Osmosis', 'Feather Tickle', 'Reaving Wind',
  359.     }
  360.    
  361.     -- Healing --------------------------------------------------------------------------
  362.     BlueMagic_Cures = S {
  363.         'Healing Breeze', 'Magic Fruit', 'Plenilune Embrace', 'Pollen', 'Restoral', 'Wild Carrot',
  364.     }
  365.    
  366.     BlueMagic_WhiteWind = S {
  367.         'White Wind',
  368.     }
  369.    
  370.     BlueMagic_Regeneration = S {
  371.         'Regeneration',
  372.     }
  373.    
  374.     -- Buffs -----------------------------------------------------------------------------
  375.     -- Put in the BuffsAll List as well as its sub list --
  376.     BlueMagic_BuffsAll = S {
  377.         'Barrier Tusk', 'Cocoon', 'Carcharian Verve', 'Erratic Flutter', 'Harden Shell', 'Orcish Counterstance',
  378.         'Plasma Charge', 'Pyric Bulwark', 'Memento Mori', 'Mighty Guard', 'Nat. Meditation', 'Reactor Cool', 'Saline Coat',
  379.         'Feather Barrier','Refueling','Warm-Up', 'Zephyr Mantle', 'Reactor Cool', 'Plasma Charge', 'Amplification', 'Battery Charge',
  380.         'Diamondhide', 'Metallic Body', 'Magic Barrier', 'Atra. Libations',
  381.         'Occultation',
  382.     }
  383.    
  384.     BlueMagic_Buffs = S {
  385.         'Barrier Tusk', 'Cocoon', 'Carcharian Verve', 'Erratic Flutter', 'Harden Shell', 'Orcish Counterstance',
  386.         'Plasma Charge', 'Pyric Bulwark', 'Memento Mori', 'Mighty Guard', 'Nat. Meditation', 'Reactor Cool', 'Saline Coat',
  387.         'Feather Barrier','Refueling','Warm-Up', 'Zephyr Mantle', 'Reactor Cool', 'Plasma Charge', 'Amplification', 'Battery Charge',
  388.     }
  389.  
  390.     BlueMagic_BuffsSkill = S {
  391.         'Diamondhide', 'Metallic Body', 'Magic Barrier', 'Atra. Libations',
  392.     }
  393.    
  394.     BlueMagic_BuffsRecast = S {
  395.         'Occultation',
  396.     }
  397. end
  398.  
  399.  
  400. -- Precast Rules - Weaponskills & Job Abilities go here since they do not have midcast rules --
  401. function precast(spell)
  402.     -- Magic Precast -------------------------------------
  403.     if spell.action_type == 'Magic' then
  404.         equip(sets.precast.FC.Standard)    
  405.         if spell.skill == 'Blue Magic' then
  406.             equip(sets.precast.FC.Blue)
  407.         end
  408.     end
  409.    
  410.     -- Job Ability Precast -------------------------------
  411.     if spell.english == 'Azure Lore' then
  412.         equip(sets.JA.AzureLore)
  413.     end
  414.    
  415.     -- Weaponskill Precast -------------------------------
  416.     if spell.english == 'Black Halo' then
  417.         equip(sets.WS.BlackHalo)
  418.     end
  419.    
  420.     if spell.english == 'Flash Nova' then
  421.         equip(sets.WS.FlashNova)
  422.     end
  423.    
  424.     if spell.english == 'Sanguine Blade' then
  425.         equip(sets.WS.SanguineBlade)
  426.     end
  427.    
  428.     if spell.english == 'Savage Blade' or spell.english == 'Expiacion' then
  429.         equip(sets.WS.SavageExpiacion)
  430.     end
  431.    
  432.     if spell.english == 'Requiescat' or spell.english == 'Realmrazer' then
  433.         equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
  434.     end
  435.    
  436.     if spell.english == 'Chant du Cygne' then
  437.         equip(sets.ChantDuCygne[sets.ChantDuCygne.index[ChantDuCygne_ind]])
  438.     end
  439. end
  440.  
  441. -- MIDCASTING RULES -- 
  442. function midcast(spell,act)
  443.     if spell.action_type == 'Magic' then
  444.         equip(sets.BLU.Buffs) -- Used as General Casting Set --
  445.        
  446.         if spell.skill == 'Enhancing Magic' then
  447.             equip(sets.Utility.Enhance)
  448.         end
  449.        
  450.         -- Physical BLU -----------------------------------------------------------------
  451.         if PhysicalBlueMagic_PhysicalAll:contains(spell.english) then
  452.             if PhysicalBlueMagic_STR:contains(spell.english) then
  453.                 equip(sets.BLU.STR)
  454.                 send_command('@input /echo <----- STR ----->')
  455.             end
  456.            
  457.             if PhysicalBlueMagic_DEX:contains(spell.english) then
  458.                 equip(sets.BLU.DEX)
  459.                 send_command('@input /echo <----- DEX ----->')
  460.             end
  461.            
  462.             if PhysicalBlueMagic_VIT:contains(spell.english) then
  463.                 equip(sets.BLU.VIT)
  464.                 send_command('@input /echo <----- VIT ----->')
  465.             end
  466.            
  467.             if PhysicalBlueMagic_AGI:contains(spell.english) then
  468.                 equip(sets.BLU.AGI)
  469.                 send_command('@input /echo <----- AGI ----->')
  470.             end
  471.            
  472.             if BlueMagic_AddedEffect:contains(spell.english) then
  473.                 equip(sets.BLU.AddedEffect)
  474.                 send_command('@input /echo <----- Added Effect ----->')
  475.             end
  476.            
  477.             if buffactive['Chain Affinity'] then
  478.                 equip(sets.JA.ChainAffinity)
  479.                 send_command('@input /echo <----- Chain Affinity ----->')
  480.             end
  481.            
  482.             if buffactive['Efflux'] then
  483.                 equip(sets.JA.Efflux)
  484.                 send_command('@input /echo <----- Efflux ----->')
  485.             end
  486.         end
  487.        
  488.         -- Magical BLU --
  489.         if BlueMagic_NukesAll:contains(spell.english) then
  490.             if BlueMagic_Nukes:contains(spell.english) then
  491.                 equip(sets.BLU.Nukes)
  492.                 send_command('@input /echo <----- Nukes ----->')
  493.             end
  494.            
  495.             if BlueMagic_DarkNukes:contains(spell.english) then
  496.                 equip(sets.BLU.DarkNukes)
  497.                 send_command('@input /echo <----- Dark Nukes ----->')
  498.             end
  499.            
  500.             if BlueMagic_LightNukes:contains(spell.english) then
  501.                 equip(sets.BLU.LightNukes)
  502.                 send_command('@input /echo <----- Light Nukes ----->')
  503.             end
  504.            
  505.             if BlueMagic_Breath:contains(spell.english) then
  506.                 equip(sets.BLU.Breath)
  507.                 send_command('@input /echo <----- Breath ----->')
  508.             end
  509.            
  510.             if BlueMagic_MagicAcc:contains(spell.english) then
  511.                 equip(sets.BLU.MagicAcc)
  512.                 send_command('@input /echo <----- Magic Accuracy ----->')
  513.             end
  514.            
  515.             if BlueMagic_Enmity:contains(spell.english) then
  516.                 equip(sets.BLU.Enmity)
  517.                 send_command('@input /echo <----- Enmity ----->')
  518.             end
  519.            
  520.             if BlueMagic_AccRecast:contains(spell.english) then
  521.                 equip(sets.BLU.AccRecast)
  522.                 send_command('@input /echo <----- Accuracy Recast ----->')
  523.             end
  524.            
  525.             if buffactive['Burst Affinity'] then
  526.                 equip(sets.JA.BurstAffinity)
  527.                 send_command('@input /echo <----- Burst Affinity ----->')
  528.             end
  529.         end
  530.        
  531.         -- Healing BLU --
  532.         if BlueMagic_Cures:contains(spell.english) then
  533.             equip(sets.BLU.Cures)
  534.             send_command('@input /echo <----- Cures ----->')
  535.         end
  536.        
  537.         if BlueMagic_WhiteWind:contains(spell.english) then
  538.             equip(sets.BLU.WhiteWind)
  539.             send_command('@input /echo <----- White Wind ----->')
  540.         end
  541.        
  542.         if BlueMagic_Regeneration:contains(spell.english) then
  543.             equip(sets.BLU.Regeneration)
  544.             send_command('@input /echo <----- Regeneration ----->')
  545.         end
  546.        
  547.         -- Buffs BLU --
  548.         if BlueMagic_BuffsAll:contains(spell.english) then
  549.             if BlueMagic_Buffs:contains(spell.english) then
  550.                 equip(sets.BLU.Buffs)
  551.                 send_command('@input /echo <----- Buffs ----->')
  552.             end
  553.            
  554.             if BlueMagic_BuffsSkill:contains(spell.english) then
  555.                 equip(sets.BLU.BuffsSkill)
  556.                 send_command('@input /echo <----- Buffs Skill ----->')
  557.             end
  558.            
  559.             if BlueMagic_BuffsRecast:contains(spell.english) then
  560.                 equip(sets.BLU.BuffsRecast)
  561.                 send_command('@input /echo <----- Buffs Recast ----->')
  562.             end
  563.            
  564.             if buffactive['Diffusion'] then
  565.                 equip(sets.JA.Diffusion)
  566.                 send_command('@input /echo <----- Diffusion ----->')
  567.             end
  568.         end
  569.     end
  570. end
  571.  
  572. -- AFTERCAST & Misc RULES --
  573. function aftercast(spell)
  574.     if player.status == 'Engaged' then
  575.         equip(sets.TP[sets.TP.index[TP_ind]])
  576.     else
  577.         equip(sets.Idle[sets.Idle.index[Idle_ind]])
  578.         if world.zone == 'Western Adoulin' or world.zone == 'Eastern Adoulin' then
  579.             equip(sets.Utility.Adoulin)
  580.         end
  581.     end
  582. end
  583.  
  584. function status_change(new,old)
  585.     if new == 'Engaged' then
  586.         equip(sets.TP[sets.TP.index[TP_ind]])
  587.     else
  588.         equip(sets.Idle[sets.Idle.index[Idle_ind]])
  589.         if world.zone == 'Western Adoulin' or world.zone == 'Eastern Adoulin' then
  590.             equip(sets.Utility.Adoulin)
  591.         end
  592.     end
  593. end
  594.  
  595. windower.register_event('zone change', function()
  596.     equip(sets.Idle[sets.Idle.index[Idle_ind]])
  597.     if world.zone == 'Western Adoulin' or world.zone == 'Eastern Adoulin' then
  598.         equip(sets.Utility.Adoulin)
  599.     end
  600. end)
  601.  
  602. function self_command(command)
  603.     if command == 'toggle TP set' then
  604.         TP_ind = TP_ind +1
  605.         if TP_ind > #sets.TP.index then TP_ind = 1 end
  606.         send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
  607.         equip(sets.TP[sets.TP.index[TP_ind]])
  608.    
  609.     elseif command == 'toggle Idle set' then
  610.         Idle_ind = Idle_ind +1
  611.         if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
  612.         send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
  613.         equip(sets.Idle[sets.Idle.index[Idle_ind]])
  614.         if world.zone == 'Western Adoulin' or world.zone == 'Eastern Adoulin' then
  615.             equip(sets.Utility.Adoulin)
  616.         end
  617.        
  618.     elseif command == 'toggle Treasure Lock' then
  619.         Treasurelock_ind = Treasurelock_ind +1
  620.         if Treasurelock_ind > #sets.Treasurelock.index then Treasurelock_ind = 1 end
  621.         if Treasurelock_ind == 1 then
  622.             enable("feet")
  623.         end
  624.         if Treasurelock_ind == 2 then
  625.             equip(sets.Treasurelock[sets.Treasurelock.index[Treasurelock_ind]])
  626.             disable("feet")
  627.         end
  628.         send_command('@input /echo <----- Treasurelock changed to '..sets.Treasurelock.index[Treasurelock_ind]..' ----->')
  629.        
  630.     elseif command == 'toggle Req set' then
  631.         Requiescat_ind = Requiescat_ind +1
  632.         if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
  633.         send_command('@input /echo <----- Requiescat/Realmrazer Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
  634.    
  635.     elseif command == 'toggle CDC set' then
  636.         ChantDuCygne_ind = ChantDuCygne_ind +1
  637.         if ChantDuCygne_ind > #sets.ChantDuCygne.index then ChantDuCygne_ind = 1 end
  638.         send_command('@input /echo <----- Chant du Cygne Set changed to '..sets.ChantDuCygne.index[ChantDuCygne_ind]..' ----->')
  639.  
  640.     elseif command == 'equip TP set' then
  641.         equip(sets.TP[sets.TP.index[TP_ind]])
  642.        
  643.     elseif command == 'equip Idle set' then
  644.         equip(sets.Idle[sets.Idle.index[Idle_ind]])
  645.     end
  646. 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