I made a recopilation XML for BRD, with code suggestions of many users (thx DocWilco, Souleman etc ^^), and getting as a base Irockys' and Vinter's BRD XML's.
SJ WHM, BLM, NIN and partially SCH. (Cancels stoneskin, blink, sneak and utsusemi if still up when casting)
Note: This XML requires the “Cancel” plugin
If you think I should add something, just PM me please.
— Kimem 2008/11/13 12:43
<?xml version="1.0" ?>
<!-- __________________________________________________________________________-->
<!-- _____________________ BRD XML by Kimem of Ragnarok _______________________-->
<!-- _____________________ If you think I should add something _______________________-->
<!-- _____________________ just PM me ^^ _______________________-->
<!-- _____________________ XML in constant progress. _______________________-->
<!-- _____________________ BRD.XML version 1.2 _______________________-->
<!-- _____________________ 2008/11/13 _______________________-->
<!-- __________________________________________________________________________-->
<spellcast>
<config
RequiredVersion="2.20"
HideErrors="false"
ShowGearSwaps="false"
Debug="false"
ShowSpellInfo="false"
/>
<variables clear="True">
<var name="Sng">23</var> <!-- Song recast. Influenced by Haste and FastCast. Put any number you think is your recast. Normal recast without haste/fastcast is 24. -->
<!-- _____________________ Put your Elemental Staves here _______________________-->
<var name="IceStaff">Aquilo's Staff</var>
<var name="WindStaff">Auster's Staff</var>
<var name="EarthStaff">Terra's Staff</var>
<var name="ThunderStaff">Jupiter's Staff</var>
<var name="WaterStaff">Neptune's Staff</var>
<var name="FireStaff">Vulcan's Staff</var>
<var name="DarkStaff">Pluto's Staff</var>
<var name="LightStaff">Apollo's Staff</var>
<var name="LightObi">Korin Obi</var>
<!-- _____________________ Don't edit this variables if you don't know what are you doing ^^ _______________________-->
<var name="Paeon1">up</var>
<var name="Paeon2">up</var>
<var name="Paeon3">up</var>
<var name="Paeon4">up</var>
<var name="Paeon5">up</var>
<var name="Minne1">up</var>
<var name="Minne2">up</var>
<var name="Minne3">up</var>
<var name="Minne4">up</var>
<var name="Minuet1">up</var>
<var name="Minuet2">up</var>
<var name="Minuet3">up</var>
<var name="Minuet4">up</var>
<var name="Requiem1">up</var>
<var name="Requiem2">up</var>
<var name="Requiem3">up</var>
<var name="Requiem4">up</var>
<var name="Requiem5">up</var>
<var name="Requiem6">up</var>
<var name="Operetta1">up</var>
<var name="Operetta2">up</var>
<var name="Prelude1">up</var>
<var name="Prelude2">up</var>
<var name="STRetude1">up</var>
<var name="STRetude2">up</var>
<var name="VITetude1">up</var>
<var name="VITetude2">up</var>
<var name="DEXetude1">up</var>
<var name="DEXetude2">up</var>
<var name="AGIetude1">up</var>
<var name="AGIetude2">up</var>
<var name="INTetude1">up</var>
<var name="INTetude2">up</var>
<var name="MNDetude1">up</var>
<var name="MNDetude2">up</var>
<var name="CHRetude1">up</var>
<var name="CHRetude2">up</var>
<var name="Madrigal1">up</var>
<var name="Madrigal2">up</var>
<var name="Mambo1">up</var>
<var name="Mambo2">up</var>
<var name="Ballad1">up</var>
<var name="Ballad2">up</var>
<var name="March1">up</var>
<var name="March2">up</var>
</variables>
<sets>
<group name="BRD" default="yes">
<!-- _____________________ Put your armor here _______________________-->
<set name="normal">
<!-- normal set of armor -->
</set>
<set name="DmgReduction" BaseSet="normal">
<main>$EarthStaff</main>
<!-- more high def (or cool looking) armor -->
</set>
<set name="Resting">
<body>Errant Hpl.</body>
<neck>Beak Necklace +1</neck>
<main>$DarkStaff</main>
<head>Oracle's Cap</head>
<waist>Qiqirn Sash +1</waist>
<hands>Oracle's Gloves</hands>
<back>Invigorating Cape</back>
<feet>Numerist Pumps</feet>
<legs>Baron's Slops</legs>
<lear>Relaxing Earring</lear>
<rear>Magnetic Earring</rear>
</set>
<set name="FastCast">
<head>Walahra Turban</head>
<body>Sha'ir Manteel</body>
<lear>Magnetic Earring</lear>
<rear>Loquac. Earring</rear>
<legs>Byakko's Haidate</legs>
<feet>Rostrum Pumps</feet>
<range>Angel Lyre</range>
<rring>Trooper's Ring</rring>
</set>
<set name="SS">
<main>$IceStaff</main>
<!-- More +MND Gear here -->
</set>
<set name="SNK">
<back>Skulker's Cape</back>
<main>$WindStaff</main>
</set>
<set name="skill">
<head>Demon helm</head>
<lear>Melody earring +1</lear>
<rear>Melody earring +1</rear>
<body>Minstrel's coat</body>
<hands>Choral cuffs</hands>
<lring>Angel's ring</lring>
<rring>Minstrel's ring</rring>
<back>Jester's cape +1</back>
<waist>Gleeman's belt</waist>
<legs>Choral cannions</legs>
<feet>Sha'ir crackows</feet>
</set>
<set name="CHR">
<head>Errant hat</head>
<lear>Melody earring +1</lear>
<rear>Melody earring +1</rear>
<body>Errant houppelande</body>
<hands>Sha'ir gages</hands>
<lring>Angel's ring</lring>
<rring>Minstrel's ring</rring>
<back>Jester's cape +1</back>
<waist>Gleeman's belt</waist>
<legs>Sha'ir seraweels</legs>
<feet>Sha'ir crackows</feet>
</set>
<set name="wind_skill" BaseSet="skill">
<neck>Wind torque</neck>
</set>
<set name="string_skill" BaseSet="skill">
<neck>String torque</neck>
</set>
<set name="wind_chr" BaseSet="chr">
<neck>Wind torque</neck>
</set>
<set name="string_chr" BaseSet="chr">
<neck>String torque</neck>
</set>
<set name="ballad" BaseSet="wind_skill">
<range>Cornette +1</range>
</set>
<set name="minuet" BaseSet="wind_skill">
<range>Cornette +1</range>
</set>
<set name="march" BaseSet="wind_skill">
<range>Faerie piccolo</range>
</set>
<set name="madrigal" BaseSet="wind_skill">
<range>Traversiere +1</range>
</set>
<set name="requiem" BaseSet="wind_chr">
<range>Requiem Flute</range>
<main>$LightStaff</main>
</set>
<set name="elegy" BaseSet="wind_chr">
<range>Horn +1</range>
<main>$EarthStaff</main>
</set>
<set name="lullaby" BaseSet="wind_chr">
<range>Mary's Horn</range>
<main>$LightStaff</main>
</set>
<set name="finale" BaseSet="wind_chr">
<range>Requiem Flute</range>
<main>$LightStaff</main>
</set>
<set name="mazurka" BaseSet="wind_skill">
<range>Harlequin's Horn"</range>
</set>
<set name="minne" BaseSet="string_skill">
<range>Harp +1</range>
</set>
<set name="Threnody" BaseSet="wind_skill">
<range>Piccolo +1</range>
<main>$%SpellElementStaff</main>
</set>
<set name="Prelude" BaseSet="wind_skill">
<range>Angel Flute +1</range>
</set>
<set name="Etude" BaseSet="string_skill">
<range>Mythic Harp +1</range>
</set>
<set name="Mambo" BaseSet="wind_skill">
<range>Hellish Bugle +1</range>
</set>
<set name="Paeon" BaseSet="string_skill">
<range>Ebony Harp +1</range>
</set>
</group>
</sets>
<rules>
<if MainJob="BRD">
<if Skill="Singing">
<if spell="Mage's Ballad II|Mage's Ballad">
<if spell="Mage's Ballad II">
<if advanced='"$Ballad2"=="down" OR %MainJobLVL <"55"'>
<action type="ChangeSpell" Spell="Mage's Ballad" />
</if>
<else>
<action type="var" cmd="set Ballad2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Ballad2 up</action>
</else>
</if>
<if spell="Mage's Ballad">
<if advanced='"$Ballad1"=="down" OR %MainJobLVL <"25"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set Ballad1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Ballad1 up</action>
</else>
</if>
<action type="equip" when="precast" set="Ballad"/>
<action type="aftercastdelay" delay="1" />
</if>
<if spell="Valor Minuet IV|Valor Minuet III|Valor Minuet II|Valor Minuet">
<if spell="Valor Minuet IV">
<if advanced='"$Minuet4"=="down" OR %MainJobLVL <"63"'>
<action type="ChangeSpell" Spell="Valor Minuet III" />
</if>
<else>
<action type="var" cmd="set Minuet4 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Minuet4 up</action>
</else>
</if>
<if spell="Valor Minuet III">
<if advanced='"$Minuet3"=="down" OR %MainJobLVL <"43"'>
<action type="ChangeSpell" Spell="Valor Minuet II" />
</if>
<else>
<action type="var" cmd="set Minuet3 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Minuet3 up</action>
</else>
</if>
<if spell="Valor Minuet II">
<if advanced='"$Minuet2"=="down" OR %MainJobLVL <"23"'>
<action type="ChangeSpell" Spell="Valor Minuet" />
</if>
<else>
<action type="var" cmd="set Minuet2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Minuet2 up</action>
</else>
</if>
<if spell="Valor Minuet">
<if advanced='"$Minuet1"=="down" OR %MainJobLVL <"3"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set Minuet1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Minuet1 up</action>
</else>
</if>
<action type="equip" when="precast" set="Minuet"/>
<action type="aftercastdelay" delay="1" />
</if>
<if spell="Victory March|Advancing March">
<if spell="Victory March">
<if Advanced='"$March2"=="down" OR %MainJobLVL <"60"'>
<action type="ChangeSpell" Spell="Advancing March" />
</if>
<else>
<action type="var" cmd="set March2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set March2 up</action>
</else>
</if>
<if spell="Advancing March">
<if Advanced='"$March1"=="down" OR %MainJobLVL <"29"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set March1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set March1 up</action>
</else>
</if>
<action type="equip" when="precast" set="March"/>
<action type="aftercastdelay" delay="1" />
</if>
<if spell="Blade Madrigal|Sword Madrigal">
<if spell="Blade Madrigal">
<if advanced='"$Madrigal2"=="down" OR %MainJobLVL <"51"'>
<action type="ChangeSpell" Spell="Sword Madrigal" />
</if>
<else>
<action type="var" cmd="set Madrigal2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Madrigal2 up</action>
</else>
</if>
<if spell="Sword Madrigal">
<if advanced='"$Madrigal1"=="down" OR %MainJobLVL <"11"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set Madrigal1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Madrigal1 up</action>
</else>
</if>
<action type="equip" when="precast" set="Madrigal"/>
<action type="aftercastdelay" delay="1" />
</if>
<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 advanced='"$Requiem6"=="down" OR %MainJobLVL <"67"'>
<action type="ChangeSpell" Spell="Foe Requiem V" />
</if>
<else>
<action type="var" cmd="set Requiem6 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Requiem6 up</action>
</else>
</if>
<if spell="Foe Requiem V">
<if advanced='"$Requiem5"=="down" OR %MainJobLVL <"57"'>
<action type="ChangeSpell" Spell="Foe Requiem IV" />
</if>
<else>
<action type="var" cmd="set Requiem5 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Requiem5 up</action>
</else>
</if>
<if spell="Foe Requiem IV">
<if advanced='"$Requiem4"=="down" OR %MainJobLVL <"47"'>
<action type="ChangeSpell" Spell="Foe Requiem III" />
</if>
<else>
<action type="var" cmd="set Requiem4 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Requiem4 up</action>
</else>
</if>
<if spell="Foe Requiem III">
<if advanced='"$Requiem3"=="down" OR %MainJobLVL <"37"'>
<action type="ChangeSpell" Spell="Foe Requiem II" />
</if>
<else>
<action type="var" cmd="set Requiem3 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Requiem3 up</action>
</else>
</if>
<if spell="Foe Requiem II">
<if advanced='"$Requiem2"=="down" OR %MainJobLVL <"17"'>
<action type="ChangeSpell" Spell="Foe Requiem" />
</if>
<else>
<action type="var" cmd="set Requiem2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Requiem2 up</action>
</else>
</if>
<if spell="Foe Requiem">
<if advanced='"$Requiem1"=="down" OR %MainJobLVL <"7"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set Requiem1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Requiem1 up</action>
</else>
</if>
<action type="equip" when="precast" set="Requiem"/>
<action type="aftercastdelay" delay="1" />
</if>
<if 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" />
</if>
</if>
<action type="equip" when="precast" set="Elegy"/>
<action type="aftercastdelay" delay="1" />
</if>
<if spell="*Lullaby">
<action type="equip" when="precast" set="lullaby"/>
<action type="aftercastdelay" delay="1" />
<if spell="Foe*">
<action type="command" when="precast">wait 29;input /echo [%spell] [%target] Wearing off in 10s</action>
<action type="command" when="precast">wait 34;input /echo [%spell] [%target] Wearing off in 5s</action>
<action type="command" when="precast">wait 36;input /echo [%spell] [%target] Wearing off in 2s</action>
</if>
<if spell="Horde*">
<action type="command" when="precast">wait 29;input /echo [%spell] [%target] Wearing off in 10s</action>
<action type="command" when="precast">wait 34;input /echo [%spell] [%target] Wearing off in 5s</action>
<action type="command" when="precast">wait 36;input /echo [%spell] [%target] Wearing off in 2s</action>
</if>
</if>
<if spell="Knight's Minne IV|Knight's Minne III|Knight's Minne II|Knight's Minne">
<if spell="Knight's Minne IV">
<if advanced='"$Minne4"=="down" OR %MainJobLVL <"61"'>
<action type="ChangeSpell" Spell="Knight's Minne III" />
</if>
<else>
<action type="var" cmd="set Minne4 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Minne4 up</action>
</else>
</if>
<if spell="Knight's Minne III">
<if advanced='"$Minne3"=="down" OR %MainJobLVL <"41"'>
<action type="ChangeSpell" Spell="Knight's Minne II" />
</if>
<else>
<action type="var" cmd="set Minne3 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Minne3 up</action>
</else>
</if>
<if spell="Knight's Minne II">
<if advanced='"$Minne2"=="down" OR %MainJobLVL <"21"'>
<action type="ChangeSpell" Spell="Knight's Minne" />
</if>
<else>
<action type="var" cmd="set Minne2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Minne2 up</action>
</else>
</if>
<if spell="Knight's Minne">
<if advanced='"$Minne1"=="down" OR %MainJobLVL <"1"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set Minne1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Minne1 up</action>
</else>
</if>
<action type="equip" when="precast" set="Minne"/>
<action type="aftercastdelay" delay="1" />
</if>
<if spell="*threnody">
<action type="equip" when="precast" set="threnody"/>
<action type="aftercastdelay" delay="1" />
</if>
<if 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 advanced='"$Paeon5"=="down" OR %MainJobLVL <"65"'>
<action type="ChangeSpell" Spell="Army's Paeon IV" />
</if>
<else>
<action type="var" cmd="set Paeon5 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Paeon5 up</action>
</else>
</if>
<if spell="Army's Paeon IV">
<if advanced='"$Paeon4"=="down" OR %MainJobLVL <"45"'>
<action type="ChangeSpell" Spell="Army's Paeon III" />
</if>
<else>
<action type="var" cmd="set Paeon4 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Paeon4 up</action>
</else>
</if>
<if spell="Army's Paeon III">
<if advanced='"$Paeon3"=="down" OR %MainJobLVL <"35"'>
<action type="ChangeSpell" Spell="Army's Paeon II" />
</if>
<else>
<action type="var" cmd="set Paeon3 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Paeon3 up</action>
</else>
</if>
<if spell="Army's Paeon II">
<if advanced='"$Paeon2"=="down" OR %MainJobLVL <"15"'>
<action type="ChangeSpell" Spell="Army's Paeon" />
</if>
<else>
<action type="var" cmd="set Paeon2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Paeon2 up</action>
</else>
</if>
<if spell="Army's Paeon">
<if advanced='"$Paeon1"=="down" OR %MainJobLVL <"5"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set Paeon1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Paeon1 up</action>
</else>
</if>
<action type="equip" when="precast" set="Paeon"/>
<action type="aftercastdelay" delay="1" />
</if>
<if spell="Puppet's Operetta|Scop's Operetta">
<if spell="Puppet's Operetta">
<if advanced='"$Operetta2"=="down" OR %MainJobLVL <"69"'>
<action type="ChangeSpell" Spell="Scop's Operetta" />
</if>
<else>
<action type="var" cmd="set Operetta2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Operetta2 up</action>
</else>
</if>
<if spell="Scop's Operetta">
<if advanced='"$Operetta1"=="down" OR %MainJobLVL <"19"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set Operetta1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Operetta1 up</action>
</else>
</if>
<action type="aftercastdelay" delay="1" />
</if>
<if spell="Archer's Prelude|Hunter's Prelude">
<if spell="Archer's Prelude">
<if advanced='"$Prelude2"=="down" OR %MainJobLVL <"71"'>
<action type="ChangeSpell" Spell="Hunter's Prelude" />
</if>
<else>
<action type="var" cmd="set Prelude2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Prelude2 up</action>
</else>
</if>
<if spell="Hunter's Prelude">
<if advanced='"$Prelude1"=="down" OR %MainJobLVL <"31"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set Prelude1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Prelude1 up</action>
</else>
</if>
<action type="equip" when="precast" set="Prelude"/>
<action type="aftercastdelay" delay="1" />
</if>
<if 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" />
</if>
</if>
<action type="equip" when="precast" set="mazurka"/>
<action type="aftercastdelay" delay="1" />
</if>
<if spell="*Etude">
<if spell="Bewitching Etude|Enchanting Etude">
<if spell="Bewitching Etude">
<if advanced='"$CHRetude2"=="down" OR %MainJobLVL <"62"'>
<action type="ChangeSpell" Spell="Enchanting Etude" />
</if>
<else>
<action type="var" cmd="set CHRetude2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set CHRetude2 up</action>
</else>
</if>
<if spell="Enchanting Etude">
<if advanced='"$CHRetude1"=="down" OR %MainJobLVL <"22"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set CHRetude1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set CHRetude1 up</action>
</else>
</if>
</if>
<if spell="Logical Etude|Spirited Etude">
<if spell="Logical Etude">
<if advanced='"$MNDetude2"=="down" OR %MainJobLVL <"64"'>
<action type="ChangeSpell" Spell="Spirited Etude" />
</if>
<else>
<action type="var" cmd="set MNDetude2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set MNDetude2 up</action>
</else>
</if>
<if spell="Spirited Etude">
<if advanced='"$MNDetude1"=="down" OR %MainJobLVL <"24"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set MNDetude1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set MNDetude1 up</action>
</else>
</if>
</if>
<if spell="Sage Etude|Learned Etude">
<if spell="Sage Etude">
<if advanced='"$INTetude2"=="down" OR %MainJobLVL <"66"'>
<action type="ChangeSpell" Spell="Learned Etude" />
</if>
<else>
<action type="var" cmd="set INTetude2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set INTetude2 up</action>
</else>
</if>
<if spell="Learned Etude">
<if advanced='"$INTetude1"=="down" OR %MainJobLVL <"26"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set INTetude1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set INTetude1 up</action>
</else>
</if>
</if>
<if spell="Swift Etude|Quick Etude">
<if spell="Swift Etude">
<if advanced='"$AGIetude2"=="down" OR %MainJobLVL <"68"'>
<action type="ChangeSpell" Spell="Quick Etude" />
</if>
<else>
<action type="var" cmd="set AGIetude2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set AGIetude2 up</action>
</else>
</if>
<if spell="Quick Etude">
<if advanced='"$AGIetude1"=="down" OR %MainJobLVL <"28"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set AGIetude1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set AGIetude1 up</action>
</else>
</if>
</if>
<if spell="Vital Etude|Vivacious Etude">
<if spell="Vital Etude">
<if advanced='"$VITetude2"=="down" OR %MainJobLVL <"70"'>
<action type="ChangeSpell" Spell="Vivacious Etude" />
</if>
<else>
<action type="var" cmd="set VITetude2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set VITetude2 up</action>
</else>
</if>
<if spell="Vivacious Etude">
<if advanced='"$VITetude1"=="down" OR %MainJobLVL <"30"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set VITetude1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set VITetude1 up</action>
</else>
</if>
</if>
<if spell="Uncanny Etude|Dextrous Etude">
<if spell="Uncanny Etude">
<if advanced='"$DEXetude2"=="down" OR %MainJobLVL <"72"'>
<action type="ChangeSpell" Spell="Dextrous Etude" />
</if>
<else>
<action type="var" cmd="set DEXetude2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set DEXetude2 up</action>
</else>
</if>
<if spell="Dextrous Etude">
<if advanced='"$DEXetude1"=="down" OR %MainJobLVL <"32"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set DEXetude1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set DEXetude1 up</action>
</else>
</if>
</if>
<if spell="Herculean Etude|Sinewy Etude">
<if spell="Herculean Etude">
<if advanced='"$STRetude2"=="down" OR %MainJobLVL <"74"'>
<action type="ChangeSpell" Spell="Sinewy Etude" />
</if>
<else>
<action type="var" cmd="set STRetude2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set STRetude2 up</action>
</else>
</if>
<if spell="Sinewy Etude">
<if advanced='"$STRetude1"=="down" OR %MainJobLVL <"34"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set STRetude1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set STRetude1 up</action>
</else>
</if>
</if>
<action type="equip" when="precast" set="Etude"/>
<action type="aftercastdelay" delay="1" />
</if>
<if spell="Dragonfoe Mambo|Sheepfoe Mambo">
<if spell="Dragonfoe Mambo">
<if advanced='"$Mambo2"=="down" OR %MainJobLVL <"53"'>
<action type="ChangeSpell" Spell="Sheepfoe Mambo" />
</if>
<else>
<action type="var" cmd="set Mambo2 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Mambo2 up</action>
</else>
</if>
<if spell="Sheepfoe Mambo">
<if advanced='"$Mambo1"=="down" OR %MainJobLVL <"13"'>
<action type="CancelSpell" />
</if>
<else>
<action type="var" cmd="set Mambo1 down"/>
<action type="command" when="aftercast">wait $Sng;sc var set Mambo1 up</action>
</else>
</if>
<action type="equip" when="precast" set="Mambo"/>
<action type="aftercastdelay" delay="1" />
</if>
</if>
<if BuffActive="Pianissimo">
<action type="DefaultTarget" Target="<t>" when="precast"/>
</if>
</if>
<if SubJob="WHM|RDM|SCH">
<if Spell="Cure*|Curaga*|Dia*|Banish*">
<action type="equip" when="midcast">
<main>$%SpellElementStaff</main>
</action>
<if advanced='("%WeatherElement"="Light") OR ("%DayElement"="Light")'>
<action type="Equip" when="midcast">
<waist>$%SpellElementObi</waist>
</action>
</if>
</if>
<if spell="Cure*|Curaga*|Regen*" NotBuffActive="Penury">
<if Spell="Curaga II" MPLT="120">
<action type="ChangeSpell" Spell="Curaga" />
</if>
<elseif Spell="Curaga" MPLT="60">
<action type="CancelSpell" />
<action type="AddToChat" color="50">Not enough MP.</action>
</elseif>
<elseif Spell="Cure III" MPLT="46" MPGT="23">
<action type="ChangeSpell" Spell="Cure II" />
</elseif>
<elseif Spell="Cure III" MPLT="24" MPGT="7">
<action type="ChangeSpell" Spell="Cure" />
</elseif>
<elseif Spell="Cure III" MPLT="8">
<action type="CancelSpell" />
<action type="AddToChat" color="50">Not enough MP.</action>
</elseif>
<elseif Spell="Cure II" MPLT="24" MPGT="7">
<action type="ChangeSpell" Spell="Cure" />
</elseif>
<elseif Spell="Cure II" MPLT="8">
<action type="CancelSpell" />
<action type="AddToChat" color="50">Not enough MP.</action>
</elseif>
<elseif Spell="Cure" MPLT="8">
<action type="CancelSpell" />
<action type="AddToChat" color="50">Not enough MP.</action>
</elseif>
<elseif Spell="Regen II" MPLT="36" MPGT="14">
<action type="ChangeSpell" Spell="Regen" />
</elseif>
<elseif Spell="Regen II" MPLT="15">
<action type="CancelSpell" />
<action type="AddToChat" color="50">Not enough MP.</action>
</elseif>
<elseif Spell="Regen" MPLT="15">
<action type="CancelSpell" />
<action type="AddToChat" color="50">Not enough MP.</action>
</elseif>
</if>
<elseif spell="Cure*|Curaga*|Regen*" BuffActive="Penury">
<if Spell="Cure III" MPLT="23" MPGT="11">
<action type="ChangeSpell" Spell="Cure II" />
</if>
<elseif Spell="Cure III" MPLT="12" MPGT="3">
<action type="ChangeSpell" Spell="Cure" />
</elseif>
<elseif Spell="Cure III" MPLT="4">
<action type="CancelSpell" />
<action type="AddToChat" color="50">Not enough MP.</action>
</elseif>
<elseif Spell="Cure II" MPLT="12" MPGT="3">
<action type="ChangeSpell" Spell="Cure" />
</elseif>
<elseif Spell="Cure II" MPLT="4">
<action type="CancelSpell" />
<action type="AddToChat" color="50">Not enough MP.</action>
</elseif>
<elseif Spell="Cure" MPLT="4">
<action type="CancelSpell" />
<action type="AddToChat" color="50">Not enough MP.</action>
</elseif>
<elseif Spell="Regen II" MPLT="18" MPGT="7">
<action type="ChangeSpell" Spell="Regen" />
</elseif>
<elseif Spell="Regen II" MPLT="7">
<action type="CancelSpell" />
<action type="AddToChat" color="50">Not enough MP.</action>
</elseif>
<elseif Spell="Regen" MPLT="7">
<action type="CancelSpell" />
<action type="AddToChat" color="50">Not enough MP.</action>
</elseif>
</elseif>
<elseif Spell="Stoneskin">
<action type="equip" when="precast" set="FastCast" />
<if Spell="Stoneskin">
<action type="midcastdelay" delay="2" />
<action type="equip" when="midcast" set="SS" />
<action type="command" when="midcast">cancel 37</action>
</if>
</elseif>
<elseif Spell="Blink">
<action type="Equip" when="Precast|midcast" set="SNK"/>
<action type="command" when="midcast">cancel 36</action>
<action type="midcastdelay" delay="2" />
</elseif>
<elseif Spell="Sneak|Invisible">
<action type="Equip" when="Precast|midcast" set="SNK"/>
<action type="midcastdelay" delay="1.5" />
<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="<me>" OR ("%target"="%PlayerName" AND "%SpellTarget"="<t>")'>
<action type="command" when="midcast">cancel 71</action>
</if>
</elseif>
<action type="equip" when="resting" set="Resting" />
<action type="equip" when="idle|aftercast" set="Dmgreduction" />
<if SubJob="SCH">
<if spell="Poisona|Paralyna|Blindna|Silena|Cursna" subJob="SCH" notBuffActive="Addendum: White">
<action type="addtochat" when="precast">[INFO] You need Addendum:White for this.</action>
</if>
<elseif spell="Sleep|Dispel|Stone*|Water*|Aero|Fire|Blizzard|Thunder|Drain|Aspir" subJob="SCH" notBuffActive="Addendum: Black">
<action type="addtochat" when="precast">[INFO] You need Addendum:Black for this.</action>
</elseif>
</if>
</if>
<elseif SubJob="NIN">
<if spell="Utsu*">
<action type="equip" when="precast" set="fastcast"/>
<if spell="*Ichi" BuffActive="Copy Image">
<action type="midcastdelay" delay="2.5" />
<action type="Command" when="midcast">cancel 66</action>
</if>
</if>
<elseif spell="Monomi*|Tonko*">
<action type="Equip" when="Precast|midcast" set="SNK"/>
<if Spell="Monomi*" BuffActive="Sneak">
<action type="midcastdelay" delay="2.5" />
<action type="Command" when="midcast">cancel 71</action>
</if>
</elseif>
</elseif>
</rules>
</spellcast>