blab's SCH

This is a very barebones Scholar XML file, without any gear added in, and full of comments which explain how to get the most out of customising this XML file to cater to your needs.

I've added just about everything I can think of that a Scholar would need, as well as taken into consideration suggestions from Recepece, and added them in.

Various little snips of rules and ideas have been used from many different sources, so credit where it is due to the clever chaps who originally thought up whatever idea it is I stole and used in this script.

Any comments and suggestions are welcome, I'd love to hear them!

<?xml version="1.0" ?>
<spellcast>
	<config
		Debug="false"
		ShowGearSwaps="false"
		ShowSpellInfo="false"
	/>
 
	<variables clear="false">
<!-- Staff Variables, edit the following with the staves you own. -->		
		<var name="IceStaff">Aquilo's Staff</var>
		<var name="WindStaff">Auster's Staff</var>
		<var name="EarthStaff">Terra's Staff</var>
		<var name="ThunderStaff">Jupiter's Staff</var>
		<var name="WaterStaff">Neptune's Staff</var>
		<var name="FireStaff">Vulcan's Staff</var>
		<var name="DarkStaff">Pluto's Staff</var>
		<var name="LightStaff">Apollo's Staff</var>
<!-- Obi Variables -->
		<var name="IceObi">Suirin Obi</var>
		<var name="WindObi">Furin Obi</var>
		<var name="EarthObi">Dorin Obi</var>
		<var name="ThunderObi">Rairin Obi</var>
		<var name="WaterObi">Suirin Obi</var>
		<var name="FireObi">Karin Obi</var>
		<var name="DarkObi">Anrin Obi</var>
		<var name="LightObi">Korin Obi</var>
<!-- This Variable will enable you to specify whether you wish to use more magic attack bonus gear,
	or more elemental magic gear for nuking in, by using the spellcast commands:
	sc set nuke ElementalMagic OR sc set nuke MAB
	By default, MAB is selected as the preferred set, however edit the following with ElementalMagic
	if you wish to revert to a stonger magic skill build. As many differing sets as desired can be added
	by simply creating another set below, and then changing variables ingame to the newly created variable -->
		<var name="Nuke">MAB</var>
<!-- This variable sets whether to use a Wizard's earring if you are subbing black mage. If you do not own
	a Wizard's earring or do not wish to include it in your macros then leave this variable blank, otherwise
	set it to true, or 1. -->
		<var name="WizardsEarring"></var>
	</variables>
	<sets>
		<group default="yes" name="SCH">
			<set name="Standard">
				<head></head>
<!-- Here you add your specific equipment into the sets, for example here, standard would be considered
	your general idle/town gear, it's mostly just a basis to base stuff of. You would add your different
	items in between where it says the equipment name, it uses the same naming as ingame commands. -->
			</set>
			<set name="Resting">
			</set>
			<set name="ElementalMagic">
<!-- This set is for raw Elemental Magic and Magic Accuracy builds, for landing spells on monsters that
	may be more resistant to your nukes. -->
			</set>
			<set name="MAB">
<!-- This set is designed to encompass a more balanced set of nuking gear, mixing MAB, INT and skill, and
	should generally be used anywhere you're unlikely to be resisted on nukes. It is the default set. -->
			</set>
			<set name="INT">
<!-- This is a pure INT build, it is used for DoT spells such as Helixes and Burn, Choke etc. -->
			</set>
			<set name="EnfeeblingMagic-Base">
<!-- Within this set equip all the gear that has raw Enfeebling Magic Skill and Magic Accuracy, for example;
	<neck>Enfeebling Torque</neck> -->
			</set>
			<set name="EnfeeblingMagic-BlackMagic" baseset="EnfeeblingMagic-Base">
<!-- Within this set equip all the gear that has raw INT stats which aren't in slots used in the base set. -->
			</set>
			<set name="EnfeeblingMagic-WhiteMagic" baseset="EnfeeblingMagic-Base">
			</set>
			<set name="HealingMagic">
			</set>
			<set name="DivineMagic">
			</set>
			<set name="DarkMagic">
			</set>
			<set name="EnhancingMagic">
			</set>
			<set name="FastCast">
			</set>
		</group>
	</sets>
	<rules>
		<if MainJob="SCH">
			<action type="equip" when="Idle" set="Standard" />
			<action type="equip" when="Resting" set="Resting" />
<!-- Sublimation rules -->
			<if mode="OR" BuffActive="Sublimation" spell="Sublimation">
				<action type="equip" when="Precast|Midcast|Aftercast">
					<head lock="t">Scholar's Mortarboard</head>
				</action>
			</if>
			<action type="equip" when="precast">
				<main>$%SpellElementStaff</main>
			</action>
			<if Skill="ElementalMagic">
				<if CastTimeGT="2">
					<action type="equip" when="precast" set="FastCast" />
				</if>
				<if Advanced='"%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement"'>
					<action type="Equip" when="midcast">
						<waist lock="t">$%SpellElementObi</waist>
					</action>
				</if>
				<if MPPAftercastlt="51">
					<action type="Equip" when="midcast">
						<neck lock="t">Uggalepih Pendant</neck>
					</action>
				</if>
				<if SubJob="BLM" Advanced='"$WizardsEarring" = "True" OR "$WizardsEarring" = "1"'>
					<action type="equip" when="midcast">
						<lear lock="t">Wizard's Earring</lear>
					</action>
				</if>
				<if notSpell="*helix|Burn|Frost|Choke|Shock|Rasp|Drown">
					<action type="equip" when="midcast" set="$Nuke" />
				</if>
				<else>
					<action type="equip" when="midcast" set="INT" />
				</else>
			</if>
			<if Skill="EnfeeblingMagic">
				<action type="equip" when="midcast" set="%Skill-%Type" />
			</if>
			<if Skill="HealingMagic|DivineMagic|DarkMagic">
				<action type="equip" when="midcast" set="%Skill" />
					<if NotBuffActive="Penury"> <!-- Full MP cost, penury isn't active. -->
						<if Spell="Cure IV" MPLT="88">
							<action type="ChangeSpell" Spell="Cure III" />
							<action type="AddToChat" color="25">[ERROR] Not enough MP To cast Cure IV.</action>
						</if>
						<if Spell="Cure III" MPLT="46">
							<action type="ChangeSpell" Spell="Cure II" />
							<action type="AddToChat" color="25">[ERROR] Not enough MP To cast Cure III.</action>
						</if>
						<if Spell="Cure II" MPLT="24">
							<action type="CancelSpell" />
							<action type="AddToChat" color="25">[ERROR] Not enough MP To cast Cure II.</action>
						</if>
					</if>
					<else> <!-- Penury is active, -50% MP cost. -->
						<if Spell="Cure IV" MPLT="44">
							<action type="ChangeSpell" Spell="Cure III" />
							<action type="AddToChat" color="25">[ERROR] Not enough MP To cast Cure IV.</action>
						</if>
						<if Spell="Cure III" MPLT="23">
							<action type="ChangeSpell" Spell="Cure II" />
							<action type="AddToChat" color="25">[ERROR] Not enough MP To cast Cure III.</action>
						</if>
						<if Spell="Cure II" MPLT="12">
							<action type="CancelSpell" />
							<action type="AddToChat" color="25">[ERROR] Not enough MP To cast Cure II.</action>
						</if>
					</else>
			</if>
			<if Skill="EnhancingMagic">
				<if NotSpell="Teleport*|Warp|Escape|Sneak|Invisible|Deodorize|Protect*|Shell*|Tractor|*storm|Klimaform">
					<action type="equip" when="precast">
						<main lock="t">$WaterStaff</main>
					</action>
					<action type="equip" when="midcast" set="%Skill" />
				</if>
				<!-- Note: The following needs Cancel Plugin to work. -->
				<else Spell="Stoneskin" BuffActive="Stoneskin">
					<action type="command" when="midcast">cancel 37</action>
					<action type="midcastdelay" delay="2.3" />
				</else>						
				<else Spell="Blink" BuffActive="Blink">
					<action type="command" when="midcast">cancel 36</action>
					<action type="midcastdelay" delay="2.3" />
				</else>
				<else Spell="Sneak" BuffActive="Sneak" advanced='"%target"="&lt;me&gt;"'>
					<action type="command" when="midcast">cancel 71</action> 
				</else>
			</if>
		</if>
	</rules>
</spellcast>
plugins/spellcast/userxml/sch/blabs_sch.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