Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------------------------
- -- *** Arnan Blue Mage Gearswap Lua File *** --
- -----------------------------------------------
- -- Commands --
- -- In Game: //gs c, Macro: /console gs c, Bind: gs c --
- -- gs c acc Toggle accuracy tier for TP/WS
- -- gs c dw Toggle Dual Wield tiers
- -- gs c idle Toggle idle sets
- -- gs c pdt PDT on/off
- -- gs c mdt MDT on/off
- -- gs c kiting Kiting on/off
- -- gs c hybrid Hybrid on/off
- -- gs c th Treasure Hunter TP gear on/off
- -- gs c thaumas Thaumas Coat on/off
- -- gs c mb Magic Burst on/off
- ----------
- -- Sets --
- ----------
- function get_sets()
- AccIndex = 1
- AccArray = {"LowACC","MidACC","HighACC","MaxACC"} -- 4 Levels Of Accuracy Sets For TP/WS. Default ACC Set Is LowACC (1) --
- WeaponIndex = 3
- WeaponArray = {"Single","DW3","DW4"} -- Amount of Dual Wield used for TP. Default is DW4 (3) --
- IdleIndex = 1
- IdleArray = {"Full","DT","Warp"} -- Default Idle Set Is Full (1) --
- Armor = 'None'
- target_distance = 6 -- Set Default Distance Here --
- Thaumas = 'OFF' -- Set Default Thaumas Coat ON or OFF Here --
- TH = 'OFF' -- Set Default TH ON or OFF Here --
- MB = 'OFF' -- Set Default Magic Burst ON or OFF Here --
- Cure_Spells = {"Cure","Cure II","Cure III","Cure IV"} -- Cure Degradation --
- Curaga_Spells = {"Curaga","Curaga II"} -- Curaga Degradation --
- send_command('input /macro book 1;wait .1;input /macro set 1') -- Change Default Macro Book Here --
- add_to_chat(158,'-----[Blue Mage Lua Loaded]-----')
- add_to_chat(155,'Dual Wield: '..WeaponArray[WeaponIndex])
- add_to_chat(155,'Accuracy Level: ' .. AccArray[AccIndex])
- add_to_chat(155,'Idle Set: ' .. IdleArray[IdleIndex])
- add_to_chat(158,'-----[Weapon Skill Keybinds]-----')
- add_to_chat(155,'F7 - Sanguine Blade, F9 - Expiacion, F10 - Requiescat, F11 - Savage Blade, Delete - Chant du Cygne')
- add_to_chat(155,'F12 - Last Stand (mule), Alt+F12 - Leaden Salute (mule) Alt+Delete - Savage Blade (mule)')
- -- Town/City Areas --
- Cities = S{
- "Ru'lude Gardens","Upper Jeuno","Lower Jeuno","Port Jeuno",
- "Port Windurst","Windurst Waters","Windurst Woods","Windurst Walls","Heavens Tower",
- "Port San d'Oria","Northern San d'Oria","Southern San d'Oria",
- "Port Bastok","Bastok Markets","Bastok Mines","Metalworks",
- "Aht Urhgan Whitegate","Nashmau","Tavanazian Safehold",
- "Selbina","Mhaura","Norg","Eastern Adoulin","Western Adoulin","Kazham","Tavnazia"}
- -- Physical Blue Magic --
- PhysicalBlueMagic = S{
- 'Asuran Claws','Bludgeon','Body Slam','Feather Storm','Mandibular Bite','Queasyshroom',
- 'Power Attack','Ram Charge','Saurian Slide','Screwdriver','Sickle Slash','Smite of Rage',
- 'Spinal Cleave','Spiral Spin','Terror Touch'}
- -- STR Physical Blue Magic --
- PhysicalBlueMagic_STR = S{
- 'Battle Dance','Bloodrake','Death Scissors','Dimensional Death','Empty Thrash',
- 'Quadrastrike','Uppercut','Tourbillion','Thrashing Assault','Vertical Cleave',
- 'Whirl of Rage'}
- -- DEX Physical Blue Magic --
- PhysicalBlueMagic_DEX = S{
- 'Amorphic Spikes','Barbed Crescent','Claw Cyclone','Disseverment','Foot Kick',
- 'Frenetic Rip','Goblin Rush','Hysteric Barrage','Paralyzing Triad','Seedspray',
- 'Sinker Drill','Vanity Dive'}
- -- VIT Physical Blue Magic --
- PhysicalBlueMagic_VIT = S{
- 'Cannonball','Delta Thrust','Glutinous Dart','Grand Slam','Quad. Continuum',
- 'Sprout Smack'}
- -- AGI Physical Blue Magic --
- PhysicalBlueMagic_AGI = S{
- 'Benthic Typhoon','Helldive','Hydro Shot','Jet Stream','Pinecone Bomb','Wild Oats'}
- -- Physical Accuracy Blue Magic --
- BlueMagic_PhysicalACC = S{
- 'Heavy Strike'}
- -- Magical Blue Magic --
- MagicalBlueMagic = 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'}
- -- Dark Magical Blue Magic --
- BlueMagic_Dark = S{
- 'Atra. Libations','Blood Saber','Dark Orb','Death Ray','Eyes On Me',
- 'Evryone. Grudge','Palling Salvo','Tenebral Crush'}
- -- Light Magical Blue Magic --
- BlueMagic_Light = S{
- 'Blinding Fulgor','Diffusion Ray','Magic Hammer','Rail Cannon','Retinal Glare'}
- -- Earth Magical Blue Magic --
- BlueMagic_Earth = S{
- 'Embalming Earth','Entomb','Sandspin'}
- -- Magic Accuracy Blue Magic --
- BlueMagic_Accuracy = S{
- '1000 Needles','Absolute Terror','Auroral Drape','Awful Eye','Blank Gaze','Blistering Roar',
- 'Blood Drain','Blood Saber','Chaotic Eye','Cimicine Discharge','Cold Wave','Digest','Corrosive Ooze',
- 'Demoralizing Roar','Dream Flower','Enervation','Feather Tickle','Filamented Hold','Frightful Roar',
- 'Geist Wall','Hecatomb Wave','Infrasonics','Light of Penance','Lowing','Mind Blast','Mortal Ray',
- 'MP Drainkiss','Osmosis','Reaving Wind','Sheep Song','Soporific','Sound Blast','Stinking Gas',
- 'Sub-zero Smash','Triumphant Roar','Venom Shell','Voracious Trunk','Yawn'}
- -- Breath Blue Magic --
- BlueMagic_Breath = S{
- 'Bad Breath','Flying Hip Press','Final Sting','Frost Breath','Heat Breath','Magnetite Cloud',
- 'Poison Breath','Radiant Breath','Self Destruct','Thunder Breath','Wind Breath'}
- -- Blue Magic Buffs --
- BlueMagic_Buff = S{
- 'Carcharian Verve','Diamondhide','Metallic Body','Magic Barrier',"Occultation",
- 'Orcish Counterstance','Plasma Charge','Pyric Bulwark','Reactor Cool'}
- -- Blue Magic Healing --
- BlueMagic_Healing = S{
- 'Healing Breeze','Magic Fruit','Plenilune Embrace','Pollen','Restoral','Wild Carrot'}
- -- HP Cure Blue Magic --
- BlueMagic_HPCure = S{
- 'White Wind'}
- -- Refresh Blue Magic --
- BlueMagic_Refresh = S{
- 'Battery Charge'}
- -- Blue Magic Stun --
- BlueMagic_Stun = S{
- 'Blitzstrahl','Temporal Shift'}
- -- Blue Magic Physical Stun --
- BlueMagic_PhysicalStun = S{
- 'Frypan','Head Butt','Sudden Lunge','Sweeping Gouge','Tail slap','Whirl of Rage'}
- -- Blue Magic Enmity --
- BlueMagic_Emnity = S{
- 'Actinic Burst','Exuviation','Fantod','Jettatura'}
- -- Diffusion --
- BlueMagic_Diffusion = S{
- 'Amplification','Cocoon','Exuviation','Feather Barrier','Harden Shell','Memento Mori','Metallic Body',
- 'Mighty Guard','Plasma Charge','Reactor Cool','Refueling','Saline Coat','Warm-Up','Zephyr Mantle'}
- -- Unbridled --
- BlueMagic_Unbridled = S{
- 'Absolute Terror','Bilgestorm','Blistering Roar','Bloodrake','Carcharian Verve',
- 'Droning Whirlwind','Gates of Hades','Harden Shell','Mighty Guard','Pyric Bulwark',
- 'Thunderbolt','Tourbillion'}
- -- Herculean Augments --
- HerculeanHelm={}
- HerculeanHelm.WSD={ name="Herculean Helm", augments={'Accuracy+16 Attack+16','Weapon skill damage +4%','Accuracy+6',}}
- HerculeanHelm.RF={ name="Herculean Helm", augments={'Pet: STR+3','STR+8','"Refresh"+2','Mag. Acc.+12 "Mag.Atk.Bns."+12',}}
- HerculeanVest={}
- HerculeanVest.Crit={ name="Herculean Vest", augments={'Attack+25','Crit. hit damage +4%','DEX+13',}}
- HerculeanGloves={}
- HerculeanGloves.TH={ name="Herculean Gloves", augments={'Mag. Acc.+6','Accuracy+8','"Treasure Hunter"+1','Accuracy+13 Attack+13',}}
- HerculeanGloves.RF={ name="Herculean Gloves", augments={'MND+10','Enmity-5','"Refresh"+2','Mag. Acc.+15 "Mag.Atk.Bns."+15',}}
- HerculeanBoots={}
- HerculeanBoots.TA={ name="Herculean Boots", augments={'Accuracy+27','"Triple Atk."+4','DEX+7','Attack+13',}}
- HerculeanBoots.WSD={ name="Herculean Boots", augments={'Accuracy+18 Attack+18','Weapon skill damage +5%','STR+9','Attack+10',}}
- HerculeanBoots.RF={ name="Herculean Boots", augments={'Pet: STR+8','Pet: Attack+20 Pet: Rng.Atk.+20','"Refresh"+2',}}
- HerculeanBoots.TH={ name="Herculean Boots", augments={'DEX+1','Pet: AGI+3','"Treasure Hunter"+2',}}
- -- Rosmerta's Cape Augments --
- CritCape={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','Crit.hit rate+10',}}
- DWCape={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','"Dual Wield"+10','Phys. dmg. taken-10%',}}
- WSDCape={ name="Rosmerta's Cape", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}}
- STPCape={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','"Store TP"+10','Phys. dmg. taken-10%',}}
- MABCape={ name="Rosmerta's Cape", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','INT+10','"Mag.Atk.Bns."+10',}}
- MNDDACape={ name="Rosmerta's Cape", augments={'MND+20','Accuracy+20 Attack+20','MND+10','"Dbl.Atk."+10',}}
- FCCape={ name="Rosmerta's Cape", augments={'Eva.+20 /Mag. Eva.+20','"Fast Cast"+10','Spell interruption rate down-10%',}}
- --------------------
- -- Key Binds Load --
- --------------------
- -- Key Bind Toggles (The Same for all my job files) (Ctrl Key) --
- send_command('bind ^A input //gs c acc')
- send_command('bind ^D input //gs c pdt')
- send_command('bind ^H input //gs c hybrid')
- send_command('bind ^I input //gs c idle')
- send_command('bind ^K input //gs c kiting')
- send_command('bind ^W input //gs c dw')
- -- Stuff to control both Mules (Ctrl Key) --
- send_command('bind ^X input /pcmd add ojomo;pause 5;input /pcmd add oeogo')
- send_command('bind ^3 input //send oeogo //ma Cure 3 Arnan')
- send_command('bind ^4 input //send oeogo //ma Cure 4 Arnan')
- send_command('bind ^5 input //send oeogo //ma Refresh Arnan')
- send_command('bind ^7 input //send oeogo //ma haste ojomo')
- send_command('bind ^8 input //send oeogo //ma Dia 2 <t>;pause 2;input //send ojomo //ja Light Shot <t>')
- send_command('bind ^9 input //send ojomo //follow arnan;pause 0.1;input //send oeogo //follow arnan')
- send_command('bind ^0 input //send ojomo //assist arnan;pause 0.1;input //send oeogo //assist arnan')
- send_command('bind ^- input //send ojomo /attack <t>;pause 0.1;input //send oeogo /attack <t>')
- -- COR (Mule) Job Ability Key Binds (Alt Key) --
- send_command('bind !7 input //send ojomo //ja Crooked Cards <me>')
- send_command('bind !8 input //send ojomo //ja Snake Eye <me>')
- send_command('bind !9 input //send ojomo //ja Fold <me>')
- send_command('bind !0 input //send ojomo //ja Random Deal <me>')
- -- COR (mule) Phantom Roll Key Binds (Alt Key) --
- send_command('bind !A input //send ojomo //ja Allies\' Roll <me>')
- send_command('bind !B input //send ojomo //ja Bolter\'s Roll <me>')
- send_command('bind !C input //send ojomo //ja Chaos Roll <me>')
- send_command('bind !D input //send ojomo //ja Dancer\'s Roll <me>')
- send_command('bind !E input //send ojomo //ja Evoker\s Roll <me>')
- send_command('bind !F input //send ojomo //ja Fighter\'s Roll <me>')
- send_command('bind !G input //send ojomo //ja Gallant\'s Roll <me>')
- send_command('bind !H input //send ojomo //ja Hunter\'s Roll <me>')
- send_command('bind !Q input //send ojomo //ja Warlock\'s Roll <me>')
- send_command('bind !R input //send ojomo //ja Rogue\'s Roll <me>')
- send_command('bind !S input //send ojomo //ja Samurai Roll <me>')
- send_command('bind !T input //send ojomo //ja Tactician\'s Roll <me>')
- send_command('bind !W input //send ojomo //ja Wizard\'s Roll <me>')
- send_command('bind !X input //send ojomo //ja Corsair\'s Roll <me>')
- -- GEO (Mule) Job Ability Key Binds (Win Key) --
- send_command('bind @3 input //send oeogo //ja Radial Arcana <me>')
- send_command('bind @5 input //send oeogo //ma Refresh <me>')
- send_command('bind @7 input //send oeogo //ja Blaze of Glory <me>')
- send_command('bind @8 input //send oeogo //ja Ecliptic Attrition <me>')
- send_command('bind @9 input //send oeogo //ja Life Cycle <me>')
- send_command('bind @0 input //send oeogo //ja Lasting Emanation <me>')
- -- GEO (Mule) Nuke Key Binds (Win Key) --
- send_command('bind @F1 input //send oeogo /ma Aero V <t>;pause 0.5;input //send oeogo /ma Aero IV <t>;pause 0.5;input //send oeogo /ma Aero III <t>;')
- send_command('bind @F2 input //send oeogo /ma Fire V <t>;pause 0.5;input //send oeogo /ma Fire IV <t>;pause 0.5;input //send oeogo /ma Fire III <t>;')
- send_command('bind @F3 input //send oeogo /ma Thunder V <t>;pause 0.5;input //send oeogo /ma Thunder IV <t>;pause 0.5;input //send oeogo /ma Thunder III <t>;')
- send_command('bind @F4 input //send oeogo /ma Stone V <t>;pause 0.5;input //send oeogo /ma Stone IV <t>;pause 0.5;input //send oeogo /ma Stone III <t>;')
- send_command('bind @F5 input //send oeogo /ma Water V <t>;pause 0.5;input //send oeogo /ma Water IV <t>;pause 0.5;input //send oeogo /ma Water III <t>;')
- send_command('bind @F6 input //send oeogo /ma Blizzard V <t>;pause 0.5;input //send oeogo /ma Blizzard IV <t>;pause 0.5;input //send oeogo /ma Blizzard III <t>;')
- -- GEO (Mule) Indicolure Spells (Win Key) --
- send_command('bind @1 input //send oeogo /ma Indi-Regen <me>')
- send_command('bind @2 input //send oeogo /ma Indi-Refresh <me>')
- send_command('bind @D input //send oeogo /ma Indi-DEX <me>')
- send_command('bind @A input //send oeogo /ma Indi-Acumen <me>')
- send_command('bind @F input //send oeogo /ma Indi-Fury <me>')
- send_command('bind @H input //send oeogo /ma Indi-Haste <me>')
- send_command('bind @K input //send oeogo /ma Indi-Focus <me>')
- send_command('bind @P input //send oeogo /ma Indi-Precision <me>')
- send_command('bind @Q input //send oeogo /ma Indi-Barrier <me>')
- send_command('bind @S input //send oeogo /ma Indi-STR <me>')
- send_command('bind @V input //send oeogo /ma Indi-Attunement <me>')
- -- GEO (Mule) Geocolure Spells (Alt+Win Keys) --
- send_command('bind !@1 input //send oeogo /ma Geo-Regen <me>')
- send_command('bind !@2 input //send oeogo /ma Geo-Refresh <me>')
- send_command('bind !@A input //send oeogo /ma Geo-Malaise <t>')
- send_command('bind !@D input //send oeogo /ma Geo-DEX <me>')
- send_command('bind !@F input //send oeogo /ma Geo-Frailty <t>')
- send_command('bind !@H input //send oeogo /ma Geo-Haste <me>')
- send_command('bind !@K input //send oeogo /ma Geo-Languor <t>')
- send_command('bind !@P input //send oeogo /ma Geo-Torpor <t>') --
- send_command('bind !@Q input //send oeogo /ma Geo-Wilt <t>') --
- send_command('bind !@S input //send oeogo /ma Geo-STR <me>')
- send_command('bind !@V input //send oeogo /ma Geo-Vex <t>')
- -- GEO (Mule) Entrust Indicolure Spells (Ctrl+Win Keys) --
- send_command('bind ^@1 input //send oeogo //ja Entrust <me>;pause 2;input //send oeogo /ma Indi-Regen Arnan')
- send_command('bind ^@2 input //send oeogo //ja Entrust <me>;pause 2;input //send oeogo /ma Indi-Refresh Arnan')
- send_command('bind ^@A input //send oeogo //ja Entrust <me>;pause 2;input //send oeogo /ma Indi-Acumen Arnan')
- send_command('bind ^@D input //send oeogo //ja Entrust <me>;pause 2;input //send oeogo /ma Indi-DEX Arnan')
- send_command('bind ^@F input //send oeogo //ja Entrust <me>;pause 2;input //send oeogo /ma Indi-Fury Arnan')
- send_command('bind ^@H input //send oeogo //ja Entrust <me>;pause 2;input //send oeogo /ma Indi-Haste Arnan')
- send_command('bind ^@K input //send oeogo //ja Entrust <me>;pause 2;input //send oeogo /ma Indi-Focus Arnan')
- send_command('bind ^@P input //send oeogo //ja Entrust <me>;pause 2;input //send oeogo /ma Indi-Precision Arnan')
- send_command('bind ^@Q input //send oeogo //ja Entrust <me>;pause 2;input //send oeogo /ma Indi-Barrier Arnan')
- send_command('bind ^@S input //send oeogo //ja Entrust <me>;pause 2;input //send oeogo /ma Indi-STR Arnan')
- send_command('bind ^@V input //send oeogo //ja Entrust <me>;pause 2;input //send oeogo /ma Indi-Attunement Arnan')
- -- Blue Mage Job Key Binds (Ctrl & Ctrl+Alt Keys) --
- send_command('bind ^!C input //ja Unbridled Learning <me>;pause 2;input //ma Carcharian Verve <me>')
- send_command('bind ^!D input //ja Diffusion <me>')
- send_command('bind ^!H input //ja Unbridled Learning <me>;pause 2;input //ma Harden Shell <me>')
- send_command('bind ^!M input //ja Unbridled Learning <me>;pause 2;input //ma Mighty Guard <me>')
- send_command('bind ^1 input //ma Regeneration <me>')
- send_command('bind ^2 input //ma Battery Charge <me>')
- send_command('bind ^` input //ma Sudden Lunge <t>')
- send_command('bind !` input //ma Glutinous Dart <t>')
- send_command('bind ^B input //ma Barrier Tusk <me>')
- send_command('bind ^C input //ma Cocoon <me>')
- send_command('bind ^E input //ma Erratic Flutter <me>')
- send_command('bind ^F input //ma Magic Fruit <stpt>')
- send_command('bind ^M input //ma Magic Barrier <me>')
- send_command('bind ^N input //ma Nat. Meditation <me>')
- send_command('bind ^O input //ma Occultation <me>')
- send_command('bind ^P input //ja Provoke <t>')
- send_command('bind ^Z input //ja Berserk <me>')
- -- Blue Mage Weapon Skill Key Binds --
- send_command('bind F7 input /ws "Sanguine Blade" <t>')
- send_command('bind F9 input /ws "Expiacion" <t>')
- send_command('bind F10 input /ws "Requiescat" <t>')
- send_command('bind F11 input /ws "Savage Blade" <t>')
- send_command('bind Delete input /ws "Chant du Cygne" <t>')
- -- COR (mule) Weapon Skill Key Binds --
- send_command('bind F12 input //send ojomo /ws "Last Stand" <t>')
- send_command('bind !F12 input //send ojomo "Leaden Salute" <t>')
- send_command('bind !Delete input //send ojomo /ws "Savage Blade" <t>')
- ----------------------
- -- Key Binds Unload --
- ----------------------
- function file_unload()
- -- Unbind Toggles --
- send_command('unbind ^A')
- send_command('unbind ^D')
- send_command('unbind ^H')
- send_command('unbind ^I')
- send_command('unbind ^K')
- send_command('unbind ^W')
- -- Unbind Stuff to control both Mules --
- send_command('unbind ^X')
- send_command('unbind ^3')
- send_command('unbind ^4')
- send_command('unbind ^4')
- send_command('unbind ^7')
- send_command('unbind ^8')
- send_command('unbind ^9')
- send_command('unbind ^0')
- send_command('unbind ^-')
- -- Unbind COR JA's --
- send_command('unbind !7')
- send_command('unbind !8')
- send_command('unbind !9')
- send_command('unbind !0')
- -- Unbind COR Rolls --
- send_command('unbind !A')
- send_command('unbind !B')
- send_command('unbind !C')
- send_command('unbind !D')
- send_command('unbind !E')
- send_command('unbind !F')
- send_command('unbind !G')
- send_command('unbind !H')
- send_command('unbind !Q')
- send_command('unbind !R')
- send_command('unbind !S')
- send_command('unbind !T')
- send_command('unbind !W')
- send_command('unbind !X')
- -- Unbind GEO JA's --
- send_command('unbind @3')
- send_command('unbind @5')
- send_command('unbind @7')
- send_command('unbind @8')
- send_command('unbind @9')
- send_command('unbind @0')
- -- Unbind GEO Nukes --
- send_command('unbind @F1')
- send_command('unbind @F2')
- send_command('unbind @F3')
- send_command('unbind @F4')
- send_command('unbind @F5')
- send_command('unbind @F6')
- -- Unbind GEO Indi Spells --
- send_command('unbind @1')
- send_command('unbind @2')
- send_command('unbind @A')
- send_command('unbind @D')
- send_command('unbind @F')
- send_command('unbind @H')
- send_command('unbind @K')
- send_command('unbind @P')
- send_command('unbind @Q')
- send_command('unbind @S')
- send_command('unbind @V')
- -- Unbind GEO Geocolure Spells --
- send_command('unbind !@1')
- send_command('unbind !@2')
- send_command('unbind !@A')
- send_command('unbind !@D')
- send_command('unbind !@F')
- send_command('unbind !@H')
- send_command('unbind !@K')
- send_command('unbind !@P')
- send_command('unbind !@Q')
- send_command('unbind !@S')
- send_command('unbind !@V')
- -- Unbind GEO Entrust Spells --
- send_command('unbind ^@1')
- send_command('unbind ^@2')
- send_command('unbind ^@A')
- send_command('unbind ^@D')
- send_command('unbind ^@F')
- send_command('unbind ^@H')
- send_command('unbind ^@K')
- send_command('unbind ^@P')
- send_command('unbind ^@Q')
- send_command('unbind ^@S')
- send_command('unbind ^@V')
- -- Unbind BLU Job Binds --
- send_command('unbind ^!C')
- send_command('unbind ^!D')
- send_command('unbind ^!H')
- send_command('unbind ^!M')
- send_command('unbind ^`')
- send_command('unbind !`')
- send_command('unbind ^1')
- send_command('unbind ^2')
- send_command('unbind ^B')
- send_command('unbind ^C')
- send_command('unbind ^E')
- send_command('unbind ^F')
- send_command('unbind ^M')
- send_command('unbind ^N')
- send_command('unbind ^O')
- send_command('unbind ^P')
- send_command('unbind ^Z')
- -- Unload Weapon Skill Key Binds --
- send_command('unbind F7')
- send_command('unbind F9')
- send_command('unbind F10')
- send_command('unbind F11')
- send_command('unbind F12')
- send_command('unbind !F12')
- send_command('unbind Delete')
- send_command('unbind !Delete')
- end
- --------------------
- -- Idle/Town Sets --
- --------------------
- sets.Idle = {
- ammo="Staunch Tathlum +1",
- head=HerculeanHelm.RF,
- neck="Bathy Choker +1",
- ear1="Infused Earring",
- ear2="Genmei Earring",
- body="Jhakri Robe +2",
- hands=HerculeanGloves.RF,
- ring1="Stikini Ring +1",
- ring2="Stikini Ring +1",
- back="Moonlight Cape",
- waist="Flume Belt +1",
- legs="Carmine Cuisses +1",
- feet=HerculeanBoots.RF}
- sets.Idle.Full = set_combine(sets.Idle,{})
- sets.Idle.DT = set_combine(sets.Idle,{
- neck="Loricate Torque +1",
- ear1="Ethereal Earring",
- ring1="Defending Ring",
- ring2="Ayanmo Ring"})
- sets.Idle.Warp = set_combine(sets.Idle,{
- ring2="Warp Ring"})
- sets.Idle.Town = set_combine(sets.Idle,{})
- -------------
- -- TP Sets --
- -------------
- sets.TP = {
- ammo="Ginsen",
- head="Adhemar Bonnet +1",
- neck="Asperity Necklace",
- ear1="Suppanomimi",
- ear2="Eabani Earring",
- body="Adhemar Jacket +1",
- hands="Adhemar Wrist. +1",
- ring1="Hetairoi Ring",
- ring2="Epona's Ring",
- back=DWCape,
- waist="Reiki Yotai",
- legs="Samnuha Tights",
- feet=HerculeanBoots.TA}
- sets.TP.MidACC = set_combine(sets.TP,{
- ammo="Falcon Eye",
- ring1="Chirich Ring +1",
- neck="Combatant's Torque"})
- sets.TP.HighACC = set_combine(sets.TP.MidACC,{
- head="Dampening Tam",
- ring2="Chirich Ring +1"})
- sets.TP.MaxACC = set_combine(sets.TP.HighACC,{
- head="Carmine Mask +1",
- ring1="Chirich Ring +1",
- ring2="Chirich Ring +1",
- legs="Carmine Cuisses +1"})
- ---------------------------
- -- Single Weapon TP Sets --
- ---------------------------
- sets.TP.Single = set_combine(sets.TP,{
- ear1="Cessance Earring",
- ear2="Brutal Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.Single.MidACC = set_combine(sets.TP.MidACC,{
- ear1="Cessance Earring",
- ear2="Brutal Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.Single.HighACC = set_combine(sets.TP.HighACC,{
- ear1="Cessance Earring",
- ear2="Brutal Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.Single.MaxACC = set_combine(sets.TP.MaxACC,{
- ear1="Mache Earring +1",
- ear2="Mache Earring +1",
- back=STPCape,
- waist="Olseni Belt"})
- -- Single Weapon Capped Magic Haste Sets --
- sets.TP.Single.HighHaste = set_combine(sets.TP.Single,{})
- sets.TP.Single.MidACC.HighHaste = set_combine(sets.TP.Single.MidACC,{})
- sets.TP.Single.HighACC.HighHaste = set_combine(sets.TP.Single.HighACC,{})
- sets.TP.Single.MaxACC.HighHaste = set_combine(sets.TP.Single.MaxACC,{})
- -- Single Weapon Mythic AM3 Sets --
- sets.TP.Single.AM3 = set_combine(sets.TP.Single,{
- neck="Ainia Collar",
- ear2="Telos Earring",
- back=STPCape})
- sets.TP.Single.MidACC.AM3 = set_combine(sets.TP.Single.MidACC,{
- back=STPCape,
- ear2="Telos Earring"})
- sets.TP.Single.HighACC.AM3 = set_combine(sets.TP.Single.HighACC,{
- back=STPCape,
- ear2="Telos Earring"})
- sets.TP.Single.MaxACC.AM3 = set_combine(sets.TP.Single.MaxACC,{
- back=STPCape})
- -- Single Weapon Mythic AM3 Capped Magic Haste Sets --
- sets.TP.Single.HighHaste.AM3 = set_combine(sets.TP.Single.AM3,{})
- sets.TP.Single.MidACC.HighHaste.AM3 = set_combine(sets.TP.Single.MidACC.AM3,{})
- sets.TP.Single.HighACC.HighHaste.AM3 = set_combine(sets.TP.Single.HighACC.AM3,{})
- sets.TP.Single.MaxACC.HighHaste.AM3 = set_combine(sets.TP.Single.MaxACC.AM3,{})
- ----------------------------
- -- Dual Wield III TP Sets --
- ----------------------------
- sets.TP.DW3 = set_combine(sets.TP,{})
- sets.TP.DW3.MidACC = set_combine(sets.TP.MidACC,{})
- sets.TP.DW3.HighACC = set_combine(sets.TP.HighACC,{})
- sets.TP.DW3.MaxACC = set_combine(sets.TP.MaxACC,{})
- -- Dual Wield III Capped Magic Haste Sets --
- sets.TP.DW3.HighHaste = set_combine(sets.TP,{
- ear2="Brutal Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW3.MidACC.HighHaste = set_combine(sets.TP.MidACC,{
- ear2="Brutal Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW3.HighACC.HighHaste = set_combine(sets.TP.HighACC,{
- ear2="Brutal Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW3.MaxACC.HighHaste = set_combine(sets.TP.MaxACC,{
- ear2="Mache Earring +1",
- back=STPCape,
- waist="Olseni Belt"})
- -- Dual Wield III Mythic AM3 Sets --
- sets.TP.DW3.AM3 = set_combine(sets.TP,{
- neck="Ainia Collar",
- ear2="Telos Earring"})
- sets.TP.DW3.MidACC.AM3 = set_combine(sets.TP.MidACC,{
- ear2="Telos Earring"})
- sets.TP.DW3.HighACC.AM3 = set_combine(sets.TP.HighACC,{
- ear2="Telos Earring"})
- sets.TP.DW3.MaxACC.AM3 = set_combine(sets.TP.MaxACC,{
- ear2="Mache Earring +1"})
- -- Dual Wield III Mythic AM3 Capped Magic Haste Sets --
- sets.TP.DW3.HighHaste.AM3 = set_combine(sets.TP,{
- neck="Ainia Collar",
- ear2="Telos Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW3.MidACC.HighHaste.AM3 = set_combine(sets.TP.MidACC,{
- ear2="Telos Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW3.HighACC.HighHaste.AM3 = set_combine(sets.TP.HighACC,{
- ear2="Telos Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW3.MaxACC.HighHaste.AM3 = set_combine(sets.TP.MaxACC,{
- ear2="Mache Earring +1",
- back=STPCape,
- waist="Olseni Belt"})
- ---------------------------
- -- Dual Wield IV TP Sets --
- ---------------------------
- sets.TP.DW4 = set_combine(sets.TP,{
- ear1="Cessance Earring"})
- sets.TP.DW4.MidACC = set_combine(sets.TP.MidACC,{
- ear1="Cessance Earring"})
- sets.TP.DW4.HighACC = set_combine(sets.TP.HighACC,{
- ear1="Cessance Earring"})
- sets.TP.DW4.MaxACC = set_combine(sets.TP.MaxACC,{
- ear1="Mache Earring +1"})
- -- Dual Wield IV Capped Magic Haste Sets --
- sets.TP.DW4.HighHaste = set_combine(sets.TP,{
- ear1="Cessance Earring",
- ear2="Brutal Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW4.MidACC.HighHaste = set_combine(sets.TP.MidACC,{
- ear1="Cessance Earring",
- ear2="Brutal Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW4.HighACC.HighHaste = set_combine(sets.TP.HighACC,{
- ear1="Cessance Earring",
- ear2="Brutal Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW4.MaxACC.HighHaste = set_combine(sets.TP.MaxACC,{
- ear1="Mache Earring +1",
- ear2="Mache Earring +1",
- back=STPCape,
- waist="Olseni Belt"})
- -- Dual Wield IV Mythic AM3 Sets --
- sets.TP.DW4.AM3 = set_combine(sets.TP,{
- neck="Ainia Collar",
- ear1="Cessance Earring"})
- sets.TP.DW4.MidACC.AM3 = set_combine(sets.TP.MidACC,{
- ear1="Cessance Earring"})
- sets.TP.DW4.HighACC.AM3 = set_combine(sets.TP.HighACC,{
- ear1="Cessance Earring"})
- sets.TP.DW4.MaxACC.AM3 = set_combine(sets.TP.MaxACC,{
- ear1="Mache Earring +1"})
- -- Dual Wield IV Mythic AM3 Capped Magic Haste Sets --
- sets.TP.DW4.HighHaste.AM3 = set_combine(sets.TP,{
- neck="Ainia Collar",
- ear1="Cessance Earring",
- ear2="Telos Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW4.MidACC.HighHaste.AM3 = set_combine(sets.TP.MidACC,{
- ear1="Cessance Earring",
- ear2="Telos Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW4.HighACC.HighHaste.AM3 = set_combine(sets.TP.HighACC,{
- ear1="Cessance Earring",
- ear2="Telos Earring",
- back=STPCape,
- waist="Windbuffet Belt +1"})
- sets.TP.DW4.MaxACC.HighHaste.AM3 = set_combine(sets.TP.MaxACC,{
- ear1="Mache Earring +1",
- ear2="Mache Earring +1",
- back=STPCape,
- waist="Olseni Belt"})
- -- TP Thaumas Coat --
- sets.TP.Thaumas = {body="Thaumas Coat"}
- -- TP Treasure Hunter --
- sets.TP.TH = {feet=HerculeanBoots.TH}
- -----------------------
- -- Damage Taken Sets --
- -----------------------
- -- PDT Set --
- sets.PDT = {
- ammo="Staunch Tathlum +1",
- head="Aya. Zucchetto +2",
- neck="Loricate Torque +1",
- ear1="Ethereal Earring",
- ear2="Eabani Earring",
- body="Ayanmo Corazza +2",
- hands="Assim. Bazu. +3",
- ring1="Defending Ring",
- ring2="Ayanmo Ring",
- back="Moonlight Cape",
- waist="Flume Belt +1",
- legs="Aya. Cosciales +2",
- feet="Aya. Gambieras +2"}
- -- MDT Set --
- sets.MDT = set_combine(sets.PDT,{})
- -- Hybrid Sets --
- sets.TP.Hybrid = set_combine(sets.PDT,{
- ear1="Suppanomimi",
- ear2="Brutal Earring",
- body="Adhemar Jacket +1",
- hands="Adhemar Wrist. +1",
- ring2="Epona's Ring",
- waist="Windbuffet Belt +1",
- back=DWCape,
- feet=HerculeanBoots.TA})
- sets.TP.Hybrid.MidACC = set_combine(sets.TP.Hybrid,{
- ear2="Mache Earring +1"})
- sets.TP.Hybrid.HighACC = set_combine(sets.TP.Hybrid.MidACC,{
- neck="Combatant's Torque"})
- sets.TP.Hybrid.MaxACC = set_combine(sets.TP.Hybrid.HighACC,{
- waist="Olseni Belt"})
- -- Hybrid High Haste Sets --
- sets.TP.Hybrid.HighHaste = set_combine(sets.PDT,{
- ear1="Cessance Earring",
- ear2="Brutal Earring",
- body="Adhemar Jacket +1",
- hands="Adhemar Wrist. +1",
- ring2="Epona's Ring",
- waist="Windbuffet Belt +1",
- back=STPCape,
- feet=HerculeanBoots.TA})
- sets.TP.Hybrid.MidACC.HighHaste = set_combine(sets.TP.Hybrid.HighHaste,{
- ear2="Mache Earring +1"})
- sets.TP.Hybrid.HighACC.HighHaste = set_combine(sets.TP.Hybrid.MidACC.HighHaste,{
- neck="Combatant's Torque"})
- sets.TP.Hybrid.MaxACC.HighHaste = set_combine(sets.TP.Hybrid.HighACC.HighHaste,{
- waist="Olseni Belt"})
- -- Kiting Set --
- sets.Kiting = set_combine(sets.PDT,{
- legs="Carmine Cuisses +1",
- feet="Hippo. Socks +1"})
- -----------------------
- -- Weapon Skill Sets --
- -----------------------
- -- WS Base Sets --
- sets.WS = {
- ammo="Floestone",
- head="Adhemar Bonnet +1",
- neck="Fotia Gorget",
- ear1="Moonshade Earring",
- ear2="Brutal Earring",
- body="Adhemar Jacket +1",
- hands="Adhemar Wrist. +1",
- ring1="Shukuyu Ring",
- ring2="Epona's Ring",
- back=STPCape,
- waist="Fotia Belt",
- legs="Samnuha Tights",
- feet=HerculeanBoots.TA}
- sets.WS.MidACC = set_combine(sets.WS,{
- ammo="Falcon Eye",
- head="Dampening Tam"})
- sets.WS.HighACC = set_combine(sets.WS.MidACC,{
- ear2="Mache Earring +1",
- ring1="Ramuh Ring +1"})
- sets.WS.MaxACC = set_combine(sets.WS.HighACC,{
- head="Carmine Mask +1",
- ring2="Ramuh Ring +1",
- legs="Carmine Cuisses +1"})
- -- One-Hit Sets --
- sets.WS.OneHit = set_combine(sets.WS,{
- head=HerculeanHelm.WSD,
- neck="Caro Necklace",
- ear2="Ishvara Earring",
- body="Assim. Jubbah +3",
- hands="Jhakri Cuffs +2",
- ring2="Ifrit Ring +1",
- back=WSDCape,
- waist="Prosilio Belt +1",
- legs="Luhlaza Shalwar +3",
- feet=HerculeanBoots.WSD})
- sets.WS.OneHit.MidACC = set_combine(sets.WS.MidACC,{
- head=HerculeanHelm.WSD,
- neck="Caro Necklace",
- ear2="Ishvara Earring",
- body="Assim. Jubbah +3",
- hands="Jhakri Cuffs +2",
- ring2="Ifrit Ring +1",
- waist="Prosilio Belt +1",
- back=WSDCape,
- legs="Luhlaza Shalwar +3",
- feet=HerculeanBoots.WSD})
- sets.WS.OneHit.HighACC = set_combine(sets.WS.HighACC,{
- ear2="Ishvara Earring",
- body="Assim. Jubbah +3",
- hands="Jhakri Cuffs +2",
- ring2="Ifrit Ring +1",
- back=WSDCape,
- legs="Luhlaza Shalwar +3",
- feet=HerculeanBoots.WSD})
- sets.WS.OneHit.MaxACC = set_combine(sets.WS.MaxACC,{})
- -- Magic WS Base Set --
- sets.WS.MABWS = {
- ammo="Pemphredo Tathlum",
- head="Jhakri Coronal +2",
- neck="Sanctity Necklace",
- ear1="Friomisi Earring",
- ear2="Regal Earring",
- body="Amalric Doublet +1",
- hands="Jhakri Cuffs +2",
- ring1="Shiva Ring +1",
- ring2="Shiva Ring +1",
- back=WSDCape,
- waist="Eschan Stone",
- legs="Luhlaza Shalwar +3",
- feet="Amalric nails +1"}
- -----------------------------
- -- Sword Weapon Skill Sets --
- -----------------------------
- -- Chant du Cygne Sets --
- sets.WS["Chant du Cygne"] = set_combine(sets.WS,{
- ammo="Falcon Eye",
- head="Adhemar Bonnet +1",
- ear1="Mache Earring +1",
- ear2="Mache Earring +1",
- body=HerculeanVest.Crit,
- ring1="Begrudging Ring",
- back=CritCape,
- feet="Adhe. Gamashes +1"})
- sets.WS["Chant du Cygne"].MidACC = set_combine(sets.WS.MidACC,{
- head="Adhemar Bonnet +1",
- ear1="Mache Earring +1",
- ear2="Mache Earring +1",
- ring1="Begrudging Ring",
- back=CritCape,
- feet="Adhe. Gamashes +1"})
- sets.WS["Chant du Cygne"].HighACC = set_combine(sets.WS.HighACC,{
- ear1="Mache Earring +1",
- ring1="Begrudging Ring",
- back=CritCape})
- sets.WS["Chant du Cygne"].MaxACC = set_combine(sets.WS.MaxACC,{
- ear1="Mache Earring +1",
- back=CritCape})
- -- Savage Blade Set --
- sets.WS["Savage Blade"] = set_combine(sets.WS.OneHit,{
- ring2="Rufescent Ring"})
- sets.WS["Savage Blade"].MidACC = set_combine(sets.WS.OneHit.MidACC,{
- ring2="Rufescent Ring"})
- sets.WS["Savage Blade"].HighACC = set_combine(sets.WS.OneHit.HighACC,{
- ring2="Rufescent Ring"})
- sets.WS["Savage Blade"].MaxACC = set_combine(sets.WS.OneHit.MaxACC,{})
- -- Requiescat Sets --
- sets.WS.Requiescat = set_combine(sets.WS,{
- ammo="Quartz Tathlum +1",
- head="Luh. Keffiyeh +3",
- ear2="Regal Earring",
- body="Luhlaza Jubbah +3",
- hands="Luh. Bazubands +3",
- ring1="Rufescent Ring",
- back=MNDDACape,
- legs="Jhakri Slops +2",
- feet="Luhlaza Charuqs +3"})
- sets.WS.Requiescat.MidACC = set_combine(sets.WS.MidACC,{
- ammo="Quartz Tathlum +1",
- head="Luh. Keffiyeh +3",
- ear2="Regal Earring",
- body="Luhlaza Jubbah +3",
- hands="Luh. Bazubands +3",
- ring1="Rufescent Ring",
- back=MNDDACape,
- legs="Jhakri Slops +2",
- feet="Luhlaza Charuqs +3"})
- sets.WS.Requiescat.HighACC = set_combine(sets.WS.HighACC,{
- head="Luh. Keffiyeh +3",
- ear2="Regal Earring",
- body="Luhlaza Jubbah +3",
- hands="Luh. Bazubands +3",
- ring1="Rufescent Ring",
- back=MNDDACape,
- legs="Jhakri Slops +2",
- feet="Luhlaza Charuqs +3"})
- sets.WS.Requiescat.MaxACC = set_combine(sets.WS.MaxACC,{})
- -- Expiacion Sets --
- sets.WS.Expiacion = set_combine(sets.WS.OneHit,{})
- sets.WS.Expiacion.MidACC = set_combine(sets.WS.MidACC.OneHit,{})
- sets.WS.Expiacion.HighACC = set_combine(sets.WS.HighACC.OneHit,{})
- sets.WS.Expiacion.MaxACC = set_combine(sets.WS.MaxACC.OneHit,{})
- -- Vorpal Blade Sets --
- sets.WS["Vorpal Blade"] = set_combine(sets.WS,{
- head="Adhemar Bonnet +1",
- body=HerculeanVest.Crit,
- ring1="Begrudging Ring",
- back=CritCape,
- feet="Adhe. Gamashes +1"})
- sets.WS["Vorpal Blade"].MidACC = set_combine(sets.WS.MidACC,{
- head="Adhemar Bonnet +1",
- ring1="Begrudging Ring",
- back=CritCape,
- feet="Adhe. Gamashes +1"})
- sets.WS["Vorpal Blade"].HighACC = set_combine(sets.WS.HighACC,{
- ring1="Begrudging Ring",
- back=CritCape})
- sets.WS["Vorpal Blade"].MaxACC = set_combine(sets.WS.MaxACC,{
- back=CritCape})
- -- Circle Blade Sets --
- sets.WS["Circle Blade"] = set_combine(sets.WS.OneHit,{})
- sets.WS["Circle Blade"].MidACC = set_combine(sets.WS.OneHit.MidACC,{})
- sets.WS["Circle Blade"].HighACC = set_combine(sets.WS.OneHit.HighACC,{})
- sets.WS["Circle Blade"].MaxACC = set_combine(sets.WS.OneHit.MaxACC,{})
- -- Sanguine Blade Set --
- sets.WS["Sanguine Blade"] = set_combine(sets.WS.MABWS,{
- head="Pixie Hairpin +1",
- ring1="Archon Ring"})
- sets.WS["Sanguine Blade"].MidACC = set_combine(sets.WS.MABWS,{
- head="Pixie Hairpin +1",
- ring1="Archon Ring"})
- sets.WS["Sanguine Blade"].HighACC = set_combine(sets.WS.MABWS,{
- head="Pixie Hairpin +1",
- ring1="Archon Ring"})
- sets.WS["Sanguine Blade"].MaxACC = set_combine(sets.WS.MABWS,{
- head="Pixie Hairpin +1",
- ring1="Archon Ring"})
- ----------------------------
- -- Club Weapon Skill Sets --
- ----------------------------
- -- Realmrazer Sets --
- sets.WS.Realmrazer = set_combine(sets.WS.Requiescat,{
- ring2="Levia. Ring"})
- sets.WS.Realmrazer.MidACC = set_combine(sets.WS.Requiescat.MidACC,{
- ring2="Levia. Ring"})
- sets.WS.Realmrazer.HighACC = set_combine(sets.WS.Requiescat.HighACC,{})
- sets.WS.Realmrazer.MaxACC = set_combine(sets.WS.Requiescat.MaxACC,{})
- -- Black Halo Sets --
- sets.WS["Black Halo"] = set_combine(sets.WS,{
- ammo="Quartz Tathlum +1",
- head="Dampening Tam",
- ring1="Rufescent Ring",
- back=MNDDACape})
- sets.WS["Black Halo"].MidACC = set_combine(sets.WS.MidACC,{
- ammo="Quartz Tathlum +1",
- ring1="Rufescent Ring",
- back=MNDDACape})
- sets.WS["Black Halo"].HighACC = set_combine(sets.WS.HighACC,{
- ring1="Rufescent Ring",
- back=MNDDACape})
- sets.WS["Black Halo"].MaxACC = set_combine(sets.WS.MaxACC,{})
- -- True Strike Sets --
- sets.WS["True Strike"] = set_combine(sets.WS.OneHit,{
- head="Adhemar Bonnet +1"})
- sets.WS["True Strike"].MidACC = set_combine(sets.WS.OneHit.MidACC,{
- head="Adhemar Bonnet +1"})
- sets.WS["True Strike"].HighACC = set_combine(sets.WS.OneHit.HighACC,{
- head="Adhemar Bonnet +1"})
- sets.WS["True Strike"].MaxACC = set_combine(sets.WS.OneHit.MaxACC,{})
- -- Judgment Sets --
- sets.WS.Judgment = set_combine(sets.WS.OneHit,{})
- sets.WS.Judgment.MidACC = set_combine(sets.WS.OneHit.MidACC,{})
- sets.WS.Judgment.HighACC = set_combine(sets.WS.OneHit.HighACC,{})
- sets.WS.Judgment.MaxACC = set_combine(sets.WS.OneHit.MaxACC,{})
- -- Flash Nova Set --
- sets.WS["Flash Nova"] = set_combine(sets.WS.MABWS,{})
- sets.WS["Flash Nova"].MidACC = set_combine(sets.WS.MABWS,{})
- sets.WS["Flash Nova"].HighACC = set_combine(sets.WS.MABWS,{})
- sets.WS["Flash Nova"].MaxACC = set_combine(sets.WS.MABWS,{})
- ----------------------
- -- Job Ability Sets --
- ----------------------
- -- Blue Mage JA Sets --
- sets.JA = {}
- sets.JA['Azure Lore'] = {hands="Luh. Bazubands +3"}
- sets['Chain Affinity'] = {head="Hashishin Kavuk +1",feet="Assim. Charuqs +3"}
- sets.Efflux = {back=STPCape,legs="Hashishin Tayt +1"}
- sets['Burst Affinity'] = {} -- use Hashi. Basmak +1 here if no Almaric +1 feet --
- sets.Convergence = {head="Luh. Keffiyeh +3"}
- sets.Diffusion = {feet="Luhlaza Charuqs +3"}
- -- Enmity JA Set --
- sets.JA.Enmity = set_combine(sets.PDT,{
- neck="Unmoving Collar +1",
- ear1="Trux Earring",
- ear2="Cryptic Earring",
- body="Emet Harness +1",
- ring1="Petrov Ring",
- ring2="Eihwaz Ring",
- waist="Goading Belt"})
- -- /WAR JA Sets --
- sets.JA.Provoke = set_combine(sets.JA.Enmity,{})
- sets.JA.Warcry = set_combine(sets.JA.Enmity,{})
- -- /PLD JA Sets --
- sets.JA["Shield Bash"] = set_combine(sets.JA.Enmity,{})
- sets.JA.Sentinel = set_combine(sets.JA.Enmity,{})
- sets.JA["Holy Circle"] = set_combine(sets.JA.Enmity,{})
- -- /DRK JA Sets --
- sets.JA.Souleater = set_combine(sets.JA.Enmity,{})
- sets.JA["Last Resort"] = set_combine(sets.JA.Enmity,{})
- sets.JA["Arcane Circle"] = set_combine(sets.JA.Enmity,{})
- -- /DNC JA Sets --
- sets.Waltz = {
- ammo="Staunch Tathlum +1",
- head="Carmine Mask +1",
- neck="Unmoving Collar +1",
- ear1="Ethereal Earring",
- ear2="Genmei Earring",
- body="Vrikodara Jupon",
- hands="Amalric Gages +1",
- ring1="Defending Ring",
- ring2="Ayanmo Ring",
- waist="Chaac Belt",
- legs="Hashishin Tayt +1",
- feet="Hippo. Socks +1"}
- sets.Step = {
- ammo="Pemphredo Tathlum",
- head="Assim. Keffiyeh +3",
- neck="Sanctity Necklace",
- ear1="Digni. Earring",
- ear2="Regal Earring",
- body="Jhakri Robe +2",
- hands="Jhakri Cuffs +2",
- ring1="Stikini Ring +1",
- ring2="Stikini Ring +1",
- back=MABCape,
- waist="Chaac Belt",
- legs="Jhakri Slops +2",
- feet="Jhakri Pigaches +2"}
- sets.Flourish = set_combine(sets.Step,{})
- -- /RUN JA Sets --
- sets.JA.Lunge = {
- ammo="Pemphredo Tathlum",
- head="Assim. Keffiyeh +3",
- neck="Sanctity Necklace",
- ear1="Friomisi Earring",
- ear2="Regal Earring",
- body="Amalric Doublet +1",
- hands="Amalric Gages +1",
- ring1="Shiva Ring +1",
- ring2="Shiva Ring +1",
- back=MABCape,
- waist="Eschan Stone",
- legs="Amalric Slops +1",
- feet="Amalric nails +1"}
- --------------------
- -- Pre-Cast Sets --
- --------------------
- -- Base Pre-Cast Set --
- sets.Precast = {
- ammo="Impatiens",
- head="Carmine Mask +1",
- neck="Orunmila's Torque",
- ear1="Loquac. Earring",
- ear2="Etiolation Earring",
- body="Luhlaza Jubbah +3",
- hands="Leyline Gloves",
- ring1="Lebeche Ring",
- ring2="Kishar Ring",
- back="Perimede Cape",
- waist="Witful Belt",
- legs="Aya. Cosciales +2",
- feet="Carmine Greaves +1"}
- -- Fast Cast Set --
- sets.Precast.FastCast = set_combine(sets.Precast,{})
- -- Pre-Cast Blue Magic --
- sets.Precast['Blue Magic'] = set_combine(sets.Precast,{}) -- Insert Hashishin Mintan +1 here if you need the FC --
- -- Pre-Cast Enhancing Magic --
- sets.Precast['Enhancing Magic'] = set_combine(sets.Precast,{
- waist="Siegel Sash"})
- -- Cure Precast Set --
- sets.Precast.Cure = set_combine(sets.Precast.FastCast,{
- ear2="Mendi. Earring",
- waist="Acerbic Sash +1"})
- ------------------------------------
- -- Mid-Cast Sets (Non-Blue Magic) --
- ------------------------------------
- -- Mid-Cast Base Set --
- sets.Midcast = {
- ammo="Staunch Tathlum +1",
- head="Carmine Mask +1",
- neck="Orunmila's Torque",
- ear1="Loquac. Earring",
- ear2="Etiolation Earring",
- body="Luhlaza Jubbah +3",
- hands="Leyline Gloves",
- ring1="Defending Ring",
- ring2="Kishar Ring",
- back=FCCape,
- waist="Witful Belt",
- legs="Carmine Cuisses +1",
- feet="Amalric nails +1"}
- -- Magic Haste Set --
- sets.Midcast.Haste = set_combine(sets.Midcast,{})
- -- Magic Attack Bonus Set --
- sets.Midcast.MAB = {
- ammo="Pemphredo Tathlum",
- head="Assim. Keffiyeh +3",
- neck="Sanctity Necklace",
- ear1="Friomisi Earring",
- ear2="Regal Earring",
- body="Amalric Doublet +1",
- hands="Amalric Gages +1",
- ring1="Shiva Ring +1",
- ring2="Shiva Ring +1",
- back=MABCape,
- waist="Eschan Stone",
- legs="Amalric Slops +1",
- feet="Amalric nails +1"}
- -- Magic Burst Set --
- sets.Midcast.MB = {
- body="Samnuha Coat",
- hands="Amalric Gages +1",
- ring1="Mujin Band",
- ring2="Locus Ring",
- back="Seshaw Cape",
- feet="Jhakri Pigaches +2"}
- -- Magic Accuracy Set --
- sets.Midcast.MACC = {
- ammo="Pemphredo Tathlum",
- head="Assim. Keffiyeh +3",
- neck="Erra Pendant",
- ear1="Digni. Earring",
- ear2="Regal Earring",
- body="Amalric Doublet +1",
- hands="Jhakri Cuffs +2",
- ring1="Stikini Ring +1",
- ring2="Stikini Ring +1",
- back=MABCape,
- waist="Eschan Stone",
- legs="Jhakri Slops +2",
- feet="Jhakri Pigaches +2"}
- -- Magic Enmity Set --
- sets.Midcast.MagicEnmity = set_combine(sets.Midcast,{
- neck="Unmoving Collar +1",
- ear1="Trux Earring",
- ear2="Cryptic Earring",
- body="Emet Harness +1",
- ring1="Petrov Ring",
- ring2="Eihwaz Ring",
- waist="Goading Belt"})
- -- Enhancing Magic Base Set --
- sets.Midcast['Enhancing Magic'] = {
- head="Carmine Mask +1",
- neck="Incanter's Torque",
- ear1="Andoaa Earring",
- ear2="Augment. Earring",
- body="Telchine Chas.",
- ring1="Stikini Ring +1",
- ring2="Stikini Ring +1",
- back="Perimede Cape",
- waist="Olympus Sash",
- legs="Carmine Cuisses +1"}
- -- Elemental Magic Set --
- sets.Midcast['Elemental Magic'] = set_combine(sets.Midcast.MAB,{})
- -- Enfeebling Magic Set --
- sets.Midcast['Enfeebling Magic'] = set_combine(sets.Midcast.MACC,{
- head="Carmine Mask +1",
- ring2="Kishar Ring",
- feet="Skaoi Boots"})
- -- Dark Magic Set --
- sets.Midcast['Dark Magic'] = set_combine(sets.Midcast.MACC,{})
- -- Refresh Set --
- sets.Midcast.Refresh = set_combine(sets.Midcast,{
- head="Amalric Coif +1",
- waist="Gishdubar Sash"})
- -- Flash Set --
- sets.Midcast.Flash = set_combine(sets.Midcast.MagicEnmity,{})
- -- Repose Set --
- sets.Midcast.Repose = set_combine(sets.Midcast.MACC,{})
- -- Stoneskin Set --
- sets.Midcast.Stoneskin = set_combine(sets.Midcast['Enhancing Magic'],{waist="Siegel Sash"})
- -- Enfeebling Ninjutsu Set --
- sets.Midcast.Enfeebling_Ninjutsu = set_combine(sets.Midcast.MACC,{})
- -- Elemental Ninjutsu Set --
- sets.Midcast.Elemental_Ninjutsu = set_combine(sets.Midcast.MAB,{})
- -----------------------------------------------------
- -- For Cure Spells & The Listed Healing Blue Magic --
- -----------------------------------------------------
- -- Cure Set --
- sets.Midcast.Cure = {
- ammo="Quartz Tathlum +1",
- head="Carmine Mask +1",
- neck="Phalaina Locket",
- ear1="Loquac. Earring",
- ear2="Mendi. Earring",
- body="Vrikodara Jupon",
- hands="Telchine Gloves",
- ring1="Rufescent Ring",
- ring2="Levia. Ring",
- back="Solemnity Cape",
- waist="Gishdubar Sash",
- legs="Telchine Braconi",
- feet="Medium's Sabots"}
- -- Self Cures --
- sets.Midcast.SelfCure = set_combine(sets.Midcast.Cure,{
- waist="Gishdubar Sash"})
- -- HP-up Cures --
- sets.Midcast.HPCure = set_combine(sets.Midcast.Cure,{
- ammo="Egoist's Tathlum",
- ear1="Odnowa Earring",
- ear2="Odnowa Earring +1",
- ring1="Eihwaz Ring",
- waist="Gishdubar Sash",
- back="Moonlight Cape"})
- ------------------------------
- -- Mid-Cast Blue Magic Sets --
- ------------------------------
- -- Blue Magic Base Mid-Cast Set --
- sets.Midcast['Blue Magic'] = set_combine(sets.Midcast,{hands="Hashi. Bazu. +1"})
- -- For The Listed Physical Type Blue Magic --
- sets.Midcast.PhysicalBlueMagic = {
- ammo="Floestone",
- head="Luh. Keffiyeh +3",
- neck="Caro Necklace",
- ear1="Mache Earring +1",
- ear2="Mache Earring +1",
- body="Luhlaza Jubbah +3",
- hands="Luh. Bazubands +3",
- ring1="Shukuyu Ring",
- ring2="Ifrit Ring +1",
- back=WSDCape,
- waist="Prosilio Belt +1",
- legs="Jhakri Slops +2",
- feet="Luhlaza Charuqs +3"}
- -- BlueMagic STR Set --
- sets.Midcast.PhysicalBlueMagic_STR = set_combine(sets.Midcast.PhysicalBlueMagic,{})
- -- BlueMagic STR/DEX Set --
- sets.Midcast.PhysicalBlueMagic_DEX = set_combine(sets.Midcast.PhysicalBlueMagic,{
- ring1="Ramuh Ring +1",
- ring2="Ramuh Ring +1"})
- -- BlueMagic STR/VIT Set --
- sets.Midcast.PhysicalBlueMagic_VIT = set_combine(sets.Midcast.PhysicalBlueMagic,{})
- -- BlueMagic STR/AGI Set --
- sets.Midcast.PhysicalBlueMagic_AGI = set_combine(sets.Midcast.PhysicalBlueMagic,{})
- -- Physical Acc Blue Magic --
- sets.Midcast.BlueMagic_PhysicalACC = {
- ammo="Falcon Eye",
- head="Carmine Mask +1",
- neck="Combatant's Torque",
- ear1="Mache Earring +1",
- ear2="Mache Earring +1",
- body="Adhemar Jacket +1",
- hands="Luh. Bazubands +3",
- ring1="Ramuh Ring +1",
- ring2="Ramuh Ring +1",
- back=STPCape,
- waist="Olseni Belt",
- legs="Carmine Cuisses +1",
- feet="Luhlaza Charuqs +3"}
- -- For The Listed Magical Type BlueMagic --
- sets.Midcast.MagicalBlueMagic = set_combine(sets.Midcast.MAB,{})
- -- Dark Based Magical Blue Magic --
- sets.Midcast.BlueMagic_Dark = set_combine(sets.Midcast.MAB,{head="Pixie Hairpin +1",ring1="Archon Ring"})
- -- Light Based Magical Blue Magic --
- sets.Midcast.BlueMagic_Light = set_combine(sets.Midcast.MAB,{}) -- Insert Weatherspoon Ring Here --
- -- Earth Based Magical Blue Magic --
- sets.Midcast.BlueMagic_Earth = set_combine(sets.Midcast.MAB,{}) -- Insert Quanpur Necklace Here --
- -- Blue Magic Burst Affinity Magic Burst Set --
- sets.Midcast.BAMB = {
- body="Samnuha Coat",
- hands="Amalric Gages +1",
- ring1="Mujin Band",
- ring2="Locus Ring",
- back="Seshaw Cape"}
- -- Magic Accuracy For The Listed BlueMagic --
- sets.Midcast.BlueMagic_Accuracy = set_combine(sets.Midcast.MACC,{})
- -- Stun Set For The Listed BlueMagic --
- sets.Midcast.BlueMagic_Stun = set_combine(sets.Midcast.MACC,{})
- -- Physical Stun Blue Magic --
- sets.Midcast.BlueMagic_PhysicalStun = set_combine(sets.Midcast.MACC,{
- head="Carmine Mask +1",
- neck="Sanctity Necklace",
- body="Jhakri Robe +2",
- hands="Jhakri Cuffs +2",
- legs="Jhakri Slops +2",
- feet="Jhakri Pigaches +2"})
- -- Buff Set For The Listed Blue Magic --
- sets.Midcast.BlueMagic_Buff = {
- ammo="Staunch Tathlum +1",
- head="Carmine Mask +1",
- neck="Incanter's Torque",
- ear1="Loquac. Earring",
- ear2="Etiolation Earring",
- body="Assim. Jubbah +3",
- hands="Hashi. Bazu. +1",
- ring1="Defending Ring",
- ring2="Kishar Ring",
- back="Cornflower Cape",
- legs="Hashishin Tayt +1",
- waist="Hachirin-no-Obi",
- feet="Luhlaza Charuqs +3"}
- -- Breath Set For The Listed Blue Magic --
- sets.Midcast.BlueMagic_Breath = set_combine(sets.Midcast,{head="Luh. Keffiyeh +3"})
- -- White Wind Set --
- sets.Midcast.BlueMagic_HPCure = set_combine(sets.Midcast.HPCure,{})
- -- Enmity Sets For the Listed Blue Magic --
- sets.Midcast.BlueMagic_Emnity = set_combine(sets.Midcast.MagicEnmity,{})
- end
- ----------------
- -- Pre-Target --
- ----------------
- function pretarget(spell,action)
- if (spell.type:endswith('Magic') or spell.type == "Ninjutsu") and buffactive.silence then -- Auto Use Echo Drops If You Are Silenced --
- cancel_spell()
- send_command('input /item "Echo Drops" <me>')
- elseif spell.english == "Berserk" and buffactive.Berserk then -- Change Berserk To Aggressor If Berserk Is On --
- cancel_spell()
- send_command('Aggressor')
- elseif spell.english:ifind("Cure") and player.mp<actualCost(spell.mp_cost) then -- Cure Degradation --
- degrade_spell(spell,Cure_Spells)
- elseif spell.english:ifind("Curaga") and player.mp<actualCost(spell.mp_cost) then -- Curaga Degradation --
- degrade_spell(spell,Curaga_Spells)
- return
- end
- end
- --------------
- -- Pre-Cast --
- --------------
- function precast(spell,action)
- if spell.type == "WeaponSkill" then
- if player.status ~= 'Engaged' then
- else
- equipSet = sets.WS
- if equipSet[spell.english] then
- equipSet = equipSet[spell.english]
- end
- if equipSet[AccArray[AccIndex]] then
- equipSet = equipSet[AccArray[AccIndex]]
- end
- if buffactive['Reive Mark'] then -- Equip Ygnas's Resolve +1 During Reive --
- equipSet = set_combine(equipSet,{neck="Ygnas's Resolve +1"})
- end
- if spell.english == "Chant du Cygne" and (player.tp > 2750 or (player.equipment.main == 'Sequence' and player.tp > 2250)) then
- equipSet = set_combine(equipSet,{ear1="Mache Earring +1",ear2="Mache Earring +1"})
- elseif spell.english == "Requiescat" and (player.tp > 2750 or (player.equipment.main == 'Sequence' and player.tp > 2250)) then
- equipSet = set_combine(equipSet,{ear1="Cessance Earring"})
- elseif spell.english == "Expiacion" and (player.tp > 2750 or (player.equipment.main == 'Sequence' and player.tp > 2250)) then
- equipSet = set_combine(equipSet,{ear1="Ishvara Earring",ear2="Brutal Earring"})
- elseif spell.english == "Savage Blade" and (player.tp > 2750 or (player.equipment.main == 'Sequence' and player.tp > 2250)) then
- equipSet = set_combine(equipSet,{ear1="Ishvara Earring",ear2="Brutal Earring"})
- elseif spell.english == "Vorpal Blade" and (player.tp > 2750 or (player.equipment.main == 'Sequence' and player.tp > 2250)) then
- equipSet = set_combine(equipSet,{ear1="Cessance Earring",ear2="Brutal Earring"})
- elseif spell.english == "Sanguine Blade" and (world.day == "Darksday" or world.weather_element == "Dark") then
- equipSet = set_combine(equipSet,{waist="Hachirin-no-Obi"})
- elseif spell.english == "Realmrazer" and player.tp > 2750 then
- equipSet = set_combine(equipSet,{ear1="Lifestorm Earring"})
- elseif spell.english == "Black Halo" and player.tp > 2750 then
- equipSet = set_combine(equipSet,{ear1="Ishvara Earring",ear2="Brutal Earring"})
- elseif spell.english == "Flash Nova" and (world.day == "Lightsday" or world.weather_element == "Light") then
- equipSet = set_combine(equipSet,{waist="Hachirin-no-Obi"})
- end
- equip(equipSet)
- end
- elseif spell.type == "JobAbility" or spell.type == "Ward" then
- if sets.JA[spell.english] then
- equip(sets.JA[spell.english])
- end
- elseif spell.english == 'Lunge' or spell.english == 'Swipe' then
- equip(sets.JA.Lunge)
- elseif spell.type == "Rune" then
- equip(sets.JA.Enmity)
- elseif spell.type:endswith('Magic') or spell.type == "Ninjutsu" or spell.type == "Trust" then
- if buffactive.silence then -- Cancel Magic or Ninjutsu If You Are Silenced --
- cancel_spell()
- add_to_chat(123, spell.name..' Canceled: [Silenced]')
- return
- else
- if (string.find(spell.english,'Cur') or BlueMagic_Healing:contains(spell.english) or BlueMagic_HPCure:contains(spell.english)) and spell.english ~= "Cursna" then
- equip(sets.Precast.Cure)
- elseif string.find(spell.english,'Utsusemi') then
- if buffactive['Copy Image (3)'] or buffactive['Copy Image (4)'] then
- cancel_spell()
- add_to_chat(123, spell.english .. ' Canceled: [3+ Images]')
- return
- else
- equip(sets.Precast.FastCast)
- end
- elseif sets.Precast[spell.skill] then
- equip(sets.Precast[spell.skill])
- else
- equip(sets.Precast.FastCast)
- end
- end
- elseif string.find(spell.type,'Flourish') then
- if spell.english == "Animated Flourish" then
- equip(sets.Enmity)
- else
- equip(sets.Flourish)
- end
- elseif spell.type == "Step" then
- equip(sets.Step)
- elseif spell.type == "Waltz" then
- equip(sets.Waltz)
- elseif spell.english == 'Spectral Jig' and buffactive.Sneak then
- cast_delay(0.2)
- send_command('cancel Sneak')
- end
- end
- --------------
- -- Mid-Cast --
- --------------
- function midcast(spell,action)
- equipSet = {}
- if spell.type:endswith('Magic') or spell.type == 'Ninjutsu' or spell.type == 'Trust' then
- equipSet = sets.Midcast
- if equipSet[spell.english] then
- equipSet = equipSet[spell.english]
- elseif (string.find(spell.english,'Cur') or BlueMagic_Healing:contains(spell.english)) and spell.english ~= "Cursna" then
- if spell.target.name == player.name then
- equipSet = equipSet.SelfCure
- else
- equipSet = equipSet.Cure
- end
- elseif BlueMagic_HPCure:contains(spell.english) then
- equipSet = equipSet.BlueMagic_HPCure
- elseif string.find(spell.english,'Protect') or string.find(spell.english,'Shell') then
- if spell.target.name == player.name then
- equipSet = set_combine(equipSet,{ring1="Sheltered Ring"})
- end
- elseif spell.english:startswith('Haste') or spell.english:startswith('Flurry') or spell.english:startswith('Blink') or spell.english:startswith('Regen') or spell.english:endswith('Spikes') then
- equipSet = sets.Haste
- elseif spell.english == "Stoneskin" then
- if buffactive.Stoneskin then
- send_command('@wait 2.8;cancel stoneskin')
- end
- equipSet = equipSet.Stoneskin
- elseif PhysicalBlueMagic:contains(spell.english) or PhysicalBlueMagic_STR:contains(spell.english) or PhysicalBlueMagic_DEX:contains(spell.english) or PhysicalBlueMagic_VIT:contains(spell.english) or PhysicalBlueMagic_AGI:contains(spell.english) or BlueMagic_PhysicalACC:contains(spell.english) then
- if PhysicalBlueMagic_STR:contains(spell.english) then
- equipSet = equipSet.PhysicalBlueMagic_STR
- elseif PhysicalBlueMagic_DEX:contains(spell.english) then
- equipSet = equipSet.PhysicalBlueMagic_DEX
- elseif PhysicalBlueMagic_VIT:contains(spell.english) then
- equipSet = equipSet.PhysicalBlueMagic_VIT
- elseif PhysicalBlueMagic_AGI:contains(spell.english) then
- equipSet = equipSet.PhysicalBlueMagic_AGI
- elseif PhysicalBlueMagic:contains(spell.english) then
- equipSet = equipSet.PhysicalBlueMagic
- elseif BlueMagic_PhysicalACC:contains(spell.english) then
- equipSet = equipSet.BlueMagic_PhysicalACC
- end
- if buffactive['Chain Affinity'] then
- equipSet = set_combine(equipSet,sets['Chain Affinity'])
- end
- if buffactive.Efflux then
- equipSet = set_combine(equipSet,sets.Efflux)
- end
- elseif MagicalBlueMagic:contains(spell.english) or BlueMagic_Dark:contains(spell.english) or BlueMagic_Light:contains(spell.english) or BlueMagic_Earth:contains(spell.english) then
- if MagicalBlueMagic:contains(spell.english) then
- equipSet = equipSet.MagicalBlueMagic
- elseif BlueMagic_Dark:contains(spell.english) then
- equipSet = equipSet.BlueMagic_Dark
- elseif BlueMagic_Light:contains(spell.english) then
- equipSet = equipSet.BlueMagic_Light
- elseif BlueMagic_Earth:contains(spell.english) then
- equipSet = equipSet.BlueMagic_Earth
- end
- if buffactive['Burst Affinity'] then
- equipSet = set_combine(equipSet,sets['Burst Affinity'])
- end
- if world.day_element == spell.element or world.weather_element == spell.element then
- equipSet = set_combine(equipSet,{waist='Hachirin-no-Obi'})
- end
- if buffactive.Convergence then
- equipSet = set_combine(equipSet,sets.Convergence)
- end
- if MB == 'ON' and (buffactive['Burst Affinity'] or buffactive['Azure Lore']) then
- equipSet = set_combine(equipSet,sets.Midcast.BAMB)
- end
- equip(equipSet)
- elseif BlueMagic_Accuracy:contains(spell.english) then
- equipSet = equipSet.BlueMagic_Accuracy
- elseif BlueMagic_Stun:contains(spell.english) then
- equipSet = equipSet.BlueMagic_Stun
- elseif BlueMagic_PhysicalStun:contains(spell.english) then
- equipSet = equipSet.BlueMagic_PhysicalStun
- elseif BlueMagic_Emnity:contains(spell.english) then
- equipSet = equipSet.BlueMagic_Emnity
- elseif BlueMagic_Buff:contains(spell.english) then
- equipSet = equipSet.BlueMagic_Buff
- elseif BlueMagic_Refresh:contains(spell.english) then
- equipSet = equipSet.Refresh
- elseif BlueMagic_Diffusion:contains(spell.english) and buffactive.Diffusion then
- equipSet = set_combine(equipSet,sets.Diffusion)
- elseif BlueMagic_Breath:contains(spell.english) then
- equipSet = equipSet.BlueMagic_Breath
- elseif spell.english == "Stoneskin" then
- if buffactive.Stoneskin then
- send_command('@wait 2.8;cancel stoneskin')
- end
- equipSet = equipSet.Stoneskin
- elseif spell.english == "Sneak" then
- if spell.target.name == player.name and buffactive['Sneak'] then
- send_command('cancel sneak')
- end
- equipSet = equipSet.Haste
- elseif string.find(spell.english,'Utsusemi') then
- if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)']) then
- send_command('@wait 1.7;cancel Copy Image*')
- end
- equipSet = equipSet.Haste
- elseif spell.english == 'Monomi: Ichi' then
- if buffactive['Sneak'] then
- send_command('@wait 1.7;cancel sneak')
- end
- equipSet = equipSet.Haste
- elseif spell.english:startswith('Tonko') then
- equipSet = equipSet.Haste
- elseif spell.english:startswith('Jabaku') or spell.english:startswith('Hojo') or spell.english:startswith('Kurayami') or spell.english:startswith('Dokumori') then
- equipSet = equipSet.Enfeebling_Ninjutsu
- elseif spell.english:startswith('Katon') or spell.english:startswith('Suiton') or spell.english:startswith('Doton') or spell.english:startswith('Hyoton') or spell.english:startswith('Huton') or spell.english:startswith('Raiton') then
- equipSet = equipSet.Elemental_Ninjutsu
- if (world.day_element == spell.element or world.weather_element == spell.element) then
- equipSet = set_combine(equipSet,{waist="Hachirin-no-Obi"})
- end
- if MB == 'ON' then
- equipSet = set_combine(equipSet,sets.Midcast.MB)
- end
- elseif equipSet[spell.skill] then
- equipSet = equipSet[spell.skill]
- end
- if spell.english:startswith('Cur') or spell.english:startswith('White Wind') and spell.english ~= "Cursna" then
- if (world.day_element == spell.element or world.weather_element == spell.element) then
- equipSet = set_combine(equipSet,{waist="Hachirin-no-Obi"})
- end
- end
- if spell.skill == 'Elemental Magic' or spell.english:startswith('Aspir') or spell.english:startswith('Drain') then
- if (world.day_element == spell.element or world.weather_element == spell.element) then
- equipSet = set_combine(equipSet,{waist="Hachirin-no-Obi"})
- end
- if MB == 'ON' then
- equipSet = set_combine(equipSet,sets.Midcast.MB)
- end
- end
- elseif equipSet[spell.english] then
- equipSet = equipSet[spell.english]
- end
- equip(equipSet)
- end
- ----------------
- -- After-Cast --
- ----------------
- function aftercast(spell,action)
- if spell.type == "WeaponSkill" and not spell.interrupted then
- send_command('wait 0.2;gs c TP')
- elseif spell.english == "Sleep II" or spell.english == "Repose" or spell.english == "Dream Flower" then -- Sleep II//Repose/Dream Flower Countdown --
- send_command('wait 60;input /echo Sleep II/Dream Flower Effect: [WEARING OFF IN 30 SEC.];wait 15;input /echo Sleep II/Dream Flower Effect: [WEARING OFF IN 15 SEC.];wait 10;input /echo Sleep II/Dream Flower Effect: [WEARING OFF IN 5 SEC.]')
- elseif spell.english == "Sleep" or spell.english == "Sleepga" or spell.english == "Sheep Song" then -- Sleep/Sleepga/Sheep Song Countdown --
- send_command('wait 30;input /echo Sleep/Sheep Song Effect: [WEARING OFF IN 30 SEC.];wait 15;input /echo Sleep/Sheep Song Effect: [WEARING OFF IN 15 SEC.];wait 10;input /echo Sleep/Sheep Song Effect: [WEARING OFF IN 5 SEC.]')
- end
- status_change(player.status)
- end
- -------------------
- -- Status Change --
- -------------------
- function status_change(new,old)
- if Armor == 'PDT' or buffactive.Terror or buffactive.Stun or buffactive.Petrification or buffactive.Sleep then
- equip(sets.PDT)
- elseif Armor == 'MDT' then
- equip(sets.MDT)
- elseif Armor == 'Kiting' then
- equip(sets.Kiting)
- elseif new == 'Engaged' then
- equipSet = sets.TP
- if Armor == 'Hybrid' and equipSet["Hybrid"] then
- equipSet = equipSet["Hybrid"]
- end
- if equipSet[WeaponArray[WeaponIndex]] then
- equipSet = equipSet[WeaponArray[WeaponIndex]]
- end
- if equipSet[AccArray[AccIndex]] then
- equipSet = equipSet[AccArray[AccIndex]]
- end
- if (buffactive.March and (buffactive.Embrava or buffactive.Haste or buffactive['Mighty Guard']) or (buffactive.Haste == 2) or (buffactive.March == 2 and not buffactive.Slow) or (buffactive['Mighty Guard']) and (buffactive.Embrava or buffactive.Haste)) and equipSet["HighHaste"] then
- equipSet = equipSet["HighHaste"]
- end
- if buffactive["Aftermath: Lv.3"] and player.equipment.main == 'Tizona' and equipSet["AM3"] then -- AM3 Set Equip (Mythic Only) --
- equipSet = equipSet["AM3"]
- end
- if Thaumas == 'ON' then
- equipSet = set_combine(equipSet,sets.TP.Thaumas)
- end
- if TH == 'ON' then -- Treasure Hunter TP Toggle --
- equipSet = set_combine(equipSet,sets.TP.TH)
- end
- equip(equipSet)
- elseif new == 'Idle' then
- equipSet = sets.Idle
- if equipSet[IdleArray[IdleIndex]] then
- equipSet = equipSet[IdleArray[IdleIndex]]
- end
- if Cities:contains(world.area) then
- equipSet = equip(sets.Idle.Town)
- end
- if buffactive['Reive Mark'] then -- Equip Ygnas's Resolve +1 During Reive --
- equipSet = set_combine(equipSet,{neck="Ygnas's Resolve +1"})
- end
- equip(equipSet)
- end
- end
- -----------------
- -- Buff Change --
- -----------------
- function buff_change(buff,gain,buff_table)
- buff = string.lower(buff)
- if buff_table['id'] == 272 and player.equipment.main == 'Tizona' then -- Tizona AM3 Timer/Countdown --
- if gain then
- send_command('timers create "Mythic Aftermath: Lv.3" 180 down')
- add_to_chat(158,'Tizona AM3: [ON]')
- else
- send_command('timers delete "Mythic Aftermath: Lv.3"')
- add_to_chat(123,'Tizona AM3: [OFF]')
- end
- elseif buff_table['id'] == 271 and player.equipment.main == 'Tizona' then -- Tizona AM2 Timer/Countdown --
- if gain then
- send_command('timers create "Mythic Aftermath: Lv.2" 270 down')
- add_to_chat(158,'Tizona AM2: [ON]')
- else
- send_command('timers delete "Mythic Aftermath: Lv.2"')
- add_to_chat(123,'Tizona AM2: [OFF]')
- end
- elseif buff_table['id'] == 270 and player.equipment.main == 'Tizona' then -- Tizona AM1 Timer/Countdown --
- if gain then
- add_to_chat(158,'Tizona AM1: [ON]')
- else
- add_to_chat(123,'Tizona AM1: [OFF]')
- end
- elseif buff_table['id'] == 272 and player.equipment.main == 'Almace' then -- Almace AM3 Timer/Countdown --
- if gain then
- send_command('timers create "Empy Aftermath: Lv.3" 180 down')
- add_to_chat(158,'Almace AM3: [ON]')
- else
- send_command('timers delete "Empy Aftermath: Lv.3"')
- add_to_chat(123,'Almace AM3: [OFF]')
- end
- elseif buff_table['id'] == 271 and player.equipment.main == 'Almace' then -- Almace AM2 Timer/Countdown --
- if gain then
- send_command('timers create "Empy Aftermath: Lv.2" 120 down')
- add_to_chat(158,'Almace AM2: [ON]')
- else
- send_command('timers delete "Empy Aftermath: Lv.2"')
- add_to_chat(123,'Almace AM2: [OFF]')
- end
- elseif buff_table['id'] == 270 and player.equipment.main == 'Almace' then -- Almace AM1 Timer/Countdown --
- if gain then
- add_to_chat(158,'Almace AM1: [ON]')
- else
- add_to_chat(123,'Almace AM1: [OFF]')
- end
- elseif buff_table['id'] == 272 and player.equipment.main == 'Sequence' then -- Sequence AM3 Timer/Countdown --
- if gain then
- send_command('timers create "Aeonic Aftermath: Lv.3" 180 down')
- add_to_chat(158,'Sequence AM3: [ON]')
- else
- send_command('timers delete "Aeonic Aftermath: Lv.3"')
- add_to_chat(123,'Sequence AM3: [OFF]')
- end
- elseif buff_table['id'] == 271 and player.equipment.main == 'Sequence' then -- Sequence AM2 Timer/Countdown --
- if gain then
- send_command('timers create "Aeonic Aftermath: Lv.2" 180 down')
- add_to_chat(158,'Sequence AM2: [ON]')
- else
- send_command('timers delete "Aeonic Aftermath: Lv.2"')
- add_to_chat(123,'Sequence AM2: [OFF]')
- end
- elseif buff_table['id'] == 270 and player.equipment.main == 'Sequence' then -- Sequence AM1 Timer/Countdown --
- if gain then
- add_to_chat(158,'Sequence AM1: [ON]')
- else
- add_to_chat(123,'Sequence AM1: [OFF]')
- end
- elseif buff_table['id'] == 163 then -- Azure Lore Timer --
- if gain then
- send_command('timers create "Azure Lore" 40 down')
- else
- send_command('timers delete "Azure Lore"')
- end
- elseif buff_table['id'] == 164 then -- Chain Affinity Timer --
- if gain then
- send_command('timers create "Chain Affinity" 30 down')
- else
- send_command('timers delete "Chain Affinity"')
- end
- elseif buff_table['id'] == 165 then -- Burst Affinity Timer --
- if gain then
- send_command('timers create "Burst Affinity" 30 down')
- else
- send_command('timers delete "Burst Affinity"')
- end
- elseif buff_table['id'] == 457 then -- Efflux Timer --
- if gain then
- send_command('timers create "Efflux" 60 down')
- else
- send_command('timers delete "Efflux"')
- end
- elseif buff_table['id'] == 356 then -- Diffusion Timer --
- if gain then
- send_command('timers create "Diffusion" 60 down')
- else
- send_command('timers delete "Diffusion"')
- end
- elseif buff_table['id'] == 485 then -- Unbridled Learning Timer --
- if gain then
- send_command('timers create "Unbridled Learning" 60 down')
- else
- send_command('timers delete "Unbridled Learning"')
- end
- elseif buff_table['id'] == 505 then -- Unbridled Wisdom Timer --
- if gain then
- send_command('timers create "Unbridled Wisdom" 60 down')
- else
- send_command('timers delete "Unbridled Wisdom"')
- end
- elseif buff_table['id'] == 434 then -- Brew Timer --
- if gain then
- send_command('timers create "Transcendency" 180 down')
- else
- send_command('timers delete "Transcendency"')
- add_to_chat(123,'Transcendency: [OFF]')
- end
- elseif buff_table['id'] == 1 then -- Weakness Timer --
- if gain then
- send_command('timers create "Weakness" 300 up')
- else
- send_command('timers delete "Weakness"')
- add_to_chat(158,'Weakness: [OFF]')
- end
- elseif buff_table['id'] == 15 then -- Doom Party Chat --
- if gain then
- send_command('input /party Doom')
- else
- send_command('input /party Doom off')
- add_to_chat(158,'Doom: [OFF]')
- end
- elseif buff_table['id'] == 9 then -- Curse Party Chat --
- if gain then
- send_command('input /party Curse')
- else
- add_to_chat(158,'Curse: [OFF]')
- end
- elseif buff_table['id'] == 14 or buff_table['id'] == 17 then -- Charm Party Chat --
- if gain then
- send_command('input /party Charmed')
- else
- send_command('input /party Charm off')
- add_to_chat(158,'Charm: [OFF]')
- end
- elseif buff_table['id'] == 4 then -- Paralysis Party Chat --
- if gain then
- add_to_chat(123,'Paralyzed!')
- else
- add_to_chat(158,'Paralysis: [OFF]')
- end
- elseif buff_table['id'] == 91 then -- Nat. Meditation --
- if not gain then
- add_to_chat(123,'Nat. Meditation: [OFF]')
- end
- elseif buff_table['id'] == 93 then -- Cocoon Notification --
- if not gain then
- add_to_chat(123,'Cocoon: [OFF]')
- end
- elseif buff_table['id'] == 33 then -- Haste --
- if not gain then
- add_to_chat(123,'Haste: [OFF]')
- end
- elseif buff_table['id'] == 147 then -- Attack Down --
- if not gain then
- add_to_chat(158,'Attack Down: [OFF]')
- end
- elseif buff_table['id'] == 149 then -- Defense Down --
- if not gain then
- add_to_chat(158,'Defense Down: [OFF]')
- end
- elseif buff_table['id'] == 13 then -- Slow --
- if gain then
- add_to_chat(123,'Slowed!')
- else
- add_to_chat(158,'Slow: [OFF]')
- end
- elseif buff_table['id'] == 42 then -- Regen --
- if not gain then
- add_to_chat(123,'Regen: [OFF]')
- end
- elseif buff_table['id'] == 43 then -- Refresh --
- if not gain then
- add_to_chat(123,'Refresh: [OFF]')
- end
- elseif buff_table['id'] == 152 then -- Magic Barrier --
- if not gain then
- add_to_chat(123,'Magic Barrier: [OFF]')
- end
- elseif buff_table['id'] == 116 then -- Phalanx/Barrier Tusk --
- if not gain then
- add_to_chat(123,'Phalanx: [OFF]')
- end
- elseif buff_table['id'] == 36 then -- Blink/Occultation --
- if not gain then
- add_to_chat(123,'Blink: [OFF]')
- end
- elseif buff_table['id'] == 604 then -- Mighty Guard --
- if not gain then
- add_to_chat(123,'Mighty Guard: [OFF]')
- end
- elseif buff_table['id'] == 251 then -- Food --
- if not gain then
- add_to_chat(123,'Food: [OFF]')
- end
- elseif buff_table['id'] == 28 then -- Terror --
- if not gain then
- add_to_chat(158,'Terror: [OFF]')
- end
- elseif buff_table['id'] == 10 then -- Stun --
- if not gain then
- add_to_chat(158,'Stun: [OFF]')
- end
- elseif buff_table['id'] == 16 then -- Amnesia --
- if not gain then
- add_to_chat(158,'Amnesia: [OFF]')
- end
- elseif buff_table['id'] == 2 or buff_table['id'] == 19 then -- Sleep --
- if gain then
- send_command('input /party ZZZ')
- else
- add_to_chat(158,'Sleep: [OFF]')
- end
- end
- if not midaction() then
- status_change(player.status)
- end
- end
- -------------------------------------------------------------------------------------
- -- In Game: //gs c (command), Macro: /console gs c (command), Bind: gs c (command) --
- -------------------------------------------------------------------------------------
- function self_command(command)
- if command == 'acc' then -- Accuracy Level Toggle --
- AccIndex = (AccIndex % #AccArray) + 1
- add_to_chat(155,'Accuracy Level: ' .. AccArray[AccIndex])
- status_change(player.status)
- elseif command == 'dw' then -- DW Toggle --
- WeaponIndex = (WeaponIndex % #WeaponArray) + 1
- add_to_chat(155,'Dual Wield: '..WeaponArray[WeaponIndex])
- status_change(player.status)
- elseif command == 'update' then -- Update Gear --
- status_change(player.status)
- add_to_chat(155,'-[Gear Update]-')
- add_to_chat(155,'Dual Wield: '..WeaponArray[WeaponIndex])
- add_to_chat(155,'Accuracy Level: ' .. AccArray[AccIndex])
- add_to_chat(155,'Idle Set: ' .. IdleArray[IdleIndex])
- elseif command == 'hybrid' then -- Hybrid Toggle --
- if Armor == 'Hybrid' then
- Armor = 'None'
- add_to_chat(123,'Hybrid Set: [Unlocked]')
- else
- Armor = 'Hybrid'
- add_to_chat(158,'Hybrid Set: '..AccArray[AccIndex])
- end
- status_change(player.status)
- elseif command == 'th' then -- Treasure Hunter TP Toggle --
- if TH == 'ON' then
- TH = 'OFF'
- add_to_chat(123,'Treasure Hunter TP: [Unlocked]')
- else
- TH = 'ON'
- add_to_chat(158,'Treasure Hunter TP: [Locked]')
- end
- status_change(player.status)
- elseif command == 'pdt' then -- PDT Toggle --
- if Armor == 'PDT' then
- Armor = 'None'
- add_to_chat(123,'PDT Set: [Unlocked]')
- else
- Armor = 'PDT'
- add_to_chat(158,'PDT Set: [Locked]')
- end
- status_change(player.status)
- elseif command == 'mdt' then -- MDT Toggle --
- if Armor == 'MDT' then
- Armor = 'None'
- add_to_chat(123,'MDT Set: [Unlocked]')
- else
- Armor = 'MDT'
- add_to_chat(158,'MDT Set: [Locked]')
- end
- status_change(player.status)
- elseif command == 'kiting' then -- Kiting Toggle --
- if Armor == 'Kiting' then
- Armor = 'None'
- add_to_chat(123,'Kiting Set: [Unlocked]')
- else
- Armor = 'Kiting'
- add_to_chat(158,'Kiting Set: [Locked]')
- end
- status_change(player.status)
- elseif command == 'thaumas' then -- Thaumas Coat Toggle --
- if Thaumas == 'ON' then
- Thaumas = 'OFF'
- add_to_chat(123,'Thaumas Coat: [OFF]')
- else
- Thaumas = 'ON'
- add_to_chat(158,'Thaumas Coat: [ON]')
- end
- elseif command == 'mb' then -- Magic Burst Toggle --
- if MB == 'ON' then
- MB = 'OFF'
- add_to_chat(123,'Magic Burst: [OFF]')
- else
- MB = 'ON'
- add_to_chat(158,'Maic Burst: [ON]')
- end
- status_change(player.status)
- elseif command == 'distance' then -- Distance Toggle --
- if player.target.distance then
- target_distance = math.floor(player.target.distance*10)/10
- add_to_chat(155,'Distance: '..target_distance)
- else
- add_to_chat(123,'No Target Selected')
- end
- elseif command == 'idle' then -- Idle Toggle --
- IdleIndex = (IdleIndex % #IdleArray) + 1
- add_to_chat(155,'Idle Set: ' .. IdleArray[IdleIndex])
- status_change(player.status)
- elseif command == 'TP' then
- add_to_chat(155,'TP Return: ['..tostring(player.tp)..']')
- elseif command:match('^SC%d$') then
- send_command('//' .. sc_map[command])
- end
- end
- -----------
- -- Misc. --
- -----------
- function actualCost(originalCost)
- if buffactive["Penury"] then
- return originalCost*.5
- elseif buffactive["Light Arts"] then
- return originalCost*.9
- else
- return originalCost
- end
- end
- function degrade_spell(spell,degrade_array)
- spell_index = table.find(degrade_array,spell.name)
- if spell_index>1 then
- new_spell = degrade_array[spell_index - 1]
- change_spell(new_spell,spell.target.raw)
- add_to_chat(8,spell.name..' Canceled: ['..player.mp..'/'..player.max_mp..'MP::'..player.mpp..'%] Casting '..new_spell..' instead.')
- end
- end
- function find_player_in_alliance(name)
- for i,v in ipairs(alliance) do
- for k,p in ipairs(v) do
- if p.name == name then
- return p
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement