|
Gearswap without trigger songs?
Bahamut.Unafay
サーバ: Bahamut
Game: FFXI
Posts: 28
By Bahamut.Unafay 2014-05-19 09:14:31
Does anyone have a gearswap without trigger songs? I'm really hating this change as I barely have a grasp on spellcast.
Cerberus.Conagh
サーバ: Cerberus
Game: FFXI
Posts: 3189
By Cerberus.Conagh 2014-05-19 10:07:33
Does anyone have a gearswap without trigger songs? I'm really hating this change as I barely have a grasp on spellcast.
Complaining about something that can't be helped doesn;t help the situation, but Yes its actually rather straight forward and I've posted this in a few forums, and its on most of the examples.
Here it is again though for ease of access.
Code sets.Idle = {}
sets.Idle.index = {'Standard','DT'}
Idle_ind = 1
sets.Idle.Standard = {ammo="Cheruski needle",
head="Whirlpool Mask",neck="Twilight torque", ear1="Ethereal earring", ear2="Heartseeker earring",
body="Hagondes Coat",hands="Serpentes cuffs",ring1="Dark ring",ring2="Dark ring",
back="Atheling mantle",waist="Flume belt",legs="Blood cuisses",feet="Serpentes sabots"}
sets.Idle.DT = {
main="Buramenk'ah",
sub="Genbu's Shield",
ammo="Cheruski Needle",
head="Lithelimb Cap",
body="Hagondes Coat",
hands="Iuitl Wristbands",
legs="Blood cuisses",
feet="Hag. Sabots +1",
neck="Twilight Torque",
waist="Flume Belt",
left_ear="Heartseeker Earring",
right_ear="Dudgeon Earring",
left_ring="Dark Ring",
right_ring="Jelly Ring",
back="Cheviot Cape",
TP Rule ~
Code function status_change(new,old)
if player.status == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
else
equip(sets.Idle[sets.Idle.index[Idle_ind]])
end
end
-- A general TP rule --
function equip_TP_set()
equip(sets.TP[sets.TP.index[TP_ind]])
equip(sets.Earring[sets.Earring.index[Earring_ind]])
end
Index - You're variable to swap gearsets, the triger is below (Trigger spells)
Code function self_command(command)
if command == 'toggle TP set' then
TP_ind = TP_ind +1
if TP_ind > #sets.TP.index then TP_ind = 1 end
send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
equip(sets.TP[sets.TP.index[TP_ind]])
elseif command == 'toggle Idle set' then
Idle_ind = Idle_ind +1
if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
equip(sets.Idle[sets.Idle.index[Idle_ind]])
elseif command == 'toggle Req set' then
Requiescat_ind = Requiescat_ind +1
if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
send_command('@input /echo <----- Requiescat Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
elseif command == 'toggle CDC set' then
ChantDuCygne_ind = ChantDuCygne_ind +1
if ChantDuCygne_ind > #sets.ChantDuCygne.index then ChantDuCygne_ind = 1 end
send_command('@input /echo <----- Chant du Cygne Set changed to '..sets.ChantDuCygne.index[ChantDuCygne_ind]..' ----->')
elseif command == 'equip TP set' then
equip_TP_set()
elseif command == 'equip Idle set' then
equip_Idle_set()
end
end
So in this example the "triger" would be a toggle where in game you would macro
/console gs c toggle TP set or type //gs c toggle TP set
in game it shows this as an Echo:
send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
It tells you what your index is set to so DT or Idle.
Cerberus.Conagh
サーバ: Cerberus
Game: FFXI
Posts: 3189
By Cerberus.Conagh 2014-05-19 10:09:44
To help with a full working set . . .
Here's the rest of my blu one, the spellsets need some updates doing.
Code function get_sets()
send_command('input /macro book 2;wait .1;input /macro set 1')
-- Indexing, this is a method to use a Numerical Value to equip certain sets, Index allows you to create 5 sets within 1 rule (similar to variables)--
-- By doing this you can have you Generic TP set to 1, which is haste, a simple command (illustrated at the bottom) allows you to update your set (index)--
--Idle Sets--
sets.Idle = {}
sets.Idle.index = {'Standard','DT'}
Idle_ind = 1
sets.Idle.Standard = {ammo="Cheruski needle",
head="Whirlpool Mask",neck="Twilight torque", ear1="Ethereal earring", ear2="Heartseeker earring",
body="Hagondes Coat",hands="Serpentes cuffs",ring1="Dark ring",ring2="Dark ring",
back="Atheling mantle",waist="Flume belt",legs="Blood cuisses",feet="Serpentes sabots"}
sets.Idle.DT = {
main="Buramenk'ah",
sub="Genbu's Shield",
ammo="Cheruski Needle",
head="Lithelimb Cap",
body="Hagondes Coat",
hands="Iuitl Wristbands",
legs="Blood cuisses",
feet="Hag. Sabots +1",
neck="Twilight Torque",
waist="Flume Belt",
left_ear="Heartseeker Earring",
right_ear="Dudgeon Earring",
left_ring="Dark Ring",
right_ring="Jelly Ring",
back="Cheviot Cape",
}
--TP Sets--
sets.TP = {}
sets.TP.index = {'Standard', 'StandardMaxBuff', 'AccuracyLite', 'AccuracyLiteMaxBuff', 'AccuracyMid', 'AccuracyMidMaxBuff', 'AccuracyHigh', 'AccuracyHighMaxBuff', 'AccuracyExtreme', 'AccuracyFull', 'DT', 'DTAccuracy'}
--1='Standard', 2='StandardMaxBuff', 3='AccuracyLite', 4='AccuracyLiteMaxBuff', 5='AccuracyMid', 6='AccuracyMidMaxBuff', 7='AccuracyHigh', 8='AccuracyHighMaxBuff', 9='AccuracyExtreme', 10='AccuracyFull', 11='DT', 12='DTAccuracy'}
TP_ind = 1
-- As you can see here we are using set_combine this is known as Base Set and New set from Spellcast, This allows you to combine Set.earring, with the new gear--
-- The New gear is then structured out ~ in this instance we have a set of gear with a Reference to an index, which will check what your variable is for --
-- Earrings and will equip those into that slow--
sets.TP.Standard = {ammo="Cheruski needle", Ear1="Brutal Earring", Ear2="Suppanomimi",
head="Thurandaut chapeau +1",neck="Asperity necklace",
body="Thaumas coat",hands="Aeto. Gloves +1",ring2="Epona's ring",ring1="Rajas ring",
back="Atheling mantle",waist="Twilight belt",legs="Iuitl tights",feet="Qaaxo leggings"}
sets.TP.StandardMaxBuff = {ammo="Cheruski needle",Ear1="Heartseeker Earring", Ear2="Dudgeon Earring",
head="Whirlpool Mask",neck="Asperity necklace",
body="Thaumas coat",hands="Aeto. Gloves +1",ring2="Epona's ring",ring1="Rajas ring",
back="Atheling mantle",waist="Twilight belt",legs="Iuitl tights",feet="Qaaxo leggings"}
sets.TP.AccuracyLite = {ammo="Honed Tathlum",Ear1="Brutal Earring", Ear2="Suppanomimi",
head="Thurandaut chapeau +1",neck="Asperity necklace",
body="Thaumas coat",hands="Aeto. Gloves +1",ring2="Epona's ring",ring1="Rajas ring",
back="Letalis mantle",waist="Hurch'lan Sash",legs="Iuitl tights",feet="Qaaxo leggings"}
sets.TP.AccuracyLiteMaxBuff = {ammo="Honed Tathlum",Ear1="Heartseeker Earring", Ear2="Dudgeon Earring",
head="Whirlpool Mask",neck="Asperity necklace",
body="Thaumas coat",hands="Aeto. Gloves +1",ring2="Epona's ring",ring1="Rajas ring",
back="Letalis mantle",waist="Windbuffet Belt",legs="Iuitl tights",feet="Qaaxo leggings"}
sets.TP.AccuracyMid = {ammo="Honed Tathlum",Ear1="Brutal Earring", Ear2="Suppanomimi",
head="Thurandaut chapeau +1",neck="Asperity necklace",
body="Thaumas coat",hands="Iuitl Wristbands",ring2="Epona's ring",ring1="Rajas ring",
back="Letalis mantle",waist="Hurch'lan Sash",legs="Manibozho Brais",feet="Qaaxo leggings"}
sets.TP.AccuracyMidMaxBuff = {ammo="Honed Tathlum",Ear1="Heartseeker Earring", Ear2="Dudgeon Earring",
head="Whirlpool Mask",neck="Asperity necklace",
body="Thaumas coat",hands="Iuitl Wristbands",ring2="Epona's ring",ring1="Rajas ring",
back="Letalis mantle",waist="Windbuffet Belt",legs="Manibozho Brais",feet="Qaaxo leggings"}
sets.TP.AccuracyHigh = {ammo="Honed Tathlum",Ear1="Brutal Earring", Ear2="Suppanomimi",
head="Thurandaut chapeau +1",neck="Peacock Charm",
body="Thaumas coat",hands="Luh. Bazubands +1",ring2="Epona's ring",ring1="Rajas ring",
back="Letalis mantle",waist="Hurch'lan Sash",legs="Manibozho Brais",feet="Qaaxo leggings"}
sets.TP.AccuracyHighMaxBuff = {ammo="Honed Tathlum",Ear1="Heartseeker Earring", Ear2="Dudgeon Earring",
head="Whirlpool Mask",neck="Peacock Charm",
body="Thaumas coat",hands="Luh. Bazubands +1",ring2="Epona's ring",ring1="Rajas ring",
back="Letalis mantle",waist="Windbuffet Belt",legs="Manibozho Brais",feet="Qaaxo leggings"}
sets.TP.AccuracyExtreme = {ammo="Honed Tathlum",Ear1="Heartseeker Earring", Ear2="Dudgeon Earring",
head="Whirlpool Mask",neck="Peacock Charm",
body="Thaumas coat",hands="Luh. Bazubands +1",ring2="Mars's ring",ring1="Rajas ring",
back="Letalis mantle",waist="Windbuffet belt",legs="Manibozho Brais",feet="Qaaxo leggings"}
sets.TP.AccuracyFull = {ammo="Honed Tathlum", head="Thur. Chapeau +1",body="Luhlaza Jubbah +1",hands="Luh. Bazubands +1",
legs="Manibozho Brais",feet="Assim. Charuqs +1",neck="Peacock Charm",waist="Hurch'lan Sash",left_ear="Heartseeker Earring",
right_ear="Dudgeon Earring",left_ring="Rajas Ring",right_ring="Mars's Ring",back="Letalis Mantle",}
sets.TP.DT = {
main="Buramenk'ah",
sub="Genbu's Shield",
ammo="Cheruski Needle",
head="Hagondes hat",
body="Hagondes Coat",
hands="Iuitl Wristbands",
legs="Blood cuisses",
feet="Hag. Sabots +1",
neck="Twilight Torque",
waist="Flume Belt",
left_ear="Heartseeker Earring",
right_ear="Dudgeon Earring",
left_ring="Dark Ring",
right_ring="Jelly Ring",
back="Cheviot Cape",
}
sets.TP.DTAccuracy = {ammo="Honed Tathlum",
head="Iuitl headgear",neck="Twilight torque", ear1="Dudgeon earring", ear2="Heartseeker earring",
body="Hagondes coat",hands="Iuitl wristbands",ring1="Dark ring",ring2="Dark ring",
back="Mollusca mantle",waist="Hurch'lan sash",legs="Iuitl tights",feet="Iuitl gaiters"}
--Weaponskill Sets--
sets.WS = {}
sets.Requiescat = {}
sets.Requiescat.index = {'Attack','AccuracyLite','AccuracyMedium','AccuracyMax'}
Requiescat_ind = 1
sets.Requiescat.Attack = {ammo="Cheruski needle",
head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Luhlaza Jubbah +1",hands="Luh. Bazubands +1",ring2="Epona's ring",ring1="Aquasoul ring",
back="Vespid Mantle",waist="Soil belt",legs="Quiahuiz Trousers",feet="Assim. Charuqs +1"}
sets.Requiescat.AccuracyLite = {ammo="Honed tathlum",
head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Luhlaza Jubbah +1",hands="Luh. Bazubands +1",ring2="Epona's ring",ring1="Aquasoul ring",
back="Vespid Mantle",waist="Soil belt",legs="Quiahuiz Trousers",feet="Assim. Charuqs +1"}
sets.Requiescat.AccuracyMedium = {ammo="Honed tathlum",
head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Luhlaza Jubbah +1",hands="Luh. Bazubands +1",ring2="Epona's ring",ring1="Aquasoul ring",
back="Vespid Mantle",waist="Soil belt",legs="Quiahuiz Trousers",feet="Assim. Charuqs +1"}
sets.Requiescat.AccuracyMax = {ammo="Honed tathlum",
head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Luhlaza Jubbah +1",hands="Luh. Bazubands +1",ring2="Epona's ring",ring1="Aquasoul ring",
back="Letalis mantle",waist="Soil belt",legs="Manibozho Brais",feet="Assim. Charuqs +1"}
sets.ChantDuCygne = {}
sets.ChantDuCygne.index = {'Attack','AccuracyLite'}
ChantDuCygne_ind = 1
sets.ChantDuCygne.Attack = {ammo="Cheruski needle",
head="Uk'uxkaj cap",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
body="Espial gambison",hands="Luh. Bazubands +1",ring1="Epona's ring",ring2="Rajas ring",
back="Rancorous mantle",waist="Windbuffet belt",legs="Manibozho brais",feet="Assim. Charuqs +1"}
sets.ChantDuCygne.AccuracyLite = {ammo="Honed tathlum",
head="Uk'uxkaj cap",neck="Rancor Collar",ear1="Bladeborn earring",ear2="Steelflash earring",
body="Manibozho Jerkin",hands="Luh. Bazubands +1",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling Mantle",waist="Windbuffet belt",legs="Manibozho brais",feet="Assim. Charuqs +1"}
sets.WS.SanguineBlade = {}
sets.WS.SanguineBlade = {ammo="Erlene's notebook",sub="Tamaxchi",
head="Hagondes Hat",neck="Eddy Necklace",ear1="Hecate's earring",ear2="Friomisi Earring",
body="Hagondes Coat",hands="Hagondes Cuffs +1",ring1="Diamond ring",ring2="Rajas ring",
back="Toro cape",waist="Pipilaka belt",legs="Hagondes Pants +1",feet="Hag. Sabots +1"}
--Blue Magic Sets--
sets.BlueMagic = {}
sets.BlueMagic.STR = {ammo="Mavi tathlum",
head="Whirlpool mask",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
body="Assim. jubbah",hands="Luh. Bazubands +1",ring1="Vulcan's ring",ring2="Rajas ring",
back="Zaffre cape",waist="Pipilaka belt",legs="Quiahuiz Trousers",feet="Assim. Jubbah +1"}
sets.BlueMagic.STRDEX = {ammo="Cheruski needle",
head="Uk'uxkaj cap",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
body="Assim. jubbah",hands="Luh. Bazubands +",ring1="Vulcan's ring",ring2="Rajas ring",
back="Zaffre cape",waist="Pipilaka belt",legs="Manibozho brais",feet="Assim. Jubbah +1"}
sets.BlueMagic.STRVIT = {ammo="Mavi tathlum",
head="Whirlpool mask",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
body="Assim. jubbah",hands="Luh. Bazubands +",ring1="Vulcan's ring",ring2="Spiral ring",
back="Zaffre cape",waist="Caudata belt",legs="Quiahuiz Trousers",feet="Assim. Jubbah +1"}
sets.BlueMagic.STRMND = {ammo="Mavi tathlum",
head="Uk'uxkaj cap",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
body="Assim. jubbah",hands="Luh. Bazubands +",ring1="Vulcan's ring",ring2="Aquasoul ring",
back="Zaffre cape",waist="Tarutaru sash",legs="Quiahuiz Trousers",feet="Assim. Jubbah +1"}
sets.BlueMagic.STRrage = {ammo="Mavi tathlum", sub="Tamaxchi",
head="Uk'uxkaj cap",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
body="Assim. jubbah",hands="Luh. Bazubands +s",ring1="Vulcan's ring",ring2="Aquasoul ring",
back="Zaffre cape",waist="Pipilaka belt",legs="Quiahuiz Trousers",feet="Assim. Jubbah +1"}
sets.BlueMagic.AGI = {ammo="Mavi tathlum",
head="Uk'uxkaj cap",neck="Ire torque +1",ear1="Flame pearl",ear2="Flame pearl",
body="Assim. jubbah",hands="Iuitl wristbands",ring1="Vulcan's ring",ring2="Rajas ring",
back="Zaffre cape",waist="Pipilaka belt",legs="Quiahuiz Trousers",feet="Assim. Jubbah +1"}
sets.BlueMagic.INT = {ammo="Erlene's notebook",
head="Hagondes Hat",neck="Eddy Necklace",ear1="Hecate's earring",ear2="Friomisi Earring",
body="Wayfarer Robe",hands="Hagondes Cuffs +1",ring1="Diamond ring",ring2="Rajas ring",
back="Toro cape",waist="Caudata belt",legs="Hagondes Pants +1",feet="Hag. Sabots +1"}
sets.BlueMagic.Cures = {
main="Buramenk'ah", sub="Tamaxchi",ammo="Cheruski Needle",head="Lithelimb Cap",body="Chelona Blazer",hands="Buremte Gloves",
legs="Hagondes Pants +1",feet="Hag. Sabots +1",neck="Colossus's Torque",waist="Chuq'aba belt",right_ear="Heartseeker Earring",
left_ring="Aquasoul Ring",right_ring="Kunaji Ring",back="Tempered Cape"}
sets.BlueMagic.Stun = {ammo="Mavi tathlum",
head="Assim. keffiyeh",neck="Eddy necklace",ear1="Loquac. earring",
body="Assim. Jubbah",hands="Mv. bazubands +2",ring1="Prolix ring",ring2="Sangoma ring",
back="Zaffre cape",waist="Twilight belt",legs="Mavi tayt +2",feet="Iuitl gaiters"}
sets.BlueMagic.HeavyStrike = {ammo="Honed tathlum",
head="Whirlpool mask",neck="Ire torque +1",ear1="Flame pearl",ear2="Heartseeker earring",
body="Assim. Jubbah",hands="Buremte gloves",ring1="Vulcan's ring",ring2="Rajas ring",
back="Zaffre cape",waist="Dynamic belt +1",legs="Manibozho brais",feet="Assim. Jubbah +1"}
sets.BlueMagic.ChargedWhisker = {ammo="Erlene's notebook",sub="Tamaxchi",
head="Hagondes Hat",neck="Eddy Necklace",ear1="Hecate's earring",ear2="Friomisi Earring",
body="Hagondes Coat",hands="Hagondes Cuffs +1",ring1="Diamond ring",ring2="Rajas ring",
back="Toro cape",waist="Pipilaka belt",legs="Hagondes Pants +1",feet="Hag. Sabots +1"}
sets.BlueMagic.MagicAccuracy = {ammo="Mavi Tathlum",
head="Assim. keffiyeh",neck="Eddy necklace",ear1="Psystorm earring",ear2="Lifestorm earring",
body="Assim. jubbah",hands="Hagondes cuffs",ring1="Mediator's ring",ring2="Sangoma ring",
back="Zaffre cape",waist="Ovate rope",legs="Mavi tayt +2",feet="Iuitl gaiters"}
sets.BlueMagic.Skill = {ammo="Mavi tathlum",
head="Mirage keffiyeh +2",neck="Jeweled collar",ear1="Loquac. earring",
body="Assim. Jubbah",hands="Mv. Bazubands +2",ring1="Prolix ring",
back="Zaffre cape",waist="Twilight belt",legs="Mavi tayt +2",feet="Assim. Jubbah +1"}
sets.BlueMagic.SkillRecast = {ammo="Mavi tathlum",
head="Whirlpool mask",neck="Jeweled collar",ear1="Loquac. earring",
body="Assim. Jubbah",hands="Mv. Bazubands +2",ring1="Prolix ring",
back="Swith cape",waist="Twilight belt",legs="Mavi tayt +2",feet="Assim. Jubbah +1"}
sets.BlueMagic.Recast = {ammo="Mavi tathlum",
head="Haruspex Hat",neck="Jeweled collar",ear1="Loquac. earring",
body="Luhlaza Jubbah +1",hands="Thaumas Gloves",ring1="Prolix ring",
back="Swith cape",waist="Twilight belt",legs="Enif cosciales",feet="Assim. Jubbah +1"}
--Utility Sets--
sets.Utility = {}
sets.Utility.Stoneskin = {head="Whirlpool mask",neck="Stone Gorget",ear1="Loquac. earring",ear2="Earthcry earring",
body="Assim. jubbah",hands="Stone Mufflers",ring1="Prolix ring",
back="Swith cape",waist="Siegel sash",legs="Haven hose",feet="Iuitl gaiters"}
sets.Utility.Phalanx = {head="Whirlpool mask",neck="Colossus's torque",ear1="Loquac. earring",ear2="Augment. earring",
body="Assim. jubbah",hands="Manibozho gloves",ring1="Prolix ring",
back="Swith cape",waist="Pythia sash +1",legs="Portent pants",feet="Iuitl gaiters"}
sets.Utility.Steps = {ammo="Honed tathlum",
head="Whirlpool mask",ear2="Heartseeker earring",
body="Thaumas coat",hands="Buremte gloves",
back="Letalis cape",waist="Tarutaru sash",legs="Manibozho brais",feet="Qaaxo leggings"}
sets.Utility.PDT = {head="Whirlpool mask",neck="Twilight torque",ear1="Ethereal earring",
body="Iuitl vest",hands="Iuitl wristbands",ring1="Dark ring",ring2="Dark ring",
back="Mollusca mantle",waist="Flume belt",legs="Iuitl tights",feet="Iuitl gaiters"}
sets.Utility.MDT = {head="Whirlpool mask",neck="Twilight torque",
body="Coral scale mail",hands="Buremte gloves",ring1="Dark ring",ring2="Archon ring",
back="Hexerei Cape",legs="Coral cuisses +1",feet="Wayfarer clogs"}
--Job Ability Sets--
sets.JA = {}
sets.JA.AzureLore = {hands="Luh. Bazubands +1"}
sets.JA.ChainAffinity = {feet="Assim. Charuqs +1"}
sets.JA.BurstAffinity = {feet="Mavi Basmak +2"}
sets.JA.Efflux = {legs="Mavi tayt +2"}
--Precast Sets--
sets.precast = {}
sets.precast.FC = {}
sets.precast.FC.Standard = {head="Haruspex Hat", ear1="Loquac. Earring",body="Luhlaza Jubbah +1",hands="Thaumas Gloves",
back="Swith Cape",legs="Enif Cosciales",feet="Chelona boots",neck="Magoraga Beads",ring1="Prolix Ring"}
sets.precast.FC.Blue = {head="Haruspex Hat",feet="Chelona boots",ear1="Loquac. Earring",body="Mavi Mintan +2",ring1="Prolix Ring",hands="Thaumas Gloves", back="Swith Cape",legs="Enif Cosciales"}
end
-- Below is a Check for what your action type, ie Idle, engaged, Job Ability, WS, Spell --
-- Coding here is similar to Spellcast --
function precast(spell)
if spell.skill == 'Blue Magic' then
equip(sets.precast.FC.Blue)
else
equip(sets.precast.FC.Standard)
end
-- Again here you see the reference to the Spell = Requiescat, this checks what your ws and equips the relevant Set dependant upon what you set the --
-- Requiescat.index to, this is repeated as below for CDC and can be done to Sanguine, although Sanguine Blade wouoldn't have an alternative set. --
if spell.english == 'Requiescat' then
equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
end
if spell.english == 'Azure Lore' then
equip(sets.JA.AzureLore)
end
if spell.english == 'Chant du Cygne' then
equip(sets.ChantDuCygne[sets.ChantDuCygne.index[ChantDuCygne_ind]])
end
if spell.english == 'Sanguine Blade' or spell.english == 'Swipe' or spell.english == 'Lunge' then
equip(sets.WS.SanguineBlade)
end
end
--As you can see here, it checks your spell, then sets a gear set, then checks if your JA's are active and will over write with the corresponding set --
-- Any slots not filled or allocated in the new set, will be filled by the old set IE STR in the 1st example below --
function midcast(spell,act)
if spell.type:endswith('Magic') or spell.type == 'Ninjutsu' then
if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)'] or buffactive['Copy Image (3)']) then
send_command('@wait 1.7; cancel Copy Image*')
equip(sets.BlueMagic.Recast)
else
equip(sets.BlueMagic.Recast)
end
end
if spell.english == 'Vertical Cleave' or spell.english == 'Death Scissors' or spell.english == 'Empty Thrash' or spell.english == 'Dimensional Death' or spell.english == 'Quadrastrike' or spell.english == 'Bloodrake' or spell.english == 'Circle Blade' then
equip(sets.BlueMagic.STR)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Stoneskin' then
equip(sets.Utility.Stoneskin)
end
if spell.english == 'Disseverment' or spell.english == 'Hysteric Barrage' or spell.english == 'Frenetic Rip' or spell.english == 'Seedspray' or spell.english == 'Vanity Dive' or spell.english == 'Goblin Rush' or spell.english == 'Paralyzing Triad' then
equip(sets.BlueMagic.STRDEX)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Quad. Continuum' or spell.english == 'Delta Thrust' or spell.english == 'Cannonball' or spell.english == 'Glutinous Dart' then
equip(sets.BlueMagic.STRVIT)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Whirl of Rage' then
equip(sets.BlueMagic.STRrage)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Benthic Typhoon' or spell.english == 'Final Sting' or spell.english == 'Spiral Spin' then
equip(sets.BlueMagic.AGI)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Gates of Hades' or spell.english == 'Leafstorm' or spell.english == 'Firespit' or spell.english == 'Acrid Stream' or spell.english == 'Regurgitation' or spell.english == 'Corrosive Ooze' or spell.english == 'Thermal Pulse' or spell.english == 'Magic Hammer' or spell.english == 'Evryone. Grudge' or spell.english == 'Water Bomb' or spell.english == 'Dark Orb' or spell.english == 'Thunderbolt' or spell.english == 'Tem. Upheaval' or spell.english == 'Embalming Earth' or spell.english == 'Foul Waters' or spell.english == 'Rending Deluge' or spell.english == 'Droning Whirlwind' then
equip(sets.WS.SanguineBlade)
if buffactive['Burst Affinity'] then
equip(sets.JA.BurstAffinity)
end
end
if spell.english == 'Magic Fruit' or spell.english == 'Plenilune Embrace' or spell.english == 'Wild Carrot' or spell.english == 'Pollen' then
equip(sets.BlueMagic.Cures)
end
if spell.english == 'Head Butt' or spell.english == 'Sudden Lunge' or spell.english == 'Blitzstrahl' then
equip(sets.BlueMagic.Stun)
end
if spell.english == 'Heavy Strike' then
equip(sets.BlueMagic.HeavyStrike)
end
if spell.english == 'Charged Whisker' then
equip(sets.BlueMagic.ChargedWhisker)
if buffactive['Burst Affinity'] then
equip(sets.JA.BurstAffinity)
end
end
if spell.english == 'Frightful Roar' or spell.english == 'Infrasonics' or spell.english == 'Barbed Crescent' or spell.english == 'Tourbillion' or spell.english == 'Cimicine Discharge' or spell.english == 'Sub-zero smash' or spell.english == 'Filamented Hold' or spell.english == 'Mind Blast' or spell.english == 'Sandspin' or spell.english == 'Hecatomb Wave' or spell.english == 'Cold Wave' then
equip(sets.BlueMagic.MagicAccuracy)
end
if spell.english == 'MP Drainkiss' or spell.english == 'Digest' or spell.english == 'Blood Saber' or spell.english == 'Blood Drain' or spell.english == 'Osmosis' or spell.english == 'Occultation' or spell.english == 'Magic Barrier' or spell.english == 'Diamondhide' or spell.english == 'Metallic Body' or spell.english == 'Retinal Glare' then
equip(sets.BlueMagic.SkillRecast)
end
end
-- This is the general Rule for "equiping gear after casting a spell or job ability --
-- This References your current status and then equips the relevant sets --
function aftercast(spell,act)
if player.status == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
else
equip(sets.Idle[sets.Idle.index[Idle_ind]])
end
end
-- This rule is actually phased out a little bit but helps if you want to use short hand of "new" instead of player.status --
-- It should check if your status changed however and update accordingly --
function status_change(new,old)
if player.status == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
else
equip(sets.Idle[sets.Idle.index[Idle_ind]])
end
end
-- A general TP rule --
function equip_TP_set()
equip(sets.TP[sets.TP.index[TP_ind]])
equip(sets.Earring[sets.Earring.index[Earring_ind]])
end
-- The commands to equip sets, this sends a echo command reference the "name" of a set ID and telling you TP set is on Haste ~ or Acc etc --
-- the Macro would look like /input gs c toggle TP set <end> this would affect the toggle for the variable we made above for the Index command --
function self_command(command)
if command == 'toggle TP set' then
TP_ind = TP_ind +1
if TP_ind > #sets.TP.index then TP_ind = 1 end
send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
equip(sets.TP[sets.TP.index[TP_ind]])
elseif command == 'toggle Idle set' then
Idle_ind = Idle_ind +1
if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
equip(sets.Idle[sets.Idle.index[Idle_ind]])
elseif command == 'toggle Req set' then
Requiescat_ind = Requiescat_ind +1
if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
send_command('@input /echo <----- Requiescat Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
elseif command == 'toggle CDC set' then
ChantDuCygne_ind = ChantDuCygne_ind +1
if ChantDuCygne_ind > #sets.ChantDuCygne.index then ChantDuCygne_ind = 1 end
send_command('@input /echo <----- Chant du Cygne Set changed to '..sets.ChantDuCygne.index[ChantDuCygne_ind]..' ----->')
elseif command == 'equip TP set' then
equip_TP_set()
elseif command == 'equip Idle set' then
equip_Idle_set()
end
end
Cerberus.Spirachub
サーバ: Cerberus
Game: FFXI
Posts: 516
By Cerberus.Spirachub 2014-05-19 10:11:57
A simplier method (assuming you mean trigger songs by Bryth's GS where Dharp is only swapped in when you sing a specfic list of songs):
If you remove all traces of instruments in the sets, it will never try to swap anything into that slot. Thus you can control your instrument gearing in other means however you like.
[+]
Cerberus.Conagh
サーバ: Cerberus
Game: FFXI
Posts: 3189
By Cerberus.Conagh 2014-05-19 10:16:54
Cerberus.Spirachub said: »A simplier method (assuming you mean trigger songs by Bryth's GS where Dharp is only swapped in when you sing a specfic list of songs):
If you remove all traces of instruments in the sets, it will never try to swap anything into that slot. Thus you can control your instrument gearing in other means however you like.
I assumed that he knew he could have 4x Full Potency Songs even with Dura.
IE cast place holder songs in Dura then 4x full potency songs in his Gjallahorn (As he has that)
Cerberus.Spirachub
サーバ: Cerberus
Game: FFXI
Posts: 516
By Cerberus.Spirachub 2014-05-19 10:25:04
Yea but that's not exactly ideal in all situations, for example kurma and his forever spamming turtoise songs, you just want to get songs up as quick as possible.
So he can either make a trigger to force a dharp song (which can be complicated for anyone who aren't too good with coding), or he can take it all away and deal with instruments on macros or something.
Just giving options out there! lol
[+]
Cerberus.Conagh
サーバ: Cerberus
Game: FFXI
Posts: 3189
By Cerberus.Conagh 2014-05-19 10:32:41
Cerberus.Spirachub said: »Yea but that's not exactly ideal in all situations, for example kurma and his forever spamming turtoise songs, you just want to get songs up as quick as possible.
So he can either make a trigger to force a dharp song (which can be complicated for anyone who aren't too good with coding), or he can take it all away and deal with instruments on macros or something.
Just giving options out there! lol
In that situation fair point.
Bahamut.Unafay
サーバ: Bahamut
Game: FFXI
Posts: 28
By Bahamut.Unafay 2014-05-19 13:10:41
Cerberus.Spirachub said: »A simplier method (assuming you mean trigger songs by Bryth's GS where Dharp is only swapped in when you sing a specfic list of songs):
If you remove all traces of instruments in the sets, it will never try to swap anything into that slot. Thus you can control your instrument gearing in other means however you like.
This is what I was looking for, I couldn't for the life of me figure out how to stop that. And it was an nm that was spamming dispellga, most annoying thing in the universe when u have just done ja songs only to have them wiped off.
As for Conagh, just because you grasp a concept easy doesn't mean others do. Also, just because you think something doesn't make it so, you are reading written words and are applying your own perception to them, I was not complaining I was saying that I am having trouble. Lastly, your information is not helpful at all, when you just c/p things doesn't mean someone is going to understand especially as I posted I barely have a grasp of spellcast.
Cerberus.Conagh
サーバ: Cerberus
Game: FFXI
Posts: 3189
By Cerberus.Conagh 2014-05-19 13:24:23
Thats a complaint.
Saying that it's been posted before and answered is not an "easy concept" I'm stating if you had checked you'd have seen this answered already.
The post below also had a full list of rules I use and they are explained within.
but Yes its actually rather straight forward That's merely saying it's an easy fix, it is in no way stating you should know what it is.
In terms of difficulty, Lua is actually very easy to learn but I learn by doing and trying and seeing where mistakes crop up. Does anyone have a gearswap without trigger songs?
Further more "trigger songs" is a term used in spellcast rfeerring to this..
Code <if spell="Foxfire">
<if advanced='"$ACC"="Low"'>
<var cmd="set ACC Mid" />
</if>
<elseif advanced='"$ACC"="Mid"'>
<var cmd="set ACC High" />
</elseif>
<elseif advanced='"$ACC"="High"'>
<var cmd="set ACC Max" />
</elseif>
<elseif advanced='"$ACC"="Max"'>
<var cmd="set ACC Ex" />
</elseif>
<elseif advanced='"$ACC"="Ex"'>
<var cmd="set ACC Low" />
</elseif>
<addtochat color="158">Accuracy Level: [$ACC]</addtochat>
<if advanced='("$VAR-TP"="ACC-Low") OR ("$VAR-TP"="ACC-Mid") OR ("$VAR-TP"="ACC-High") OR ("$VAR-TP"="ACC-Max") OR ("$VAR-TP"="ACC-Ex")'>
<var cmd="set VAR-TP ACC-$ACC" />
<if status="engaged">
<command>Fire Spirit</command>
</if>
</if>
Where you use a Spell that doesn't exist as a trigger to swap sets, sorry I misunderstood your question, but none of it really addressed your question in a clear manner.
Your question was "how do I stop gear equipping during songs" or "How do I manually swap my instrument depending on my songs?" Don't have the equip command in seemed far too over simplified as I'd have thought that was common sense and made your question seem more towards the true meaning of "trigger Spells" within the spellcast format.
Although I'm glad your question got answered though.
Bahamut.Unafay
サーバ: Bahamut
Game: FFXI
Posts: 28
By Bahamut.Unafay 2014-05-19 13:38:58
Where you use a Spell that doesn't exist as a trigger to swap sets, sorry I misunderstood your question, but none of it really addressed your question in a clear manner.
Your question was "how do I stop gear equipping during songs" or "How do I manually swap my instrument depending on my songs?" Don't have the equip command in seemed far too over simplified as I'd have thought that was common sense and made your question seem more towards the true meaning of "trigger Spells" within the spellcast format.
Although I'm glad your question got answered though.
Danke that helped actually, I see all those <>{} things and my brain goes um yeah wtf I am horrible about this thing like to the point of crying over this, I'm a chick who doesn't understand this at all lol but I was able to delete like the other post said and so far so good. I have one dd in my ls that will let me know in a heartbeat his songs r screwed and I really hate to disappoint my ls especially when its something so important. But ty again and IF I love my mind with this ***you can believe I will be back lol
Does anyone have a gearswap without trigger songs? I'm really hating this change as I barely have a grasp on spellcast.
|
|