BlackMage with 2.10 or higher.
<?xml version="1.0" ?>
<spellcast>
<config
HideErrors="false"
RestingSet="Resting"
NormalSet="Standard"
Debug="false"
DefaultPrecast="Standard"
DefaultAftercast="Standard"
ShowSpellInfo="false"
/>
<sets>
<group default="yes" name="Standard">
<set name="Standard">
<HEAD>Demon Helm</HEAD>
<AMMO>Phantom Tathlum</AMMO>
<NECK>Elemental Torque</NECK>
<LEAR>Moldavite Earring</LEAR>
<REAR>Phantom Earring</REAR>
<BODY>Igqira Weskit</BODY>
<HANDS>Igqira Manillas</HANDS>
<LRING>Tamas Ring</LRING>
<RRING>Diamond Ring</RRING>
<BACK>Black Cape +1</BACK>
<WAIST>Penitent's Rope</WAIST>
<LEGS>Errant Slops</LEGS>
<FEET>Rostrum Pumps</FEET>
</set>
<set name="Resting" BaseSet="Standard">
<HEAD>Wizard's Petasos</HEAD>
<MAIN>Dark Staff</MAIN>
<LEAR>Antivenom Earring</LEAR>
<WAIST>Hierarch Belt</WAIST>
<NECK>Beak Necklace</NECK>
<BODY>Errant Hpl.</BODY>
</set>
<set name="FastCast" BaseSet="Standard">
<head>Rostrum Pumps</head>
</set>
<set name="Enfeebling" BaseSet="Standard">
<BODY>Wizard's Coat</BODY>
<HEAD>Igqira Tiara</HEAD>
</set>
<set name="Enfeebling-INT" BaseSet="Enfeebling">
</set>
<set name="Enfeebling-MND" BaseSet="Enfeebling">
</set>
<set name="Elemental" BaseSet="Standard">
</set>
<set name="Enhancing" BaseSet="Standard">
<HEAD>Wizard's Petasos</HEAD>
<BODY>Errant Houppelande</BODY>
</set>
<set name="Dark" BaseSet="Standard">
<LEGS>Wizard's Tonban</LEGS>
</set>
<SET NAME="Strap">
<SUB>Bugard leather strap +1</SUB>
</SET>
<SET NAME="FireStaff" BASESET="Strap">
<MAIN>Fire Staff</MAIN>
</SET>
<SET NAME="IceStaff" BASESET="Strap">
<MAIN>Ice Staff</MAIN>
</SET>
<SET NAME="WindStaff" BASESET="Strap">
<MAIN>Wind Staff</MAIN>
</SET>
<SET NAME="EarthStaff" BASESET="Strap">
<MAIN>Earth Staff</MAIN>
</SET>
<SET NAME="ThunderStaff" BASESET="Strap">
<MAIN>Jupiter's Staff</MAIN>
</SET>
<SET NAME="WaterStaff" BASESET="Strap">
<MAIN>Water Staff</MAIN>
</SET>
<SET NAME="LightStaff" BASESET="Strap">
<MAIN>Light Staff</MAIN>
</SET>
<SET NAME="DarkStaff" BASESET="Strap">
<MAIN>Dark Staff</MAIN>
</SET>
</group>
</sets>
<rules>
<rule Skill="EnfeeblingMagic">
<rule type="BlackMagic">
<action type="equip" when="precast" set="Enfeebling-INT" />
</rule>
<rule type="WhiteMagic">
<action type="equip" when="precast" set="Enfeebling-MND" />
</rule>
</rule>
<rule Skill="ElementalMagic">
<rule CastTimeGT="2">
<action type="equip" when="precast" set="FastCast" />
</rule>
<rule type="BlackMagic">
<action type="equip" when="midcast" set="Elemental" />
</rule>
</rule>
<rule Skill="DarkMagic">
<action type="equip" when="midcast" set="Dark" />
</rule>
<rule Element="Light">
<action type="equip" when="precast" set="LightStaff" />
</rule>
<rule Skill="HealingMagic">
<action type="equip" when="midcast" set="Enhancing" />
<rule Spell="Cure III" MPLT="46">
<action type="ChangeSpell" Spell="Cure II" />
</rule>
<rule Spell="Cure II" MPLT="24">
<action type="ChangeSpell" Spell="Cure" />
</rule>
<rule Spell="Cure" MPLT="8">
<action type="CancelSpell" />
<action type="AddToChat" color="25">~ [ERROR] Not enough MP To cast Cure! ~</action>
</rule>
</rule>
<rule Element="Fire">
<action type="equip" when="precast" set="FireStaff" />
</rule>
<rule Element="Ice">
<action type="equip" when="precast" set="IceStaff" />
</rule>
<rule Element="Wind">
<action type="equip" when="precast" set="WindStaff" />
</rule>
<rule Element="Earth">
<action type="equip" when="precast" set="EarthStaff" />
</rule>
<rule Element="Thunder">
<action type="equip" when="precast" set="ThunderStaff" />
</rule>
<rule Element="Water">
<action type="equip" when="precast" set="WaterStaff" />
</rule>
<rule Element="Light">
<action type="equip" when="precast" set="LightStaff" />
</rule>
<rule Element="Dark">
<action type="equip" when="precast" set="DarkStaff" />
</rule>
<rule Skill="EnhancingMagic">
<rule CastTimeGT="2">
<action type="equip" when="precast" set="FastCast" />
</rule>
<action type="equip" when="midcast" set="Enhancing" />
<action type="equip" when="midcast" set="WaterStaff" />
</rule>
<rule Spell="Cur*">
<action type="equip" when="precast" set="LightStaff" />
</rule>
</rules>
</spellcast>