<?xml version="1.0" ?>
<spellcast>
<config
RequiredVersion="2.18"
ShowGearSwaps="False"
Debug="False"
/>
<sets>
<!-- Group: BRD/nin -->
<group name="BRD/nin" default="yes">
<!-- Set: Idle -->
<set name="Idle">
<range>Iron Ram Horn</range>
<head>Walahra Turban</head>
<neck>Orochi Nodowa</neck>
<lear>Musical Earring</lear>
<rear>Loquac. Earring</rear>
<body>Yigit Gomlek</body>
<hands>Choral Cuffs +1</hands>
<lring>Omega Ring</lring>
<rring>Balrahn's Ring</rring>
<back>Jester's Cape +1</back>
<waist>Corsette +1</waist>
<legs>Yigit Seraweels</legs>
<feet>Rostrum Pumps</feet>
</set>
<!-- Set: Refresh -->
<set name="refresh" BaseSet="Idle">
<head></head>
<body>Vermillion Cloak</body>
</set>
<!-- Set: Stoneskin -->
<set name="Stoneskin" BaseSet="Idle">
<main>Apollo's Staff</main>
<head>Yigit Turban</head>
<neck>Morgana's Choker</neck>
<body>Errant Houppelande</body>
<hands>Yigit Gages</hands>
<lring>Omega Ring</lring>
<rring>Tamas Ring</rring>
<back>Prism Cape</back>
<legs>Mahatma Slops</legs>
<feet>Goliard Clogs</feet>
</set>
<!-- Set: Wind -->
<set name="Wind" BaseSet="Idle">
<range>Iron Ram Horn</range>
<head>Demon Helm</head>
<neck>Wind Torque</neck>
<lear>Musical Earring</lear>
<rear>Loquac. Earring</rear>
<body>Errant Houppelande</body>
<hands>Choral Cuffs +1</hands>
<lring>Omega Ring</lring>
<rring>Balrahn's Ring</rring>
<back>Jester's Cape +1</back>
<waist>Corsette +1</waist>
<legs>Mahatma Slops</legs>
<feet>Goliard Clogs</feet>
</set>
<!-- Set: String -->
<set name="String" BaseSet="Wind">
</set>
<!-- Set: Buff -->
<set name="Buff" BaseSet="Idle">
<range>Iron Ram Horn</range>
<head>Walahra Turban</head>
<neck>Wind Torque</neck>
<lear>Musical Earring</lear>
<rear>Loquac. Earring</rear>
<body>Goliard Saio</body>
<hands>Choral Cuffs +1</hands>
<lring>Omega Ring</lring>
<rring>Balrahn's Ring</rring>
<back>Jester's Cape +1</back>
<waist>Swift Belt</waist>
<legs>Mahatma Slops</legs>
<feet>Rostrum Pumps</feet>
</set>
<!-- Set: FastCast -->
<set name="FastCast">
<rear>Loquac. Earring</rear>
<body>Yigit Gomlek</body>
<feet>Rostrum Pumps</feet>
</set>
<!-- Set: Haste -->
<set name="Haste">
<head>Walahra Turban</head>
<body>Goliard Saio</body>
<hands>Dusk Gloves</hands>
<waist>Swift Belt</waist>
</set>
<!-- Set: Resting -->
<set name="Resting">
<main>Pluto's Staff</main>
<head>Yigit Turban</head>
<neck>Grandiose chain</neck>
<lear>Magnetic Earring</lear>
<rear>Relaxing Earring</rear>
<body>Yigit Gomlek</body>
<hands>Yigit Gages</hands>
<back>Invigorating Cape</back>
<waist>Forest Rope</waist>
<legs>Yigit Seraweels</legs>
<feet>Yigit Crackows</feet>
</set>
<!-- Set: Instruments -->
<!-- Set: Offensive Wind -->
<set name="Foe Requiem*" BaseSet="Wind"><range>Requiem Flute</range></set>
<set name="*Elegy" BaseSet="Wind"><range>Horn +1</range></set>
<set name="*Threnody" BaseSet="Wind"></set>
<set name="*Lullaby" BaseSet="Wind"></set>
<set name="*Finale" BaseSet="Wind"></set>
<!-- Set: Buffs Wind -->
<set name="Valor Minuet*" BaseSet="Buff"><range>Cornette +1</range></set>
<set name="*Madrigal" BaseSet="Buff"><range>Traversiere +1</range></set>
<set name="Knight's Minne*" BaseSet="Buff"></set>
<set name="*Mambo" BaseSet="Buff"></set>
<set name="*March" BaseSet="Buff"></set>
<set name="*Etude" BaseSet="Buff"></set>
<set name="*Prelude" BaseSet="Buff"></set>
<set name="Mage's Ballad*" BaseSet="Buff"></set>
<set name="*Carol" BaseSet="Buff"></set>
<set name="Army's Paeon*" BaseSet="Buff"></set>
<set name="*Mazurka" BaseSet="Buff"></set>
<set name="*Hymnus" BaseSet="Buff"></set>
</group>
<!-- Group: BRD/whm -->
<group name="BRD/whm" Inherit="BRD/nin">
<!-- Set: Idle -->
<set name="Idle" BaseGroup="BRD/nin">
<head></head>
<body>Vermillion Cloak</body>
</set>
</group>
<!-- Group: LevelSync -->
<group name="LevelSync">
<!-- Set: Idle -->
<set name="Idle"></set>
<!-- Set: Refresh -->
<set name="refresh" BaseSet="Idle"></set>
<!-- Set: Stoneskin -->
<set name="Stoneskin" BaseSet="Idle"></set>
<!-- Set: Wind -->
<set name="Wind" BaseSet="Idle"><range>Ryl.Spr. Horn</range></set>
<!-- Set: String -->
<set name="String" BaseSet="Wind"></set>
<!-- Set: Buff -->
<set name="Buff" BaseSet="Idle"></set>
<!-- Set: FastCast -->
<set name="FastCast"></set>
<!-- Set: Haste -->
<set name="Haste"></set>
<!-- Set: Resting -->
<set name="Resting"></set>
<!-- Set: Instruments -->
<!-- Set: Offensive Wind -->
<set name="Foe Requiem*" BaseSet="Wind"><range>Siren Flute</range></set>
<set name="*Elegy" BaseSet="Wind"><range>Horn +1</range></set>
<set name="*Threnody" BaseSet="Wind"></set>
<set name="*Lullaby" BaseSet="Wind"></set>
<set name="*Finale" BaseSet="Wind"></set>
<!-- Set: Buffs Wind -->
<set name="*Minuet*" BaseSet="Buff"><range>Cornette +1</range></set>
<set name="*Madrigal" BaseSet="Buff"><range>Traversiere +1</range></set>
<set name="*Minne*" BaseSet="Buff"></set>
<set name="*Mambo" BaseSet="Buff"></set>
<set name="*March" BaseSet="Buff"></set>
<set name="*Etude" BaseSet="Buff"></set>
<set name="*Prelude" BaseSet="Buff"></set>
<set name="*Ballad*" BaseSet="Buff"></set>
<set name="*Carol" BaseSet="Buff"></set>
<set name="*Paeon*" BaseSet="Buff"></set>
<set name="*Mazurka" BaseSet="Buff"></set>
<set name="*Hymnus" BaseSet="Buff"></set>
</group>
<!-- Group: Melee -->
<group name="Melee" Inherit="BRD/nin">
<set name="Idle" BaseSet="Idle" BaseGroup="BRD/nin">
<neck>Chivalrous Chain</neck>
<lear>Suppanomimi</lear>
<rear>Brutal Earring</rear>
<body>Goliard Saio</body>
<hands>Dusk Gloves</hands>
<rring>Sniper's Ring</rring>
<lring>Blood Ring</lring>
<waist>Swift Belt</waist>
<legs>Volunteer's Brais</legs>
</set>
</group>
</sets>
<variables clear="True">
<!-- Var: Elemental Staves -->
<var name="IceStaff">Aquilo's Staff</var>
<var name="WindStaff">Wind Staff</var>
<var name="EarthStaff">Terra's Staff</var>
<var name="ThunderStaff">Jupiter's Staff</var>
<var name="WaterStaff">Water Staff</var>
<var name="FireStaff">Vulcan's Staff</var>
<var name="DarkStaff">Pluto's Staff</var>
<var name="LightStaff">Apollo's Staff</var>
</variables>
<rules>
<!-- Rule: Auto-Swap Groups -->
<if BuffActive="Level Sync" NotGroup="LevelSync">
<action type="command">sc group LevelSync</action>
<action type="AddToChat">Group Changed to [LevelSync]</action>
<action type="command">input /ma "%Spell" %SpellTargetRaw</action>
<action type="CancelSpell" />
<action type="return" />
</if>
<elseif NotBuffActive="Level Sync" SubJob="NIN" NotGroup="BRD/nin">
<action type="command">sc group BRD/nin</action>
<action type="AddToChat">Group Changed to [BRD/nin]</action>
<action type="command">input /ma "%Spell" %SpellTargetRaw</action>
<action type="CancelSpell" />
<action type="return" />
</elseif>
<elseif NotBuffActive="Level Sync" SubJob="WHM" NotGroup="BRD/whm">
<action type="command">sc group BRD/whm</action>
<action type="AddToChat">Group Changed to [BRD/whm]</action>
<action type="command">input /ma "%Spell" %SpellTargetRaw</action>
<action type="CancelSpell" />
<action type="return" />
</elseif>
<!-- Rule: Lock weapon if meleeing -->
<if Status="Engaged" TPGT="20">
<action type="equip">
<main lock="t" />
<sub lock="t" />
</action>
</if>
<!-- Rule: Swap Staves if above level 50 -->
<elseif MLvlGT="50">
<if Spell="Cure*|*Lullaby|*Finale|Foe Requiem*">
<action type="equip">
<main>$LightStaff</main>
<sub>Light Grip</sub>
</action>
</if>
<elseif Spell="*Elegy">
<action type="equip">
<main>$EarthStaff</main>
<sub>Earth Grip</sub>
</action>
</elseif>
<elseif Spell="*Threnody">
<action type="equip">
<main>$%SpellElementStaff</main>
</action>
</elseif>
<action type="equip" when="Aftercast">
<main>$EarthStaff</main>
<sub>Staff Strap</sub>
</action>
</elseif>
<!-- Rule: Cancel processing if spell is Mazurka -->
<if Spell="*Mazurka">
<action type="return" />
</if>
<!-- Rule: Stoneskin -->
<if spell="Stoneskin">
<action type="equip" set="Stoneskin" />
</if>
<!-- Rule: Utsusemi - Cancel -->
<if spell="Utsusemi: Ichi" SubJobLvl="37">
<action type="equip" when="PreCast" set="FastCast" />
<action type="midcastdelay" delay="2.6" />
<action type="Command" when="midcast">cancel 66</action>
<action type="equip" when="midcast" set="Haste" />
<action type="equip" when="AfterCast" set="Idle" />
</if>
<if spell="Utsusemi: Ni">
<action type="equip" when="PreCast" set="FastCast" />
<action type="equip" when="midcast" set="Haste" />
<action type="equip" when="AfterCast" set="Idle" />
</if>
<!-- Rule: Gear Swaps and Song Correction for LevelSync -->
<if Type="BardSong">
<!-- SubRule: Gear Swaps for Offensive Songs -->
<if Spell="*Lullaby|*Finale|Foe Requiem*|*Elegy">
<action type="equip" when="PreCast" set="FastCast" />
<action type="equip" when="MidCast" set="Wind|%Spell" />
<action type="equip" when="AfterCast" set="Idle" />
<if spell="Foe Requiem VI|Foe Requiem V|Foe Requiem IV|Foe Requiem III|Foe Requiem II|Foe Requiem">
<if spell="Foe Requiem VI">
<if MLvlLT="67">
<action type="ChangeSpell" Spell="Foe Requiem V" />
</if>
</if>
<if spell="Foe Requiem V">
<if MLvlLT="57">
<action type="ChangeSpell" Spell="Foe Requiem IV" />
</if>
</if>
<if spell="Foe Requiem IV">
<if MLvlLT="47">
<action type="ChangeSpell" Spell="Foe Requiem III" />
</if>
</if>
<if spell="Foe Requiem III">
<if MLvlLT="37">
<action type="ChangeSpell" Spell="Foe Requiem II" />
</if>
</if>
<if spell="Foe Requiem II">
<if MLvlLT="17">
<action type="ChangeSpell" Spell="Foe Requiem" />
</if>
</if>
<if spell="Foe Requiem">
<if MLvlLT="7">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</if>
<elseif spell="Carnage Elegy|Battlefield Elegy">
<if spell="Carnage Elegy">
<if MLvlLT="59">
<action type="ChangeSpell" Spell="Battlefield Elegy" />
</if>
</if>
<if spell="Battlefield Elegy">
<if MLvlLT="39">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</elseif>
</if>
<!-- SubRule: Gear Swaps for Buffs -->
<else>
<action type="equip" when="Precast" set="FastCast" />
<action type="equip" when="Midcast" set="%Spell" />
<action type="equip" when="AfterCast" set="Idle" />
<if spell="Mage's Ballad II|Mage's Ballad">
<if spell="Mage's Ballad II">
<if MLvlLT="55">
<action type="ChangeSpell" Spell="Mage's Ballad" />
</if>
</if>
<if spell="Mage's Ballad">
<if MLvlLT="25">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</if>
<elseif spell="Valor Minuet IV|Valor Minuet III|Valor Minuet II|Valor Minuet">
<if spell="Valor Minuet IV">
<if MLvlLT="63">
<action type="ChangeSpell" Spell="Valor Minuet III" />
</if>
</if>
<if spell="Valor Minuet III">
<if MLvlLT="43">
<action type="ChangeSpell" Spell="Valor Minuet II" />
</if>
</if>
<if spell="Valor Minuet II">
<if MLvlLT="23">
<action type="ChangeSpell" Spell="Valor Minuet" />
</if>
</if>
<if spell="Valor Minuet">
<if MLvlLT="3">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</elseif>
<elseif spell="Victory March|Advancing March">
<if spell="Victory March">
<if MLvlLT="60">
<action type="ChangeSpell" Spell="Advancing March" />
</if>
</if>
<if spell="Advancing March">
<if MLvlLT="29">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</elseif>
<elseif spell="Blade Madrigal|Sword Madrigal">
<if spell="Blade Madrigal">
<if MLvlLT="51">
<action type="ChangeSpell" Spell="Sword Madrigal" />
</if>
</if>
<if spell="Sword Madrigal">
<if MLvlLT="11">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</elseif>
<elseif spell="Knight's Minne IV|Knight's Minne III|Knight's Minne II|Knight's Minne">
<if spell="Knight's Minne IV">
<if MLvlLT="61">
<action type="ChangeSpell" Spell="Knight's Minne III" />
</if>
</if>
<if spell="Knight's Minne III">
<if MLvlLT="41">
<action type="ChangeSpell" Spell="Knight's Minne II" />
</if>
</if>
<if spell="Knight's Minne II">
<if MLvlLT="21">
<action type="ChangeSpell" Spell="Knight's Minne" />
</if>
</if>
<if spell="Knight's Minne">
<if MLvlLT="1">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</elseif>
<elseif spell="Army's Paeon V|Army's Paeon IV|Army's Paeon III|Army's Paeon II|Army's Paeon">
<if spell="Army's Paeon V">
<if MLvlLT="65">
<action type="ChangeSpell" Spell="Army's Paeon IV" />
</if>
</if>
<if spell="Army's Paeon IV">
<if MLvlLT="45">
<action type="ChangeSpell" Spell="Army's Paeon III" />
</if>
</if>
<if spell="Army's Paeon III">
<if MLvlLT="35">
<action type="ChangeSpell" Spell="Army's Paeon II" />
</if>
</if>
<if spell="Army's Paeon II">
<if MLvlLT="15">
<action type="ChangeSpell" Spell="Army's Paeon" />
</if>
</if>
<if spell="Army's Paeon">
<if MLvlLT="5">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</elseif>
<elseif spell="Puppet's Operetta|Scop's Operetta">
<if spell="Puppet's Operetta">
<if MLvlLT="69">
<action type="ChangeSpell" Spell="Scop's Operetta" />
</if>
</if>
<if spell="Scop's Operetta">
<if MLvlLT="19">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</elseif>
<elseif spell="Archer's Prelude|Hunter's Prelude">
<if spell="Archer's Prelude">
<if MLvlLT="71">
<action type="ChangeSpell" Spell="Hunter's Prelude" />
</if>
</if>
<if spell="Hunter's Prelude">
<if MLvlLT="31">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</elseif>
<elseif spell="*mazurka">
<if spell="Chocobo Mazurka">
<if MLvlLT="73">
<action type="ChangeSpell" Spell="Raptor Mazurka" />
</if>
</if>
<if spell="Raptor Mazurka">
<if MLvlLT="37">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</elseif>
<elseif spell="*Etude">
<if spell="Bewitching Etude|Enchanting Etude">
<if spell="Bewitching Etude">
<if MLvlLT="62">
<action type="ChangeSpell" Spell="Enchanting Etude" />
</if>
</if>
<if spell="Enchanting Etude">
<if MLvlLT="22">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</if>
<if spell="Logical Etude|Spirited Etude">
<if spell="Logical Etude">
<if MLvlLT="64">
<action type="ChangeSpell" Spell="Spirited Etude" />
</if>
</if>
<if spell="Spirited Etude">
<if MLvlLT="24">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</if>
<if spell="Sage Etude|Learned Etude">
<if spell="Sage Etude">
<if MLvlLT="66">
<action type="ChangeSpell" Spell="Learned Etude" />
</if>
</if>
<if spell="Learned Etude">
<if MLvlLT="26">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</if>
<if spell="Swift Etude|Quick Etude">
<if spell="Swift Etude">
<if MLvlLT="68">
<action type="ChangeSpell" Spell="Quick Etude" />
</if>
</if>
<if spell="Quick Etude">
<if MLvlLT="28">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</if>
<if spell="Vital Etude|Vivacious Etude">
<if spell="Vital Etude">
<if MLvlLT="70">
<action type="ChangeSpell" Spell="Vivacious Etude" />
</if>
</if>
<if spell="Vivacious Etude">
<if MLvlLT="30">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</if>
<if spell="Uncanny Etude|Dextrous Etude">
<if spell="Uncanny Etude">
<if MLvlLT="72">
<action type="ChangeSpell" Spell="Dextrous Etude" />
</if>
</if>
<if spell="Dextrous Etude">
<if MLvlLT="32">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</if>
<if spell="Herculean Etude|Sinewy Etude">
<if spell="Herculean Etude">
<if MLvlLT="74">
<action type="ChangeSpell" Spell="Sinewy Etude" />
</if>
</if>
<if spell="Sinewy Etude">
<if MLvlLT="34">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</if>
</elseif>
<elseif spell="Dragonfoe Mambo|Sheepfoe Mambo">
<if spell="Dragonfoe Mambo">
<if MLvlLT="53">
<action type="ChangeSpell" Spell="Sheepfoe Mambo" />
</if>
</if>
<if spell="Sheepfoe Mambo">
<if MLvlLT="13">
<action type="CancelSpell" />
<action type="addtochat">Job level too low.</action>
</if>
</if>
</elseif>
</else>
</if>
<!-- Rule: Automatic /recast for spells -->
<if CommandPrefix="/magic|/song|/ninjutsu">
<action type="Command" whem="Precast">input /recast "%Spell"</action>
</if>
<!-- Rule: Target Correction for Pianissimo -->
<if type="BardSong" BuffActive="Pianissimo">
<if TargetType="MONSTER" NotSpell="*Lullaby|*Elegy|*Requiem*|*Threnody|*Finale">
<action type="ChangeTarget" Target="<st>" />
</if>
<else>
<action type="ChangeTarget" Target="<t>"/>
</else>
</if>
</rules>
</spellcast>