NOTE : THIS IS NOT A COMPLETE .XML FILE FOR USE WITH SPELLCAST.
This block of XML, when you place it into your rules section of your Red Mage spellcast XML file, will automatically cast the proper en-spell based on the day of the week. This does not trigger on weather or double weather.
Warning : If you need to cast an en-spell based on an enemies' weakness you will not be able to do so. You would have to manually type the following :
/raw /ma ”(Enspell here)” <me>
You need all the proper formatting because /raw disables Spellcast for that line.
<rule Spell="En*">
<action type="DefaultTarget" target="<me>" />
<rule Day="Firesday">
<action type="Command">input /raw /ma "Enfire" <me></action>
</rule>
<rule Day="Watersday">
<action type="Command">input /raw /ma "Enwater" <me></action>
</rule>
<rule Day="Windsday">
<action type="Command">input /raw /ma "Enaero" <me></action>
</rule>
<rule Day="Earthsday">
<action type="Command">input /raw /ma "Enstone" <me></action>
</rule>
<rule Day="Iceday">
<action type="Command">input /raw /ma "Enblizzard" <me></action>
</rule>
<rule Day="Lightningday">
<action type="Command">input /raw /ma "Enthunder" <me></action>
</rule>
<rule Day="Lightsday|Darksday">
<action type="Command">input /raw /ma "%spell" <me></action>
</rule>
</rule>