The <if> rule for the spell is:
Code
<if Spell="Charged Whisker">
<action type="equip" when="midcast" set="MagAtk">
<action type="CastDelay" delay="5" />
<action type="equip" when="Aftercast" set="Standard" />
</action>
</if>
<action type="equip" when="midcast" set="MagAtk">
<action type="CastDelay" delay="5" />
<action type="equip" when="Aftercast" set="Standard" />
</action>
</if>
Any suggestions?
I can post rest of the XML if needed.