Ivelios' Galka RDM/WHM: Updated 12/18/2009

<?xml version="1.0" ?>
<!DOCTYPE spellcast PUBLIC "spellcast" "spellcast.dtd">
<spellcast>
<!-- 
===========================Ivelio's Galka RDM XML==========================
| This is the XML for a 75 Galka RDM. You'll notice that this code is  	  |
| very heavy on MP management. Some of the situational gear can easily 	  |
| be changed to fit a multitude of races. But again, it takes some very   |
| heavy MP management and you'll need to break down the sets one at a time|
| see where your MP will be for each scenario. It should also be noted    |
| that this code is designed around no food active what so ever. You will |
| have to adjust MP variables depending on what food you have active at   |
| the time.                                                               |
===========================================================================
 -->
	<config requireversion="2.22" />
	<variables>
		<!-- Sleep timers, announces in echo when sleep is wearing off. Set to 0 to not use. -->
		<var name="SleepTimers">1</var>		
		<!--Handle Variable for Master Caster's Bracelets, set to 1 when area is correct if you have them. -->
		<var name="Bracelets">0</var>
		<!-- Variable for High Resist Mobs for Nukes -->
		<var name="resist">0</var>
		<!-- Variable for UggPendant. Set to 0 if you don't have. -->
		<var name="UggPendant">0</var>		
		<!-- Elemental Staffs, input what staff to use for each element here -->
		<var name="IceStaff">Aquilo's Staff</var>
		<var name="DarkStaff">Pluto's Staff</var>
		<var name="ThunderStaff">Jupiter's Staff</var>
		<var name="LightStaff">Light Staff</var>
		<var name="WindStaff">Auster's Staff</var>
		<var name="FireStaff">Fire Staff</var>
		<var name="EarthStaff">Terra's Staff</var>
		<var name="WaterStaff">Neptune's Staff</var>
	</variables>
	<sets>
		<group name="Red Mage" default="yes">
		<!-- Start of the sets for General Purpose Builds. -->
			<set name="Standard"><!--HP:1135 MP:885-->
				<main>$EarthStaff</main>
				<sub>Staff Strap</sub>
				<ammo>Hedgehog Bomb</ammo>
				<head>Duelist's Chapeau</head>
				<neck>Morgana's Choker</neck>
				<lear>Antivenom Earring</lear>
				<rear>Loquacious Earring</rear>
				<body>Goliard Saio</body>
				<hands>Dune Bracers</hands>
				<lring>Serket Ring</lring> 
				<rring>Ether Ring</rring>
				<back>Lamia Mantle +1</back>
				<waist>Desert Rope</waist>
				<legs>Tatsumaki Sitagoromo</legs>
				<feet>Zenith Pumps</feet>
			</set>
			<set name="FastCast" baseset="Standard"><!--MP:906-->
				<head>Warlock's Chapeau +1</head>
				<body>Duelist's Tabard</body>
				<legs>Goliard Trews</legs>
			</set>
			<set name="Convert" baseset="Standard"><!--HP:1090 MP:956-->
				<main>Fourth Division Mace</main>
				<sub>Astral Aspis</sub>
				<head>Zenith Crown</head>
				<feet>Zenith Pumps</feet>
			</set>
			<set name="Resting" baseset="Standard"><!--HP:1208 MP:800-->
				<main>$DarkStaff</main>
				<ammo>Ariesian Grip</ammo>
				<neck>Beak Necklace</neck>
				<body>Warlock's Tabard +1</body>
				<legs>Yigit Seraweels</legs>
				<feet>Goliard Clogs</feet>
			</set>
			<set name="Stoneskin" baseset="Standard"><!--MP:888 Mnd:70+27-->
			 	<head>Zenith Crown</head>
			 	<hands>Duelist's Gloves</hands>
			 	<back>Aslan Cape</back>
			 	<legs>Zenith Slacks</legs>
			 	<feet>Morrigan's Pigaches</feet>
			 </set>
			 <set name="EnhancingMagic" baseset="Standard"><!--MP:888-->
			 	<hands>Duelist's Gloves</hands>
			 	<legs>Zenith Slacks</legs>
			 </set>
			 <set name="DarkMagic" baseset="Standard"><!--MP:800 Skill:217-->
			 	<neck>Dark Torque</neck>
			 	<hands>Crimson Finger Gauntlets</hands>
			 </set>
		<!-- End of the sets for General Purpose Builds. -->
		<!-- Start of the sets for MND Enfeeble Builds. -->		
			<set name="BaseMndEnfeeb" baseset="Standard"><!--MP:881 Mnd:70+28 Skill:322-->
				<sub>Raptor Leather Strap +1</sub>
				<body>Warlock's Tabard +1</body>
				<back>Aslan Cape</back>
				<legs>Zenith Slacks</legs>
				<feet>Morrigan's Pigaches</feet>
			</set>
			<set name="MndBoostOne" baseset="BaseMndEnfeeb"><!--MP:851 Mnd:70+32 Skill:322-->
				<rring>Sapphire Ring</rring>
			</set>
			<set name="MndBoostTwo" baseset="MndBoostOne"><!--MP:801 Mnd:70+35 Skill:322-->
				<lring>Omega Ring</lring>
			</set>
			<set name="MndBoostThree" baseset="MndBoostTwo"><!--MP:771 Mnd:70+35 Skill:322-->
				<ammo>Sturm's Report</ammo>
			</set>
			<set name="MndBoostFour" baseset="MndBoostThree"><!--MP:737 Mnd:70+45 Skill:307-->
				<body>Errant Houppelande</body>
			</set>
			<set name="MndBoostFive" baseset="MndBoostFour"><!--MP:687 Mnd:70+49 Skill:307-->
				<legs>Mahatma Slops</legs>
			</set>
			<set name="FullMndEnfeeb" baseset="MndBoostFive"><!--MP:627 Mnd:70+54 Skill:307-->
				<waist>Penitent's Rope</waist>
			</set>
		<!-- End of the sets for MND Enfeeble Builds. -->
		<!-- Start of the sets for Enfeebling Skill Builds. -->
			<set name="BaseSkillEnfeeb" baseset="Standard"><!--MP:887 Skill:329-->
				<neck>Enfeebling Torque</neck>
				<body>Warlock's Tabard +1</body>
				<legs>Zenith Slacks</legs>
			</set>		 	
		 	<set name="SkillBoostOne" baseset="BaseSkillEnfeeb"><!--MP:837 Skill:334-->
				<legs>Nashira Seraweels</legs>
			</set>
		 	<set name="SkillBoostTwo" baseset="SkillBoostOne"><!--MP:797 Skill:334-->
				<sub>Bugar Leather Strap +1</sub>
				<rring>Omega Ring</rring>
			</set>
		 	<set name="SkillBoostThree" baseset="SkillBoostTwo"><!--MP:767 Skill:334-->
				<ammo>Sturm's Report</ammo>
			</set>
		 	<set name="SkillBoostFour" baseset="SkillBoostThree"><!--MP:721 Skill:334-->
				<back>Gleeman's Cape</back>
			</set>
		 	<set name="SkillBoostFive" baseset="SkillBoostFour"><!--MP:674 Skill:334-->
				<hands>Duelist's Gloves</hands>
			</set>
		 	<set name="SkillBoostSix" baseset="SkillBoostFive"><!--MP:624 Skill:334-->
				<lring>Snow Ring</lring>
			</set>
		 	<set name="SkillBoostSeven" baseset="SkillBoostSix"><!--MP:574 Skill:334-->
				<feet>Goliard Clogs</feet>
			</set>
		 	<set name="MaxSkillEnfeeb" baseset="SkillBoostSeven"><!--MP:514 Skill:334-->
				<waist>Penitent's Rope</waist>
			</set>
		<!-- End of the sets for Enfeebling Skill Builds. -->
		<!-- Start of the sets for Nuking Builds. -->	
		 	<set name="BaseNuke" baseset="Standard"><!--MP:867 Int:62+16 Skill:266-->
				<sub>Bugard Leather Strap +1</sub>
				<ammo>Phantom Tathlum</ammo>
				<head>Warlock's Chapeau +1</head>
				<lear>Moldavite Earring</lear>
				<legs>Duelist's Tights</legs>
			</set>
			<set name="NukeBoostOne" baseset="BaseNuke"><!--MP:735 Int:62+31 Skill:273-->
				<neck>Elemental Torque</neck>
				<body>Errant Houppelande</body>
				<lring>Snow Ring</lring>
			</set>
			<set name="NukeBoostTwo" baseset="NukeBoostOne"><!--MP:609 Int:62+43 Skill:273-->
				<rring>Snow Ring</rring>
				<back>Gleeman's Cape</back>
				<feet>Goliard Clogs</feet>
			</set>
	 		<set name="MaxResistNuke" baseset="NukeBoostTwo"><!--MP:492 Int:62+46 Skill:273-->
				<ammo>Sturm's Report</ammo>
				<hands>Duelist's Gloves</hands>
				<waist>Penitent's Rope</waist>
			</set>
			<set name="MaxMABNuke" baseset="NukeBoostTwo"><!--MP:518 Int:62+50 Skill:263-->
				<hands>Zenith Mitts</hands>
				<waist>Penitent's Rope</waist>
				<legs>Mahatma Slops</legs>
			</set>
		<!-- End of the sets for Nuking Builds. -->
		<!-- Stare of sets for Curing Builds. -->
			<set name="BaseCure" baseset="Standard"><!--MP:885-->
				<head>Zenith Crown</head>
				<back>Aslan Cape</back>
				<feet>Morrigan's Pigaches</feet>
			</set>
			<set name="CureBoost" baseset="BaseCure"><!--MP:805-->
				<lring>Sapphire Ring</lring>
				<rring>Omega Ring</rring>
			</set>
			<set name="MaxCureBoost" baseset="CureBoost"><!--MP:745-->
				<waist>Penitent's Rope</waist>
			</set>
		<!-- End of sets for Curing Builds. -->			
		</group>
	</sets>	
	<rules>	
		<!-- Standing Gear to return to from casting or resting.-->
		<action type="equip" when="idle|aftercast" set="Standard" />
		<!-- Gear to equip when resting -->
		<action type="equip" when="resting" set="Resting" />		
		<!-- Simple Convert. -->
		<if spell="Convert">
			<action type="castdelay" delay=".2"></action>
			<action type="equip" when="precast|midcast|aftercast" set="Convert"/>
			<action type="command" when="aftercast">input /raw /ma "Cure IV" Ivelios</action>
		</if>		
		<!-- Small piece of code to re-equip standing gear from no gear/locked gear -->
		<if spell="Cure V">
			<action type="equip" when="precast" set="Standard" />
			<action type="cancelspell" />
			<action type="return" />
		</if>			
	<!-- Check to see if we are casting a spell -->
		<if skill="*Magic">		
			<!-- Equip Fast Cast Gear before every spell is cast. -->
			<action type="equip" when="precast" set="FastCast" />		
			<!--Start checks on Enfeebling Magic Spells-->
			<if skill="EnfeeblingMagic">
				<!-- Handle the MND builds for Slow and Paralyze -->
				<if spell="Paralyze*|Slow*">
					<if mplt="628">
						<action type="equip" when="midcast" set="FullMndEnfeeb" />
					</if>
					<elseif mplt="688">
						<action type="equip" when="midcast" set="MndBoostFive" />
					</elseif>
					<elseif mplt="738">
						<action type="equip" when="midcast" set="MndBoostFour" />
					</elseif>
					<elseif mplt="772">
						<action type="equip" when="midcast" set="MndBoostThree" />
					</elseif>
					<elseif mplt="802">
						<action type="equip" when="midcast" set="MndBoostTwo" />
					</elseif>
					<elseif mplt="852">
						<action type="equip" when="midcast" set="MndBoostOne" />
					</elseif>
					<else>
						<action type="equip" when="midcast" set="BaseMndEnfeeb" />
					</else>
				</if>
				<else>
					<!-- Equip Enfeebling Skill gear for all other Enfeebling spells -->
					<if mplt="515">
						<action type="equip" when="midcast" set="MaxSkillEnfeeb" />
					</if>
					<elseif mplt="575">
						<action type="equip" when="midcast" set="SkillBoostSeven" />
					</elseif>
					<elseif mplt="625">
						<action type="equip" when="midcast" set="SkillBoostSix" />
					</elseif>
					<elseif mplt="675">
						<action type="equip" when="midcast" set="SkillBoostFive" />
						<if advanced="$Bracelets==1">	
							<action type="equip" when="midcast">
								<hands lock="t">Master Caster's Bracelets</hands>
							</action>
						</if>
					</elseif>
					<elseif mplt="722">
						<action type="equip" when="midcast" set="SkillBoostFour" />
					</elseif>
					<elseif mplt="768">
						<action type="equip" when="midcast" set="SkillBoostThree" />
					</elseif>
					<elseif mplt="798">
						<action type="equip" when="midcast" set="SkillBoostTwo" />
					</elseif>
					<elseif mplt="838">
						<action type="equip" when="midcast" set="SkillBoostOne" />
					</elseif>
					<else>
						<action type="equip" when="midcast" set="BaseSkillEnfeeb" />
					</else>
				</else>
				<!--Equip the correct staff for the right element of the spell-->
				<action type="equip" when="midcast">
					<main>$%SpellElementStaff</main>
				</action>
			</if>
		<!-- End of checks for Enfeebling Magic Spells -->
		<!--Start checks on Elemental Magic Spells-->
			<if skill="ElementalMagic">
				<if advanced="$Resist==1">
					<!--Equip gear if mob being casted on has high MDB. -->
					<if mplt="493">
						<action type="equip" when="midcast" set="MaxResistNuke" />
					</if>
					<elseif mplt="610">
						<action type="equip" when="midcast" set="NukeBoostTwo" />
					</elseif>
					<elseif mplt="736">
						<action type="equip" when="midcast" set="NukeBoostOne" />
					</elseif>
					<else>
						<action type="equip" when="midcast" set="BaseNuke" />
					</else>
				</if>
				<else>
					<!-- Equip gear if mob being casted on has low MDB. -->
					<if mplt="519">
						<action type="equip" when="midcast" set="MaxMABNuke" />
					</if>
					<elseif mplt="610">
						<action type="equip" when="midcast" set="NukeBoostTwo" />
					</elseif>
					<elseif mplt="736">
						<action type="equip" when="midcast" set="NukeBoostOne" />
					</elseif>
					<else>
						<action type="equip" when="midcast" set="BaseNuke" />
					</else>
					<!-- Handles the use of an UggPendant should you have one. -->
					<if advanced="$UggPendant==1" mppaftercastlt="50">
						<action type="equip" when="midcast">
							<neck lock="yes">Uggalepih Pendant</neck>
						</action>
					</if>
				</else>
				<!--Equip the correct staff for the right element of the spell-->
				<action type="equip" when="midcast">
					<main>$%SpellElementStaff</main>
				</action>
			</if>
		<!--End of checks on Elemental Magic Spells.-->			
		<!--Start checks for Dark Magic Spells-->
			<if skill="Dark*">
				<action type="equip" when="midcast" set="DarkMagic" />
				<!--Equip the correct staff for the right element of the spell-->
				<action type="equip" when="midcast">
					<main>$%SpellElementStaff</main>
				</action>
			</if>
		<!--End of checks for Dark Magic Spells.-->			
		</if>
	<!-- End of checks to see if casting a spell. -->
	<!-- Start checks on general purpose spells. -->
		<!--Start checks for Cure Spells-->
			<if spell="Cur*">
				<if mplt="746">
					<action type="equip" when="midcast" set="MaxCureBoost" />
				</if>
				<elseif mplt="806">
					<action type="equip" when="midcast" set="CureBoost" />
				</elseif>
				<else>
					<action type="equip" when="midcast" set="BaseCure" />
				</else>
				<!--Equip the correct staff for the right element of the spell-->
				<action type="equip" when="midcast">
					<main>$%SpellElementStaff</main>
				</action>
			</if>
		<!-- End of checks for cure spells. -->
		<!-- Start checks for Phalanx and En Spells -->
			<if spell="Phalanx*|En*">
				<action type="equip" when="midcast" set="EnhancingMagic" />
			</if>
		<!-- End of checks for Phalanx and En Spells. -->			
		<!-- Start the checks for various Stoneskin situations. -->
			<if spell="Stoneskin" buffactive="Composure">
				<if buffactive="Stoneskin">
					<action type="equip" when="midcast" set="Stoneskin" />
					<action type="command" when="midcast">cancel 37</action>
					<action type="midcastdelay" delay="4.0" />
				</if>
				<else>
					<action type="equip" when="midcast" set="Stoneskin" />
				</else>
			</if>			
			<if spell="Stoneskin" buffactive="Stoneskin">
				<action type="equip" when="midcast" set="Stoneskin" />
				<action type="command" when="midcast">cancel 37</action>
				<action type="midcastdelay" delay="3.5" />
			</if>			
			<if spell="Stoneskin">
				<action type="equip" when="midcast" set="Stoneskin" />
			</if>
		<!-- End of checks for stoneskin. -->
		<!-- Start checks and count down timers for Sleep Spells if being used. -->
			<if advanced='"$SleepTimers"="1"'>
				<if spell="Sleep II">
					<action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 45s</action>
					<action type="command" when="aftercast">wait 75;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</action>
					<action type="command" when="aftercast">wait 85;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</action>
				</if>
				<elseif spell="Sleep|Sleepga">			
					<action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</action>
					<action type="command" when="aftercast">wait 55;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</action>
				</elseif>
			</if>
		<!-- End checks and count down timers for Sleep Spells if being used. -->
	<!-- End of checks of general purpose spells. -->
	</rules>	
</spellcast>
plugins/spellcast/userxml/rdm/ivel_rdm.txt · Last modified: 2009/12/18 17:55 by ivelios
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