Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_sets()
- maps()
- send_command('bind f9 gs c toggle TP set')
- send_command('bind !f9 gs c toggle Treasure Lock')
- send_command('bind f10 gs c toggle CDC set')
- send_command('bind f11 gs c toggle Req set')
- send_command('bind f12 gs c toggle Idle set')
- function file_unload()
- send_command('unbind ^f9')
- send_command('unbind ^f10')
- send_command('unbind ^f11')
- send_command('unbind ^f12')
- send_command('unbind !f9')
- send_command('unbind !f10')
- send_command('unbind !f11')
- send_command('unbind !f12')
- send_command('unbind f9')
- send_command('unbind f10')
- send_command('unbind f11')
- send_command('unbind f12')
- end
- -- Augmented Gear Variables --
- RosmertaTP = { name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Store TP"+10','Phys. dmg. taken-10%',}}
- RosmertaWSD = { name="Rosmerta's Cape", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}}
- RosmertaCDC = { name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','Crit.hit rate+10','Magic dmg. taken-10%',}}
- HerculeanFeetTP = { name="Herculean Boots", augments={'Attack+22','"Triple Atk."+4','DEX+9','Accuracy+8',}}
- HerculeanFeetTH = { name="Herculean Boots", augments={'"Subtle Blow"+7','Pet: STR+1','"Treasure Hunter"+2',}}
- HerculeanFeetWSD = { name="Herculean Boots", augments={'Accuracy+7','Weapon skill damage +5%','STR+8','Attack+8',}}
- HerculeanBodyCD = { name="Herculean Vest", augments={'Crit. hit damage +5%','DEX+7','Accuracy+1','Attack+5',}}
- HerculeanHeadWSD = { name="Herculean Helm", augments={'Rng.Atk.+22','Weapon skill damage +5%','STR+8','Attack+15',}}
- TelchBodyPet = { name="Telchine Chas.", augments={'Pet: "Regen"+2','Pet: Damage taken -3%',}} -- Get Enhancing Duration Body --
- TelchHandHeals = { name="Telchine Gloves", augments={'"Cure" potency +7%','INT+6 MND+6',}}
- TelchHandEnh = { name="Telchine Gloves", augments={'Enh. Mag. eff. dur. +7',}}
- TelchLegsEnh = { name="Telchine Braconi", augments={'Enh. Mag. eff. dur. +10',}}
- --Treasurelock--
- sets.Treasurelock = {}
- sets.Treasurelock.index = {'Unlocked', 'Locked'}
- Treasurelock_ind = 1
- sets.Treasurelock.Unlocked = {}
- sets.Treasurelock.Locked = {feet=HerculeanFeetTH}
- --Idle Sets--
- sets.Idle = {}
- sets.Idle.index = {'Standard','DT'}
- Idle_ind = 1
- sets.Idle.Standard = {ammo="Hydrocera",
- head="Rawhide Mask", neck="Sanctity Necklace", left_ear="Ethereal Earring", right_ear="Infused Earring",
- body="Assim. Jubbah +3", hands="Serpentes Cuffs", left_ring="Defending Ring", right_ring="Dark Ring",
- back=RosmertaTP, waist="Flume Belt +1", legs="Carmine Cuisses +1", feet="Serpentes Sabots"}
- sets.Idle.DT = set_combine(sets.Idle.Standard, {neck="Twilight Torque", body="Ayanmo Corazza +2", hands="Assim. Bazu. +2", feet=HerculeanFeetTP})
- --TP Sets--
- sets.TP = {}
- sets.TP.index = {'Standard', 'Accuracy', 'PDT', 'PDTAccuracy', 'MDT', 'MDTAccuracy', 'Learning'}
- TP_ind = 1
- sets.TP.Standard = {ammo="Ginsen",
- head="Adhemar Bonnet +1", neck="Mirage Stole +2", left_ear="Suppanomimi", right_ear="Telos Earring",
- body="Adhemar Jacket", hands="Adhemar Wrist. +1", left_ring="Petrov Ring", right_ring="Epona's Ring",
- back=RosmertaTP, waist="Windbuffet Belt +1", legs="Samnuha Tights", feet=HerculeanFeetTP}
- sets.TP.Accuracy = set_combine(sets.TP.Standard, {})
- sets.TP.PDT = set_combine(sets.TP.Standard, {})
- sets.TP.PDTAccuracy = set_combine(sets.TP.Standard, {})
- sets.TP.MDT = set_combine(sets.TP.Standard, {})
- sets.TP.MDTAccuracy = set_combine(sets.TP.Standard, {})
- 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"})
- --Generic Weaponskill Sets--
- sets.WS = {}
- -- Savage/Expiacion: STR WSD --
- sets.WS.SavageExpiacion = {ammo="Cheruski Needle",
- head=HerculeanHeadWSD, neck="Mirage Stole +2", left_ear="Moonshade Earring", right_ear="Telos Earring",
- body="Assim. Jubbah +3", hands="Jhakri Cuffs +2", left_ring="Shukuyu Ring", right_ring="Rajas Ring",
- back=RosmertaWSD, waist="Fotia Belt", legs="Luhlaza Shalwar +3", feet=HerculeanFeetWSD}
- --Sanguine Blade: MagAtt INT MND STR WSD --
- sets.WS.SanguineBlade = {ammo="Pemphredo Tathlum",
- head="Pixie Hairpin +1", neck="Sanctity Necklace", left_ear="Friomisi Earring", right_ear="Regal Earring",
- body="Amalric Doublet", hands="Jhakri Cuffs +2", left_ring="Shiva Ring +1", right_ring="Diamond Ring",
- back="Cornflower Cape", waist="Eschan Stone", legs="Luhlaza Shalwar +3", feet="Amalric Nails +1"}
- -- Black Halo: MND STR WSD --
- sets.WS.BlackHalo = set_combine(sets.WS.SavageExpiacion, {ammo="Hydrocera", right_ring="Aquasoul Ring"})
- -- Flashnova: MagAtt MND STR INT --
- sets.WS.FlashNova = set_combine(sets.WS.SanguineBlade, {ammo="Hydrocera", head="Jhakri Coronal +1", left_ring="Star Ring", right_ring="Aquasoul Ring"})
- --CDC Weaponskill Sets--
- sets.ChantDuCygne = {}
- sets.ChantDuCygne.index = {'Attack','Accuracy'}
- ChantDuCygne_ind = 1
- --Chant du Cygne: Full DEX Attack Acc multi hit STR --
- sets.ChantDuCygne.Attack = {ammo="Jukukik Feather",
- head="Adhemar Bonnet +1", neck="Mirage Stole +2", left_ear="Moonshade Earring", right_ear="Brutal Earring",
- body=HerculeanBodyCD, hands="Adhemar Wrist. +1", left_ring="Begrudging Ring", right_ring="Epona's Ring",
- back=RosmertaCDC, waist="Fotia Belt", legs="Samnuha Tights", feet="Thereoid Greaves"}
- sets.ChantDuCygne.Accuracy = set_combine(sets.ChantDuCygne.Attack, {})
- --Requiescat & Realmrazer Weaponskill Sets--
- sets.Requiescat = {}
- sets.Requiescat.index = {'Attack','Accuracy'}
- Requiescat_ind = 1
- --Requiescat/Realmrazer: Full MND Attack multi hit STR Acc as needed --
- sets.Requiescat.Attack = {ammo="Hydrocera",
- head="Jhakri Coronal +1", neck="Fotia Gorget", left_ear="Moonshade Earring", right_ear="Brutal Earring",
- body="Jhakri Robe +1", hands="Jhakri Cuffs +2", left_ring="Aquasoul Ring", right_ring="Epona's Ring",
- back="Relucent Cape", waist="Fotia Belt", legs="Jhakri Slops +1", feet="Jhakri Pigaches +1"}
- sets.Requiescat.Accuracy = set_combine(sets.Requiescat.Attack, {})
- -- BLU Specific Magic Sets --
- sets.BLU = {}
- -- Physical --
- sets.BLU.STR = {ammo="Cheruski Needle",
- head="Adhemar Bonnet +1", neck="Caro Necklace", left_ear="Flame Pearl", right_ear="Telos Earring",
- body="Assim. Jubbah +3", hands="Jhakri Cuffs +2", left_ring="Shukuyu ring", right_ring="Rajas Ring",
- back=RosmertaWSD, waist="Grunfeld Rope", legs="Jhakri Slops +1", feet="Jhakri Pigaches +1"}
- sets.BLU.DEX = set_combine(sets.BLU.STR, {}) -- Meh --
- sets.BLU.VIT = set_combine(sets.BLU.STR, {}) -- Meh --
- sets.BLU.AGI = set_combine(sets.BLU.STR, {}) -- Meh --
- sets.BLU.AddedEffect = {ammo="Pemphredo Tathlum",
- head="Carmine Mask +1", neck="Mirage Stole +2", left_ear="Digni. Earring", right_ear="Regal Earring",
- body="Jhakri Robe +1", hands="Jhakri Cuffs +2", left_ring="Weather. Ring", right_ring="Kishar Ring",
- back="Cornflower Cape", waist="Eschan Stone", legs="Jhakri Slops +1", feet="Jhakri Pigaches +1"}
- -- Nukes --
- sets.BLU.Nukes = {ammo="Pemphredo Tathlum",
- head="Jhakir Coronal +1", neck="Sanctity Necklace", left_ear="Friomisi Earring", right_ear="Regal Earring",
- body="Amalric Doublet", hands="Amalric Gages +1", left_ring="Shiva Ring +1", right_ring="Diamond Ring",
- back="Cornflower Cape", waist="Eschan Stone", legs="Amalric Slops +1", feet="Amalric Nails +1"}
- sets.BLU.DarkNukes = set_combine(sets.BLU.Nukes, {head="Pixie Hairpin +1"})
- sets.BLU.LightNukes = set_combine(sets.BLU.Nukes, {left_ring="Weather. Ring", right_ring="Shiva Ring +1",})
- sets.BLU.Breath = set_combine(sets.BLU.Nukes, {}) -- Meh --
- sets.BLU.MagicAcc = {ammo="Pemphredo Tathlum",
- head="Assim. Keffiyeh +2", neck="Mirage Stole +2", left_ear="Digni. Earring", right_ear="Regal Earring",
- body="Jhakri Robe +1", hands="Jhakri Cuffs +2", left_ring="Weather. Ring", right_ring="Kishar Ring",
- back="Cornflower Cape", waist="Luminary Sash", legs="Assim. Shalwar +2", feet="Jhakri Pigaches +1"}
- sets.BLU.Enmity = set_combine(sets.BLU.MagicAcc, {})
- sets.BLU.AccRecast = set_combine(sets.BLU.MagicAcc, {hands="Hashi. Bazubands"})
- -- Heals --
- sets.BLU.Cures = {ammo="Hydrocera",
- head="Assim. Keffiyeh +2", neck="Henic Torque", left_ear="Calamitous Earring", right_ear="Mendi. Earring",
- body="Ayanmo Corazza +2", hands=TelchHandHeals, left_ring="Aquasoul Ring", right_ring="Lebeche Ring",
- back="Solemnity Cape", waist="Luminary Sash", legs="Carmine Cuisses +1", feet="Amalric Nails +1"}
- -- Stack HP & Cure Potency--
- sets.BLU.WhiteWind = set_combine(sets.BLU.Cures, {})
- sets.BLU.Regeneration = {ammo="",
- head="", neck="", left_ear="", right_ear="",
- body=TelchBodyPet, hands="", left_ring="", right_ring="",
- back="", waist="", legs="", feet=""}
- -- For buffs unaffected by skill -- stack Conserve MP, Spell Interruption Down, Haste, Fast Cast -- Also Used for General Casting --
- sets.BLU.Buffs = {ammo="Pemphredo Tathlum",
- head="Carmine Mask +1", neck="Voltsurge Torque", left_ear="Calamitous Earring", right_ear="Mendi. Earring",
- body="Amalric Doublet", hands="Rawhide Gloves", left_ring="Weather. Ring", right_ring="Kishar Ring",
- back="Solemnity Cape", waist="Luminary Sash", legs="Assim. Shalwar +2", feet="Amalric Nails +1"}
- 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"})
- sets.BLU.BuffsRecast = set_combine(sets.BLU.BuffsSkill, {hands="Hashi. Bazubands"})
- --Utility Sets & Subjob Sets--
- sets.Utility = {}
- sets.Utility.Enhance = {ammo="Pemphredo Tathlum",
- head="Carmine Mask +1", neck="Malic Torque", left_ear="Calamitous Earring", right_ear="Mendi. Earring",
- body=TelchBodyPet, hands=TelchHandEnh, left_ring="Weather. ring", right_ring="Lebeche Ring",
- back="Solemnity Cape", waist="Luminary Sash", legs=TelchHLegsEnh, feet="Amalric Nails +1"}
- sets.Utility.Adoulin ={body="Councilor's garb"}
- --Job Ability Sets--
- sets.JA = {}
- sets.JA.AzureLore = {hands="Luhlaza Bazubands"}
- sets.JA.ChainAffinity = {feet="Assim. Charuqs +1"} -- Goes with Midcast --
- sets.JA.BurstAffinity = {feet="Hashi. Basmak +1"} -- Goes with Midcast -- Legs are not worth macroing in over Amalric --
- sets.JA.Diffusion = {feet="Luhlaza Charuqs +1"} -- Goes with Midcast --
- sets.JA.Efflux = {back=RosmertaWSD, legs="Hashishin Tayt +1"} -- Goes with Midcast --
- --Precast Sets - Fast Cast and reduced cast time only--
- sets.precast = {}
- sets.precast.FC = {}
- --Basic Fast Cast set Includes Spell interruption down Nice for all jobs since fast cast affects Trusts --
- sets.precast.FC.Standard = {ammo="Hydrocera",
- head="Carmine Mask +1", neck="Voltsurge torque", left_ear="Ethereal earring", right_ear="Loquac. earring",
- body="Taeon Tabard", hands="Leyline Gloves", left_ring="Weather. ring", right_ring="Lebeche Ring",
- back=RosmertaTP, waist="Witful Belt", legs="Psycloth Lappas", feet="Amalric Nails"}
- sets.precast.FC.Blue = set_combine(sets.precast.FC.Standard, {body="Hashishin Mintan"})
- end
- -------------------------
- -- BLU Spells List --
- -------------------------
- function maps()
- -- Physical ----------------------------------------------------------------
- -- Put in the PhysicalAll List as well as its sub list --
- PhysicalBlueMagic_PhysicalAll = S {
- 'Asuran Claws', 'Battle Dance', 'Bludgeon', 'Bloodrake', 'Death Scissors',
- 'Dimensional Death', 'Empty Thrash', 'Quadrastrike', 'Uppercut', 'Sinker Drill',
- 'Thrashing Assault', 'Vertical Cleave', 'Spinal Cleave', 'Heavy Strike',
- 'Amorphic Spikes', 'Claw Cyclone', 'Disseverment', 'Foot Kick',
- 'Frenetic Rip', 'Goblin Rush', 'Hysteric Barrage', 'Seedspray',
- 'Vanity Dive', 'Sickle Slash',
- 'Cannonball', 'Glutinous Dart', 'Grand Slam', 'Quad. Continuum',
- 'Sprout Smack',
- 'Benthic Typhoon', 'Helldive', 'Hydro Shot', 'Jet Stream', 'Pinecone Bomb', 'Wild Oats',
- 'Spiral Spin',
- 'Frypan', 'Head Butt', 'Sudden Lunge', 'Tail slap', 'Sub-zero Smash', 'Sweeping Gouge', 'Paralyzing Triad', 'Bilgestorm',
- 'Tourbillion', 'Whirl of Rage', 'Saurian Slide', 'Delta Thrust', 'Barbed Crescent',
- }
- PhysicalBlueMagic_STR = S {
- 'Asuran Claws', 'Battle Dance', 'Bludgeon', 'Bloodrake', 'Death Scissors',
- 'Dimensional Death', 'Empty Thrash', 'Quadrastrike', 'Uppercut', 'Sinker Drill',
- 'Thrashing Assault', 'Vertical Cleave', 'Spinal Cleave', 'Heavy Strike',
- }
- PhysicalBlueMagic_DEX = S {
- 'Amorphic Spikes', 'Claw Cyclone', 'Disseverment', 'Foot Kick',
- 'Frenetic Rip', 'Goblin Rush', 'Hysteric Barrage', 'Seedspray',
- 'Vanity Dive', 'Sickle Slash',
- }
- PhysicalBlueMagic_VIT = S {
- 'Cannonball', 'Glutinous Dart', 'Grand Slam', 'Quad. Continuum',
- 'Sprout Smack',
- }
- PhysicalBlueMagic_AGI = S {
- 'Benthic Typhoon', 'Helldive', 'Hydro Shot', 'Jet Stream', 'Pinecone Bomb', 'Wild Oats',
- 'Spiral Spin',
- }
- BlueMagic_AddedEffect = S {
- 'Frypan', 'Head Butt', 'Sudden Lunge', 'Tail slap', 'Sub-zero Smash', 'Sweeping Gouge', 'Paralyzing Triad', 'Bilgestorm',
- 'Tourbillion', 'Whirl of Rage', 'Saurian Slide', 'Delta Thrust', 'Barbed Crescent',
- }
- -- Nukes ---------------------------------------------------------------------
- -- Put in the NukesAll List as well as its sub list --
- BlueMagic_NukesAll = S {
- 'Acrid Stream', 'Anvil Lightning', 'Crashing Thunder', 'Charged Whisker', 'Droning Whirlwind', 'Firespit',
- 'Foul Waters', 'Gates of Hades', 'Leafstorm', 'Molting Plumage', 'Nectarous Deluge', 'Polar Roar',
- 'Regurgitation', 'Rending Deluge', 'Scouring Spate', 'Searing Tempest', 'Silent Storm', 'Spectral Floe',
- 'Subduction', 'Tem. Upheaval', 'Thermal Pulse', 'Thunderbolt', 'Uproot', 'Water Bomb', 'Embalming Earth', 'Entomb', 'Sandspin',
- 'Dark Orb', 'Death Ray', 'Eyes On Me',
- 'Evryone. Grudge', 'Palling Salvo', 'Tenebral Crush',
- 'Blinding Fulgor', 'Diffusion Ray', 'Magic Hammer', 'Rail Cannon', 'Retinal Glare',
- 'Bad Breath', 'Flying Hip Press', 'Frost Breath', 'Heat Breath', 'Magnetite Cloud',
- 'Poison Breath', 'Radiant Breath', 'Self Destruct', 'Thunder Breath', 'Vapor Spray', 'Wind Breath',
- '1000 Needles', 'Absolute Terror', 'Auroral Drape', 'Awful Eye', 'Blastbomb', 'Blank Gaze', 'Blistering Roar', 'Blitzstrahl',
- 'Blood Drain', 'Blood Saber', 'Chaotic Eye', 'Cimicine Discharge', 'Cold Wave', 'Digest', 'Corrosive Ooze',
- 'Demoralizing Roar', 'Dream Flower', 'Enervation', 'Filamented Hold', 'Frightful Roar',
- 'Geist Wall', 'Hecatomb Wave', 'Infrasonics', 'Light of Penance', 'Lowing', 'Mind Blast', 'Mortal Ray',
- 'MP Drainkiss', 'Sheep Song', 'Soporific', 'Sound Blast', 'Sprout Smack', 'Stinking Gas',
- 'Venom Shell', 'Voracious Trunk', 'Yawn',
- 'Actinic Burst', 'Exuviation', 'Fantod', 'Jettatura', 'Temporal Shift',
- 'Osmosis', 'Feather Tickle', 'Reaving Wind',
- }
- BlueMagic_Nukes = S {
- 'Acrid Stream', 'Anvil Lightning', 'Crashing Thunder', 'Charged Whisker', 'Droning Whirlwind', 'Firespit',
- 'Foul Waters', 'Gates of Hades', 'Leafstorm', 'Molting Plumage', 'Nectarous Deluge', 'Polar Roar',
- 'Regurgitation', 'Rending Deluge', 'Scouring Spate', 'Searing Tempest', 'Silent Storm', 'Spectral Floe',
- 'Subduction', 'Tem. Upheaval', 'Thermal Pulse', 'Thunderbolt', 'Uproot', 'Water Bomb', 'Embalming Earth', 'Entomb', 'Sandspin',
- }
- BlueMagic_DarkNukes = S {
- 'Dark Orb', 'Death Ray', 'Eyes On Me',
- 'Evryone. Grudge', 'Palling Salvo', 'Tenebral Crush',
- }
- BlueMagic_LightNukes = S {
- 'Blinding Fulgor', 'Diffusion Ray', 'Magic Hammer', 'Rail Cannon', 'Retinal Glare',
- }
- BlueMagic_Breath = S {
- 'Bad Breath', 'Flying Hip Press', 'Frost Breath', 'Heat Breath', 'Magnetite Cloud',
- 'Poison Breath', 'Radiant Breath', 'Self Destruct', 'Thunder Breath', 'Vapor Spray', 'Wind Breath',
- }
- BlueMagic_MagicAcc = S {
- '1000 Needles', 'Absolute Terror', 'Auroral Drape', 'Awful Eye', 'Blastbomb', 'Blank Gaze', 'Blistering Roar', 'Blitzstrahl',
- 'Blood Drain', 'Blood Saber', 'Chaotic Eye', 'Cimicine Discharge', 'Cold Wave', 'Digest', 'Corrosive Ooze',
- 'Demoralizing Roar', 'Dream Flower', 'Enervation', 'Filamented Hold', 'Frightful Roar',
- 'Geist Wall', 'Hecatomb Wave', 'Infrasonics', 'Light of Penance', 'Lowing', 'Mind Blast', 'Mortal Ray',
- 'MP Drainkiss', 'Sheep Song', 'Soporific', 'Sound Blast', 'Sprout Smack', 'Stinking Gas',
- 'Venom Shell', 'Voracious Trunk', 'Yawn',
- }
- BlueMagic_Enmity = S {
- 'Actinic Burst', 'Exuviation', 'Fantod', 'Jettatura', 'Temporal Shift',
- }
- BlueMagic_AccRecast = S {
- 'Osmosis', 'Feather Tickle', 'Reaving Wind',
- }
- -- Healing --------------------------------------------------------------------------
- BlueMagic_Cures = S {
- 'Healing Breeze', 'Magic Fruit', 'Plenilune Embrace', 'Pollen', 'Restoral', 'Wild Carrot',
- }
- BlueMagic_WhiteWind = S {
- 'White Wind',
- }
- BlueMagic_Regeneration = S {
- 'Regeneration',
- }
- -- Buffs -----------------------------------------------------------------------------
- -- Put in the BuffsAll List as well as its sub list --
- BlueMagic_BuffsAll = S {
- 'Barrier Tusk', 'Cocoon', 'Carcharian Verve', 'Erratic Flutter', 'Harden Shell', 'Orcish Counterstance',
- 'Plasma Charge', 'Pyric Bulwark', 'Memento Mori', 'Mighty Guard', 'Nat. Meditation', 'Reactor Cool', 'Saline Coat',
- 'Feather Barrier','Refueling','Warm-Up', 'Zephyr Mantle', 'Reactor Cool', 'Plasma Charge', 'Amplification', 'Battery Charge',
- 'Diamondhide', 'Metallic Body', 'Magic Barrier', 'Atra. Libations',
- 'Occultation',
- }
- BlueMagic_Buffs = S {
- 'Barrier Tusk', 'Cocoon', 'Carcharian Verve', 'Erratic Flutter', 'Harden Shell', 'Orcish Counterstance',
- 'Plasma Charge', 'Pyric Bulwark', 'Memento Mori', 'Mighty Guard', 'Nat. Meditation', 'Reactor Cool', 'Saline Coat',
- 'Feather Barrier','Refueling','Warm-Up', 'Zephyr Mantle', 'Reactor Cool', 'Plasma Charge', 'Amplification', 'Battery Charge',
- }
- BlueMagic_BuffsSkill = S {
- 'Diamondhide', 'Metallic Body', 'Magic Barrier', 'Atra. Libations',
- }
- BlueMagic_BuffsRecast = S {
- 'Occultation',
- }
- end
- -- Precast Rules - Weaponskills & Job Abilities go here since they do not have midcast rules --
- function precast(spell)
- -- Magic Precast -------------------------------------
- if spell.action_type == 'Magic' then
- equip(sets.precast.FC.Standard)
- if spell.skill == 'Blue Magic' then
- equip(sets.precast.FC.Blue)
- end
- end
- -- Job Ability Precast -------------------------------
- if spell.english == 'Azure Lore' then
- equip(sets.JA.AzureLore)
- end
- -- Weaponskill Precast -------------------------------
- if spell.english == 'Black Halo' then
- equip(sets.WS.BlackHalo)
- end
- if spell.english == 'Flash Nova' then
- equip(sets.WS.FlashNova)
- end
- if spell.english == 'Sanguine Blade' then
- equip(sets.WS.SanguineBlade)
- end
- if spell.english == 'Savage Blade' or spell.english == 'Expiacion' then
- equip(sets.WS.SavageExpiacion)
- end
- if spell.english == 'Requiescat' or spell.english == 'Realmrazer' then
- equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
- end
- if spell.english == 'Chant du Cygne' then
- equip(sets.ChantDuCygne[sets.ChantDuCygne.index[ChantDuCygne_ind]])
- end
- end
- -- MIDCASTING RULES --
- function midcast(spell,act)
- if spell.action_type == 'Magic' then
- equip(sets.BLU.Buffs) -- Used as General Casting Set --
- if spell.skill == 'Enhancing Magic' then
- equip(sets.Utility.Enhance)
- end
- -- Physical BLU -----------------------------------------------------------------
- if PhysicalBlueMagic_PhysicalAll:contains(spell.english) then
- if PhysicalBlueMagic_STR:contains(spell.english) then
- equip(sets.BLU.STR)
- send_command('@input /echo <----- STR ----->')
- end
- if PhysicalBlueMagic_DEX:contains(spell.english) then
- equip(sets.BLU.DEX)
- send_command('@input /echo <----- DEX ----->')
- end
- if PhysicalBlueMagic_VIT:contains(spell.english) then
- equip(sets.BLU.VIT)
- send_command('@input /echo <----- VIT ----->')
- end
- if PhysicalBlueMagic_AGI:contains(spell.english) then
- equip(sets.BLU.AGI)
- send_command('@input /echo <----- AGI ----->')
- end
- if BlueMagic_AddedEffect:contains(spell.english) then
- equip(sets.BLU.AddedEffect)
- send_command('@input /echo <----- Added Effect ----->')
- end
- if buffactive['Chain Affinity'] then
- equip(sets.JA.ChainAffinity)
- send_command('@input /echo <----- Chain Affinity ----->')
- end
- if buffactive['Efflux'] then
- equip(sets.JA.Efflux)
- send_command('@input /echo <----- Efflux ----->')
- end
- end
- -- Magical BLU --
- if BlueMagic_NukesAll:contains(spell.english) then
- if BlueMagic_Nukes:contains(spell.english) then
- equip(sets.BLU.Nukes)
- send_command('@input /echo <----- Nukes ----->')
- end
- if BlueMagic_DarkNukes:contains(spell.english) then
- equip(sets.BLU.DarkNukes)
- send_command('@input /echo <----- Dark Nukes ----->')
- end
- if BlueMagic_LightNukes:contains(spell.english) then
- equip(sets.BLU.LightNukes)
- send_command('@input /echo <----- Light Nukes ----->')
- end
- if BlueMagic_Breath:contains(spell.english) then
- equip(sets.BLU.Breath)
- send_command('@input /echo <----- Breath ----->')
- end
- if BlueMagic_MagicAcc:contains(spell.english) then
- equip(sets.BLU.MagicAcc)
- send_command('@input /echo <----- Magic Accuracy ----->')
- end
- if BlueMagic_Enmity:contains(spell.english) then
- equip(sets.BLU.Enmity)
- send_command('@input /echo <----- Enmity ----->')
- end
- if BlueMagic_AccRecast:contains(spell.english) then
- equip(sets.BLU.AccRecast)
- send_command('@input /echo <----- Accuracy Recast ----->')
- end
- if buffactive['Burst Affinity'] then
- equip(sets.JA.BurstAffinity)
- send_command('@input /echo <----- Burst Affinity ----->')
- end
- end
- -- Healing BLU --
- if BlueMagic_Cures:contains(spell.english) then
- equip(sets.BLU.Cures)
- send_command('@input /echo <----- Cures ----->')
- end
- if BlueMagic_WhiteWind:contains(spell.english) then
- equip(sets.BLU.WhiteWind)
- send_command('@input /echo <----- White Wind ----->')
- end
- if BlueMagic_Regeneration:contains(spell.english) then
- equip(sets.BLU.Regeneration)
- send_command('@input /echo <----- Regeneration ----->')
- end
- -- Buffs BLU --
- if BlueMagic_BuffsAll:contains(spell.english) then
- if BlueMagic_Buffs:contains(spell.english) then
- equip(sets.BLU.Buffs)
- send_command('@input /echo <----- Buffs ----->')
- end
- if BlueMagic_BuffsSkill:contains(spell.english) then
- equip(sets.BLU.BuffsSkill)
- send_command('@input /echo <----- Buffs Skill ----->')
- end
- if BlueMagic_BuffsRecast:contains(spell.english) then
- equip(sets.BLU.BuffsRecast)
- send_command('@input /echo <----- Buffs Recast ----->')
- end
- if buffactive['Diffusion'] then
- equip(sets.JA.Diffusion)
- send_command('@input /echo <----- Diffusion ----->')
- end
- end
- end
- end
- -- AFTERCAST & Misc RULES --
- function aftercast(spell)
- if player.status == 'Engaged' then
- equip(sets.TP[sets.TP.index[TP_ind]])
- else
- equip(sets.Idle[sets.Idle.index[Idle_ind]])
- if world.zone == 'Western Adoulin' or world.zone == 'Eastern Adoulin' then
- equip(sets.Utility.Adoulin)
- end
- end
- end
- function status_change(new,old)
- if new == 'Engaged' then
- equip(sets.TP[sets.TP.index[TP_ind]])
- else
- equip(sets.Idle[sets.Idle.index[Idle_ind]])
- if world.zone == 'Western Adoulin' or world.zone == 'Eastern Adoulin' then
- equip(sets.Utility.Adoulin)
- end
- end
- end
- windower.register_event('zone change', function()
- equip(sets.Idle[sets.Idle.index[Idle_ind]])
- if world.zone == 'Western Adoulin' or world.zone == 'Eastern Adoulin' then
- equip(sets.Utility.Adoulin)
- end
- end)
- function self_command(command)
- if command == 'toggle TP set' then
- TP_ind = TP_ind +1
- if TP_ind > #sets.TP.index then TP_ind = 1 end
- send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
- equip(sets.TP[sets.TP.index[TP_ind]])
- elseif command == 'toggle Idle set' then
- Idle_ind = Idle_ind +1
- if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
- send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
- equip(sets.Idle[sets.Idle.index[Idle_ind]])
- if world.zone == 'Western Adoulin' or world.zone == 'Eastern Adoulin' then
- equip(sets.Utility.Adoulin)
- end
- elseif command == 'toggle Treasure Lock' then
- Treasurelock_ind = Treasurelock_ind +1
- if Treasurelock_ind > #sets.Treasurelock.index then Treasurelock_ind = 1 end
- if Treasurelock_ind == 1 then
- enable("feet")
- end
- if Treasurelock_ind == 2 then
- equip(sets.Treasurelock[sets.Treasurelock.index[Treasurelock_ind]])
- disable("feet")
- end
- send_command('@input /echo <----- Treasurelock changed to '..sets.Treasurelock.index[Treasurelock_ind]..' ----->')
- elseif command == 'toggle Req set' then
- Requiescat_ind = Requiescat_ind +1
- if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
- send_command('@input /echo <----- Requiescat/Realmrazer Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
- elseif command == 'toggle CDC set' then
- ChantDuCygne_ind = ChantDuCygne_ind +1
- if ChantDuCygne_ind > #sets.ChantDuCygne.index then ChantDuCygne_ind = 1 end
- send_command('@input /echo <----- Chant du Cygne Set changed to '..sets.ChantDuCygne.index[ChantDuCygne_ind]..' ----->')
- elseif command == 'equip TP set' then
- equip(sets.TP[sets.TP.index[TP_ind]])
- elseif command == 'equip Idle set' then
- equip(sets.Idle[sets.Idle.index[Idle_ind]])
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement