Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Initialization function for this job file.
- function get_sets()
- mote_include_version = 2
- -- Load and initialize the include file.
- include('Mote-Include.lua')
- end
- -- //gs debugmode
- -- //gs showswaps
- function binds_on_load()
- -- F9-F12
- send_command('bind f9 gs c cycle OffenseMode')
- send_command('bind f10 gs c cycle HybridMode')
- send_command('bind f11 gs c cycle CastingMode')
- send_command('bind f12 gs c cycle IdleMode')
- -- ALT F9-12
- send_command('bind !f9 gs c update user')
- send_command('bind !f10 gs c cycle RangedMode')
- send_command('bind !f11 gs c cycle WeaponskillMode')
- send_command('bind !f12 gs c cycle Kiting')
- end
- function job_setup()
- state.Buff['Chain Affinity'] = buffactive['Chain Affinity'] or false
- state.Buff['Burst Affinity'] = buffactive['Burst Affinity'] or false
- state.Buff.Diffusion = buffactive.Diffusion or false
- state.Buff.Efflux = buffactive.Efflux or false
- state.Buff['Unbridled Learning'] = buffactive['Unbridled Learning'] or false
- blue_magic_maps = {}
- -- Mappings for gear sets to use for various blue magic spells.
- -- Physical Spells
- -- Physical spells with no known stat mods
- blue_magic_maps.Physical = S{'Bilgestorm'}
- -- Spells with heavy accuracy penalties, that need to prioritize accuracy first.
- blue_magic_maps.PhysicalAcc = S{'Heavy Strike'}
- -- Physical STR spells
- blue_magic_maps.PhysicalStr = S{
- 'Battle Dance', 'Bloodrake', 'Death Scissors', 'Dimensional Death',
- 'Empty Thrash', 'Quadrastrike', 'Spinal Cleave', 'Uppercut',
- 'Vertical Cleave'}
- -- Physical DEX spells
- blue_magic_maps.PhysicalDex = S{
- 'Amorphic Spikes','Asuran Claws','Barbed Crescent','Claw Cyclone',
- 'Disseverment', 'Foot Kick','Frenetic Rip','Goblin Rush',
- 'Hysteric Barrage', 'Paralyzing Triad', 'Seedspray','Sickle Slash',
- 'Smite of Rage','Terror Touch','Thrashing Assault', 'Vanity Dive',
- 'Sinker Drill'}
- -- Physical VIT spells
- blue_magic_maps.PhysicalVit = S{
- 'Body Slam', 'Cannonball', 'Delta Thrust', 'Glutinous Dart',
- 'Grand Slam', 'Power Attack', 'Quad. Continuum', 'Sprout Smack',
- 'Sub-zero Smash'}
- -- Physical AGI spells
- blue_magic_maps.PhysicalAgi = S{
- 'Benthic Typhoon', 'Feather Storm', 'Helldive', 'Hydro Shot',
- 'Jet Stream', 'Pinecone Bomb', 'Spiral Spin', 'Wild Oats'}
- -- Physical INT spells
- blue_magic_maps.PhysicalInt = S{'Mandibular Bite', 'Queasyshroom'}
- -- Physical MND spells
- blue_magic_maps.PhysicalMnd = S{'Ram Charge', 'Screwdriver', 'Tourbillion'}
- -- Physical CHR spells
- blue_magic_maps.PhysicalChr = S{'Bludgeon'}
- -- Physical HP Stat spells
- blue_magic_maps.PhysicalHP = S{'Final Sting'}
- -- Magical Spells --
- -- Magical INT spells
- blue_magic_maps.Magical = S{
- 'Blastbomb', 'Blazing Bound', 'Bomb Toss', 'Cursed Sphere',
- 'Dark Orb', 'Death Ray', 'Droning Whirlwind', 'Embalming Earth',
- 'Firespit', 'Foul Waters', 'Ice Break', 'Leafstorm', 'Maelstrom',
- 'Regurgitation', 'Rending Deluge', 'Retinal Glare','Subduction', 'Tem. Upheaval', 'Water Bomb',
- 'Silent Storm', 'Scouring Spate', 'Tenebral Crush',
- 'Entomb', 'Searing Tempest', 'Anvil Lightning',
- 'Blinding Fulgor', 'Spectral Floe'}
- -- Magical MND spells
- blue_magic_maps.MagicalMnd = S{
- 'Acrid Stream', 'Evryone. Grudge', 'Magic Hammer', 'Mind Blast'}
- -- Magical CHR spells
- blue_magic_maps.MagicalChr = S{
- 'Eyes On Me', 'Mysterious Light'}
- -- Magical VIT > INT spells
- blue_magic_maps.MagicalVit = S{
- 'Thermal Pulse'}
- -- Magical DEX > INT spells
- blue_magic_maps.MagicalDex = S{
- 'Charged Whisker', 'Gates of Hades'}
- -- Magical spells (generally debuffs) that we want to focus on magic accuracy over damage.
- -- Add Int for damage where available, though.
- blue_magic_maps.MagicAccuracy = S{
- '1000 Needles', 'Absolute Terror', 'Actinic Burst', 'Auroral Drape',
- 'Awful Eye', 'Blank Gaze', 'Blistering Roar', 'Blood Drain',
- 'Blood Saber', 'Chaotic Eye', 'Cimicine Discharge', 'Cold Wave',
- 'Corrosive Ooze', 'Demoralizing Roar', 'Digest', 'Dream Flower',
- 'Enervation', 'Feather Tickle', 'Filamented Hold', 'Frightful Roar',
- 'Geist Wall', 'Hecatomb Wave', 'Infrasonics', 'Jettatura',
- 'Light of Penance', 'Lowing','Mind Blast', 'Mortal Ray',
- 'MP Drainkiss', 'Osmosis', 'Reaving Wind', 'Sandspin', 'Sandspray',
- 'Sheep Song', 'Soporific', 'Sound Blast', 'Stinking Gas',
- 'Sub-zero Smash', 'Venom Shell', 'Voracious Trunk', 'Yawn'}
- -- Breath-based spells
- blue_magic_maps.Breath = S{
- 'Bad Breath', 'Flying Hip Press', 'Frost Breath', 'Heat Breath',
- 'Hecatomb Wave', 'Magnetite Cloud', 'Poison Breath', 'Radiant Breath','Self-Destruct',
- 'Thunder Breath', 'Vapor Spray', 'Wind Breath'}
- -- Stun spells
- blue_magic_maps.Stun = S{
- 'Blitzstrahl', 'Frypan', 'Head Butt', 'Sudden Lunge', 'Tail slap',
- 'Temporal Shift', 'Thunderbolt', 'Whirl of Rage'}
- -- Healing spells
- blue_magic_maps.Healing = S{
- 'Healing Breeze', 'Magic Fruit', 'Plenilune Embrace', 'Pollen',
- 'White Wind', 'Wild Carrot', 'Restoral'}
- -- Buffs that depend on blue magic skill
- blue_magic_maps.SkillBasedBuff = S{
- 'Barrier Tusk', 'Diamondhide', 'Magic Barrier', 'Metallic Body',
- 'Plasma Charge', 'Pyric Bulwark', 'Reactor Cool', 'Occultation'}
- -- Other general buffs
- blue_magic_maps.Buff = S{
- 'Amplification', 'Animating Wail', 'Battery Charge', 'Cocoon',
- 'Carcharian Verve', 'Erratic Flutter', 'Exuviation', 'Fantod',
- 'Feather Barrier', 'Harden Shell', 'Memento Mori', 'Nat. Meditation',
- 'Orcish Counterstance', 'Refueling', 'Regeneration', 'Saline Coat',
- 'Triumphant Roar', 'Warm-Up', 'Winds of Promyvion', 'Zephyr Mantle'}
- -- Spells that require Unbridled Learning to cast.
- unbridled_spells = S{
- 'Absolute Terror', 'Bilgestorm', 'Blistering Roar', 'Bloodrake',
- 'Carcharian Verve', 'Droning Whirlwind', 'Gates of Hades',
- 'Harden Shell', 'Pyric Bulwark', 'Thunderbolt', 'Tourbillion'}
- end
- function user_setup()
- state.OffenseMode:options('Normal', 'Acc')
- state.WeaponskillMode:options('Normal', 'Acc')
- state.HybridMode:options('Normal', 'PDT')
- state.IdleMode:options('Normal', 'PDT')
- state.CastingMode:options('Normal', 'Resistant')
- select_default_macro_book(1, 2)
- end
- function user_unload()
- if binds_on_unload then
- binds_on_unload()
- end
- end
- function init_gear_sets()
- -- Augmented Gear
- -- Back - Create DA back next.
- Ros_Crit = { name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Crit.hit rate+10'}}
- Ros_DA = { name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','"Dbl.Atk."+10',}}
- Ros_STP = {}
- Ros_WSdmg = {}
- Ros_MAB = { name="Rosmerta's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','"Mag.Atk.Bns."+10',}}
- --Crit DMG Herculean
- Herc_Crit_head = {}
- Herc_Crit_body = {}
- Herc_Crit_hands = { name="Herculean Gloves", augments={'Attack+15','Crit. hit damage +4%','Accuracy+12',}}
- Herc_Crit_legs = { name="Herculean Trousers", augments={'Accuracy+22','Crit. hit damage +4%','STR+10',}}
- Herc_Crit_feet = {}
- --DT Herculean
- Herc_DT_head = { name="Herculean Helm", augments={'Accuracy+29','Damage taken-1%',}}
- Herc_DT_body = {}
- Herc_DT_hands = { name="Herculean Gloves", augments={'Attack+23','Damage taken-3%','STR+3','Accuracy+13',}}
- Herc_DT_legs = { name="Herculean Trousers", augments={'Accuracy+16','Damage taken-3%','Attack+8',}}
- Herc_DT_feet = { name="Herculean Boots", augments={'Attack+3','Damage taken-2%','AGI+6','Accuracy+12',}}
- --TA Herculean
- Herc_TA_head = {}
- Herc_TA_body = {}
- Herc_TA_hands = { name="Herculean Gloves", augments={'Accuracy+25 Attack+25','"Triple Atk."+3',}}
- Herc_TA_legs = { name="Herculean Trousers", augments={'Accuracy+29','"Triple Atk."+3','DEX+2',}}
- Herc_TA_feet = { name="Herculean Boots", augments={'Accuracy+20','"Triple Atk."+2','AGI+4','Attack+9',}}
- --STR Herculean
- --DEX Herculean
- --Crit Rate - Change these
- Herc_CritRate_hands = { name="Herculean Gloves", augments={'Attack+29','Crit.hit rate+3','DEX+10',}}
- Herc_CritRate_legs = { name="Herculean Trousers", augments={'Accuracy+18 Attack+18','Crit.hit rate+2','DEX+5','Accuracy+2','Attack+13',}}
- Herc_CritRate_feet = { name="Herculean Boots", augments={'Accuracy+23 Attack+23','Crit.hit rate+4','Accuracy+2',}}
- --STP Herculean - Maybe keep an STP set for RUN.
- Herc_STP_legs = { name="Herculean Trousers", augments={'Accuracy+17','"Store TP"+5','STR+5','Attack+9',}}
- Herc_STP_feet = { name="Herculean Boots", augments={'Accuracy+16','"Store TP"+6','AGI+8',}}
- --MAB Herculean
- Herc_MAB_head = { name="Herculean Helm", augments={'Mag. Acc.+20 "Mag.Atk.Bns."+20','Crit. hit damage +2%','Mag. Acc.+15','"Mag.Atk.Bns."+6',}}
- --MACC Herculean
- Herc_MACC_head = { name="Herculean Helm", augments={'Mag. Acc.+20 "Mag.Atk.Bns."+20','Crit. hit damage +2%','Mag. Acc.+15','"Mag.Atk.Bns."+6',}}
- --FC Herculean
- Herc_FC_head = {}
- -- Precast Sets
- sets.precast.JA['Azure Lore'] = {hands="Luhlaza Bazubands"}
- sets.precast.Waltz = {
- ammo="Impatiens",
- head="Luhlaza Keffiyeh +1", body="Telchine Chasuble",
- back="Oretania's Cape +1", neck="Phalaina Locket",
- hands="Telchine Gloves", waist="Gishdubar Sash",
- legs="Assimilator's Shalwar +1", feet="Rawhide Boots",
- ring1="Defending Ring", ring2="Vocane Ring",
- ear1="Gwati Earring", ear2="Loquacious Earring"}
- sets.precast.Waltz['Healing Waltz'] = {}
- sets.precast.FC = {
- ammo="Impatiens",
- head="Carmine Mask", body="Luhlaza Jubbah +1",
- back="Perimede Cape", neck="Incanter's Torque",
- hands="Leyline Gloves", waist="Witful Belt",
- legs="Psycloth Lappas", feet="Amalric Nails",
- ring1="Defending Ring", ring2="Prolix Ring",
- ear1="Etiolation Earring", ear2="Loquacious Earring"}
- sets.precast.FC['Blue Magic'] = set_combine(sets.precast.FC, {body="Hashishin Mintan"})
- -- Midcast Sets
- sets.midcast.FastRecast = {
- ammo="Impatiens",
- head="Carmine Mask", body="Luhlaza Jubbah +1",
- back="Perimede Cape", neck="Incanter's Torque",
- hands="Leyline Gloves", waist="Witful Belt",
- legs="Psycloth Lappas", feet="Carmine Greaves",
- ring1="Defending Ring", ring2="Prolix Ring",
- ear1="Etiolation Earring", ear2="Loquacious Earring"}
- sets.midcast['Blue Magic'] = {
- ammo="Mavi Tathlum",
- head="Luhlaza Keffiyeh +1", body="Assimilator's Jubbah +1",
- neck="Incanter's Torque",
- back="Cornflower Cape", hands="Rawhide Gloves",
- legs="Hashishin Tayt +1", feet="Luhlaza Charuqs"}
- -- Healing Magic
- sets.midcast['Blue Magic'].Healing = {
- ammo="Impatiens",
- head="Telchine Cap", body="Telchine Chasuble",
- back="Oretania's Cape +1", neck="Phalaina Locket",
- hands="Telchine Gloves", waist="Gishdubar Sash",
- legs="Telchine Braconi", feet="Medium's Sabots",
- ring1="Globidonta Ring", ring2="Vocane Ring",
- ear1="Gwati Earring", ear2="Mendicant's Earring"}
- sets.midcast.Cure = {
- ammo="Impatiens",
- head="Telchine Cap", body="Telchine Chasuble",
- back="Oretania's Cape +1", neck="Phalaina Locket",
- hands="Telchine Gloves", waist="Gishdubar Sash",
- legs="Telchine Braconi", feet="Medium's Sabots",
- ring1="Globidonta Ring", ring2="Vocane Ring",
- ear1="Gwati Earring", ear2="Mendicant's Earring"}
- -- Physical Spells
- sets.midcast['Blue Magic'].Physical = {
- ammo="Falcon Eye",
- head="Adhemar Bonnet", body="Abnoba Kaftan",
- back=Ros_Crit, neck="Fotia Gorget",
- hands="Rawhide Gloves", waist="Ninurta's Sash",
- legs=Herc_Crit_legs, feet=Herc_Crit_feet,
- ring1="Ifrit Ring +1", ring2="Ifrit Ring +1",
- ear1="Brutal Earring", ear2="Assuage Earring"}
- sets.midcast['Blue Magic'].PhysicalAcc = {
- ammo="Falcon Eye",
- head="Adhemar Bonnet", body="Abnoba Kaftan",
- back=Ros_Crit, neck="Sanctity Necklace",
- hands=Herc_Crit_hands, waist="Olseni Belt",
- legs=Herc_Crit_legs, feet=Herc_Crit_feet,
- ring1="Ifrit Ring +1", ring2="Ifrit Ring +1",
- ear1="Brutal Earring", ear2="Assuage Earring"}
- sets.midcast['Blue Magic'].PhysicalStr = set_combine(sets.midcast['Blue Magic'].Physical)
- sets.midcast['Blue Magic'].PhysicalDex = set_combine(sets.midcast['Blue Magic'].Physical)
- sets.midcast['Blue Magic'].PhysicalVit = set_combine(sets.midcast['Blue Magic'].Physical)
- sets.midcast['Blue Magic'].PhysicalAgi = set_combine(sets.midcast['Blue Magic'].Physical)
- sets.midcast['Blue Magic'].PhysicalInt = set_combine(sets.midcast['Blue Magic'].Physical)
- sets.midcast['Blue Magic'].PhysicalMnd = set_combine(sets.midcast['Blue Magic'].Physical)
- sets.midcast['Blue Magic'].PhysicalChr = set_combine(sets.midcast['Blue Magic'].Physical)
- sets.midcast['Blue Magic'].PhysicalHP = set_combine(sets.midcast['Blue Magic'].Physical)
- -- Magical Spells
- sets.midcast['Blue Magic'].Magical = {
- ammo="Pemphredo Tathlum",
- head=Herc_MACC_head, body="Hagondes Coat +1",
- back=Ros_MAB, neck="Sanctity Necklace",
- hands="Amalric Gages", waist="Witful Belt",
- legs="Amalric Slops", feet="Amalric Nails",
- ring1="Fenrir Ring +1", ring2="Fenrir Ring +1",
- ear1="Friomisi Earring", ear2="Hecate's Earring"}
- sets.midcast['Blue Magic'].Magical.Resistant = set_combine(sets.midcast['Blue Magic'].Magical,{
- ammo="Mavi Tathlum",
- head=Herc_MACC_head, body="Assimilator's Jubbah +1",
- back=Ros_MAB, neck="Sanctity Necklace",
- hands="Rawhide Gloves", waist="Witful Belt",
- legs="Hashishin Tayt +1", feet="Medium's Sabots",
- ear1="Gwati Earring", ear2="Dignitary's Earring",
- ring1="Perception Ring", ring2="Sangoma Ring"})
- sets.midcast['Blue Magic'].MagicalMnd = set_combine(sets.midcast['Blue Magic'].Magical,{})
- sets.midcast['Blue Magic'].MagicalChr = set_combine(sets.midcast['Blue Magic'].Magical,{})
- sets.midcast['Blue Magic'].MagicalVit = set_combine(sets.midcast['Blue Magic'].Magical,{})
- sets.midcast['Blue Magic'].MagicalDex = set_combine(sets.midcast['Blue Magic'].Magical, {})
- sets.midcast['Blue Magic'].MagicAccuracy = {
- ammo="Mavi Tathlum",
- head=Herc_MACC_head, body="Assimilator's Jubbah +1",
- back=Ros_MAB, neck="Sanctity Necklace",
- hands="Rawhide Gloves", waist="Witful Belt",
- legs="Hashishin Tayt +1", feet="Medium's Sabots",
- ear1="Gwati Earring", ear2="Dignitary's Earring",
- ring1="Perception Ring", ring2="Sangoma Ring"}
- -- Breath Spells
- sets.midcast['Blue Magic'].Breath = {
- ammo="Mavi Tathlum",
- head="Luhlaza Keffiyeh +1", body="Assimilator's Jubbah +1",
- back=Ros_MAB, neck="Incanter's Torque",
- waist="Witful Belt", hands="Rawhide Gloves",
- legs="Hashishin Tayt +1", feet="Medium's Sabots",
- ear1="Gwati Earring", ear2="Dignitary's Earring",
- ring1="Perception Ring", ring2="Sangoma Ring"}
- -- Other Types
- sets.midcast['Blue Magic'].Stun = set_combine(sets.midcast['Blue Magic'].MagicAccuracy, {waist="Chaac Belt"})
- sets.midcast['Blue Magic'].SkillBasedBuff = {
- ammo="Mavi Tathlum",
- head="Luhlaza Keffiyeh +1", body="Assimilator's Jubbah +1",
- neck="Incanter's Torque",
- back="Cornflower Cape", hands="Rawhide Gloves",
- legs="Hashishin Tayt +1",feet="Luhlaza Charuqs"}
- sets.midcast['Blue Magic'].Buff = {
- ammo="Mavi Tathlum", neck="Incanter's Torque",
- head="Telchine Cap", body="Telchine Chasuble",
- back="Cornflower Cape", hands="Telchine Gloves",
- legs="Hashishin Tayt +1",feet="Telchine Pigaches"}
- -- Magic
- sets.midcast['Enhancing Magic'] = {
- neck="Incanter's Torque",
- head="Telchine Cap", body="Telchine Chasuble",
- hands="Telchine Gloves", waist="Gishdubar Sash",
- legs="Telchine Braconi", feet="Telchine Pigaches"}
- sets.midcast.Refresh = {
- neck="Incanter's Torque",
- head="Telchine Cap", body="Telchine Chasuble",
- hands="Telchine Gloves", waist="Gishdubar Sash",
- legs="Telchine Braconi", feet="Telchine Pigaches"}
- sets.midcast['Haste'] = set_combine(sets.midcast.Refresh, {
- head="Telchine Cap", body="Telchine Chasuble",
- hands="Telchine Gloves", legs="Telchine Braconi",
- feet="Telchine Pigaches"})
- sets.midcast['Regen'] = set_combine(sets.midcast.Refresh, {
- head="Telchine Cap", body="Telchine Chasuble",
- hands="Telchine Gloves", neck="Incanter's Torque",
- legs="Telchine Braconi", feet="Telchine Pigaches"})
- sets.midcast.Stoneskin = set_combine(sets.midcast['Enhancing Magic'], {
- head="Telchine Cap", body="Telchine Chasuble",
- hands="Telchine Gloves", neck="Incanter's Torque",
- legs="Haven Hose", feet="Telchine Pigaches",
- waist="Siegel Sash", ear2="Earthcry Earring"})
- sets.midcast['Aquaveil'] = set_combine(sets.midcast.Refresh, {
- head="Telchine Cap", body="Telchine Chasuble",
- hands="Telchine Gloves", neck="Incanter's Torque",
- legs="Telchine Braconi", feet="Telchine Pigaches"})
- sets.midcast.Protect = {ring1="Sheltered Ring"}
- sets.midcast.Protectra = {ring1="Sheltered Ring"}
- sets.midcast.Shell = {ring1="Sheltered Ring"}
- sets.midcast.Shellra = {ring1="Sheltered Ring"}
- sets.Learning = {
- ammo="Mavi Tathlum", neck="Incanter's Torque",
- head="Luhlaza Keffiyeh +1", body="Assimilator's Jubbah +1",
- back="Cornflower Cape", hands="Assimilator's Bazubands +1",
- legs="Hashishin Tayt +1", feet="Luhlaza Charuqs"}
- sets.latent_refresh = {waist="Fucho-no-obi"}
- -- Resting sets
- sets.resting = {
- ammo="Vanir Battery",
- head="", body="Respite Cloak",
- back="Xucau Mantle", neck="Sanctity Necklace",
- hands=Herc_DT_hands, waist="Flume Belt +1",
- legs=Herc_DT_legs, feet=Herc_DT_feet,
- ring1="Sheltered Ring", ring2="Paguroidea Ring",
- ear1="Etiolation Earring", ear2="Genmei Earring"}
- -- Idle sets
- sets.idle = {
- ammo="Vanir Battery",
- head="", body="Respite Cloak",
- back="Xucau Mantle", neck="Sanctity Necklace",
- hands=Herc_DT_hands, waist="Flume Belt +1",
- legs="Carmine Cuisses +1", feet=Herc_DT_feet,
- ring1="Sheltered Ring", ring2="Paguroidea Ring",
- ear1="Infused Earring", ear2="Genmei Earring"}
- sets.idle.PDT = {
- ammo="Vanir Battery",
- head=Herc_DT_head, body="Emet Harness +1",
- back="Xucau Mantle", neck="Twilight Torque",
- hands=Herc_DT_hands, waist="Flume Belt +1",
- legs=Herc_DT_legs, feet=Herc_DT_feet,
- ring1="Defending Ring", ring2="Vocane Ring",
- ear1="Etiolation Earring", ear2="Genmei Earring"}
- sets.idle.Town = {
- ammo="Vanir Battery",
- head="Adhemar Bonnet", body="Abnoba Kaftan",
- back=Ros_Crit, neck="Sanctity Necklace",
- hands=Herc_DT_hands, waist="Flume Belt +1",
- legs="Carmine Cuisses +1", feet=Herc_DT_feet,
- ring1="Defending Ring", ring2="Vocane Ring",
- ear1="Etiolation Earring", ear2="Genmei Earring"}
- sets.Kiting = {legs="Carmine Cuisses +1"}
- -- Custom buff sets
- sets['Chain Affinity'] = {head="Hashishin Kavuk", feet="Assimilator's Charuqs +1"}
- sets['Burst Affinity'] = {legs="Assimilator's Shalwar +1",feet="Hashishin Basmak"}
- sets.Diffusion = {feet="Luhlaza Charuqs"}
- sets.Efflux = {legs="Hashishin Tayt +1", back=Ros_Crit}
- -- Engaged sets
- sets.engaged = {
- ammo="Ginsen",
- head="Adhemar Bonnet", body="Adhemar Jacket",
- back=Ros_DA, neck="Clotharius Torque",
- hands=Herc_TA_hands, waist="Windbuffet Belt +1",
- legs="Samnuha Tights", feet=Herc_TA_feet,
- ring1="Petrov Ring", ring2="Epona's Ring",
- ear1="Steelflash Earring", ear2="Bladeborn Earring"}
- sets.engaged.Acc = {
- ammo="Falcon Eye",
- head="Carmine Mask", body="Adhemar Jacket",
- back=Ros_DA, neck="Subtlety Spectacles",
- hands="Adhemar Wristbands", waist="Olseni Belt",
- legs="Carmine Cuisses +1", feet=Herc_TA_feet,
- ring1="Supershear Ring", ring2="Patricius Ring",
- ear1="Assuage Earring", ear2="Dignitary's Earring"}
- --Hybrid Sets
- sets.engaged.PDT = set_combine(sets.engaged, {
- ammo="Vanir Battery",
- head=Herc_DT_head, body="Emet Harness +1",
- back="Xucau Mantle", neck="Twilight Torque",
- hands=Herc_DT_hands, waist="Flume Belt +1",
- legs=Herc_DT_legs, feet=Herc_DT_feet,
- ring1="Defending Ring", ring2="Vocane Ring",
- ear1="Etiolation Earring", ear2="Genmei Earring"})
- sets.engaged.Acc.PDT = set_combine(sets.engaged.Acc,{
- ammo="Amar Cluster",
- head=Herc_DT_head, body="Emet Harness +",
- back="Agema Cape", hands=Herc_DT_hands,
- legs=Herc_DT_legs, feet=Herc_DT_feet,
- ring1="Defending Ring", ring2="Patricius Ring",
- ear1="Assuage Earring", ear2="Dignitary's Earring"})
- -- Weaponskill sets
- sets.precast.WS = {
- ammo="Ginsen",
- head="Adhemar Bonnet", body="Abnoba Kaftan",
- back=Ros_DA, neck="Fotia Gorget",
- hands=Herc_Crit_hands, waist="Fotia Belt",
- legs=Herc_Crit_legs, feet=Herc_Crit_feet,
- ring1="Ifrit Ring +1", ring2="Ifrit Ring +1",
- ear1="Brutal Earring", ear2="Moonshade Earring"}
- sets.precast.WS.Acc = set_combine(sets.precast.WS, {ammo="Falcon Eye"})
- -- Chant du Cygne
- sets.precast.WS['Chant du Cygne'] = {
- ammo="Falcon Eye",
- head="Adhemar Bonnet", body="Abnoba Kaftan",
- back=Ros_Crit, neck="Fotia Gorget",
- hands="Adhemar Wristbands", waist="Fotia Belt",
- legs=Herc_Crit_legs, feet="Thereoid Greaves",
- ring1="Petrov Ring", ring2="Epona's Ring",
- ear1="Brutal Earring", ear2="Moonshade Earring"}
- sets.precast.WS['Chant du Cygne'].Acc = set_combine(sets.precast.WS['Chant du Cygne'], {})
- -- Requiescat
- sets.precast.WS['Requiescat'] = {
- ammo="Ginsen",
- head="Adhemar Bonnet", body="Abnoba Kaftan",
- back=Ros_Crit, neck="Fotia Gorget",
- hands="Leyline Gloves", waist="Fotia Belt",
- legs=Herc_Crit_legs, feet=Herc_Crit_feet,
- ring1="Ifrit Ring +1", ring2="Rufescent Ring",
- ear1="Brutal Earring", ear2="Moonshade Earring"}
- sets.precast.WS['Requiescat'].Acc = set_combine(sets.precast.WS['Requiescat'], {
- ammo="Falcon Eye", neck="Sanctity Necklace"})
- -- Sanguine Blade
- sets.precast.WS['Sanguine Blade'] = {
- ammo="Pemphredo Tathlum",
- head=Herc_MACC_head, body="Hagondes Coat +1",
- back=Ros_MAB, neck="Sanctity Necklace",
- hands="Leyline Gloves", waist="Fotia Belt",
- legs="Amalric Slops", feet="Amalric Nails",
- ring1="Fenrir Ring +1", ring2="Fenrir Ring +1",
- ear1="Friomisi Earring", ear2="Hecate's Earring"}
- sets.precast.WS['Sanguine Blade'].Acc = set_combine(sets.precast.WS['Sanguine Blade'], {})
- end
- function job_precast(spell, action, spellMap, eventArgs)
- if unbridled_spells:contains(spell.english) and not state.Buff['Unbridled Learning'] then
- eventArgs.cancel = true
- windower.send_command('@input /ja "Unbridled Learning" <me>; wait 1.5; input /ma "'..spell.name..'" '..spell.target.name)
- end
- end
- -- Called by the 'update' self-command, for common needs.
- -- Set eventArgs.handled to true if we don't want automatic equipping of gear.
- function job_update(cmdParams, eventArgs)
- end
- -- Custom spell mapping.
- -- Return custom spellMap value that can override the default spell mapping.
- -- Don't return anything to allow default spell mapping to be used.
- function job_get_spell_map(spell, default_spell_map)
- if spell.skill == 'Blue Magic' then
- for category,spell_list in pairs(blue_magic_maps) do
- if spell_list:contains(spell.english) then
- return category
- end
- end
- end
- end
- function job_buff_change(buff, gain)
- if buff == "Chain Affinity" then
- handle_equipping_gear(player.status)
- end
- if buff == "Burst Affinity" then
- handle_equipping_gear(player.status)
- end
- if buff == "Diffusion" then
- handle_equipping_gear(player.status)
- end
- if buff == "Efflux" then
- handle_equipping_gear(player.status)
- end
- end
- -- Modify the default idle set after it was constructed.
- function customize_idle_set(idleSet)
- if player.mpp < 51 then
- set_combine(idleSet, sets.latent_refresh)
- end
- if state.Buff['Chain Affinity'] then
- return set_combine(idleSet, sets['Chain Affinity'])
- end
- if state.Buff['Burst Affinity'] then
- return set_combine(idleSet, sets['Burst Affinity'])
- end
- if state.Buff.Diffusion then
- return set_combine(idleSet, sets.Diffusion)
- end
- if state.Buff.Efflux then
- return set_combine(idleSet, sets.Efflux)
- else
- return idleSet
- end
- end
- -- Modify the default melee set after it was constructed.
- function customize_melee_set(meleeSet)
- if state.Buff['Chain Affinity'] then
- return set_combine(meleeSet, sets['Chain Affinity'])
- end
- if state.Buff['Burst Affinity'] then
- return set_combine(meleeSet, sets['Burst Affinity'])
- end
- if state.Buff.Diffusion then
- return set_combine(meleeSet, sets.Diffusion)
- end
- if state.Buff.Efflux then
- return set_combine(meleeSet, sets.Efflux)
- else
- return meleeSet
- end
- end
- -- Run after the default midcast() is done.
- -- eventArgs is the same one used in job_midcast, in case information needs to be persisted.
- function job_post_midcast(spell, action, spellMap, eventArgs)
- if spellMap == 'Healing' and spell.target.type == 'SELF' and sets.midcast.CureSelf then
- equip(sets.midcast.CureSelf)
- end
- end
- -- Select default macro book on initial load or subjob change.
- function select_default_macro_book()
- -- Default macro set/book
- if player.sub_job == 'DNC' then
- set_macro_page(1, 2)
- else
- set_macro_page(1, 2)
- end
- end
Add Comment
Please, Sign In to add comment