Results 1 to 3 of 3

Thread: RDM XML Help     submit to reddit submit to twitter

  1. #1
    New Merits
    Join Date
    Jul 2007
    Posts
    210
    BG Level
    4
    FFXI Server
    Bahamut
    WoW Realm
    Cho'gall

    RDM XML Help

    well basically I have a question, how would I make it so on high resist mobs i have a different set for spells? like paralyze and what not.

    Code:
    <?xml version="1.0" ?>
    	<spellcast>
    		<config
    			requireversion = "2.22"
    			showgearswaps = "False"
    			showspellinfo = "False"
    		/>
    		<variables>
    		<!-- Sleep timers, announces to chat when sleep is wearing off. Set to 0 to not use. -->
    		<!-- (note: this is sort of very obvious usage of 3rd party programs, so turn off when around people you dont trust -->
    		<var name="SleepTimers">1</var>
    		<!-- use Ugg Pendant or not? set to 0 if you do not have it. -->
    		<var name="UggPendant">1</var>
    		<!-- Elemental Grips, set to 1 for each you have -->
    		<var name="LightGrip">0</var>
    		<var name="DarkGrip">0</var>
    		<var name="ThunderGrip">0</var>
    		<var name="IceGrip">0</var>
    		<var name="FireGrip">0</var>
    		<var name="WindGrip">0</var>
    		<var name="WaterGrip">0</var>
    		<var name="EarthGrip">0</var>
    		<!-- Elemental Staffs, input what staff to use for each element here -->
    		<var name="IceStaff">Aquilo's Staff</var>
    		<var name="DarkStaff">Dark Staff</var>
    		<var name="ThunderStaff">Thunder Staff</var>
    		<var name="WindStaff">Wind Staff</var>
    		<var name="FireStaff">Fire Staff</var>
    		<var name="EarthStaff">Terra's Staff</var>
    		<var name="LightStaff">Light Staff</var>
    		<var name="WaterStaff">Water Staff</var>
    		<!-- Elemental Obi's, set to 1 for the ones you have. -->
    		<var name="DarkObi">0</var>
    		<var name="LightObi">0</var>
    		<var name="ThunderObi">0</var>
    		<var name="IceObi">0</var>
    		<var name="FireObi">0</var>
    		<var name="WindObi">0</var>
    		<var name="WaterObi">0</var>
    		<var name="EarthObi">0</var>
    	</variables>
    	<sets>
    		<group name="RDM" default="yes">
    			<set name="Idle">
    			<main>Terra's Staff</main>
    				<sub>Raptor Leather Strap +1</sub> 
    				<ammo>Phantom Tathlum</ammo>
    				<head>Duelist's Chapeau +1</head>
    				<neck>Orochi Nodowa</neck>							
    				<rear>Loquacious Earring</rear>
    				<lear>Magnetic Earring</lear>
    				<waist>Witch Sash</waist>
    				<body>Dalmatica</body>
    				<feet>Duelist's Boots</feet>
    				<hands>Devotee's Mitts +1</hands>
    				<legs>Crimson Cuisses</legs>
    				<rring>Omega Ring</rring>
    				<lring>Balrahn's Ring</lring>
    				<back>Rainbow Cape</back>
    			</set>
    			<set name="FastCast">
    				<head>Warlock's Chapeau +1</head>
    				<rear>Loquacious Earring</rear>
    			</set>
    			<set name="haste">
    				<head>Warlock's Chapeau +1</head>
    				<body>Duelist's Tabard</body>
    				<waist>Velocious Belt</waist>
    				<hands>Nashira Gages</hands>
    			</set>
    			<set name="Resting" BaseSet="Idle">
                  <main>Dark Staff</main>
    				<head>Yigit Turban</head>
    				<body>Errant Houppelande</body>
    				<waist>Hierarch Belt</waist>
    				<feet>Avocat Pigaches</feet>
    			</set>
    			<set name="Cure" BaseSet="Idle">
    				<main>Light Staff</main>
    				<sub>Raptor Leather Strap +1</sub>
    				<head>Duelist's Chapeau +1</head>
    				<legs>Warlock's Tights</legs>
    				<waist>Velocious Belt</waist>
    				<back>Rainbow Cape</back>
    			</set>
    			<set name="nuking">
    				<ammo>Phantom Tathlum</ammo>
    				<sub>Bugard Leather Strap +1</sub>
    				<head>Warlock's Chapeau +1</head>
    				<rear>Moldavite Earring</rear>
    				<lear>Magnetic Earring</lear>
    				<lring>Balrahn's Ring</lring>
    				<rring>Omega ring</rring>
    				<back>Rainbow Cape</back>
    				<waist>Witch Sash</waist>
    				<legs>Mahatma Slops</legs>
    				<hands>Zenith Mitts</hands>
    				<feet>Duelist's boots</feet>
    				<body>Errant Houppelande</body>
    			</set>
    			<set name="resist" baseset="nuking">
    				<neck>Elemental Torque</neck>
    				<back>Merciful Cape</back>
    				<feet>Nashira Crackows</feet>
    			</set>
    			<set name="Enfeebling">
    				<head>Warlock's Chapeau +1</head>
    				<body>Warlock's Tabard</body>
    				<neck>Enfeebling Torque</neck>
    				<waist>Witch Sash</waist>
    				<hands>Devotee's Mitts +1</hands>
    				<legs>Mahatma Slops</legs>
    				<feet>Avocat Pigaches</feet>
    				<lring>Balrahn's Ring</lring>
    				<rring>Omega Ring</rring>
    				<back>Rainbow Cape</back>
    			</set>
    			<set name="MNDenfeeb" BaseSet="Enfeebling">
    				<sub>Raptor Leather strap +1</sub>
    				<body>Errant Houppelande</body>
    				<legs>Mahatma slops</legs>
    				<hands>Devotee's Mitts +1</hands>
    				<lring>Balrahn's Ring</lring>
    				<rring>Omega ring</rring>
    				<neck>Morgana's Choker</neck>
    				<waist>Witch Sash</waist>
    				<head>Duelist's Chapeau +1</head>
    				<feet>Duelist's Boots</feet>
    			</set>
    			<set name="enhancing" BaseSet="Haste">
    				<legs>Warlock's Tights</legs>
    			</set>
    			<set name="Stoneskin" BaseSet="enhancing">
    				<main>Water Staff</main>
    				<sub>Raptor Leather Strap +1</sub>
    				<body>Crimson Scale Mail</body>
    				<lring>Balrahn's Ring</lring>
    				<rring>Omega Ring</rring>
    				<hands>Devotee's Mitts +1</hands>
    			</set>
    			<set name="Intenfeeb" BaseSet="Enfeebling">
    				<sub>Bugard Leather strap +1</sub>
    				<body>Warlock's Tabard</body>
    				<neck>Enfeebling Torque</neck>
    				<head>Warlock's Chapeau +1</head>
    				<legs>Mahatma Slops</legs>
    				<lring>Balrahn's Ring</lring>
    				<rring>Omega Ring</rring>
    				<waist>Witch Sash</waist>
    				<feet>Avocat pigaches</feet>
    			</set>
    			<set name="Dark">
    				<head>Warlock's Chapeau +1</head>
    				<body>Nashira Manteel</body>
    			</set>
    			<set name="Engaged" BaseSet="idle">
    					<neck>Peacock Amulet</neck>
    					<rear>Brutal Earring</rear>
    					<body>Crimson Scale Mail</body>
    					<lear>Suppanomimi</lear>
    					<lring>Bomb Queen Ring</lring>
    					<back>Boxer's Mantle</back>
    					<rring>Rajas Ring</rring>
    					<waist>Velocious Belt</waist>
    				</set>
    		</group>
    	</sets>
    	<rules>
    			<!-- this is general stuff without focusing on casting -->/
    				<action type="equip" when="idle" set="Idle" />
    				<action type="equip" when="resting" set="resting" />
    				<action type="equip" when="aftercast" set="Idle" />
    				<action type="equip" when="engaged" set="engaged" />
    				<action type="equip" when="midcast">
    				<main>$%SpellElementStaff</main>
    				</action>
    				<if Advanced='"$%SpellElementGrip" == "1"'>
    					<action type="equip" when="midcast">
    						<sub lock="true">%SpellElement Grip</sub>
    					</action>
    				</if>
    			<!-- This is basic spell casting stuff -->
    				<if spell="Cur*">
    					<action type="equip" when="Midcast" set="Cure" />
    				</if>
    				<if spell="Refresh|Haste">
    					<action type="equip" when="Midcast" set="haste" />
    				</if>
    				<if spell="Phalanx*|Bar*|En*">
    					<action type="equip" when="midcast" set="enhancing" />
    				</if>
    				<if spell="stoneskin">
    					<action type="equip" when="midcast" set="stoneskin" />
    				</if>
    				<if spell="Utsusemi*">
    					<action type="Equip"  when="Midcast" Set="haste" />
    				</if>
    				<if spell="Stun">
    					<action type="Equip"  when="Midcast" Set="haste" />
    				</if>
    			<!-- This is a section i'm working on dealing with enfeebling, i want to make HNM resist sets like with nuking section -->
    				<if spell="Sleep*|Gravity|Dispel|Poison*|Blind|Dia*">
    					<action type="equip" when="midcast" set="Enfeebling" />
    				</if>
    				<if spell="Para*">
    					<action type="equip" when="midcast">
    						<main>Aquilo's Staff</main>
    					</action>
    					<action type="equip" when="midcast" set="Mndenfeeb" />
    				</if>
    				<if spell="Silence">
    					<action type="equip" when="midcast">
    						<main>Wind Staff</main>
    					</action>
    					<action type="equip" when="midcast" set="Mndenfeeb" />
    				</if>
    				<if spell="Slow*">
    					<action type="equip" when="midcast">
    						<main>Terra's Staff</main>
    					</action>
    					<action type="equip" when="midcast" set="Mndenfeeb" />
    				</if>
    				<if spell="bind">
    					<action type="equip" when="midcast" set="Intenfeeb" />
    				</if>
    				<if Skill="*Magic">
    			<!-- if this is elemental magic (nukes/dot's, then do special handling -->
    				<if Skill="ElementalMagic">
    					<if Spell="Frost|Drown|Rasp|Burn|Shock|Choke">
    						<!-- equip elemental/INT gear for DoT's -->
    						<action type="equip" when="precast|midcast" Set="Resist" />	
    					</if>
    					<else>
    						<!-- this is an actual nuke. Check target to be a known high resist mob (and that ES is not active) -->
    						<if SpellTargetName="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Ouryu|Vrtra|Cerberus|Khimaira|Tyger|Jailer of Love|Sarameya" NotBuffActive="Elemental Seal">
    							<action type="equip" when="precast|midcast" Set="Resist" />	
    						</if>
    						<else>
    							<!-- if mob is not high resist, is it a mid resist mob? -->
    							<if SpellTargetName="Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin|" NotBuffActive="Elemental Seal">
    								<action type="equip" when="precast|midcast" Set="Resist" />	
    							</if>
    							<else>
    								<!-- Normal mob, go full damage gear. -->
    								<if mode="or" Area="Dynamis *|Hazhalm*" SpellTargetName="Lambton Worm|Sandworm|Guivre|King Arthro|Serket">
    									<if NotBuffActive="Elemental Seal">
    										<action type="equip" when="precast|midcast" Set="Resist" />
    									</if>
    									<else>
    										<action type="equip" when="precast|midcast" Set="nuking" />	
    									</else>
    								</if>
    								<else>
    									<action type="equip" when="precast|midcast" Set="nuking" />	
    								</else>
    								<!-- only equip pendant in situations you would equip full damage gear -->
    								<if MPPAfterCastLT="50" Advanced="$UggPendant==1">
    									<action type="equip" when="midcast">
    										<neck lock="yes">Uggalepih Pendant</neck>
    									</action>
    								</if>
    						</else>
    						</else>
    						</else>
    						</if>
    				</if>
    			<!-- This is for dark magic -->
    				<if spell="Bio*|Drain|Aspir">
    					<action type="equip" when="midcast" set="Dark" />
    				</if>
    			<!-- This section cancels buffs already on to prevent ichi/ni fail etc -->
    			<if spell="Utsusemi: Ichi">
    				<action type="Equip" when="precast" set="FastCast" />
    				<action type="midcastdelay" delay="1" />
    				<action type="Command" when="midcast">cancel 66</action> 
    			</if>
    			<if spell="Sneak" BuffActive="Sneak" advanced='"%target"="&lt;me&gt;"'>>
    				<action type="midcastdelay" delay=".5" />
    				<action type="Command" when="Midcast">cancel 71</action> 
    			</if>
    			<if spell="Stoneskin">
    				<action type="midcastdelay" delay="2" />
    				<action type="Command" when="MidCast">cancel 37</action> 
    			</if>
    			<if Spell="Blink" BuffActive="Blink">
    				<action type="command" when="midcast">cancel 36</action>
    				<action type="midcastdelay" delay="4.5" />
    			</if>
    		<!-- Sleep timers -->
    			<if advanced='"$SleepTimers"="1"'>
    				<if Spell="Sleep II|Sleepga 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>
    		<!-- obis -->
    			<if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$%SpellElementObi" = "1"'>
    				<if     Element="Dark"><action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action></if>
    				<elseif Element="Light"><action type="equip" when="midcast"><waist lock="yes">Korin Obi</waist></action></elseif>
    				<elseif Element="Thunder"><action type="equip" when="midcast"><waist lock="yes">Rairin Obi</waist></action></elseif>
    				<elseif Element="Ice"><action type="equip" when="midcast"><waist lock="yes">Hyorin Obi</waist></action></elseif>
    				<elseif Element="Fire"><action type="equip" when="midcast"><waist lock="yes">Karin Obi</waist></action></elseif>
    				<elseif Element="Wind"><action type="equip" when="midcast"><waist lock="yes">Furin Obi</waist></action></elseif>
    				<elseif Element="Water"><action type="equip" when="midcast"><waist lock="yes">Suirin Obi</waist></action></elseif>
    				<elseif Element="Earth"><action type="equip" when="midcast"><waist lock="yes">Dorin Obi</waist></action></elseif>
    			</if>
    </rules>	
    </spellcast>
    ya i know my xml needs work :/

  2. #2
    Hydra
    Join Date
    Aug 2008
    Posts
    146
    BG Level
    3
    FFXI Server
    Bismarck

    something like this should work

    <if spell="slow*">
    <if target="[mobname1]|[mobname2]|[etc]">
    <action type="equip" set="[nameofresistset]">
    </if>
    <else>
    <action type="equip" set="[nameofpotencyset]">
    </else>

    same for paralyze etc assuming you want to make different lists for each spell based on the mob's resistances. can add as many tiers of resistance as you want by adding additional <elseif> statements.

    if you want you can also set up a variable to add a mob on the fly and add $[variablename] to your list. (you just need to take a triggering action before SC will recognize the change)

  3. #3
    New Merits
    Join Date
    Jul 2007
    Posts
    210
    BG Level
    4
    FFXI Server
    Bahamut
    WoW Realm
    Cho'gall

    thaaaaaaaaaankyou =))

Similar Threads

  1. XML Help.
    By Reeno in forum Tech
    Replies: 0
    Last Post: 2010-03-26, 18:48