Daurdabla XML

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » FFXI » Jobs » Bard » Daurdabla XML
Daurdabla XML
 Asura.Cinnabbon
Offline
Serveur: Asura
Game: FFXI
Posts: 27
By Asura.Cinnabbon 2013-07-03 19:17:50
Link | Citer | R
 
I just finished my harp and am wondering how to set up my macros to use it. I don't have a ghorn yet. Any advice on how to set up my spellcast/macros would be much appreciated! Thanks in advance!
Offline
Posts: 365
By Squabble 2013-07-03 19:21:56
Link | Citer | R
 
Code
<?xml version="1.0"?>

<spellcast>
<!------- Configuration ------->
	<config
		AutoLoadXMLOnJobChange="true"
		Debug="true"
		HideErrors="false"
		QuickCommands="true"
		ShowGearSwaps="false"
		ShowSpellInfo="false"
		/>
<!----- Gear Sets ----->
		<sets>
			<group default="true"	name="BRD|Bard">
<!----- Defensive Sets ----->
				<set name="Idle">
					<main>Felibre's Dague</main>
					<sub>Genbu's Shield</sub>
					<head>Wivre Hairpin</head>
					<neck>Twilight Torque</neck>
					<lear>Magnetic Earring</lear>
					<rear>Colossus's Earring</rear>
					<body>Marduk's Jubbah +1</body>
					<hands>Serpentes Cuffs</hands>
					<lring>Shadow Ring</lring>
					<rring>Defending Ring</rring>
					<back>Shadow Mantle</back>
					<waist>Demonry Sash</waist>
					<legs>Nares Trews</legs>
					<feet>Serpentes Sabots</feet>
				</set>
				<set name="Town" BaseSet="Idle">
					<feet lock="t">Aoidos' Cothurnes +2</feet>
				</set>
<!----- Magic Sets ----->
<!--- Bard Songs --->
				<set name="Buff" BaseSet="Skill">
					<head>Aoidos' Calot +2</head>
					<neck>Aoidos' Matinee</neck>
					<body>Aoidos' Hongreline +2</body>
					<hands>Aoidos' Manchettes +2</hands>
					<lring>Nereid Ring</lring>
					<rring>Nereid Ring</rring>
					<back>Astute Cape</back>
					<waist>Aoidos' Belt</waist>
					<legs>Marduk's Shalwar +1</legs>
					<feet>Aoidos' Cothurnes +2</feet>
				</set>
				<set name="Bard_Cast" BaseSet="Fast_Cast">
					<main>Felibre's Dague</main>
					<sub>Genbu's Shield</sub>
					<head>Aoidos' Calot +2</head>
					<lear>Aoidos' Earring</lear>
					<hands>Marduk's Dastanas +1</hands>
					<rring>Nereid Ring</rring>
					<waist>Aoidos' Belt</waist>
					<feet>Bokwus Boots</feet>
				</set>
				<set name="Skill" BaseSet="Bard_Cast">		
					<head>Marduk's Tiara +1</head>
					<neck>Aoidos' Matinee</neck>
					<rear>Musical Earring</rear>
					<body>Aoidos' Hongreline +2</body>
					<hands>Aoidos' Manchettes +2</hands>
					<lring>Nereid Ring</lring>
					<rring>Nereid Ring</rring>					
					<back>Astute Cape</back>
					<waist>Demonry Sash</waist>
					<legs>Marduk's Shalwar +1</legs>
					<feet>Bokwus Boots</feet>
				</set>
<!--- White Magic --->
				<set name="Cure" BaseSet="Cure_Cast">
					<main>Chatoyant Staff</main>
					<sub>Wizzan Grip</sub>
					<head>Marduk's Tiara +1</head>
					<body>Heka's Kalasiris</body>
					<hands>Hieros Mittens</hands>
					<lring>Sirona's Ring</lring>
					<rring>Vilma's Ring</rring>
					<back>Medala Cape</back>
					<waist>Korin Obi</waist>
					<legs>Nares Trews</legs>
				</set>
				<set name="Cure_Cast" BaseSet="Fast_Cast">
					<body>Heka's Kalasiris</body>
					<back>Medala Cape</back>
				</set>
				<set name="Fast_Cast" BaseSet="Idle">
					<head>Nares Cap</head>
					<neck>Orunmila's Torque</neck>
					<lear>Magnetic Earring</lear>
					<rear>Loquacious Earring</rear>
					<body>Marduk's Jubbah +1</body>
					<hands>Marduk's Dastanas +1</hands>
					<lring>Prolix Ring</lring>
					<back>Swith Cape</back>
					<waist>Siegel Sash</waist>
					<legs>Orvail Pants</legs>
				</set>
<!----- Offensive Sets ----->
				<set name="Melee">
					<head>Zelus Tiara</head>
					<neck>Portus Collar</neck>
					<lear>Bladeborn Earring</lear>
					<rear>Steelflash Earring</rear>
					<body>Hedera Cotehardie</body>
					<hands>Hieros Mittens</hands>
					<lring>Ambuscade Ring</lring>
					<rring>Rajas Ring</rring>
					<back>Letalis Mantle</back>
					<waist>Phasmida Belt</waist>
					<legs>Byakko's Haidate</legs>
					<feet>Aoidos' Cothurnes +2</feet>
				</set>
<!----- Weapon Skill Sets ----->
<!--- Dagger Weapon Skills --->
				<set name="Evisceration">
					<head>Hecatomb Cap</head>
					<neck>Shadow Gorget</neck>
					<lear>Moonshade Earring</lear>
					<rear>Brutal Earring</rear>
					<body>Kirin's Osode</body>
					<hands>Hecatomb Mittens +1</hands>
					<lring>Ambuscade Ring</lring>
					<rring>Rajas Ring</rring>
					<back>Rancorous Mantle</back>
					<waist>Shadow Belt</waist>
					<legs>Byakko's Haidate</legs>
					<feet>Hecatomb Leggings +1</feet>
				</set>
				<set name="Mordant_Rime">
					<head>Maat's Cap</head>
					<neck>Thunder Gorget</neck>
					<lear>Moonshade Earring</lear>
					<rear>Brutal Earring</rear>
					<body>Kirin's Osode</body>
					<hands>Marduk's Dastanas +1</hands>
					<lring>Ambuscade Ring</lring>
					<rring>Rajas Ring</rring>
					<back>Letalis Mantle</back>
					<waist>Thunder Belt</waist>
					<legs>Byakko's Haidate</legs>
					<feet>Hecatomb Leggings +1</feet>
				</set>
			</group>
		</sets>
<!----- Variables ----->
	<variables clear="False">
		<var name="SongCount">1</var>
	</variables>
<!----- Rules ----->
	<rules>
<!----- Rules to Stop Parsing ----->
		<if status="Dead">
			<cancelspell/>
			<return/>
		</if>
		<elseif type="*Magic|BardSong|Ninjutsu">
			<if BuffActive="Silence|Mute|Omerta">
				<cancelspell/>
				<return/>
			</if>
		</elseif>
		<elseif type="JobAbility|WeaponSkill">	
			<if BuffActive="Amnesia|Impairment">
				<cancelspell/>
				<return/>
			</if>
			<elseif type="WeaponSkill">
				<if advanced='%SpellTargetDistance>7'>
				<addtochat color="122">[%Target] out of range, [%spell] canceled.</addtochat>
					<cancelspell/>
					<return/>
				</if>
				<if status="Engaged" TPLT="100">
					<cancelspell/>
					<return/>
				</if>
			</elseif>
		</elseif>
<!----- Idle Rules ----->
			<if status="Idle">
				<action type="Equip" when="Idle|Aftercast" set="Idle"/>
			</if>
<!----- Town Rules ----->
		<if Area="*Adoulin|*Bastok*|Chateau*|Heavens*|*Jeuno|Kazham|Metalworks|Mhaura|Norg|Rabao|Ru'Lude*|*San d'Oria|Selbina|Tavnazia*|*Whitegate|*Windurst*|*Zahbi" NotArea="Dynamis*">
			<equip when="Idle|Aftercast" set="Town"/>
		</if>
<!----- Engaged Rules ----->
		<if status="Engaged">
			<equip when="Engaged|Precast|Midcast|Aftercast">
				<main lock="t"/>
				<sub lock="t"/>
			</equip>
			<action type="Equip" when="Engaged|Aftercast" set="Melee"/>
		</if>
<!----- Magic Rules ----->
<!--- Bard Song Rules | Macro Syntax: /console /sc var set SongCount # --->
		<if mode="AND" type="BardSong" NotSpell="*Lullaby*|*Finale*|*Hymnus*|*Threnody*|*Nocturne*|*Elegy*|*Requiem*|*Mazurka*">
<!-- First Song -->			
			<if advanced = '"$SongCount" = "1"'>
				<precastdelay delay=".2"/>
				<equip when="Precast">
					<range lock="t">Gjallarhorn</range>
				</equip>
				<command when="Precast">sc var set SongCount 2</command>
				<addtochat color="207">~ ~ Current [SongCount] is [$SongCount] *Gjallarhorn* ~ ~</addtochat>						
			</if>
<!-- Second Song -->
			<elseif advanced = '"$SongCount" = "2"'>
				<precastdelay delay=".2"/>
				<equip when="Precast">
					<range lock="t">Gjallarhorn</range>
				</equip>
				<command when="Precast">sc var set SongCount 3</command>
				<addtochat color="207">~ ~ Current [SongCount] is [$SongCount] *Gjallarhorn* ~ ~</addtochat>						
			</elseif>
<!-- Third Song -->	
			<elseif advanced = '"$SongCount" = "3"'>
				<precastdelay delay=".2"/>
				<equip when="Precast">
					<range lock="t">Daurdabla</range>
				</equip>
				<command when="Precast">sc var set SongCount 4</command>
				<addtochat color="208">~ ~ Current [SongCount] is [$SongCount] *Daurdabla*  ~ ~</addtochat>						
			</elseif>
<!-- Fourth Song -->	
			<elseif advanced = '"$SongCount" = "4"'>
				<precastdelay delay=".2"/>
				<equip when="Precast">
					<range lock="t">Daurdabla</range>
				</equip>
				<command when="Precast">sc var set SongCount 1</command>
				<addtochat color="208">~ ~ Current [SongCount] is [$SongCount] *Daurdabla*  ~ ~</addtochat>						
			</elseif>
		</if>
		<if type="BardSong" BuffActive="Nightingale" NotSpell="*Lullaby*|*Finale*|*Threnody*|*Nocturne*|*Elegy*|*Requiem*|*Mazurka*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Buff"/>
		</if>
		<elseif type="BardSong" BuffActive="Nightingale" Spell="*Lullaby*|*Finale*|*Threnody*|*Nocturne*|*Elegy*|*Requiem*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Skill"/>
		</elseif>
		<elseif type="BardSong" NotSpell="*Lullaby*|*Finale*|*Threnody*|*Nocturne*|*Elegy*|*Requiem*|*Mazurka|*Ballad*|*Madrigal*|*March*|*Minuet*|*Scherzo*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff"/>
		</elseif>
		<elseif type="BardSong" Spell="*Ballad*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff">
				<legs>Aoidos' Rhingrave +2</legs>
			</equip>	
		</elseif>
		<elseif type="BardSong" Spell="*Madrigal*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff">
				<head>Aoidos' Calot +2</head>
			</equip>	
		</elseif>
		<elseif type="BardSong" Spell="*March*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff">
				<hands>Aoidos' Manchettes +2</hands>
			</equip>	
		</elseif>
		<elseif type="BardSong" Spell="*Minuet*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff">
				<body>Aoidos' Hongreline +2</body>
			</equip>	
		</elseif>
		<elseif type="BardSong" Spell="*Scherzo*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff">
				<feet>Aoidos' Cothurnes +2</feet>
			</equip>	
		</elseif>
		<elseif type="BardSong" Spell="Horde Lullaby*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast">
				<range>Daurdabla</range>
			</equip>
			<equip when="Midcast" set="Skill">
				<main>Chatoyant Staff</main>
				<sub>Elder's Grip</sub>
			</equip>
		</elseif>
		<elseif type="BardSong" Spell="*Finale*|Foe Lullaby*|*Threnody*|*Nocturne*|*Elegy*|*Requiem*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast">
				<range>Gjallarhorn</range>
			</equip>
			<equip when="Midcast" set="Skill">
				<main>Chatoyant Staff</main>
				<sub>Elder's Grip</sub>			
			</equip>
		</elseif>
		<elseif type="BardSong" Spell="*Hymnus*|*Mazurka*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast">
				<range>Daurdabla</range>
			</equip>
		</elseif>
<!--- Other Magic Rules --->
		<if skill="BlueMagic|DarkMagic|DivineMagic|ElementalMagic|EnhancingMagic|HealingMagic|Ninjutsu|SummoningMagic" NotSpell="Cure*|Cura*">
			<equip when="Precast" set="Fast_Cast"/>
		</if>
		<if spell="Cure*|Cura*">
			<action type="Equip" when="Precast" set="Cure_Cast"/>
			<action type="Equip" when="Midcast" set="Cure"/>			
		</if>
		<if spell="Regen*">
			<action type="Equip" when="Precast" set="Fast_Cast"/>
			<equip when="Midcast">
				<head>Marduk's Tiara +1</head>
			</equip>
		</if>
<!----- Weapon Skill Rules ----->
		<if type="WeaponSkill">
<!--- Dagger Weapon Skills --->
			<if spell="Evisceration">
				<action type="Equip" when="Precast" set="Evisceration"/>
				<if TPGT="299" NotBuffActive="Sekkanoki">
					<equip when="Precast">
						<lear lock="t">Bladeborn Earring</lear>
						<rear lock="t">Steelflash Earring</rear>
					</equip>
				</if>
			</if>
			<if spell="Mordant Rime">
				<action type="Equip" when="Precast" set="Mordant_Rime"/>
				<if TPGT="299" NotBuffActive="Sekkanoki">
					<equip when="Precast">
						<lear lock="t">Bladeborn Earring</lear>
						<rear lock="t">Steelflash Earring</rear>
					</equip>
				</if>
			</if>
		</if>
	</rules>
</spellcast>


This spellcast changes your instrument for you, with some songs being exclusive to certain instruments.

You will need 4 macro's in addition to whatever else you have:
/console /sc var set SongCount 1
/console /sc var set SongCount 2
/console /sc var set SongCount 3
/console /sc var set SongCount 4

These reset your song count to the number specified in the macro so you can correct any mistakes (i.e. getting interrupted, only singing 2 songs then wanting to sing 4 new songs, etc.).
[+]
 Asura.Cinnabbon
Offline
Serveur: Asura
Game: FFXI
Posts: 27
By Asura.Cinnabbon 2013-07-03 19:26:01
Link | Citer | R
 
So for this would I just swap in my instruments/gear and cast like normal or do you have to do a song and overwrite it after casting third song? What do you do with the macros? Trying to understand how this works. Thanks for the quick response! Sorry for the questions- trying to figure it out and still somewhat new to spellcast as well.
Offline
Posts: 365
By Squabble 2013-07-03 19:27:48
Link | Citer | R
 
This SC assumes 4 songs so you would have to continually reset song count or edit the XML for only 3 songs.
 Asura.Cinnabbon
Offline
Serveur: Asura
Game: FFXI
Posts: 27
By Asura.Cinnabbon 2013-07-03 19:29:15
Link | Citer | R
 
And what are the macros you listed for?
Offline
Posts: 365
By Squabble 2013-07-03 19:30:58
Link | Citer | R
 
After rereading your response, you may have missed my ninja edit in the original post. Or if you mean to put in your instruments and gear into the XML, you would need to do a bit more work for the instrument portion. My XML assumes Gjallarhorn and Daurdabla 99 are your only instruments.
 Asura.Cinnabbon
Offline
Serveur: Asura
Game: FFXI
Posts: 27
By Asura.Cinnabbon 2013-07-03 19:32:41
Link | Citer | R
 
Yeah, how would I tweak it for the song specific instruments and only 3 songs? And what are the macros you listed in your edit used for?
Offline
Posts: 365
By Squabble 2013-07-03 19:32:57
Link | Citer | R
 
The macros manually change SongCount since the XML automatically does it when you start to sing, regardless of result.
Offline
Posts: 365
By Squabble 2013-07-03 19:36:56
Link | Citer | R
 
In the rules section where it says to set the count to 4, change it to 1. And as for instruments you're going to need some variables like $%spell* and have it reference Valor Minuet as a variable with your instrument listed. There are several different ways to do it, you'll need to work that portion out for yourself.
 Asura.Cinnabbon
Offline
Serveur: Asura
Game: FFXI
Posts: 27
By Asura.Cinnabbon 2013-07-03 19:37:46
Link | Citer | R
 
So you would hit a macro after each song?

Edit: I think I'm starting to get it. Each song would have a variable for the instrument, but how do I apply that to the rules? Thank you!
Offline
Posts: 365
By Squabble 2013-07-03 19:41:08
Link | Citer | R
 
You only need the macros in event of a mess-up or wanting to sing with different instrument.

Edit: For example, you sing March March Minuet, but you get interrupted on Minuet, well if you just try to sing Minuet again, it will equip your normal instrument, you would then need to press the macro to set the count back to 3 so your Daurdabla will be used.
 Asura.Cinnabbon
Offline
Serveur: Asura
Game: FFXI
Posts: 27
By Asura.Cinnabbon 2013-07-03 19:47:08
Link | Citer | R
 
That makes more sense now! Thank you for your help! I will see if I can edit it now that it makes more sense.

Edit: So under your song 1, 2, 3 macros where you lock Ghorn, would I just take that out and do the instruments with the specific rule for each song to equip that variable?
 Asura.Cinnabbon
Offline
Serveur: Asura
Game: FFXI
Posts: 27
By Asura.Cinnabbon 2013-07-03 20:21:31
Link | Citer | R
 
Okay, so what I'm not getting is how to set up rules for the instruments. I made variables for each, but where in the macros does it show that the instrument will change to that instrument for the third song? Is Daur only needed for precast for third song?
 Asura.Cinnabbon
Offline
Serveur: Asura
Game: FFXI
Posts: 27
By Asura.Cinnabbon 2013-07-03 22:59:55
Link | Citer | R
 
I guess my other question to anyone reading would be how to get 3 songs up just doing an overwrite of one song sung with Daurdabla. If anyone can help me with that setup, that would also work fine.
 Quetzalcoatl.Hidegger
Offline
Serveur: Quetzalcoatl
Game: FFXI
user: Hidegger
Posts: 130
By Quetzalcoatl.Hidegger 2013-07-04 00:43:51
Link | Citer | R
 
to answer that question you need to post what relevant gear you have that boost duration to specific songs.

Quote:
Another thing that could be added to the guide for brds out there that are working on both ghorn and daurdabla is how to get 3 or 4 songs up with full ghorn effect. There's mention of being able to do this but not tactics behind the duration complications that arise.

Song base: 120 sec
+1 - 10%: 132 sec
+2 - 20%: 144 sec
+3 - 30%: 156 sec
+4 - 40%: 168 sec
+5 - 50%: 180 sec
Neck - 10% +12 sec
Body - 10% +12 sec
Legs - 10% +12 sec
Daurdabla(90) - 25% +30sec
Daurdabla(95 & 99) - 30% +36sec

The guide recommends full empy +2 for the Stat boost and neck. With a 99 Ghorn your first 2 songs generally have 204 sec duration and your 3rd and 4th song with 99 harp will have 192 sec duration.
Given song casting time lets say avg 6 secs apart your songs will come out with;
Song 1 - 186
Song 2 - 192
Song 3 - 186
Song 4 - 192
duration remaining. So if you were to overwrite songs you would have to play all 4 again with horn. Or, you could take off the neck for the 3rd and 4th song dropping their duration by 12 sec;
Song 1 - 186
Song 2 - 192
Song 3 - 174
Song 4 - 180
so that now if you put on the Ghorn only the last 2 songs will get overwritten.

Note that the original songs wanting to be overwritten should not be the the same songs you want to overwrite with.
Complications with this particular tactic; if for some reason you have longer delay from one song to the next, like getting silenced, knock-back, stunned or terror, you may end up with your 1st song having lower duration than your 3rd or 4th.

Another option is to play 4 placebo songs all with the harp and rewrite them all with the horn. takes you 2 more songs to be fully buffed and if you are currently fighting the placebo songs will temporarily weaken the DDs.

Generally people will not encounter this problem during Nightingale/Troubadour being that the song casting is only 1-2 sec and the duration gap between horn and harp doubles.
necroskull Necro Bump Detected! [104 days between previous and next post]
 Odin.Shuinam
Offline
Serveur: Odin
Game: FFXI
user: Tyrael
Posts: 63
By Odin.Shuinam 2013-10-16 08:54:15
Link | Citer | R
 
Squabble said: »
Code
<?xml version="1.0"?>

<spellcast>
<!------- Configuration ------->
	<config
		AutoLoadXMLOnJobChange="true"
		Debug="true"
		HideErrors="false"
		QuickCommands="true"
		ShowGearSwaps="false"
		ShowSpellInfo="false"
		/>
<!----- Gear Sets ----->
		<sets>
			<group default="true"	name="BRD|Bard">
<!----- Defensive Sets ----->
				<set name="Idle">
					<main>Felibre's Dague</main>
					<sub>Genbu's Shield</sub>
					<head>Wivre Hairpin</head>
					<neck>Twilight Torque</neck>
					<lear>Magnetic Earring</lear>
					<rear>Colossus's Earring</rear>
					<body>Marduk's Jubbah +1</body>
					<hands>Serpentes Cuffs</hands>
					<lring>Shadow Ring</lring>
					<rring>Defending Ring</rring>
					<back>Shadow Mantle</back>
					<waist>Demonry Sash</waist>
					<legs>Nares Trews</legs>
					<feet>Serpentes Sabots</feet>
				</set>
				<set name="Town" BaseSet="Idle">
					<feet lock="t">Aoidos' Cothurnes +2</feet>
				</set>
<!----- Magic Sets ----->
<!--- Bard Songs --->
				<set name="Buff" BaseSet="Skill">
					<head>Aoidos' Calot +2</head>
					<neck>Aoidos' Matinee</neck>
					<body>Aoidos' Hongreline +2</body>
					<hands>Aoidos' Manchettes +2</hands>
					<lring>Nereid Ring</lring>
					<rring>Nereid Ring</rring>
					<back>Astute Cape</back>
					<waist>Aoidos' Belt</waist>
					<legs>Marduk's Shalwar +1</legs>
					<feet>Aoidos' Cothurnes +2</feet>
				</set>
				<set name="Bard_Cast" BaseSet="Fast_Cast">
					<main>Felibre's Dague</main>
					<sub>Genbu's Shield</sub>
					<head>Aoidos' Calot +2</head>
					<lear>Aoidos' Earring</lear>
					<hands>Marduk's Dastanas +1</hands>
					<rring>Nereid Ring</rring>
					<waist>Aoidos' Belt</waist>
					<feet>Bokwus Boots</feet>
				</set>
				<set name="Skill" BaseSet="Bard_Cast">		
					<head>Marduk's Tiara +1</head>
					<neck>Aoidos' Matinee</neck>
					<rear>Musical Earring</rear>
					<body>Aoidos' Hongreline +2</body>
					<hands>Aoidos' Manchettes +2</hands>
					<lring>Nereid Ring</lring>
					<rring>Nereid Ring</rring>					
					<back>Astute Cape</back>
					<waist>Demonry Sash</waist>
					<legs>Marduk's Shalwar +1</legs>
					<feet>Bokwus Boots</feet>
				</set>
<!--- White Magic --->
				<set name="Cure" BaseSet="Cure_Cast">
					<main>Chatoyant Staff</main>
					<sub>Wizzan Grip</sub>
					<head>Marduk's Tiara +1</head>
					<body>Heka's Kalasiris</body>
					<hands>Hieros Mittens</hands>
					<lring>Sirona's Ring</lring>
					<rring>Vilma's Ring</rring>
					<back>Medala Cape</back>
					<waist>Korin Obi</waist>
					<legs>Nares Trews</legs>
				</set>
				<set name="Cure_Cast" BaseSet="Fast_Cast">
					<body>Heka's Kalasiris</body>
					<back>Medala Cape</back>
				</set>
				<set name="Fast_Cast" BaseSet="Idle">
					<head>Nares Cap</head>
					<neck>Orunmila's Torque</neck>
					<lear>Magnetic Earring</lear>
					<rear>Loquacious Earring</rear>
					<body>Marduk's Jubbah +1</body>
					<hands>Marduk's Dastanas +1</hands>
					<lring>Prolix Ring</lring>
					<back>Swith Cape</back>
					<waist>Siegel Sash</waist>
					<legs>Orvail Pants</legs>
				</set>
<!----- Offensive Sets ----->
				<set name="Melee">
					<head>Zelus Tiara</head>
					<neck>Portus Collar</neck>
					<lear>Bladeborn Earring</lear>
					<rear>Steelflash Earring</rear>
					<body>Hedera Cotehardie</body>
					<hands>Hieros Mittens</hands>
					<lring>Ambuscade Ring</lring>
					<rring>Rajas Ring</rring>
					<back>Letalis Mantle</back>
					<waist>Phasmida Belt</waist>
					<legs>Byakko's Haidate</legs>
					<feet>Aoidos' Cothurnes +2</feet>
				</set>
<!----- Weapon Skill Sets ----->
<!--- Dagger Weapon Skills --->
				<set name="Evisceration">
					<head>Hecatomb Cap</head>
					<neck>Shadow Gorget</neck>
					<lear>Moonshade Earring</lear>
					<rear>Brutal Earring</rear>
					<body>Kirin's Osode</body>
					<hands>Hecatomb Mittens +1</hands>
					<lring>Ambuscade Ring</lring>
					<rring>Rajas Ring</rring>
					<back>Rancorous Mantle</back>
					<waist>Shadow Belt</waist>
					<legs>Byakko's Haidate</legs>
					<feet>Hecatomb Leggings +1</feet>
				</set>
				<set name="Mordant_Rime">
					<head>Maat's Cap</head>
					<neck>Thunder Gorget</neck>
					<lear>Moonshade Earring</lear>
					<rear>Brutal Earring</rear>
					<body>Kirin's Osode</body>
					<hands>Marduk's Dastanas +1</hands>
					<lring>Ambuscade Ring</lring>
					<rring>Rajas Ring</rring>
					<back>Letalis Mantle</back>
					<waist>Thunder Belt</waist>
					<legs>Byakko's Haidate</legs>
					<feet>Hecatomb Leggings +1</feet>
				</set>
			</group>
		</sets>
<!----- Variables ----->
	<variables clear="False">
		<var name="SongCount">1</var>
	</variables>
<!----- Rules ----->
	<rules>
<!----- Rules to Stop Parsing ----->
		<if status="Dead">
			<cancelspell/>
			<return/>
		</if>
		<elseif type="*Magic|BardSong|Ninjutsu">
			<if BuffActive="Silence|Mute|Omerta">
				<cancelspell/>
				<return/>
			</if>
		</elseif>
		<elseif type="JobAbility|WeaponSkill">	
			<if BuffActive="Amnesia|Impairment">
				<cancelspell/>
				<return/>
			</if>
			<elseif type="WeaponSkill">
				<if advanced='%SpellTargetDistance>7'>
				<addtochat color="122">[%Target] out of range, [%spell] canceled.</addtochat>
					<cancelspell/>
					<return/>
				</if>
				<if status="Engaged" TPLT="100">
					<cancelspell/>
					<return/>
				</if>
			</elseif>
		</elseif>
<!----- Idle Rules ----->
			<if status="Idle">
				<action type="Equip" when="Idle|Aftercast" set="Idle"/>
			</if>
<!----- Town Rules ----->
		<if Area="*Adoulin|*Bastok*|Chateau*|Heavens*|*Jeuno|Kazham|Metalworks|Mhaura|Norg|Rabao|Ru'Lude*|*San d'Oria|Selbina|Tavnazia*|*Whitegate|*Windurst*|*Zahbi" NotArea="Dynamis*">
			<equip when="Idle|Aftercast" set="Town"/>
		</if>
<!----- Engaged Rules ----->
		<if status="Engaged">
			<equip when="Engaged|Precast|Midcast|Aftercast">
				<main lock="t"/>
				<sub lock="t"/>
			</equip>
			<action type="Equip" when="Engaged|Aftercast" set="Melee"/>
		</if>
<!----- Magic Rules ----->
<!--- Bard Song Rules | Macro Syntax: /console /sc var set SongCount # --->
		<if mode="AND" type="BardSong" NotSpell="*Lullaby*|*Finale*|*Hymnus*|*Threnody*|*Nocturne*|*Elegy*|*Requiem*|*Mazurka*">
<!-- First Song -->			
			<if advanced = '"$SongCount" = "1"'>
				<precastdelay delay=".2"/>
				<equip when="Precast">
					<range lock="t">Gjallarhorn</range>
				</equip>
				<command when="Precast">sc var set SongCount 2</command>
				<addtochat color="207">~ ~ Current [SongCount] is [$SongCount] *Gjallarhorn* ~ ~</addtochat>						
			</if>
<!-- Second Song -->
			<elseif advanced = '"$SongCount" = "2"'>
				<precastdelay delay=".2"/>
				<equip when="Precast">
					<range lock="t">Gjallarhorn</range>
				</equip>
				<command when="Precast">sc var set SongCount 3</command>
				<addtochat color="207">~ ~ Current [SongCount] is [$SongCount] *Gjallarhorn* ~ ~</addtochat>						
			</elseif>
<!-- Third Song -->	
			<elseif advanced = '"$SongCount" = "3"'>
				<precastdelay delay=".2"/>
				<equip when="Precast">
					<range lock="t">Daurdabla</range>
				</equip>
				<command when="Precast">sc var set SongCount 4</command>
				<addtochat color="208">~ ~ Current [SongCount] is [$SongCount] *Daurdabla*  ~ ~</addtochat>						
			</elseif>
<!-- Fourth Song -->	
			<elseif advanced = '"$SongCount" = "4"'>
				<precastdelay delay=".2"/>
				<equip when="Precast">
					<range lock="t">Daurdabla</range>
				</equip>
				<command when="Precast">sc var set SongCount 1</command>
				<addtochat color="208">~ ~ Current [SongCount] is [$SongCount] *Daurdabla*  ~ ~</addtochat>						
			</elseif>
		</if>
		<if type="BardSong" BuffActive="Nightingale" NotSpell="*Lullaby*|*Finale*|*Threnody*|*Nocturne*|*Elegy*|*Requiem*|*Mazurka*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Buff"/>
		</if>
		<elseif type="BardSong" BuffActive="Nightingale" Spell="*Lullaby*|*Finale*|*Threnody*|*Nocturne*|*Elegy*|*Requiem*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Skill"/>
		</elseif>
		<elseif type="BardSong" NotSpell="*Lullaby*|*Finale*|*Threnody*|*Nocturne*|*Elegy*|*Requiem*|*Mazurka|*Ballad*|*Madrigal*|*March*|*Minuet*|*Scherzo*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff"/>
		</elseif>
		<elseif type="BardSong" Spell="*Ballad*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff">
				<legs>Aoidos' Rhingrave +2</legs>
			</equip>	
		</elseif>
		<elseif type="BardSong" Spell="*Madrigal*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff">
				<head>Aoidos' Calot +2</head>
			</equip>	
		</elseif>
		<elseif type="BardSong" Spell="*March*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff">
				<hands>Aoidos' Manchettes +2</hands>
			</equip>	
		</elseif>
		<elseif type="BardSong" Spell="*Minuet*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff">
				<body>Aoidos' Hongreline +2</body>
			</equip>	
		</elseif>
		<elseif type="BardSong" Spell="*Scherzo*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast"/>			
			<equip when="Midcast" set="Buff">
				<feet>Aoidos' Cothurnes +2</feet>
			</equip>	
		</elseif>
		<elseif type="BardSong" Spell="Horde Lullaby*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast">
				<range>Daurdabla</range>
			</equip>
			<equip when="Midcast" set="Skill">
				<main>Chatoyant Staff</main>
				<sub>Elder's Grip</sub>
			</equip>
		</elseif>
		<elseif type="BardSong" Spell="*Finale*|Foe Lullaby*|*Threnody*|*Nocturne*|*Elegy*|*Requiem*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast">
				<range>Gjallarhorn</range>
			</equip>
			<equip when="Midcast" set="Skill">
				<main>Chatoyant Staff</main>
				<sub>Elder's Grip</sub>			
			</equip>
		</elseif>
		<elseif type="BardSong" Spell="*Hymnus*|*Mazurka*">
			<castdelay delay=".2"/>
			<equip when="Precast" set="Bard_Cast">
				<range>Daurdabla</range>
			</equip>
		</elseif>
<!--- Other Magic Rules --->
		<if skill="BlueMagic|DarkMagic|DivineMagic|ElementalMagic|EnhancingMagic|HealingMagic|Ninjutsu|SummoningMagic" NotSpell="Cure*|Cura*">
			<equip when="Precast" set="Fast_Cast"/>
		</if>
		<if spell="Cure*|Cura*">
			<action type="Equip" when="Precast" set="Cure_Cast"/>
			<action type="Equip" when="Midcast" set="Cure"/>			
		</if>
		<if spell="Regen*">
			<action type="Equip" when="Precast" set="Fast_Cast"/>
			<equip when="Midcast">
				<head>Marduk's Tiara +1</head>
			</equip>
		</if>
<!----- Weapon Skill Rules ----->
		<if type="WeaponSkill">
<!--- Dagger Weapon Skills --->
			<if spell="Evisceration">
				<action type="Equip" when="Precast" set="Evisceration"/>
				<if TPGT="299" NotBuffActive="Sekkanoki">
					<equip when="Precast">
						<lear lock="t">Bladeborn Earring</lear>
						<rear lock="t">Steelflash Earring</rear>
					</equip>
				</if>
			</if>
			<if spell="Mordant Rime">
				<action type="Equip" when="Precast" set="Mordant_Rime"/>
				<if TPGT="299" NotBuffActive="Sekkanoki">
					<equip when="Precast">
						<lear lock="t">Bladeborn Earring</lear>
						<rear lock="t">Steelflash Earring</rear>
					</equip>
				</if>
			</if>
		</if>
	</rules>
</spellcast>


This spellcast changes your instrument for you, with some songs being exclusive to certain instruments.

You will need 4 macro's in addition to whatever else you have:
/console /sc var set SongCount 1
/console /sc var set SongCount 2
/console /sc var set SongCount 3
/console /sc var set SongCount 4

These reset your song count to the number specified in the macro so you can correct any mistakes (i.e. getting interrupted, only singing 2 songs then wanting to sing 4 new songs, etc.).

Necro!

This is actually a pretty solid xml, I was wondering if anyone would be able to add rules for using augmented relic pieces when using their respective JAs?
 Phoenix.Esvedium
Offline
Serveur: Phoenix
Game: FFXI
user: Esvedium
Posts: 73
By Phoenix.Esvedium 2013-10-16 13:06:33
Link | Citer | R
 
How do you know that is a "solid" xml but not know how to add simple rules for putting on a piece of gear for /ja's?

<if spell="NamOfJA">
<equip when="precast"><slot>ItemName</slot></equip>
</if>