My WHM.xml. Advanced and requires 2.18 to run properly. (Beta)
Edited the XML to take out the Medicine Ring Rules as I had no Minus HP sets in there. You can add it if youd like. Also fixed some other errors. Only thing that does not work is the Regen rule. Can not seem to figure out why for the life of me.
<?xml version="1.0" ?>
<spellcast>
<config
Debug="false"
RequireVersion="2.18"
HideErrors="false"
DefaultPrecast="Fast Cast"
DefaultMidcast="Haste"
DefaultAftercast="Standard"
ShowSpellInfo="false"
ShowGearSwaps="false"
/>
<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">1</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">1</var>
</variables>
<sets>
<group default="yes" name="whm">
<set name="Fast Cast">
<feet>Rostrum Pumps</feet>
<rear>Loqu. Earring</rear>
</set>
<set name="Resting Gear" BaseSet="Standard">
<main>Pluto's Staff</main>
<neck>Beak Necklace</neck>
<lear>Antivenom Earring</lear>
<rear>Boroka Earring</rear>
<body>Errant Hpl.</body>
<waist>Hierarch belt</waist>
</set>
<set name="Healing" BaseSet="Standard">
<main>Apollo's Staff</main>
<body>Aristocrat's Coat</body>
</set>
<set name="Enhancing" BaseSet="Standard">
<feet>Cleric's Duckbills</feet>
<neck>Enhancing Torque</neck>
<lear>Augmenting Earring</lear>
</set>
<set name="Haste">
<head>Walahra Turban</head>
<hands>Blessed Mitts</hands>
<legs>Blessed Trousers</legs>
<feet>Blessed Pumps</feet>
<waist>Velocious Belt</waist>
</set>
<set name="Standard" >
<main>Terra's Staff</main>
<sub>Staff Strap</sub>
<ammo>Hedgehog Bomb</ammo>
<head>Zenith Crown</head>
<neck>Morgana's Choker</neck>
<lear>Antivenom Earring</lear>
<rear>Loqu. Earring</rear>
<body>Aristocrat's Coat</body>
<hands>Blessed Mitts</hands>
<lring>Astral Ring</lring>
<rring>Astral Ring</rring>
<back>Blue Cape +1</back>
<waist>Hierarch belt</waist>
<legs>Zenith Slacks</legs>
<feet>Zenith Pumps</feet>
</set>
<set name="Banish Gear" Baseset="MND Gear">
<main>Apollo's Staff</main>
</set>
<set name="MND Gear">
<legs>Blessed Trousers</legs>
<body>Errant Hpl.</body>
<neck>Ajari Necklace</neck>
<hands>Blessed Mitts</hands>
<feet>Blessed Pumps</feet>
</set>
</group>
</sets>
<rules>
<if SpellTarget="<t>" TargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Self*">
<action type="changetarget" target="<me>" />
</if>
<if spell="autoset">
<action type="equip" when="resting" set="Resting Gear" />
<action type="equip" when="idle" set="Standard" />
</if>
<if Skill="HealingMagic">
<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 Spell="Cure IV">
<!-- Evil Spell -->
<action type="ChangeSpell" Spell="Cure V" />
</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 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">
<action type="equip" when="midcast" set="Enhancing" />
<if Spell="Bar*">
<action type="MidCastDelay" delay="0" />
<action type="Equip" when="midcast">
<body>Blessed Briault</body>
<legs>Cleric's Pantaln.</legs>
</action>
</if>
<elseif Spell="Teleport*|Recall*">
<action type="command">input /p Teleporting to - %spell - </action>
<action type="command" when="aftercast">input /p And were off to - %spell -! </action>
</elseif>
</if>
<if Spell="Regen*">
<action type="equip" when="precast">
<body>Cleric's Briault</body>
</action>
</if>
<if Spell="Raise*" Area="Dynamis*">
<action type="command" when="midcast">input /l Casting %spell on %target</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>Korin Obi</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>Korin Obi</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">
<body>Blessed Briault</body>
<legs>Cleric's Pantaloons</legs>
</action>
</if>
<if Spell="Teleport*|Recall*|Escape">
<action type="command" when="midcast">input /p Casting %spell</action>
</if>
</if>
<if skill="EnfeeblingMagic">
<if type="WhiteMagic">
<action type="equip" when="midcast" Set="MND Gear" />
</if>
</if>
</rules>
</spellcast>