Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Initialize function for this job file.
- function get_sets()
- mote_include_version = 2
- --Load and initialize the include file.
- include('Mote-Include.lua')
- include('organizer-lib')
- end
- --Setup variables that are user-independent. state.Buff variables initialized here will automatically be tracked.
- function job_setup()
- state.Buff['Unbridled Learning'] = buffactive['Unbridled Learning'] or false
- state.Buff['Burst Affinity'] = buffactive['Burst Affinity'] or false
- state.Buff['Chain Affinity'] = buffactive['Chain Affinity'] or false
- state.Buff.Convergence = buffactive.Convergence or false
- state.Buff.Diffusion = buffactive.Diffusion or false
- state.Buff.Efflux = buffactive.Efflux or false
- --Mapping for gear sets for various Blue Magic spells.
- blue_magic_maps = {}
- --Physical spells.
- --Physical spells with heavy accuracy penalties that need to prioritize accuracy first.
- blue_magic_maps.PhysicalAcc = S{
- 'Heavy Strike'
- }
- --Physical spells with STR mod.
- blue_magic_maps.PhysicalStr = S{
- 'Asuran Claws','Battle Dance','Bilgestorm','Bloodrake','Cannonball','Death Scissors','Delta Thrust',
- 'Dimensional Death','Disseverment','Empty Thrash','Foot Kick','Frenetic Rip','Glutinous Dart',
- 'Goblin Rush','Mandibular Bite','Paralyzing Triad','Pinecone Bomb','Power Attack','Quadrastrike',
- 'Quad. Continuum','Ram Charge','Saurian Slide','Screwdriver','Sinker Drill','Smite of Rage',
- 'Spinal Cleave','Thrashing Assault','Tourbillion','Uppercut','Vertical Cleave',
- }
- --Physical spells with DEX mod.
- blue_magic_maps.PhysicalDex = S{
- 'Amorphic Spikes','Barbed Crescent','Claw Cyclone','Hysteric Barrage','Seedspray','Sickle Slash',
- 'Terror Touch','Vanity Dive'
- }
- --Physical spells with VIT mod.
- blue_magic_maps.PhysicalVit = S{
- 'Body Slam','Grand Slam','Sprout Smack','Sub-zero Smash','Sweeping Gouge'
- }
- --Physical spells with AGI mod.
- blue_magic_maps.PhysicalAgi = S{
- 'Benthic Typhoon','Feather Storm','Helldive','Hydro Shot','Jet Stream','Spiral Spin','Wild Oats'
- }
- --Physical spells with INT mod.
- blue_magic_maps.PhysicalInt = S{
- 'Queasyshroom'
- }
- --Physical spells with CHR mod.
- blue_magic_maps.PhysicalChr = S{
- 'Bludgeon'
- }
- --Physical spells with Max HP mod.
- blue_magic_maps.PhysicalHP = S{
- 'Final Sting'
- }
- --Magical spells.
- --Magical spells with INT mod.
- blue_magic_maps.MagicalInt = S{
- 'Anvil Lightning','Blastbomb','Blazing Bound','Blinding Fulgor','Bomb Toss','Cesspool',
- 'Charged Whisker','Corrosive Ooze','Crashing Thunder','Cursed Sphere','Dark Orb','Death Ray',
- 'Droning Whirlwind','Embalming Earth','Entomb','Everyone. Grudge','Firespit','Foul Waters',
- 'Gates of Hades','Ice Break','Leafstorm','Maelstrom','Molting Plumage','Nectarous Deluge',
- 'Polar Roar','Rail Cannon','Rending Deluge','Retinal Glare','Sandspin','Scouring Spate',
- 'Searing Tempest','Silent Storm','Spectral Floe','Subduction','Thermal Pulse','Tearing Gust',
- 'Tem. Upheaval','Tenebral Crush','Water Bomb','Uproot'
- }
- --Magical spells with AGI mod.
- blue_magic_maps.MagicalAgi = S{
- 'Palling Salvo'
- }
- --Magical spells with MND mod.
- blue_magic_maps.MagicalMnd = S{
- 'Acrid Stream','Diffusion Ray','Magic Hammer','Mind Blast','Regurgitate'
- }
- --Magical spells with CHR mod.
- blue_magic_maps.MagicalChr = S{
- 'Eyes On Me','Mysterious Light'
- }
- --Magical spells whose primary function is to land their additional effect, prioritizing MAcc.
- blue_magic_maps.MagicalAcc = S{
- '1000 Needles','Absolute Terror','Actinic Burst','Auroral Drape','Awful Eye','Blank Gaze',
- 'Blistering Roar','Chaotic Eye','Cimicine Discharge','Cold Wave','Cruel Joke','Demoralizing Roar',
- 'Dream Flower','Enervation','Feather Tickle','Filamented Hold','Frightful Roar','Geist Wall',
- 'Hecatomb Wave','Infrasonics','Jettatura','Light of Penance','Lowing','Mortal Ray','Reaving Wind',
- 'Sandspray','Sheep Song','Soporific','Sound Blast','Stinking Gas','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','Restoral','Wild Carrot'
- }
- --Healing spells that scale off of Max HP.
- blue_magic_maps.HealingHP = S{
- 'White Wind'
- }
- --Buff spells that scale off of Blue Magic skill.
- blue_magic_maps.SkillBuff = S{
- 'Barrier Tusk','Diamondhide','Magic Barrier','Metallic Body','Plasma Charge','Pyric Bulwark',
- 'Reactor Cool','Nat. Meditation','Occultation'
- }
- --Drain spells that scale off of Blue Magic skill and require MAcc.
- blue_magic_maps.SkillDrain = S{
- 'Atr. Libations','Blood Drain','Blood Saber','Digest','MP Drainkiss','Osmosis'
- }
- --Buff spells with no ability to scale.
- blue_magic_maps.Buff = S{
- 'Amplification','Animating Wail','Battery Charge','Carcharian Verve','Cocoon','Erratic Flutter',
- 'Exuviation','Fantod','Feather Barrier','Harden Shell','Memento Mori','Mighty Guard','Nat. Meditation',
- 'Orcish Counterstance','Refueling','Regeneration','Saline Coat','Triumphant Roar','Warm-Up',
- 'Winds of Promyvion','Zephyr Mantle'
- }
- end
- --Set up gear sets.
- function init_gear_sets()
- --Defines gear with variable augments. (Remove "--" when using.)
- --Herculean gear.
- --HercHead = {}
- --HercBody = {}
- --HercHands = {}
- --HercLegs = {}
- --HercFeet = {}
- --The following is an example.
- --HercHead.TP = { name="Herculean Helm", augments={'STR+15','Attack+15',}}
- --Ambuscade Capes.
- --Rosmerta = {}
- --Rosmerta.TP = {name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}}
- --Alluvion Skirmish gear.
- --Taeon, Telchine, etc.
- --Job Ability/buff active swap-ins.
- --sets.buff['Burst Affinity'] = {
- --legs="Assimilator's Shalwar +3",
- --feet="Hashishin Basmak +3"
- --}
- --sets.buff['Chain Affinity'] = {
- --head="Hashishin Kavuk +3",
- --body="Luhlaza Jubbah +3", --<do not unnote this unless Enchainment is merited (it shouldn't be)
- --feet="Assimilator's Charuqs +3"
- --}
- sets.buff.Convergence = {head={ name="Luh. Keffiyeh +3", augments={'Enhances "Convergence" effect',}}}
- sets.buff.Diffusion = {feet={ name="Luhlaza Charuqs +3", augments={'Enhances "Diffusion" effect',}}}
- --sets.buff.Efflux = {legs="Hashishin Tayt +3"}
- sets.precast.JA['Azure Lore'] = {hands={ name="Luh. Bazubands +3", augments={'Enhances "Azure Lore" effect',}}}
- --Precasts for spells.
- sets.precast.FC = {}
- --sets.precast.FC['Blue Magic'] = {}
- --Weaponskill sets.
- sets.precast.WS = {}
- sets.precast.WS['Savage Blade'] = {}
- sets.precast.WS['Sanguine Blade'] = {}
- sets.precast.WS['Requiestcat'] = {}
- --sets.precast.WS['Chant du Cygne'] = {}
- --sets.precast.WS['Expiacion'] = {}
- --sets.precast.WS['Imperator'] = {}
- --Blue Magic sets.
- --Physical spells.
- sets.midcast['Blue Magic'].PhysicalAcc = {}
- sets.midcast['Blue Magic'].PhysicalStr = { }
- sets.midcast['Blue Magic'].PhysicalDex = {}
- sets.midcast['Blue Magic'].PhysicalVit = {}
- sets.midcast['Blue Magic'].PhysicalAgi = {}
- sets.midcast['Blue Magic'].PhysicalInt = {}
- sets.midcast['Blue Magic'].PhysicalChr = {}
- sets.midcast['Blue Magic'].PhysicalHP = {}
- --Magical spells.
- sets.midcast['Blue Magic'].MagicalInt = {}
- sets.midcast['Blue Magic'].MagicalAgi = {}
- sets.midcast['Blue Magic'].MagicalMnd = {}
- sets.midcast['Blue Magic'].MagicalChr = {}
- sets.midcast['Blue Magic'].MagicalAcc = {}
- --Misc. spells.
- sets.midcast['Blue Magic'].Breath = set_combine(sets.midcast['Blue Magic'].MagicalInt, {
- head={ name="Luh. Keffiyeh +3", augments={'Enhances "Convergence" effect',}}
- })
- sets.midcast['Blue Magic'].Stun = {}
- sets.midcast['Blue Magic'].Healing = {}
- sets.midcast['Blue Magic'].HealingHP = {}
- sets.midcast['Blue Magic'].SkillBuff = {}
- sets.midcast['Blue Magic'].SkillDrain = {}
- sets.midcast['Blue Magic'].Buff = {}
- --Combines for spell affinity.
- sets.midcast['Blue Magic']['Tenebral Crush'] = set_combine(sets.midcast['Blue Magic'].MagicalInt, {
- head="Pixie Hairpin +1",
- --ring1="Archon Ring"
- })
- --Non Blue Magic sets.
- --WIP
- --Combines for misc.
- sets.midcast.Refresh = set_combine(sets.midcast['Blue Magic'].Buff, {
- head='Amalric Coif +1'
- })
- sets.midcast['Blue Magic']['Battery Charge'] = set_combine(sets.midcast['Blue Magic'].Buff, {
- head='Amalric Coif +1'
- })
- --Idling sets.
- sets.idle = {}
- --Engaged sets.
- sets.engaged = {}
- end
- -- Custom spell mapping.
- 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
Advertisement
Add Comment
Please, Sign In to add comment