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="&lt;me&gt;" />
		<rule Day="Firesday">
			<action type="Command">input /raw /ma "Enfire" &lt;me&gt;</action>
		</rule>
		<rule Day="Watersday">
			<action type="Command">input /raw /ma "Enwater" &lt;me&gt;</action>
		</rule>
		<rule Day="Windsday">
			<action type="Command">input /raw /ma "Enaero" &lt;me&gt;</action>
		</rule>
		<rule Day="Earthsday">
			<action type="Command">input /raw /ma "Enstone" &lt;me&gt;</action>
		</rule>
		<rule Day="Iceday">
			<action type="Command">input /raw /ma "Enblizzard" &lt;me&gt;</action>
		</rule>
		<rule Day="Lightningday">
			<action type="Command">input /raw /ma "Enthunder" &lt;me&gt;</action>
		</rule>
		<rule Day="Lightsday|Darksday">
			<action type="Command">input /raw /ma "%spell" &lt;me&gt;</action>
		</rule>
</rule>
plugins/spellcast/userxml/rdm/enspells.txt · Last modified: 2009/08/08 14:00 (external edit)
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0