<?xml version="1.0" ?>
<spellcast>
<config
HideErrors="false"
RestingSet="Resting Gear"
NormalSet="Standard"
ShowGearSwaps="false"
Debug="true"
/>
<sets>
<group default="yes" name="Black Mage">
<set name="Standard">
<main>Dark Staff</main>
<sub>Bugard Strap +1</sub>
<ammo>Phantom Tathlum</ammo>
<head>Demon Helm +1</head>
<neck>Elemental Torque</neck>
<lear>Elemental Earring</lear>
<rear>Moldavite Earring</rear>
<body>Igqira Weskit</body>
<hands>Wizard's Gloves</hands>
<lring>Genius Ring</lring>
<rring>Genius Ring</rring>
<back>Prism Cape</back>
<waist>Penitent's Rope</waist>
<legs>Druid's Slops</legs>
<feet>Mountain Gaiters</feet>
</set>
<set name="Resting Gear" BaseSet="Standard">
<main>Dark Staff</main>
<rear>Antivenom Earring</rear>
<waist>Qiqirn Sash +1</waist>
<neck>Grandiose Chain</neck>
<body>Errant Houppelande</body>
<legs>Baron's Slops</legs>
</set>
<set name="Enf" BaseSet="Standard">
<head>Igqira Tiara</head>
<neck>Philomath Stole</neck>
<lear>Cunning Earring</lear>
<rear>Cunning Earring</rear>
<body>Wizard's Coat</body>
<legs>Jet Seraweels</legs>
</set>
<set name="Mind" BaseSet="Standard">
<main>Water Staff</main>
<head>Zenith Crown</head>
<body>Errant Houppelande</body>
<legs>Jet Seraweels</legs>
</set>
<set name="Dark" BaseSet="Standard">
<head>Demon Helm +1</head>
<neck>Philomath Stole</neck>
<lear>Cunning Earring</lear>
<rear>Cunning Earring</rear>
<body>Errant Houppelande</body>
<legs>Jet Seraweels</legs>
</set>
</group>
</sets>
<rules>
<rule Spell="Cure*">
<action type="DefaultTarget" Target="<st>" />
</action>
<action type="equip" when="midcast" set="Mind">
<main>Apollo's Staff</main>
</action>
</rule>
<rule Spell="Bio*|Drain|Aspir">
<action type="DefaultTarget" Target="<stnpc>" />
</action>
<action type="equip" when="midcast" set="Dark" >
<main>Dark Staff</main>
</action>
</rule>
<rule Spell="Thund*|Burst">
<action type="DefaultTarget" Target="<stnpc>" />
</action>
<action type="equip" when="midcast" set="Standard">
<main>Thunder Staff</main>
</action>
</rule>
<rule Spell="Blizza*|Freeze">
<action type="DefaultTarget" Target="<stnpc>" />
</action>
<action type="equip" when="midcast" set="standard">
<main>Ice Staff</main>
</action>
</rule>
<rule Spell="Fir*|Flare">
<action type="DefaultTarget" Target="<stnpc>" />
</action>
<action type="equip" when="midcast" set="standard">
<main>Fire Staff</main>
</action>
</rule>
<rule Spell=Aero*|Tornado">
<action type="DefaultTarget" Target="<stnpc>" />
</action>
<action type="equip" when="midcast" set="standard">
<main>Wind Staff</main>
</action>
</rule>
<rule Spell=Water*|Flood">
<action type="DefaultTarget" Target="<stnpc>" />
</action>
<action type="equip" when="precast" set="standard">
<main>Water Staff</main>
</action>
</rule>
<rule Spell="Stone*|Quake" NotSpell="Stoneskin">
<action type="DefaultTarget" Target="<stnpc>" />
</action>
<action type="equip" when="midcast" set="standard">
<main>Earth Staff</main>
</action>
</rule>
<rule Spell="Sleep*|Blind">
<action type="DefaultTarget" Target="<stnpc>" />
</action>
<action type="equip" when="midcast" set="Enf">
<main>Dark Staff</main>
</action>
</rule>
<rule Spell="Poison*">
<action type="DefaultTarget" Target="<stnpc>" />
</action>
<action type="equip" when="midcast" set="Enf">
<main>Water Staff</main>
</action>
</rule>
<rule Spell="Stun">
<action type="DefaultTarget" Target="<stnpc>" />
</action>
<action type="equip" when="midcast" set="Dark">
<main>Thunder Staff</main>
</action>
</rule>
<rule Spell="Bind">
<action type="DefaultTarget" Target="<stnpc>" />
</action>
<action type="equip" when="midcast" set="Enf">
<main>Ice Staff</main>
</action>
</rule>
<rule Spell="Invisible|Sneak|Deodorize">
<action type="equip" when="midcast" set="Mind">
<main>Wind Staff</main>
</action>
<action type="DefaultTarget" Target="<me>" />
</action>
</rule>
<rule Spell="Stoneskin|Blink|Aqua*">
<action type="equip" when="midcast" set="Mind">
<main>Water Staff</main>
</action>
<action type="DefaultTarget" Target="<me>" />
</action>
</rule>
</rules>
</spellcast>