Any suggestions would be greatly appreciated! I should mention that this xml is for my mule, so her gear isn't that great. Thank you so much!
<?xml version="1.0" ?>
<spellcast>
<config
Debug="false"
RequireVersion="2.18"
HideErrors="false"
ShowSpellInfo="false"
ShowGearSwaps="true"
/>
<variables clear="false">
<var name="IceStaff">Aquilo's Staff</var>
<var name="DarkStaff">Pluto's Staff</var>
<var name="ThunderStaff">Jupiter's Staff</var>
<var name="LightStaff">Apollo's Staff</var>
<var name="WindStaff">Auster's Staff</var>
<var name="FireStaff">Vulcan's Staff</var>
<var name="EarthStaff">Terra's Staff</var>
<var name="LightStaff">Apollo's Staff</var>
<var name="WaterStaff">Neptune's Staff</var>
<var name="DarkObi">0</var>
<var name="LightObi">0</var>
<var name="ThunderObi">0</var>
<var name="IceObi">0</var>
<var name="FireObi">0</var>
<var name="WindObi">0</var>
<var name="WaterObi">0</var>
<var name="EarthObi">0</var>
<var name="Ring">0</var>
</variables>
<sets>
<group default="yes" name="whm">
<set name="Fast Cast">
<ammo>Incantor stone</ammo>
<feet>Rostrum pumps</feet>
<neck>Orison Locket</neck>
<body>Royal Redingote</body>
<rear>Loqu. Earring</rear>
</set>
<set name="Resting" BaseSet="Standard">
<main>Pluto's Staff</main>
<head>Orison Cap +2</head>
<neck>Beak Necklace +1</neck>
<lear></lear>
<rear></rear>
<legs></legs>
<body>Errant Hpl.</body>
<waist>Cleric's Belt</waist>
<back></back>
</set>
<set name="Healing" BaseSet="Standard">
<main>Surya's staff +3</main>
<ammo>Aqua sachet</ammo>
<head>Orison Cap +2</head>
<body>Facio Bliaut</body>
<back>Eloquence Cape +1</back>
<waist>Cleric's Belt</waist>
<hands>Augur's Gloves</hands>
<neck>Morgana's Choker</neck>
<lear>Star Earring</lear>
<rear>Orison Earring</rear>
<legs>Orison pantaloons +2</legs>
<lring>Aqua ring</lring>
<rring>Solemn Ring</rring>
<feet>Orison Duckbills +1</feet>
</set>
<set name="Healingskill">
<body>Orison Bliaud +2</body>
<hands>Augur's Gloves</hands>
<ammo>Incantor stone</ammo>
<feet>Rostrum pumps</feet>
<neck>Orison Locket</neck>
<rear>Loqu. Earring</rear>
</set>
<set name="Enhancing" BaseSet="Standard">
<feet>Orison Duckbills +1</feet>
<hands>Augur's Gloves</hands>
<neck>Enhancing torque</neck>
</set>
<set name="Haste">
<head></head>
<hands></hands>
<legs></legs>
<feet></feet>
<waist></waist>
</set>
<set name="Standard">
<main>Terra's Staff</main>
<sub>Staff strap</sub>
<ammo>Incantor stone</ammo>
<head>Orison Cap +2</head>
<neck>Twilight Torque</neck>
<lear>Orison Earring</lear>
<rear>Novia Earring</rear>
<body>Orison Bliaud +2</body>
<hands>Serpentes Cuffs</hands>
<lring>Dark Ring</lring>
<rring>Aqua Ring</rring>
<back>Cheviot Cape</back>
<waist>Cleric's Belt</waist>
<legs>Orison Pantaloons +2</legs>
<feet>Serpentes sabots</feet>
</set>
<set name="Banish" Baseset="MND Gear">
<main>Apollo's Staff</main>
<body>Augur's Jaseran</body>
<hands>Cleric's Mitts</hands>
<back>Eloquence Cape +1</back>
<lear>Moldavite earring</lear>
<rear>Hecate's Earring</rear>
<lring>Omega Ring</lring>
<rring>Strendu Ring</rring>
</set>
<set name="MND Gear">
<ammo>Aqua sachet</ammo>
<head>Orison Cap +2</head>
<neck>Morgana's Choker</neck>
<lear>Star Earring</lear>
<rear>Novia Earring</rear>
<body>Augur's Jaseran</body>
<hands>Augur's Gloves</hands>
<lring></lring>
<rring></rring>
<back>Eloquence Cape +1 </back>
<waist>Cleric's Belt</waist>
<legs>Orison Pantaloons +2</legs>
<feet>Orison Duckbills +1</feet>
</set>
<set name="Engaged" BaseSet="Standard">
<head>Optical hat</head>
<body>Reverend Mail</body>
<lring>Rajas ring</lring>
<rring>Ulthalam's Ring</rring>
<waist>Goading belt</waist>
<lear>Novia Earring</lear>
<rear>Brutal Earring</rear>
</set>
</group>
</sets>
<rules>
<if SpellTarget="<t>" TargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Self*">
<action type="changetarget" target="<me>" />
</if>
<if Spell="Escape|Warp|Warp II|Retrace|Teleport-*|Recall-*|Tractor">
<action type="return" />
</if>
<if spell="autoset">
<equip when="Resting" set="Resting" />
<equip when="Idle" set="Standard" />
<equip when="Engaged" set="engaged" />
</if>
<action type="equip" when="aftercast" set="Standard" />
<if Skill="HealingMagic">
<action type="Equip" when="Precast" Set="Fast Cast" />
<action type="Equip" when="Midcast" Set="Healing" />
<if MPLT="60">
<!-- Show Spell Info for cures only when low on MP -->
<action type="ShowSpellInfo" />
</if>
<if NotBuffActive="Light Arts">
<if Spell="Cure V" MPLT="135">
<action type="ChangeSpell" Spell="Cure III" />
</if>
<if Spell="Cure III" MPLT="46">
<action type="ChangeSpell" Spell="Cure II" />
</if>
<if Spell="Cure II" MPLT="24">
<action type="CancelSpell" />
<action type="addtochat" color="56">[ERROR] Not enough MP To cast Cure! ~</action>
</if>
</if>
<else>
<!-- Light Arts is Active - -10% MP Cost -->
<if NotBuffActive="Penury">
<if Spell="Cure V" MPLT="122">
<action type="ChangeSpell" Spell="Cure III" />
</if>
<if Spell="Cure III" MPLT="42">
<action type="ChangeSpell" Spell="Cure II" />
</if>
<if Spell="Cure II" MPLT="22">
<action type="CancelSpell" />
<action type="addtochat" color="56">[ERROR] Not enough MP To cast Cure! ~</action>
</if>
</if>
<else>
<!-- Penury is Active - -50% MP Cost -->
<if Spell="Cure V" MPLT="68">
<action type="ChangeSpell" Spell="Cure III" />
</if>
<if Spell="Cure III" MPLT="23">
<action type="ChangeSpell" Spell="Cure II" />
</if>
<if Spell="Cure II" MPLT="12">
<action type="CancelSpell" />
<action type="addtochat" color="56">[ERROR] Not enough MP To cast Cure! ~</action>
</if>
</else>
</else>
<if TPGT="10">
<!-- if we have at least 10 TP -->
<disable slot="main|sub|ranged" />
<!-- never allow any swaps on main/sub/ranged -->
</if>
<!-- note you can still swap ammo, because it doesn't lose TP. -->
<else>
<!-- otherwise (less then 10 TP) -->
<enable slot="main|sub|ranged" />
<!-- allow those slots to have gear swaps -->
</else>
<!-- END TP & Engaged Check-->
<if NotSpell="*Raise*|*na">
<action type="MidCastDelay" delay=".8" />
<action type="Equip" when="Midcast" Set="Healing" />
</if>
<else>
<!-- *Raise*/*na -->
<action type="equip" set="standard" />
</else>
</if>
<!-- end healing magic-->
<if Skill="EnhancingMagic" notspell="Teleport*">
<action type="equip" when="midcast" set="Enhancing" />
<if Spell="Bar*">
<action type="MidCastDelay" delay="0" />
<action type="Equip" when="midcast">
<body></body>
<legs></legs>
</action>
</if>
</if>
<if Spell="Regen*">
<action type="equip" when="precast">
<body>Cleric's Briault</body>
<hands>Orison Mitts +2</hands>
</action>
</if>
<if Spell="Afflatus Solace">
<action type="equip" when="precast">
<body>Orison Bliaud +2</body>
</action>
</if>
<if spell="Reraise*" BuffActive="Reraise">
<action type="midcastdelay" delay="5" />
<action type="Command" when="midcast">cancel 113</action>
</if>
<if Element="Light" notspell="*Raise*">
<if mode="or" Weather="Light*" Day="Lightsday">
<action type="equip" when="midcast">
<waist></waist>
</action>
</if>
</if>
<if skill="DivineMagic">
<if Spell="Banish*|Holy">
<action type="Equip" when="Midcast" Set="Banish" />
</if>
<if spell="Repose">
<action type="Equip" when="Midcast" Set="Banish" />
<action type="command" when="midcast">input /p Casting %spell on %target</action>
</if>
<if Element="Light">
<if mode="or" Weather="Light*" Day="Lightsday">
<action type="equip" when="midcast">
<waist></waist>
</action>
</if>
</if>
</if>
<if skill="EnhancingMagic">
<if ValidTargets="*Self*" TargetType="None">
<action type="ChangeTarget" target="<me>" />
</if>
<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>
<action type="midcastdelay" delay="2.3" />
</if>
<elseif Spell="Stoneskin" BuffActive="Stoneskin">
<action type="command" when="midcast">cancel 37</action>
<action type="midcastdelay" delay="5.9" />
</elseif>
<elseif Spell="Blink" BuffActive="Blink">
<action type="command" when="midcast">cancel 36</action>
<action type="midcastdelay" delay="5.2" />
</elseif>
<if Spell="Bar*">
<action type="equip" when="precast|midcast" Set="MND Gear">
<head>Orison Cap +2</head>
<body>Orison Bliaud +2</body>
<hands>Orison Mitts +2</hands>
<legs>Orison Pantaloons +2</legs>
</action>
</if>
</if>
<if skill="EnfeeblingMagic">
<if type="WhiteMagic">
<action type="equip" when="midcast" Set="MND Gear" />
<hands>Cleric's Mitts</hands>
</if>
<if Spell="Sleep II|Sleepga II">
<action type="command" when="aftercast">wait 75;input /echo Sleep Wearing off in 15s*********************************</action>
<action type="command" when="aftercast">wait 85;input /echo Sleep Wearing off in 5s*********************************</action>
</if>
<elseif Spell="Sleep|Sleepga">
<action type="command" when="aftercast">wait 45;input /echo Sleep Wearing off in 15s*********************************</action>
<action type="command" when="aftercast">wait 55;input /echo Sleep Wearing off in 5s*********************************</action>
</elseif>
</if>
<equip when="AfterCast" set="Standard" />
</rules>
</spellcast>