Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------------------------------------------------------------------------------------------
- -- Setup functions for this job. Generally should not be modified.
- -------------------------------------------------------------------------------------------------------------------
- --[[
- Custom commands:
- ExtraSongsMode may take one of three values: None, Dummy, FullLength
- You can set these via the standard 'set' and 'cycle' self-commands. EG:
- gs c cycle ExtraSongsMode
- gs c set ExtraSongsMode Dummy
- The Dummy state will equip the bonus song instrument and ensure non-duration gear is equipped.
- The FullLength state will simply equip the bonus song instrument on top of standard gear.
- Simple macro to cast a dummy Daurdabla song:
- /console gs c set ExtraSongsMode Dummy
- /ma "Shining Fantasia" <me>
- To use a Terpander rather than Daurdabla, set the info.ExtraSongInstrument variable to
- 'Terpander', and info.ExtraSongs to 1.
- --]]
- -- Initialization function for this job file.
- function get_sets()
- mote_include_version = 2
- -- Load and initialize the include file.
- include('Mote-Include.lua')
- end
- -- Setup vars that are user-independent. state.Buff vars initialized here will automatically be tracked.
- function job_setup()
- state.ExtraSongsMode = M{['description']='Extra Songs', 'None', 'Dummy', 'FullLength'}
- state.Buff['Pianissimo'] = buffactive['pianissimo'] or false
- -- For tracking current recast timers via the Timers plugin.
- custom_timers = {}
- end
- -------------------------------------------------------------------------------------------------------------------
- -- User setup functions for this job. Recommend that these be overridden in a sidecar file.
- -------------------------------------------------------------------------------------------------------------------
- -- Setup vars that are user-dependent. Can override this function in a sidecar file.
- function user_setup()
- state.OffenseMode:options('None', 'Normal')
- state.CastingMode:options('Normal', 'Resistant')
- state.IdleMode:options('Normal', 'PDT')
- brd_daggers = S{'Izhiikoh', 'Vanir Knife', 'Atoyac', 'Aphotic Kukri', 'Sabebus'}
- pick_tp_weapon()
- -- Adjust this if using the Terpander (new +song instrument)
- info.ExtraSongInstrument = 'Terpander'
- -- How many extra songs we can keep from Daurdabla/Terpander
- info.ExtraSongs = 1
- -- Set this to false if you don't want to use custom timers.
- state.UseCustomTimers = M(true, 'Use Custom Timers')
- -- Additional local binds
- send_command('bind ^` gs c cycle ExtraSongsMode')
- send_command('bind !` input /ma "Chocobo Mazurka" <me>')
- select_default_macro_book()
- end
- -- Called when this job file is unloaded (eg: job change)
- function user_unload()
- send_command('unbind ^`')
- send_command('unbind !`')
- end
- -- Define sets and vars used by this job file.
- function init_gear_sets()
- --------------------------------------
- -- Start defining the sets
- --------------------------------------
- -- Precast Sets
- -- Fast cast sets for spells
- sets.precast.FC = {ammo="impatiens", head="Nahtirah Hat",ear2="Loquac. Earring",
- body="marduk's jubbah +1", hands="Gendewitha Gages +1",ring1="Prolix Ring",
- back="Swith Cape",waist="Witful Belt",legs="artsieq hose",feet="Chelona Boots +1"}
- sets.precast.FC.Cure = set_combine(sets.precast.FC, {main="apaisante", sub="genbu's shield",
- body="Heka's Kalasiris"})
- sets.precast.FC.Stoneskin = set_combine(sets.precast.FC, {head="Umuthi Hat"})
- sets.precast.FC['Enhancing Magic'] = set_combine(sets.precast.FC, {waist="Siegel Sash"})
- sets.precast.FC.BardSong = {main="Felibre's Dague",range="Gjallarhorn",
- head="Aoidos' Calot +2",neck="Aoidos' Matinee",ear1="Aoidos' Earring",ear2="Loquac. Earring",
- body="Sha'ir Manteel",hands="Gendewitha Gages +1",ring1="Prolix Ring",
- back="Swith Cape",waist="Witful Belt",legs="Gendewitha Spats +1",feet="Bihu Slippers"}
- sets.precast.FC.Daurdabla = set_combine(sets.precast.FC.BardSong, {range=info.ExtraSongInstrument})
- -- Precast sets to enhance JAs
- sets.precast.JA.Nightingale = {feet="Bihu Slippers"}
- sets.precast.JA.Troubadour = {body="Bihu Justaucorps +1"}
- sets.precast.JA['Soul Voice'] = {legs="Bihu Cannions +1"}
- -- Waltz set (chr and vit)
- sets.precast.Waltz = {range="Gjallarhorn",
- head="Nahtirah Hat",
- body="Gendewitha Bliaut",hands="Buremte Gloves",
- back="Kumbira Cape",legs="Gendewitha Spats",feet="Gendewitha Galoshes"}
- -- Weaponskill sets
- -- Default set for any weaponskill that isn't any more specifically defined
- sets.precast.WS = {range="Gjallarhorn",
- head="Nahtirah Hat",neck=gear.ElementalGorget,ear1="Bladeborn Earring",ear2="Steelflash Earring",
- body="Bihu Justaucorps",hands="Buremte Gloves",ring1="Rajas Ring",ring2="K'ayres Ring",
- back="Atheling Mantle",waist="Caudata Belt",legs="Brioso Cannions +1",feet="Gendewitha Galoshes"}
- -- Specific weaponskill sets. Uses the base set if an appropriate WSMod version isn't found.
- sets.precast.WS['Evisceration'] = set_combine(sets.precast.WS)
- sets.precast.WS['Exenterator'] = set_combine(sets.precast.WS)
- sets.precast.WS['Mordant Rime'] = set_combine(sets.precast.WS)
- sets.precast.WS["Rudra's Storm"] = set_combine(sets.precast.WS)
- -- Midcast Sets
- -- General set for recast times.
- sets.midcast.FastRecast = {range="Angel Lyre",
- head="Nahtirah Hat",ear2="Loquacious Earring",
- body="Marduk's Jubbah +1",hands="Gendewitha Gages +1",ring1="Prolix Ring",
- back="Swith Cape",waist="Witful Belt",legs="Artsieq Hose",feet="Chelona Boots +1"}
- -- Gear to enhance certain classes of songs. No instruments added here since Gjallarhorn is being used.
- sets.midcast.Ballad = {legs="Aoidos' Rhing. +2"}
- sets.midcast.Lullaby = {hands="Brioso Cuffs"}
- sets.midcast.Madrigal = {head="Aoidos' Calot +2"}
- sets.midcast.March = {hands="Aoidos' Manchettes +2"}
- sets.midcast.Minuet = {body="Aoidos' Hongreline +2"}
- sets.midcast.Minne = {}
- sets.midcast.Paeon = {head="Brioso Roundlet +1"}
- sets.midcast.Carol = {head="Aoidos' Calot +2",
- body="Aoidos' Hongreline +2",hands="Aoidos' Manchettes +2",
- legs="Aoidos' Rhing. +2",feet="Aoidos' Cothrn. +2"}
- sets.midcast["Sentinel's Scherzo"] = {feet="Aoidos' Cothrn. +2"}
- sets.midcast['Magic Finale'] = {neck="Wind Torque",waist="Corvax Sash",legs="Aoidos' Rhing. +2"}
- sets.midcast.Mazurka = {range=info.ExtraSongInstrument}
- sets.midcast["Goddess's Hymus"] = {range=info.ExtraSongInstrument}
- sets.midcast["Warding Round"] = {range=info.ExtraSongInstrument}
- -- For song buffs (duration and AF3 set bonus)
- sets.midcast.SongEffect = {main="Legato Dagger",range="Gjallarhorn",
- head="Gende. Caubeen +1",neck="Aoidos' Matinee",ear2="Loquacious Earring",
- body="Aoidos' Hongreline +2",hands="Gende. Gauges +1",ring1="Prolix Ring",
- back="Umbra Cape",waist="Witful Belt",legs="Marduk's Shalwar +1",feet="Brioso Slippers +1"}
- -- For song defbuffs (duration primary, accuracy secondary)
- sets.midcast.SongDebuff = {main="Twebuliij",sub="Mephitis Grip",range="Gjallarhorn",
- head="Kaabnax Hat",neck="Aoidos' Matinee",ear1="Psystorm Earring",ear2="Lifestorm Earring",
- body="Bihu Justaucorps +1",hands="Gende. Gauges +1",ring1="Mediator's Ring",ring2="Sangoma Ring",
- back="Kumbira Cape",waist="Demonry Sash",legs="Bihu Cannions +1",feet="Brioso Slippers +1"}
- -- For song defbuffs (accuracy primary, duration secondary)
- sets.midcast.ResistantSongDebuff = {main="Twebuliij",sub="Mephitis Grip",range="Gjallarhorn",
- head="Kaabnax Hat",neck="Aoidos' Matinee",ear1="Psystorm Earring",ear2="Lifestorm Earring",
- body="Bihu Justaucorps +1",hands="Gende. Gauges +1",ring1="Mediator's Ring",ring2="Sangoma Ring",
- back="Kumbira Cape",waist="Demonry Sash",legs="Bihu Cannions +1",feet="Brioso Slippers +1"}
- -- Song-specific recast reduction
- sets.midcast.SongRecast = {ear2="Loquacious Earring",
- ring1="Prolix Ring",
- back="Harmony Cape",waist="Corvax Sash",legs="Aoidos' Rhing. +2"}
- --sets.midcast.Daurdabla = set_combine(sets.midcast.FastRecast, sets.midcast.SongRecast, {range=info.ExtraSongInstrument})
- -- Cast spell with normal gear, except using Daurdabla instead
- sets.midcast.Daurdabla = {range=info.ExtraSongInstrument}
- -- Dummy song with Daurdabla; minimize duration to make it easy to overwrite.
- sets.midcast.DaurdablaDummy = {main="Izhiikoh",range=info.ExtraSongInstrument,
- head="Nahtirah Hat",neck="Wind Torque",ear1="Psystorm Earring",ear2="Lifestorm Earring",
- body="Marduk's Jubbah +1",hands="Gende. Gauges +1",ring1="Prolix Ring",ring2="Sangoma Ring",
- back="Swith Cape",waist="Witful Belt",legs="Artsieq Hose",feet="Chelona Boots +1"}
- -- Other general spells and classes.
- sets.midcast.Cure = {main="Galenus",sub="Genbu's Shield",
- head="Gendewitha Caubeen +1",
- body="Gendewitha Bliaut +1",hands="Bokwus Gloves",ring1="Ephedra Ring",ring2="Sirona's Ring",
- back="Tempered Cape", legs="Nares Trews",feet="Gendewitha Galoshes +1"}
- sets.midcast.Curaga = sets.midcast.Cure
- sets.midcast.Stoneskin = {
- head="Nahtirah Hat",
- body="Gendewitha Bliaut +1",hands="Gendewitha Gages +1",
- legs="Gendewitha Spats +1",feet="Gendewitha Galoshes +1"}
- sets.midcast.Cursna = {
- neck="Malison Medallion",
- hands="Hieros Mittens",ring1="Ephedra Ring", feet="Gendewitha Boots +1"}
- -- Sets to return to when not performing an action.
- -- Resting sets
- sets.resting = {main=gear.Staff.HMP,
- body="Gendewitha Bliaut",
- legs="Nares Trews",feet="Chelona Boots +1"}
- -- Idle sets (default idle set not needed since the other three are defined, but leaving for testing purposes)
- sets.idle = {main="Terra's Staff", sub="Mephitis Grip",range="Gjallarhorn",
- head="Gendewitha Caubeen +1",neck="Twilight Torque",ear1="Merman's Earring",ear2="Merman's Earring",
- body="Gendewitha Bliaut +1",hands="Gendewitha Gages +1",ring1="Succor Ring",ring2="Merman's Ring",
- back="Umbra Cape",waist="Slipor Sash",legs="Gendewitha Spats +1",feet="Gendewitha Boots +1"}
- sets.idle.PDT = {main="Terra's Staff", sub="Mephitis Grip",range="Gjallarhorn",
- head="Gendewitha Caubeen +1",neck="Twilight Torque",ear1="Merman's Earring",ear2="Merman's Earring",
- body="Gendewitha Bliaut +1",hands="Gendewitha Gages +1",ring1="Succor Ring",ring2="Merman's Ring",
- back="Umbra Cape",waist="Slipor Sash",legs="Gendewitha Spats +1",feet="Gendewitha Boots +1"}
- sets.idle.Town = {main="Izhiikoh", sub="Genbu's Shield",range="Gjallarhorn",
- head="Aoidos' Calot +2",neck="Twilight Torque",ear1="Merman's Earring",ear2="Merman's Earring",
- body="Marduk's Jubbah +1",hands="Gendewitha Gages +1",ring1="Merman's Ring",ring2="Merman's Ring",
- back="Umbra Cape",waist="Witful Belt",legs="Gendewitha Spats +1",feet="Aoidos' Cothurnes +2"}
- sets.idle.Weak = {main=gear.Staff.PDT,sub="Mephitis Grip",range="Gjallarhorn",
- head="Gendewitha Caubeen",neck="Twilight Torque",ear1="Bloodgem Earring",
- body="Gendewitha Bliaut",hands="Gendewitha Gages",ring1="Defending Ring",ring2="Sangoma Ring",
- back="Umbra Cape",waist="Flume Belt",legs="Gendewitha Spats",feet="Gendewitha Galoshes"}
- -- Defense sets
- sets.defense.PDT = {
- head="Gendewitha Caubeen",neck="Twilight Torque",
- body="Gendewitha Bliaut",hands="Gendewitha Gages",ring1="Defending Ring",ring2=gear.DarkRing.physical,
- back="Umbra Cape",waist="Flume Belt",legs="Gendewitha Spats",feet="Gendewitha Galoshes"}
- sets.defense.MDT = {
- head="Nahtirah Hat",neck="Twilight Torque",
- body="Gendewitha Bliaut",hands="Gendewitha Gages",ring1="Defending Ring",ring2="Shadow Ring",
- back="Engulfer Cape",waist="Flume Belt",legs="Bihu Cannions",feet="Gendewitha Galoshes"}
- sets.Kiting = {feet="Aoidos' Cothurnes +2"}
- sets.latent_refresh = {waist="Fucho-no-obi"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement