|
brd gearswap help
By Xxpoure 2014-11-07 19:38:11
ok so i kinda made a simple brd GS (cos i cant use them damn triggers and its killing me)
but in the trigger gearswap by Kinematics it will use pianissimo on a party member if i have them targeted
but i love the fact my bard will use pianissimo if i cast a song on some one in party .. cos normally my songs are in macro as <me> :)
very new to gearswap and i know im a noob so any help would be grateful :)
maby i have the command in the wrong place or some thing but idk
Code function get_sets()
sets.precast = {}
-- Precast Sets
sets.precast ['Soul Voice'] = {legs="Bihu Cannions +1"}
sets.precast ['Nightingale'] = {feet="Bihu Slippers"}
sets.precast ['Troubadour'] = {body="Bihu Jstcorps +1"}
sets.precast.Fast = {main="Felibre's Dague",sub="Genbu's Shield",head="Aoidos' calot +2",body="Sha'ir Manteel",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Aoidos Earring",hands="Gendewitha Gages +1",neck="Aoidos' Matinee",legs="Artsieq hose",feet="Bihu Slippers",waist="Aoidos' Belt",back="Swith Cape"}
sets.precast.Haste = {main="Lehbrailg +2",head="Nahtirah Hat",body="Marduk's Jubbah +1",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Gifted Earring",hands="Gendewitha Gages +1",neck="Orunmila's torque",legs="Artsieq hose",sub="Mephitis Grip",feet="Bihu Slippers",waist="Witful Belt",back="Swith Cape"}
sets.precast.Cure = {main="Arka IV",head="Nahtirah Hat",body="Heka's Kalasiris",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Gifted Earring",hands="Gendewitha Gages +1",neck="Orunmila's torque",legs="Artsieq hose",sub="Mephitis Grip",feet="Chelona Boots",waist="Acerbic Sash +1",back="Pahtli Cape"}
-- Midcast Sets
sets.midcast = {}
sets.midcast.Minuet = {main="Legato Dagger",sub="Genbu's Shield",head="Aoidos' calot +2",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Aoidos' matinee",legs="Aoidos' Rhingrave +2",feet="Aoidos' Cothurnes +2",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Minne = {main="Legato Dagger",sub="Genbu's Shield",head="Aoidos' calot +2",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Aoidos' matinee",legs="Aoidos' Rhingrave +2",feet="Aoidos' Cothurnes +2",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Mad = {main="Legato Dagger",sub="Genbu's Shield",head="Aoidos' calot +2",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Wind Torque",legs="Marduk's Shalwar +1",feet="Brioso Slippers +1",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Ballad = {main="Legato Dagger",sub="Genbu's Shield",head="Bihu Roundlet +1",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Wind Torque",legs="Aoidos' Rhingrave +2",feet="Brioso Slippers +1",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.March = {main="Legato Dagger",sub="Genbu's Shield",head="Bihu Roundlet +1",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Wind Torque",legs="Marduk's Shalwar +1",feet="Brioso Slippers +1",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Prelude = {main="Legato Dagger",sub="Genbu's Shield",head="Aoidos' calot +2",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Aoidos' matinee",legs="Aoidos' Rhingrave +2",feet="Aoidos' Cothurnes +2",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Scherzo = {main="Legato Dagger",sub="Genbu's Shield",head="Aoidos' calot +2",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Aoidos' matinee",legs="Aoidos' Rhingrave +2",feet="Aoidos' Cothurnes +2",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Lullaby = {main="Lehbrailg +2",head="Bihu Roundlet +1",body="Brioso Just. +1",ring1="Sangoma ring",ring2="Carb. Ring",ear1="Enchanter Earring +1",ear2="Gwati Earring",
hands="Bihu cuffs +1",neck="Dualism Collar +1",legs="Bihu Cannions +1",sub="Mephitis Grip",feet="Artsieq Boots",waist="Demonry Sash",back="Rhapsode's Cape"}
sets.midcast.Elegy = {main="Lehbrailg +2",head="Bihu Roundlet +1",body="Brioso Just. +1",ring1="Sangoma ring",ring2="Carb. Ring",ear1="Enchanter Earring +1",ear2="Gwati Earring",
hands="Bihu cuffs +1",neck="Noetic Torque",legs="Bihu Cannions +1",sub="Mephitis Grip",feet="Artsieq Boots",waist="Demonry Sash",back="Rhapsode's Cape"}
sets.midcast.Finale = {main="Lehbrailg +2",head="Bihu Roundlet +1",body="Brioso Just. +1",ring1="Sangoma ring",ring2="Carb. Ring",ear1="Enchanter Earring +1",ear2="Gwati Earring",
hands="Bihu cuffs +1",neck="Dualism Collar +1",legs="Bihu Cannions +1",sub="Mephitis Grip",feet="Artsieq Boots",waist="Demonry Sash",back="Rhapsode's Cape"}
sets.midcast.Threnody = {main="Lehbrailg +2",head="Bihu Roundlet +1",body="Brioso Just. +1",ring1="Sangoma ring",ring2="Carb. Ring",ear1="Enchanter Earring +1",ear2="Gwati Earring",
hands="Bihu cuffs +1",neck="Noetic Torque",legs="Bihu Cannions +1",sub="Mephitis Grip",feet="Artsieq Boots",waist="Demonry Sash",back="Rhapsode's Cape"}
sets.midcast.Pining = {main="Lehbrailg +2",head="Bihu Roundlet +1",body="Brioso Just. +1",ring1="Sangoma ring",ear1="Enchanter Earring +1",ear2="Gwati Earring",
hands="Brioso cuffs +1",neck="Aoidos' matinee",legs="Bihu Cannions +1",sub="Mephitis Grip",feet="Brioso Slippers +1",waist="Ovate Rope",back="Rhapsode's Cape"}
sets.midcast.Cure = {main="Arka IV",head="Gendewitha Caubeen",body="Heka's Kalasiris",ring1="Prolix ring",ring2="Sirona's Ring",ear2="Loquac. Earring",
ear1="Gifted Earring",hands="Bokwus Gloves",neck="Phalaina Locket",legs="Nares Trews",sub="Mephitis Grip",feet="Rubeus Boots",waist="Witful Belt",back="Rhapsode's cape"}
--Aftercast Sets
sets.aftercast = {}
sets.aftercast.Magi = {main="Terra's staff",ranged="Gjallarhorn",head="Aoidos' Calot +2",neck="Twilight Torque",ear1="Musical Earring",ear2="Moonshade Earring",
body="Marduk's Jubbah +1",hands="Marduk's Dastanas +1",ring1="Dark Ring",ring2="Dark Ring",sub="Mephitis Grip",back="Kumbira Cape",waist="Witful Belt",legs="Marduk's Shalwar +1",feet="Aoidos' Cothurnes +2"}
TP_Set_Names = {"DD",}
--This is here because sense we have multi sub for sets.TP we need to make table to start it.
sets.TP = {}
sets.TP.BRD = {}
sets.TP.BRD.DD = {main="Izhiikoh",sub="Eminent Dagger",head="Nahtirah Hat",body="Ischemia Chasu.",neck="Twilight Torque",hands="Umuthi Gloves",ring1="Dark Ring",ring2="Defending Ring",
legs="Bihu Cannions +1",waist="Dynamic Belt +1",feet="Bihu Slippers",back="Letalis Mantle",ear1="Suppanomimi",ear2="Brutal Earring"}
end
-------------------------------------------------------------------------------------------------------------------
-- Job- versions of event handlers, allowing overriding default handling.
-------------------------------------------------------------------------------------------------------------------
-- Set eventArgs.handled to true if we don't want any automatic gear equipping to be done.
-- Set eventArgs.useMidcastGear to true if we want midcast gear equipped on precast.
function job_precast(spell, action, spellMap, eventArgs)
if state.Buff[spell.english] ~= nil then
state.Buff[spell.english] = true
end
if spell.type == 'BardSong' then
-- Auto-Pianissimo
if spell.target.type == 'PLAYER' and not spell.target.charmed and not state.Buff['Pianissimo'] then
send_command('@input /ja "Pianissimo" <me>; wait 1.5; input /ma "'..spell.name..'" '..spell.target.name)
eventArgs.cancel = true
return
end
end
end
function pretarget(spell)
end
function precast(spell)
if string.find(spell.english,'Cur') then
equip(sets.precast.Cure)
elseif string.find(spell.english,'Haste') then
equip(sets.precast.Haste)
elseif string.find(spell.english,'Erase') then
equip(sets.precast.Haste)
elseif spell then
equip(sets.precast.Fast)
end
end
function midcast(spell)
if string.find(spell.english,'Cur') then
equip(sets.midcast.Cure)
elseif string.find(spell.english,'Minuet') then
equip(sets.midcast.Minuet)
elseif string.find(spell.english,'Minne') then
equip(sets.midcast.Minne)
elseif string.find(spell.english,'Madrigal') then
equip(sets.midcast.Mad)
elseif string.find(spell.english,'Ballad') then
equip(sets.midcast.Ballad)
elseif string.find(spell.english,'March') then
equip(sets.midcast.March)
elseif string.find(spell.english,'Prelude') then
equip(sets.midcast.Prelude)
elseif string.find(spell.english,'Scherzo') then
equip(sets.midcast.Scherzo)
elseif string.find(spell.english,'Lullaby') then
equip(sets.midcast.Lullaby)
elseif string.find(spell.english,'Elegy') then
equip(sets.midcast.Elegy)
elseif string.find(spell.english,'Finale') then
equip(sets.midcast.Finale)
elseif string.find(spell.english,'Threnody') then
equip(sets.midcast.Threnody)
elseif string.find(spell.english,'Pining') then
equip(sets.midcast.Pining)
end
end
--
function aftercast(spell)
if spell then
equip(sets.aftercast.Magi)
if player.status == 'Engaged' then
if player.equipment.sub == 'Eminent Dagger' then
equip(sets.TP.BRD.DD)
end
end
end
end
-- Select default macro book on initial load or subjob change.
function select_default_macro_book()
set_macro_page(2, 18)
end
function self_command(command)
if command == 'coffer' then
cycle = 0
invCount = windower.ffxi.get_bag_info(0).count
if invCount == 80 then
add_to_chat(140,'Inv. full. Ending cycle')
elseif player.inventory["Velkk Coffer"] then
send_command('input /item "Velkk Coffer" <me> ')
cycle = 1
else
add_to_chat(140,'No Coffers found in inv.')
send_command('findall Velkk Coffer')
end
if cycle == 1 then
send_command('wait 2;gs c coffer')
end
end
end
Necro Bump Detected!
[262 days between previous and next post]
By Armyguy 2015-07-27 19:34:09
Thankyou.
For BRD with a Daurdabla. how do i set the Dummy songs.
-- 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 = 'Daurdabla'
-- How many extra songs we can keep from Daurdabla/Terpander
info.ExtraSongs = 2
-- 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
In additional Local binds do i add another Song and change Chocobo Mazurka to the song i want.
By Armyguy 2015-08-04 16:37:32
BUMP! :)
ok so i kinda made a simple brd GS (cos i cant use them damn triggers and its killing me)
but in the trigger gearswap by Kinematics it will use pianissimo on a party member if i have them targeted
but i love the fact my bard will use pianissimo if i cast a song on some one in party .. cos normally my songs are in macro as <me> :)
very new to gearswap and i know im a noob so any help would be grateful :)
maby i have the command in the wrong place or some thing but idk
Code function get_sets()
sets.precast = {}
-- Precast Sets
sets.precast ['Soul Voice'] = {legs="Bihu Cannions +1"}
sets.precast ['Nightingale'] = {feet="Bihu Slippers"}
sets.precast ['Troubadour'] = {body="Bihu Jstcorps +1"}
sets.precast.Fast = {main="Felibre's Dague",sub="Genbu's Shield",head="Aoidos' calot +2",body="Sha'ir Manteel",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Aoidos Earring",hands="Gendewitha Gages +1",neck="Aoidos' Matinee",legs="Artsieq hose",feet="Bihu Slippers",waist="Aoidos' Belt",back="Swith Cape"}
sets.precast.Haste = {main="Lehbrailg +2",head="Nahtirah Hat",body="Marduk's Jubbah +1",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Gifted Earring",hands="Gendewitha Gages +1",neck="Orunmila's torque",legs="Artsieq hose",sub="Mephitis Grip",feet="Bihu Slippers",waist="Witful Belt",back="Swith Cape"}
sets.precast.Cure = {main="Arka IV",head="Nahtirah Hat",body="Heka's Kalasiris",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Gifted Earring",hands="Gendewitha Gages +1",neck="Orunmila's torque",legs="Artsieq hose",sub="Mephitis Grip",feet="Chelona Boots",waist="Acerbic Sash +1",back="Pahtli Cape"}
-- Midcast Sets
sets.midcast = {}
sets.midcast.Minuet = {main="Legato Dagger",sub="Genbu's Shield",head="Aoidos' calot +2",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Aoidos' matinee",legs="Aoidos' Rhingrave +2",feet="Aoidos' Cothurnes +2",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Minne = {main="Legato Dagger",sub="Genbu's Shield",head="Aoidos' calot +2",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Aoidos' matinee",legs="Aoidos' Rhingrave +2",feet="Aoidos' Cothurnes +2",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Mad = {main="Legato Dagger",sub="Genbu's Shield",head="Aoidos' calot +2",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Wind Torque",legs="Marduk's Shalwar +1",feet="Brioso Slippers +1",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Ballad = {main="Legato Dagger",sub="Genbu's Shield",head="Bihu Roundlet +1",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Wind Torque",legs="Aoidos' Rhingrave +2",feet="Brioso Slippers +1",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.March = {main="Legato Dagger",sub="Genbu's Shield",head="Bihu Roundlet +1",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Wind Torque",legs="Marduk's Shalwar +1",feet="Brioso Slippers +1",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Prelude = {main="Legato Dagger",sub="Genbu's Shield",head="Aoidos' calot +2",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Aoidos' matinee",legs="Aoidos' Rhingrave +2",feet="Aoidos' Cothurnes +2",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Scherzo = {main="Legato Dagger",sub="Genbu's Shield",head="Aoidos' calot +2",body="Aoidos' Hngrln. +2",ring1="Prolix ring",ring2="Veneficium Ring",ear2="Loquac. Earring",
ear1="Musical Earring",hands="Aoidos' Manchettes +2",neck="Aoidos' matinee",legs="Aoidos' Rhingrave +2",feet="Aoidos' Cothurnes +2",waist="Demonry Sash",back="Rhapsode's cape"}
sets.midcast.Lullaby = {main="Lehbrailg +2",head="Bihu Roundlet +1",body="Brioso Just. +1",ring1="Sangoma ring",ring2="Carb. Ring",ear1="Enchanter Earring +1",ear2="Gwati Earring",
hands="Bihu cuffs +1",neck="Dualism Collar +1",legs="Bihu Cannions +1",sub="Mephitis Grip",feet="Artsieq Boots",waist="Demonry Sash",back="Rhapsode's Cape"}
sets.midcast.Elegy = {main="Lehbrailg +2",head="Bihu Roundlet +1",body="Brioso Just. +1",ring1="Sangoma ring",ring2="Carb. Ring",ear1="Enchanter Earring +1",ear2="Gwati Earring",
hands="Bihu cuffs +1",neck="Noetic Torque",legs="Bihu Cannions +1",sub="Mephitis Grip",feet="Artsieq Boots",waist="Demonry Sash",back="Rhapsode's Cape"}
sets.midcast.Finale = {main="Lehbrailg +2",head="Bihu Roundlet +1",body="Brioso Just. +1",ring1="Sangoma ring",ring2="Carb. Ring",ear1="Enchanter Earring +1",ear2="Gwati Earring",
hands="Bihu cuffs +1",neck="Dualism Collar +1",legs="Bihu Cannions +1",sub="Mephitis Grip",feet="Artsieq Boots",waist="Demonry Sash",back="Rhapsode's Cape"}
sets.midcast.Threnody = {main="Lehbrailg +2",head="Bihu Roundlet +1",body="Brioso Just. +1",ring1="Sangoma ring",ring2="Carb. Ring",ear1="Enchanter Earring +1",ear2="Gwati Earring",
hands="Bihu cuffs +1",neck="Noetic Torque",legs="Bihu Cannions +1",sub="Mephitis Grip",feet="Artsieq Boots",waist="Demonry Sash",back="Rhapsode's Cape"}
sets.midcast.Pining = {main="Lehbrailg +2",head="Bihu Roundlet +1",body="Brioso Just. +1",ring1="Sangoma ring",ear1="Enchanter Earring +1",ear2="Gwati Earring",
hands="Brioso cuffs +1",neck="Aoidos' matinee",legs="Bihu Cannions +1",sub="Mephitis Grip",feet="Brioso Slippers +1",waist="Ovate Rope",back="Rhapsode's Cape"}
sets.midcast.Cure = {main="Arka IV",head="Gendewitha Caubeen",body="Heka's Kalasiris",ring1="Prolix ring",ring2="Sirona's Ring",ear2="Loquac. Earring",
ear1="Gifted Earring",hands="Bokwus Gloves",neck="Phalaina Locket",legs="Nares Trews",sub="Mephitis Grip",feet="Rubeus Boots",waist="Witful Belt",back="Rhapsode's cape"}
--Aftercast Sets
sets.aftercast = {}
sets.aftercast.Magi = {main="Terra's staff",ranged="Gjallarhorn",head="Aoidos' Calot +2",neck="Twilight Torque",ear1="Musical Earring",ear2="Moonshade Earring",
body="Marduk's Jubbah +1",hands="Marduk's Dastanas +1",ring1="Dark Ring",ring2="Dark Ring",sub="Mephitis Grip",back="Kumbira Cape",waist="Witful Belt",legs="Marduk's Shalwar +1",feet="Aoidos' Cothurnes +2"}
TP_Set_Names = {"DD",}
--This is here because sense we have multi sub for sets.TP we need to make table to start it.
sets.TP = {}
sets.TP.BRD = {}
sets.TP.BRD.DD = {main="Izhiikoh",sub="Eminent Dagger",head="Nahtirah Hat",body="Ischemia Chasu.",neck="Twilight Torque",hands="Umuthi Gloves",ring1="Dark Ring",ring2="Defending Ring",
legs="Bihu Cannions +1",waist="Dynamic Belt +1",feet="Bihu Slippers",back="Letalis Mantle",ear1="Suppanomimi",ear2="Brutal Earring"}
end
-------------------------------------------------------------------------------------------------------------------
-- Job- versions of event handlers, allowing overriding default handling.
-------------------------------------------------------------------------------------------------------------------
-- Set eventArgs.handled to true if we don't want any automatic gear equipping to be done.
-- Set eventArgs.useMidcastGear to true if we want midcast gear equipped on precast.
function job_precast(spell, action, spellMap, eventArgs)
if state.Buff[spell.english] ~= nil then
state.Buff[spell.english] = true
end
if spell.type == 'BardSong' then
-- Auto-Pianissimo
if spell.target.type == 'PLAYER' and not spell.target.charmed and not state.Buff['Pianissimo'] then
send_command('@input /ja "Pianissimo" <me>; wait 1.5; input /ma "'..spell.name..'" '..spell.target.name)
eventArgs.cancel = true
return
end
end
end
function pretarget(spell)
end
function precast(spell)
if string.find(spell.english,'Cur') then
equip(sets.precast.Cure)
elseif string.find(spell.english,'Haste') then
equip(sets.precast.Haste)
elseif string.find(spell.english,'Erase') then
equip(sets.precast.Haste)
elseif spell then
equip(sets.precast.Fast)
end
end
function midcast(spell)
if string.find(spell.english,'Cur') then
equip(sets.midcast.Cure)
elseif string.find(spell.english,'Minuet') then
equip(sets.midcast.Minuet)
elseif string.find(spell.english,'Minne') then
equip(sets.midcast.Minne)
elseif string.find(spell.english,'Madrigal') then
equip(sets.midcast.Mad)
elseif string.find(spell.english,'Ballad') then
equip(sets.midcast.Ballad)
elseif string.find(spell.english,'March') then
equip(sets.midcast.March)
elseif string.find(spell.english,'Prelude') then
equip(sets.midcast.Prelude)
elseif string.find(spell.english,'Scherzo') then
equip(sets.midcast.Scherzo)
elseif string.find(spell.english,'Lullaby') then
equip(sets.midcast.Lullaby)
elseif string.find(spell.english,'Elegy') then
equip(sets.midcast.Elegy)
elseif string.find(spell.english,'Finale') then
equip(sets.midcast.Finale)
elseif string.find(spell.english,'Threnody') then
equip(sets.midcast.Threnody)
elseif string.find(spell.english,'Pining') then
equip(sets.midcast.Pining)
end
end
--
function aftercast(spell)
if spell then
equip(sets.aftercast.Magi)
if player.status == 'Engaged' then
if player.equipment.sub == 'Eminent Dagger' then
equip(sets.TP.BRD.DD)
end
end
end
end
-- Select default macro book on initial load or subjob change.
function select_default_macro_book()
set_macro_page(2, 18)
end
function self_command(command)
if command == 'coffer' then
cycle = 0
invCount = windower.ffxi.get_bag_info(0).count
if invCount == 80 then
add_to_chat(140,'Inv. full. Ending cycle')
elseif player.inventory["Velkk Coffer"] then
send_command('input /item "Velkk Coffer" <me> ')
cycle = 1
else
add_to_chat(140,'No Coffers found in inv.')
send_command('findall Velkk Coffer')
end
if cycle == 1 then
send_command('wait 2;gs c coffer')
end
end
end
|
|