War Spellcast

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » FFXI » Jobs » Warrior » War spellcast
War spellcast
 Sylph.Hitetsu
Offline
Serveur: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-04-14 23:34:07
Link | Citer | R
 
If you put this at the top of your rules, it should stop parsing spellcast (so it won't change any gear that you don't have macro'd).
Code xml
<if notbuffactive="Whatever">
	<return />
	<addtochat color="121">Whatever isn't active - Cancelling gear swaps.</addtochat>
</if>



I've moved the Day/Element rules for your WS to after you've parsed the other WS rules and added a 1sec aftercast delay so it shouldn't get mixed up swapping gear while it's parsing (sometimes, swapping gear too much in too short time will cause Spellcast to equip 2 sets at a time).
Code xml
<?xml version="1.0" ?>
 
<spellcast>
	<variables>
		<var name="PDT">0</var>
	</variables>
 
<sets>
	<group name="war">
		<set name="MiscGearCollector" load="yes">
			<main>Joyeuse</main>
			<main>Magnus Axe</main>
			<main>Ukonvasara</main>
			<main>Earth Staff</main>
			<main>Rsv.Cpt.Grt. sword</main>
			<main>Bounty sickle</main>
			<main>Quint Spear</main>
			<main>Warp Cudgel</main>
		</set>
		 
		<set name="engaged">
			<lear>Brutal Earring</lear>
			<lring>Rajas Ring</lring>
			<head>Zelus Tiara</head>
			<neck>Rancor collar</neck>
			<body>Rvg. Lorica +2</body>
			<hands>Rvg. Mufflers +2</hands>
			<back>Atheling Mantle</back>
			<waist>Phasmida Belt</waist>
			<legs>Rvg. Cuisses +2</legs>
			<feet>Rvg. Calligae +2</feet>
			<rear>Ravager's Earring</rear>
			<rring>Tyrant's Ring</rring>
			<ammo>fire bomblet</ammo>
		</set>
 
		<set name="WarriorTPR">
			<ammo>fire bomblet</ammo>
			<hands>seiryu's kote</hands>
			<legs>Ravager's Cuisses +2</legs>
			<feet>Ravager's Calligae +2</feet>
			<back>atheling mantle</back>
			<body>fazheluo radiant mail</body>
			<lring>tyrant's ring</lring>
			<rring>Rajas Ring</rring>
			<neck>Rancor collar</neck>
			<waist>Phasmida belt</waist>
			<lear>Ravager's Earring</lear>
			<rear>Brutal Earring</rear>
			<head>fazheluo helm +1</head>
		</set>
 
 
		<set name="idle">
			<lear>Darkness Earring</lear>
			<lring>Sheltered Ring</lring>
			<head>Twilight helm</head>
			<neck>Wiglen gorget</neck>
			<body>Twilight Mail</body>
			<hands>War. Mufflers +2</hands>
			<back>Engulfer cape</back>
			<waist>Nierenschutz</waist>
			<legs>ogier's breeches</legs>
			<feet>Jingang greaves</feet>
			<rear>Black earring</rear>
			<rring>Paguroidea Ring</rring>
			<ammo>Demonry stone</ammo>
		</set>
 
		<set name="Outside_rr">
			<lear>Brutal Earring</lear>
			<lring>Rajas Ring</lring>
			<head>Ravager's Mask +2</head>
			<neck>Nefarious collar</neck>
			<body>Grim cuirass</body>
			<hands>war. mufflers +2</hands>
			<back>Rancorous Mantle</back>
			<waist>thunder Belt</waist>
			<legs>Avant Cuisses +1</legs>
			<feet>Rvg. calligae +2</feet>
			<rear>Centaurus Earring</rear>
			<rring>Pyrasoul Ring</rring>
			<ammo>Ravager's Orb</ammo>
		</set>
 
		<set name="Outside_rrzerk" baseset="Outside_rr">
			<hands>hecatomb mittens +1</hands>
			<back>Rancorous Mantle</back>
			<waist>Thunder Belt</waist>
		</set>
 
		<set name="ukkoout">
			<lear>Brutal Earring</lear>
			<lring>Rajas Ring</lring>
			<head>Ravager's Mask +2</head>
			<neck>Nefarious collar</neck>
			<body>Grim cuirass</body>
			<hands>hecatomb mittens +1</hands>
			<back>Rancorous Mantle</back>
			<waist>windbuffet belt</waist>
			<legs>Ogier's breeches</legs>
			<feet>Rvg. calligae +2</feet>
			<rear>Centaurus earring</rear>
			<rring>Pyrosoul Ring</rring>
			<ammo>Ravager's Orb</ammo>
		</set>
 
		<set name="Outside_ukkoin">
			<lear>Brutal Earring</lear>
			<lring>Rajas Ring</lring>
			<head>Ravager's Mask +2</head>
			<neck>Nefarious collar</neck>
			<body>Grim Cuirass</body>
			<hands>Hct. mittens +1</hands>
			<back>Rancorous Mantle</back>
			<waist>windbuffet Belt</waist>
			<legs>Hct. subligar +1</legs>
			<feet>Rvg. Calligae +2</feet>
			<rear>Centaurus Earring</rear>
			<rring>pyrosoul Ring</rring>
			<ammo>Ravager's Orb</ammo>
		</set>
 
		<set name="Outside_ukkocrit" baseset="Outside_ukkoin">
			<back>Rancorous Mantle</back>
			<neck>Thunder gorget</neck>
			<legs>ogier's breeches</legs>
		</set>
 
		<set name="Outside_ukkozerk">
			<lear>Brutal Earring</lear>
			<lring>Rajas Ring</lring>
			<head>Ravager's Mask +2</head>
			<neck>Nefarious collar</neck>
			<body>Grim cuirass</body>
			<hands>hecatomb mittens +1</hands>
			<back>Rancorous Mantle</back>
			<waist>windbuffet Belt</waist>
			<legs>Hct. subligar +1</legs>
			<feet>Rvg. Calligae +2</feet>
			<rear>Centaurus Earring</rear>
			<rring>Pyrosoul Ring</rring>
			<ammo>Ravager's Orb</ammo>
		</set>
 
		<set name="Outside_ukkozerkcrit" baseset="Outside_ukkoin">
			<waist>Windbuffet belt</waist>
			<neck>Thunder gorget</neck>
			<legs>ogier's breeches</legs>
		</set>
 
		<set name="Outside_fc">
			<lear>Brutal Earring</lear>
			<lring>Rajas Ring</lring>
			<head>Twilight Helm</head>
			<neck>Thunder Gorget</neck>
			<body>Grim Cuirass</body>
			<hands>Rvg. muffler's</hands>
			<back>Atheling Mantle</back>
			<waist>thunder Belt</waist>
			<legs>Avant Cuisses +1</legs>
			<feet>dilaram's sollerets</feet>
			<rear>centaurus Earring</rear>
			<rring>Pyrosoul Ring</rring>
			<ammo>Ravager's Orb</ammo>
		</set>
 
		<set name="Outside_upheav">
			<lear>Brutal earring</lear>
			<lring>terra's ring</lring>
			<head>Rav. mask +2</head>
			<neck>apathy gorget</neck>
			<body>twilight mail</body>
			<hands>War. mufflers +2</hands>
			<back>Atheling mantle</back>
			<waist>warwolf belt</waist>
			<feet>dilaram's sollerets</feet>
			<legs>ravager's cuisses +2</legs>
			<rear>centaurus earring</rear>
			<rring>spiral ring</rring>
			<ammo>ravager's orb</ammo>
		</set>
 
		<set name="rr">
			<lear>Brutal Earring</lear>
			<lring>Rajas Ring</lring>
			<head>Ravager's Mask +2</head>
			<neck>Nefarious collar</neck>
			<body>Grim cuirass</body>
			<hands>war. mufflers +2</hands>
			<back>Rancorous Mantle</back>
			<waist>thunder Belt</waist>
			<legs>Avant Cuisses +1</legs>
			<feet>Rvg. calligae +2</feet>
			<rear>Centaurus Earring</rear>
			<rring>Pyrasoul Ring</rring>
			<ammo>Ravager's Orb</ammo>
		</set>
 
		<set name="rrzerk" baseset="rr">
			<hands>hecatomb mittens +1</hands>
			<back>Rancorous Mantle</back>
			<waist>Thunder Belt</waist>
		</set>
 
		<set name="ukkoout">
			<lear>Brutal Earring</lear>
			<lring>Rajas Ring</lring>
			<head>Ravager's Mask +2</head>
			<neck>Nefarious collar</neck>
			<body>Grim cuirass</body>
			<hands>hecatomb mittens +1</hands>
			<back>Rancorous Mantle</back>
			<waist>windbuffet belt</waist>
			<legs>Ogier's breeches</legs>
			<feet>Rvg. calligae +2</feet>
			<rear>Centaurus earring</rear>
			<rring>Pyrosoul Ring</rring>
			<ammo>Ravager's Orb</ammo>
		</set>
 
		<set name="ukkoin">
			<lear>Brutal Earring</lear>
			<lring>Rajas Ring</lring>
			<head>Ravager's Mask +2</head>
			<neck>Nefarious collar</neck>
			<body>Grim Cuirass</body>
			<hands>Hct. mittens +1</hands>
			<back>Rancorous Mantle</back>
			<waist>windbuffet Belt</waist>
			<legs>Hct. subligar +1</legs>
			<feet>Rvg. Calligae +2</feet>
			<rear>Centaurus Earring</rear>
			<rring>pyrosoul Ring</rring>
			<ammo>Ravager's Orb</ammo>
		</set>
 
		<set name="ukkocrit" baseset="ukkoin">
			<back>Rancorous Mantle</back>
			<neck>Thunder gorget</neck>
			<legs>ogier's breeches</legs>
		</set>
 
		<set name="ukkozerk">
			<lear>Brutal Earring</lear>
			<lring>Rajas Ring</lring>
			<head>Ravager's Mask +2</head>
			<neck>Nefarious collar</neck>
			<body>Zahak's mail</body>
			<hands>hecatomb mittens +1</hands>
			<back>Rancorous Mantle</back>
			<waist>windbuffet Belt</waist>
			<legs>Hct. subligar +1</legs>
			<feet>Rvg. Calligae +2</feet>
			<rear>Centaurus Earring</rear>
			<rring>Pyrosoul Ring</rring>
			<ammo>Ravager's Orb</ammo>
		</set>
 
		<set name="ukkozerkcrit" baseset="ukkoin">
			<waist>Windbuffet belt</waist>
			<neck>Thunder gorget</neck>
			<legs>ogier's breeches</legs>
		</set>
 
		<set name="fc">
			<lear>Brutal Earring</lear>
			<lring>Rajas Ring</lring>
			<head>Twilight Helm</head>
			<neck>Thunder Gorget</neck>
			<body>Grim Cuirass</body>
			<hands>Rvg. muffler's</hands>
			<back>Atheling Mantle</back>
			<waist>thunder Belt</waist>
			<legs>Avant Cuisses +1</legs>
			<feet>dilaram's sollerets</feet>
			<rear>centaurus Earring</rear>
			<rring>Pyrosoul Ring</rring>
			<ammo>Ravager's Orb</ammo>
		</set>
 
		<set name="upheav">
			<lear>Brutal earring</lear>
			<lring>terra's ring</lring>
			<head>Rav. mask +2</head>
			<neck>apathy gorget</neck>
			<body>twilight mail</body>
			<hands>War. mufflers +2</hands>
			<back>Atheling mantle</back>
			<waist>windbuffet belt</waist>
			<feet>dilaram's sollerets</feet>
			<legs>Ogier's breeches</legs>
			<rear>centaurus earring</rear>
			<rring>spiral ring</rring>
			<ammo>ravager's orb</ammo>
		</set>
         
          
		<!--Gear used for Tomahawk-->
		<set name="Tomahawk" baseset="engaged">
			<ammo>Throwing Tomahawk</ammo>
		</set>
 
		<set name="PDT" baseset="engaged">
			<lring>Dark Ring</lring>
			<lear>darkness earring</lear>
			<rear>black earring</rear>
			<head>Ogier's helm</head>
			<feet>jingang greaves</feet>
			<neck>Twilight Torque</neck>
			<body>mekira meikogai</body>
			<hands>War. Mufflers +2</hands>
			<back>Shadow Mantle</back>
			<waist>Nierenschutz</waist>
			<legs>ogier's breeches</legs>
			<rring>Dark Ring</rring>
		</set>
	</group>
</sets>
 
<rules>
 
<if status="Dead">
	<cancelspell />
	<return />
</if> 
<if notstatus="engaged">
	<action type="equip" when="idle|aftercast" set="idle" />
</if>
	 
	<if spell="Dia">
		<if advanced='"$PDT"="0"'>
			<action type="var" cmd="set PDT 1" />
			<addtochat color="3">PDT set on!</addtochat>
		</if>
		<elseif advanced='"$PDT"="1"'>
			<action type="var" cmd="set PDT 0" />
			<addtochat color="5">TP set on!</addtochat>
		</elseif>
	</if>
	 
	<if status="Engaged">
		<aftercastdelay delay="1.0" />
		<if advanced='"$PDT"="0"'>
			<if notbuffactive="restraint">
				<equip when="engaged|aftercast" set="WarriorTPR" />
			</if>
			<else>
				<equip when="engaged|aftercast" set="engaged" />
			</else>
		</if>
		<elseif advanced='"$PDT"="1"'>
			<equip when="engaged|aftercast" set="PDT" />
		</elseif>
	</if> 
	 
	<if HPLT="600">
		<equip when="Precast|Midcast|Aftercast|Idle">
			<precastdelay Delay=".2" />
			<head lock="t">Twilight helm</head>
			<body lock="t">Twilight mail</body>
		</equip>
	</if> 
	 
	<if type="Weaponskill">
		<if mode="OR" TPLT="100" advanced='%SpellTargetDistance>8' notstatus="engaged">
			<addtochat color="5">Too far away from target, not enough TP or not engaged. Cancelling WS</addtochat>
			<cancelspell/>
			<return />
		</if>
	</if>
	 
			 
	<if type="weaponskill">
		<if buffactive="Visitant">
			<if spell="Ukko's Fury">
				<if buffactive="Berserk|Attack Boost">
					<if buffactive="Potency|Blood Rage">
						<action type="equip" when="precast" set="ukkozerkcrit" /> <!-- Using Ukko's - Atk+, Crit+ -->
					</if>
					<else>
						<action type="equip" when="precast" set="ukkozerk" /> <!-- Using Ukko's - Atk+ -->
					</else>
				</if>
				<if notbuffactive="Berserk|Attack Boost">
					<if buffactive="Potency|Bloodrage">
						<action type="equip" when="precast" set="ukkocrit" /> <!-- Using Ukko's - Crit+, no Atk+ -->
					</if>
					<else>
						<action type="equip" when="precast" set="ukkoin" /> <!-- Using Ukko's - No bonuses -->
					</else>
				</if>
		</if>
	  
			<if spell="Raging Rush">
				<if buffactive="Berserk|Attack Boost">
					<action type="equip" when="precast" set="rrzerk" /> <!--Using RR - with Atk+ -->
				</if>
				<else>
					<action type="equip" when="precast" set="rr" /> <!-- RR, without Atk+ -->
				</else>
			</if>
	  
	  
			<if spell="Fell Cleave">
				<action type="equip" when="precast" set="fc" />
			</if>
	  
			<if spell="Upheaval">
				<action type="equip" when="precast" set="upheav" />
			</if>
		</if> <!-- Close visitant -->
		  
		<elseif notbuffactive="Visitant">
			<if spell="Ukko's Fury">
				<if buffactive="Berserk|Attack Boost">
					<if buffactive="Potency|Blood Rage">
						<action type="equip" when="precast" set="OUTSIDE_ukkozerkcrit" /> <!-- Using Ukko's - Atk+, Crit+ -->
					</if>
					<else>
						<action type="equip" when="precast" set="OUTSIDE_ukkozerk" /> <!-- Using Ukko's - Atk+ -->
					</else>
				</if>
				<if notbuffactive="Berserk|Attack Boost">
					<if buffactive="Potency|Bloodrage">
						<action type="equip" when="precast" set="OUTSIDE_ukkocrit" /> <!-- Using Ukko's - Crit+, no Atk+ -->
					</if>
					<else>
						<action type="equip" when="precast" set="OUTSIDE_ukkoin" /> <!-- Using Ukko's - No bonuses -->
					</else>
				</if>
		</if>
	  
			<if spell="Raging Rush">
				<if buffactive="Berserk|Attack Boost">
					<action type="equip" when="precast" set="OUTSIDE_rrzerk" /> <!--Using RR - with Atk+ -->
				</if>
				<else>
					<action type="equip" when="precast" set="OUTSIDE_rr" /> <!-- RR, without Atk+ -->
				</else>
			</if>
	  
	  
			<if spell="Fell Cleave">
				<action type="equip" when="precast" set="OUTSIDE_fc" />
			</if>
	  
			<if spell="Upheaval">
				<action type="equip" when="precast" set="OUTSIDE_upheav" />
			</if>
		</elseif> <!-- Close outside WS's -->
		
		<if mode="and" spell="Ukko's Fury" advanced='"%DayElement" = "Light" OR "%DayElement" = "Thunder" OR "%DayElement" = "Wind" OR "%DayElement" = "Fire"'>
			<equip when="precast">
				<head lock="yes">Mekira-oto +1</head>
			</equip>
		</if>

	</if>
	 
	 
	<if Spell="Tomahawk">
		<action type="castdelay" delay=".2" />
		<action type="Equip" when="Precast" set="Tomahawk" />
	</if>
	 
	<if spell="berserk">
		<action type="equip" when="precast">
			<feet>Warrior's Calligae</feet>
		</action>
	</if>
	 
	<if spell="warcry">
		<action type="equip" when="precast">
			<head>Warrior's Mask</head>
		</action>
	</if>
	 
	<if spell="aggressor">
		<action type="equip" when="precast">
			<body>Warrior's Lorica</body>
		</action>
	</if>
	 
	<if spell="restraint">
		<action type="equip" when="precast">
			<hands>Rvg. Mufflers +2</hands>
		</action>
	</if>
	 
	 
	 
	 
	<if spell="Mighty Strikes">
		<action type="equip" when="precast">
			<hands>War. Mufflers +2</hands>
		</action>
	</if>
	 
	<if spell="Blood Rage">
		<action type="equip" when="precast">
			<body>Rvg. Lorica +2</body>
		</action>
	</if>
 
</rules>
</spellcast>
necroskull Necro Bump Detected! [272 days between previous and next post]
 Cerberus.Toknherb
Offline
Serveur: Cerberus
Game: FFXI
user: Toknherb
Posts: 104
By Cerberus.Toknherb 2013-01-12 10:17:14
Link | Citer | R
 
I am having some problem with my spellcast trying to use restraint. I am not very good with any type of coding at all and i'm not sure what to do to make this work. The problem i'm having is that if there are any other buffs active BEFORE restraint on my ingame buff bar, it does not work... If restraint is the first buff on my ingame buff bar it works correctly? Can anyone help me out?

Code
<if BuffActive="Restraint">
			
			<action Type="Equip" When="Precast">
              <hands lock="yes">Rvg. Mufflers +2</hands>
            </action>
			
			<addtochat type="command">input /echo ::: RESTRAINT ACTIVE ::: Rvg. Mufflers +2 EQUIPED :::</addtochat>
			</if>
			<else>
			<addtochat type="command">input /echo ::: RESTRAINT NOT ACTIVE ::: Phorycs Mitts EQUIPED :::</addtochat>
			</else>
 Cerberus.Frotaut
Offline
Serveur: Cerberus
Game: FFXI
user: Frotaut2
Posts: 90
By Cerberus.Frotaut 2013-01-14 09:52:26
Link | Citer | R
 
Actually having a prob with my xml parsing rules for Resolution any ideas all other ws sets work just not reso it defaults to the elseif WS base set.
Code
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude"> 
	<config />
	<variables clear="True">
		<!-- Standard Variables 1 -->
		<var name="TriggerSetOne">Shackled*|Grim*|Dancing Chains|Vulcan*|Barbed*|*Schism|Carnal*</var>
		<var name="TriggerSetTwo">Poison V|Poisonga V|Scop's*|*Pastoral|*Fantasia|Raptor*</var>
		<var name="TriggerSetThree">Netherspikes|Foxfire|Diaga V|Banishga V|Goblin Gavotte</var>
		<var name="Resist">R</var>
		<var name="Area">Outside</var>
		<var name="Distance">8.5</var>
		<var name="Delay-JA">0.3</var>
		<var name="LockMain">1</var>
		<var name="R-Weapon">Trollbane</var>
		<var name="Armor-Idle">BlankSet</var>
		<var name="Armor-Engaged">BlankSet</var>
		<!-- Standard Variables 2 -->
		<var name="VAR-TP">HASTE</var>
		<var name="VAR-WS">STR</var>
		<var name="VAR-Utsusemi">$PDT</var>
		<var name="Movement-Idle">Movement</var>
		<var name="Movement-Engaged">BlankSet</var>
		<!-- Multi-Class Variables  -->
		<var name="STYLE">2Handed</var>
		<var name="PDT">PDT</var>
		<var name="MDT">MDT</var>
		<var name="Berserk">N</var>
                           <var name="Restraint">N</var>
		<var name="BloodRage">N</var>
		<var name="MightyStrikes">BlankSet</var>
		<var name="TwilightSet">BlankSet</var>
		<var name="DDNeck">rancor collar</var>
		<var name="TPRanged">Ravager's Orb</var>
		<!-- include Variables -->
		<xi:include href="include2.xml" xpointer="//include[@name='TrialStaffFastCast']/*" />
		<xi:include href="include2.xml" xpointer="//include[@name='TrialStaffDMG']/*" />
		<xi:include href="include2.xml" xpointer="//include[@name='TrialStaffACC']/*" />
		<xi:include href="include2.xml" xpointer="//include[@name='ElementalObiConstants']/*" />
		<xi:include href="include2.xml" xpointer="//include[@name='VarEnSpells']/*" />
		<xi:include href="include2.xml" xpointer="//include[@name='EleStaffConst']/*" />
	</variables>
	<sets>
		<group name="Abyssea-R">
			<set name="Idle" baseset="PDT">
			<head>laeradr helm</head>
                       <body>Mekira Meikogai</body>
				<feet>Hermes' Sandals</feet>
			</set>
			<set name="Movement">
				<feet>Hermes' Sandals</feet>
			</set>
			<set name="Resting" />
			<set name="PDT">
				<ammo>Ravager's Orb</ammo>
				<head>laeradr helm</head>
				<body>Mekira Meikogai</body>
				<hands>Magma Gauntlets</hands>
				<legs>ogier's breeches</legs>
				<feet>phorcys schuhs</feet>
				<neck>Twilight Torque</neck>
				<waist>Nierenschutz</waist>
				<lear>Brutal Earring</lear>
				<rear>colossus's Earring</rear>
				<lring>Dark Ring</lring>
				<rring>Dark Ring</rring>
				<back>shadow mantle</back>
			</set>
			<set name="AM-PDT">
				<head>ogier's helm</head>
				<neck>Wiglen Gorget</neck>
				<body>Mekira Meikogai</body>
				<lring>Dark Ring</lring>
				<rring>Dark Ring</rring>
				<back>Shadow Mantle</back>
			</set>
			<set name="MDT">
				<ammo>Ravager's Orb</ammo>
				<head>Ogier's Helm</head>
				<body>Mekira Meikogai</body>
				<hands>Magma Gauntlets</hands>
				<legs>Inmicus Cuisses</legs>
				<feet>Ogier's Leggings</feet>
				<neck>Twilight Torque</neck>
				<waist>Nierenschutz</waist>
				<lear>Brutal Earring</lear>
				<rear>Ravager's Earring</rear>
				<lring>Dark Ring</lring>
				<rring>Dark Ring</rring>
				<back>Metallon Mantle</back>
			</set>
			<set name="AM-MDT">
				<neck>Twilight Torque</neck>
				<rring>Shadow Ring</rring>
			</set>
			<set name="FullEvasion" baseset="PDT"/>
			<set name="TP-2Handed-HASTE">
				<ammo>$TPRanged</ammo>
				<ammo>Ravager's Orb</ammo>
				<head>phorcys salade</head>
				<body>valkyrie's breastplate</body>
				<hands>phorcys mitts</hands>
				<legs>Rvg. Cuisses +2</legs>
				<feet>Rvg. Calligae +2</feet>
				<neck>$DDNeck</neck>
				<waist>phos belt</waist>
				<lear>Brutal Earring</lear>
				<rear>Ravager's Earring</rear>
				<rring>tyrant's Ring</rring>
				<lring>Rajas Ring</lring>
				<back>Atheling Mantle</back>
			</set>
			<set name="TP-2Handed-ATT" baseset="TP-2Handed-HASTE">
	<ammo>$TPRanged</ammo>
				<ammo>Ravager's Orb</ammo>
				<head>phorcys salade</head>
				<body>valkyrie's breastplate</body>
				<hands>phorcys mitts</hands>
				<legs>Rvg. Cuisses +2</legs>
				<feet>Rvg. Calligae +2</feet>
				<neck>$DDNeck</neck>
				<waist>phos belt</waist>
				<lear>Brutal Earring</lear>
				<rear>Ravager's Earring</rear>
				<rring>tyrant's Ring</rring>
				<lring>Rajas Ring</lring>
				<back>Atheling Mantle</back>			
			</set>
			<set name="TP-2Handed-ACC" baseset="TP-2Handed-HASTE">
					<ammo>$TPRanged</ammo>
				<ammo>Ravager's Orb</ammo>
				<head>phorcys salade</head>
				<body>adaman hauberk</body>
				<hands>phorcys mitts</hands>
				<legs>Rvg. Cuisses +2</legs>
				<feet>Rvg. Calligae +2</feet>
				<neck>$DDNeck</neck>
				<waist>phos belt</waist>
				<lear>Brutal Earring</lear>
				<rear>Ravager's Earring</rear>
				<rring>mars's Ring</rring>
				<lring>Rajas Ring</lring>
				<back>Atheling Mantle</back>
			</set>
			<set name="TP-DualWield-HASTE">
				<ammo>$TPRanged</ammo>
				<head>Zelus Tiara</head>
				<neck>$DDNeck</neck>
				<lear>Brutal Earring</lear>
				<rear>Suppanomimi</rear>
				<body>Armada Hauberk</body>
				<hands>$TPHands</hands>
				<lring>Rajas Ring</lring>
				<rring>$TPRing</rring>
				<back>Atheling Mantle</back>
				<waist>Goading Belt</waist>
				<legs>Rvg. Cuisses +2</legs>
				<feet>Rvg. Calligae +2</feet>
			</set>
			<set name="TP-DualWield-ATT" baseset="TP-DualWield-HASTE">
				<ammo>$TPRanged</ammo>
				<neck>Agasaya's Collar</neck>
				<rear>Merman's Earring</rear>
			</set>
			<set name="TP-DualWield-ACC" baseset="TP-DualWield-HASTE">
				<ammo>$TPRanged</ammo>
				<neck>Agasaya's Collar</neck>
			</set>
			<set name="BlankSet" />
			<set name="Utsusemi-Precast">
				<lear>Loquac. Earring</lear>
				<neck>Magoraga Beads</neck>
			</set>
			<set name="Haste">
				<head>Zelus Tiara</head>
				<rring>Blitz Ring</rring>
				<waist>Goading Belt</waist>
				<legs>Rvg. Cuisses +2</legs>
				<feet>Rvg. Calligae +2</feet>
			</set>
			<set name="Reraise">
				<head>Twilight Helm</head>
				<body>Twilight Mail</body>
			</set>
			<set name="Blood Rage">
				<body>Rvg. Lorica +2</body>
			</set>
			<set name="MightyStrikes">
				<hands>phorcys mitts</hands>
				<legs>avant cuisses +1</legs>
				<feet>Rvg. Calligae +2</feet>
			</set>
                      			<set name="Restraint">
				<hands>ravager's mufflers +2</hands>
			</set>
		
			<set name="Warcry">
				<head>warrior's mask</head>
			</set>
			<set name="Enmity">
				<body>ogier's surcoat</body>
				<waist>Goading Belt</waist>
			</set>
			<set name="Spell-Interruption" />
			<!-- WS Base is for any Weapon Skill not listed below -->
			<set Name="WS Base">
	<ammo>Ravager's Orb</ammo>
				<head>Ravager's Mask +2</head>
				<body>phorcys korazin</body>
				<hands>hecatomb mittens +1</hands>
				<legs>Rvg. Cuisses +2</legs>
				<feet>Rvg. Calligae +2</feet>
				<neck>rancor collar</neck>
				<waist>windbuffet Belt</waist>
				<lear>Brutal Earring</lear>
				<rear>flame pearl</rear>
				<lring>Rajas Ring</lring>
				<rring>Strigoi Ring</rring>		
			
			</set>
			<!-- Crit Weapon Skills -->
			<set name="Ukko's Fury-STR-N">
				<ammo>Ravager's Orb</ammo>
				<head>Ravager's Mask +2</head>
				<body>phorcys korazin</body>
				<hands>phorcys mitts</hands>
				<legs>Avant cuisses +1</legs>
				<feet>Rvg. Calligae +2</feet>
				<neck>thunder gorget</neck>
				<waist>windbuffet Belt</waist>
				<lear>Brutal Earring</lear>
				<rear>flame pearl</rear>
				<lring>Rajas Ring</lring>
				<rring>Strigoi Ring</rring>
				<back>rancorous mantle</back>
			</set>
			<set name="Ukko's Fury-STR-Berserk" baseset="Ukko's Fury-STR-N">
				<ammo>Ravager's Orb</ammo>
				<hands>hecatomb mittens +1</hands>
				<body>phorcys korazin</body>
				<head>Ravager's Mask +2</head>
				<legs>Rvg. Cuisses +2</legs>
				<feet>Rvg. Calligae +2</feet>
				<neck>thunder gorget</neck>
				<waist>windbuffet Belt</waist>
				<lear>Brutal Earring</lear>
				<rear>flame pearl</rear>
				<lring>Rajas Ring</lring>
				<rring>Strigoi Ring</rring>
				<back>rancorous mantle</back>
			</set>
			<set name="Ukko's Fury-DEX-N">
				<ammo>Ravager's Orb</ammo>
				<head>Ravager's Mask +2</head>
				<body>phorcys korazin</body>
				<hands>hecatomb mittens +1</hands>
				<legs>ogier's breeches</legs>
				<feet>Rvg. Calligae +2</feet>
				<neck>thunder gorget</neck>
				<waist>thunder belt</waist>
				<lear>Brutal Earring</lear>
				<rear>flame pearl</rear>
				<lring>Rajas Ring</lring>
				<rring>Strigoi Ring</rring>
			<back>rancorous mantle</back>
			</set>
			<set name="Ukko's Fury-DEX-Berserk" baseset="Ukko's Fury-DEX-N">
				<ammo>Ravager's Orb</ammo>
				<head>Ravager's Mask +2</head>
				<body>phorcys korazin</body>
				<hands>hecatomb mittens +1</hands>
				<legs>ogier's breeches</legs>
				<feet>Rvg. Calligae +2</feet>
				<neck>thunder gorget</neck>
				<waist>thunder Belt</waist>
				<lear>Brutal Earring</lear>
				<rear>flame pearl</rear>
				<lring>Rajas Ring</lring>
				<rring>Strigoi Ring</rring>
				<back>rancorous mantle</back>
			</set>
			<set name="Ukko's Fury-ATT-N" />
			<set name="Ukko's Fury-ATT-Berserk" baseset="Ukko's Fury-ATT-N" />
			<set name="Ukko's Fury-ACC-N" />
			<set name="Ukko's Fury-ACC-Berserk" baseset="Ukko's Fury-ACC-N" />
		             <set name="Raging Rush-STR-Berserk" baseset="Raging Rush-STR-N">
	                                        <ammo>Ravager's Orb</ammo>
				<head>Ravager's Mask +2</head>
				<body>grim cuirass +1</body>
				<hands>phorcys mitts</hands>
				<legs>ravager's Cuisses +2</legs>
				<feet>Rvg. Calligae +2</feet>
				<neck>Rancor Collar</neck>
				<waist>windbuffet Belt</waist>
				<lear>Brutal Earring</lear>
				<rear>flame pearl</rear>
				<lring>Rajas Ring</lring>
				<rring>Strigoi Ring</rring>
				<back>Atheling Mantle</back>
			</set>
			<set name="Resolution-STR-N">
<ammo>Ravager's Orb</ammo>
<head>Mekira-oto +1</head>
<body>Phorcys Korazin</body>
<hands>Phorcys Mitts</hands>
<legs>Avant Cuisses +1</legs>
<feet>Dilaram's Sollerets</feet>
<neck>Thunder Gorget</neck>
<waist>Thunder Belt</waist>
<lear>Brutal Earring</lear>
<rear>Flame Pearl</rear>
<lring>Rajas Ring</lring>
<rring>Strigoi Ring</rring>
<back>Atheling Mantle</back>
			</set>
	<set name="Resolution-STR-Berserk" baseset="Resolution-STR-N">
<ammo>Ravager's Orb</ammo>
<head>Mekira-oto +1</head>
<body>Phorcys Korazin</body>
<hands>Phorcys Mitts</hands>
<legs>War. Cuisses +2</legs>
<feet>Dilaram's Sollerets</feet>
<neck>Thunder Gorget</neck>
<waist>Thunder Belt</waist>
<lear>Brutal Earring</lear>
<rear>Flame Pearl</rear>
<lring>Rajas Ring</lring>
<rring>Strigoi Ring</rring>
<back>Atheling Mantle</back>
</set>
	
			<set name="Resolution-DEX-N" />
			<set name="Resolution-DEX-Berserk" baseset="Resolution-DEX-N-N" />
			<set name="Resolution-ATT-N" />
			<set name="Resolution-ATT-Berserk" baseset="Resolution-ATT-N-N" />
			<set name="Resolution-ACC-N" />
			<set name="Resolution-ACC-Berserk" baseset="Resolution-ACC-N-N" />
	
					<!-- Non-crit Weapon Skills -->
			<set name="Metatron Torment-N">
				<ammo>Ravager's Orb</ammo>
				<head>Mekira-oto +1</head>
				<neck>Ravager's Gorget</neck>
				<lear>Brutal Earring</lear>
				<rear>Vulcan's Pearl</rear>
			             <body>phorcys korazin</body>
				<hands>Heafoc Mitts</hands>
				<lring>Rajas Ring</lring>
				<rring>strigoi Ring</rring>
				<back>Atheling Mantle</back>
				<waist>Windbuffet Belt</waist>
				<legs>Avant Cuisses +1</legs>
				<feet>Dilaram's Sollerets</feet>
			</set>
			<set name="Metatron Torment-Berserk" baseset="Metatron Torment-N" />
			<set name="King's Justice-N" />
			<set name="King's Justice-Berserk" baseset="King's Justice-STR-N" />
			<set name="Fell Cleave">
				<ammo>Ravager's Orb</ammo>
				<head>Twilight Helm</head>
				<neck>ravager's gorget</neck>
				<lear>Brutal Earring</lear>
				<rear>flame Pearl</rear>
				<body>phorcy's korazin</body>
				<hands>phorcys mitts</hands>
				<lring>Rajas Ring</lring>
				<rring>strigoi Ring</rring>
				<back>Atheling Mantle</back>
				<waist>thunder Belt</waist>
				<legs>Rvg. Cuisses +2</legs>
				<feet>rvg. leggings +2</feet>
			</set>
<set name ="N" />

			<set name="Rampage">
				<ammo>Ravager's Orb</ammo>
				<head>Twilight Helm</head>
				<neck>Rancor Collar</neck>
				<lear>Brutal Earring</lear>
				<rear>Vulcan's Pearl</rear>
				<body>Twilight Mail</body>
				<hands>Rvg. Mufflers +2</hands>
				<lring>Rajas Ring</lring>
				<rring>Pyrosoul Ring</rring>
				<back>Atheling Mantle</back>
				<waist>Pipilaka Belt</waist>
				<legs>Byakko's Haidate</legs>
				<feet>Rvg. Calligae +2</feet>
			</set>
		
			<set name="Cataclysm">
				<sub>Claymore Grip</sub>
				<ammo>Ravager's Orb</ammo>
				<head>Twilight Helm</head>
				<body>phorcy's korazin</body>
				<hands>phorcys mitts</hands>
				<legs>Avant Cuisses +1</legs>
				<feet>Rvg. Calligae +2</feet>
				<neck>Stoicheion Medal</neck>
				<waist>Windbuffet Belt</waist>
				<lear>Hecate's Earring</lear>
				<rear>Novio Earring</rear>
				<lring>Strigoi Ring</lring>
				<rring>Diamond Ring</rring>
				<back>Atheling Mantle</back>
			</set>
		</group>
		<group name="Abyssea-NM" inherit="Abyssea-R" />
		<group name="Outside-R" inherit="Abyssea-R" default="true"/>
		<group name="Outside-NM" inherit="Outside-R" />
	</sets>
	<rules>
		<!-- Core include Rules -->
		<xi:include href="include2.xml" xpointer="//include[@name='LVrestriction']/*" />
		<xi:include href="include2.xml" xpointer="//include[@name='ReturnRules']/*" />
		<xi:include href="include2.xml" xpointer="//include[@name='CleanTransportation']/*" />
		<xi:include href="include2.xml" xpointer="//include[@name='AreaRule']/*" />
		<xi:include href="include2.xml" xpointer="//include[@name='LockWeaponRule']/*" />
		<xi:include href="include2.xml" xpointer="//include[@name='SpellCancel']/*" />
		<!-- Optional include Rules -->
		<xi:include href="include2.xml" xpointer="//include[@name='PowderBootsRule']/*" />
		<!-- Rerraise Gear Rules -->
		<if EquipHead = "Reraise Hairpin">
			<equip when="all">
				<head lock="true" />
			</equip>
		</if>
		<if EquipLear = "Reraise Earring">
			<equip when="all">
				<lear lock="true" />
			</equip>
		</if>
		<if EquipRear = "Reraise Earring">
			<equip when="all">
				<rear lock="true" />
			</equip>
		</if>
	
	<!-- Automatically change variables when buffs wear off -->
		<if notBuffactive="Berserk" advanced='"$Berserk"!="N"'>
			<var cmd="set Berserk N" />
		</if>
		<if notBuffactive="Restraint" advanced='"$Restraint"!="N"'>
			<var cmd="set Restraint N" />
		</if>
		<if notBuffactive="Blood Rage" advanced='"$BloodRage"!="N"'>
			<var cmd="set BloodRage N" />
		</if>
		<if notBuffactive="Warcry" advanced='"$Warcry"!="N"'>
			<var cmd="set BloodRage N" />
		</if>
		<!-- Automatically Equip Gear Rules -->
		<command when="engaged|idle|aftercast|resting">Dancing Chains</command>
		<!-- Automatically change group -->
		<if notgroup="$Area-$Resist">
			<command>sc group $Area-$Resist</command>
</if>
		<!-- Trigger Spells -->
		<if spell="$TriggerSetOne|$TriggerSetTwo|$TriggerSetThree">
			<if spell="$TriggerSetOne">
				<!-- Auto Update Gear -->
				<if spell="Dancing Chains">
					<cancelspell />
					<if status="idle">
						<equip set="%Status|$Armor-%Status|$Movement-%Status|$TwilightSet" />
					</if>
					<elseif status="engaged">
						<if advanced='"$VAR-TP"="TP-2Handed-HASTE"'>
							<equip set="TP-$STYLE-$VAR-TP|$Armor-%Status|$Movement-%Status|$Restraint|$TwilightSet" />
						</if>
						<else>
							<equip set="TP-$STYLE-$VAR-TP|$Armor-%Status|$Movement-%Status|$Restraint|$TwilightSet" />
						</else>
					</elseif>
					<elseif status="resting">
						<equip set="%Status" />
					</elseif>
				</if>
				<!-- Equip PDT (Barbed Crescent) -->
				<elseif Spell="Barbed Crescent">
					<cancelspell />
					<var cmd="set Armor-%Status $PDT" />
					<addtochat>PDT Set Equipped</addtochat>
					<command>Dancing Chains</command>
				</elseif>
				<!-- Equip MDT (Aegis Schism) -->
				<elseif Spell="Aegis Schism">
					<cancelspell />
					<var cmd="set Armor-%Status $MDT" />
					<addtochat>MDT Set Equipped</addtochat>
					<command>Dancing Chains</command>
				</elseif>
				<!-- Change the distance at which to cancel WS -->
				<xi:include href="include2.xml" xpointer="//include[@name='SetDistanceVariable']/*" />
				<!-- Change the resistance variable: Regular mobs or NMs -->
				<xi:include href="include2.xml" xpointer="//include[@name='ResistRule']/*" />
				<!-- Change the Armor variable: Blank, MDT, PDT, or Full Evasion -->
				<xi:include href="include2.xml" xpointer="//include[@name='Variable-Blank']/*" />
				<xi:include href="include2.xml" xpointer="//include[@name='Variable-FullEvasion']/*" />
			</if>
			<elseif spell="$TriggerSetTwo">
				<!-- Change TP set type -->
				<if spell="Poison V">
					<cancelspell />
					<if advanced='"$VAR-TP"="HASTE"'>
						<var cmd="set VAR-TP ATT" />
						<var cmd="set TPRanged Ravager's Orb" />
					</if>
					<elseif advanced='"$VAR-TP"="ATT"'>
						<var cmd="set VAR-TP ACC" />
						<var cmd="set TPRanged Fire Bomblet" />
					</elseif>
					<elseif advanced='"$VAR-TP"="ACC"'>
						<var cmd="set VAR-TP HASTE" />
						<var cmd="set TPRanged Ravager's Orb" />
					</elseif>
					<addtochat color="135">TP Variable: $VAR-TP</addtochat>
					<if status="engaged">
						<command>Dancing Chains</command>
					</if>
				</if>
				<!-- Change WS set type -->
				<elseif spell="Poisonga V">
					<cancelspell />
					<if advanced='"$VAR-WS"="STR"'>
						<var cmd="set VAR-WS DEX" />
					</if>
					<elseif advanced='"$VAR-WS"="DEX"'>
						<var cmd="set VAR-WS ATT" />
					</elseif>
					<elseif advanced='"$VAR-WS"="ATT"'>
						<var cmd="set VAR-WS ACC" />
					</elseif>
					<elseif advanced='"$VAR-WS"="ACC"'>
						<var cmd="set VAR-WS STR" />
					</elseif>
					<addtochat color="135">WS Variable: $VAR-WS</addtochat>
				</elseif>
				<!-- Change Midcast for Utsusemi -->
				<elseif spell="Scop's Operetta">
					<cancelspell />
					<if advanced='"$VAR-Utsusemi"="$PDT"'>
						<var cmd="set VAR-Utsusemi Spell-Interruption" />
					</if>
					<elseif advanced='"$VAR-Utsusemi"="Spell-Interruption"'>
						<var cmd="set VAR-Utsusemi $PDT" />
					</elseif>
					<addtochat color="135">Utsusemi Midcast: $Var-Utsusemi</addtochat>
				</elseif>
			  <!-- Rancor Collar Toggle -->
                <elseif spell="Shining Fantasia">
                    <cancelspell />
                    <if advanced='"$DDNeck"="Rancor Collar"'>
                        <var cmd="set DDNeck Ravager's Gorget" />
                    </if>
                    <elseif advanced='"$DDNeck"="Ravager&apos;s Gorget"'>
                        <var cmd="set DDNeck Rancor Collar" />
                    </elseif>
					<addtochat color="135">DD Neck: $DDNeck</addtochat>
                    <command>Dancing Chains</command>
                </elseif>
				<!-- Add or Remove Movement Gear -->
				<elseif spell="Raptor Mazurka">
					<cancelspell />
					<if advanced='"$Movement-%Status"="BlankSet"'>
						<var cmd="set Movement-%Status Movement" />
						<addtochat color="135">Movement Speed: ON</addtochat>
					</if>
					<else>
						<var cmd="set Movement-%Status BlankSet" />
						<addtochat color="135">Movement Speed: OFF</addtochat>
					</else>
					<command>Dancing Chains</command>
				</elseif>
			</elseif>
			<else>
				<!-- Reraise Gear Lock -->
				<if spell="Foxfire">
					<cancelspell />
					<if advanced='"$TwilightSet"="BlankSet"'>
						<var cmd="set TwilightSet Reraise" />
						<addtochat color="135">Reraise Gear Locked: ON</addtochat>
					</if>
					<elseif advanced='"$TwilightSet"="Reraise"'>
						<var cmd="set TwilightSet BlankSet" />
						<addtochat color="135">Reraise Gear Locked: OFF</addtochat>
					</elseif>
					<command>Dancing Chains</command>
				</if>
				<!-- Bravura Aftermath -->
				<elseif spell="Netherspikes">
					<cancelspell />
					<if EquipMain="Bravura">
						<if BuffActive="Aftermath">
							<if advanced='"$PDT"="PDT"'>
								<var cmd="set PDT AM-PDT" />
								<var cmd="set MDT AM-MDT" />
							</if>
						</if>
						<elseif advanced='"$PDT"="AM-PDT"'>
							<var cmd="set PDT PDT" />
							<var cmd="set MDT MDT" />
						</elseif>
					</if>
				</elseif>
				<!-- TP Style Variable (2-Handed vs Dual Wield) -->
				<elseif spell="Diaga V">
					<cancelspell />
					<if advanced='"$STYLE"="2Handed"'>
						<var cmd="set STYLE DualWield" />
						<addtochat color="135">TP STYLE: DualWield</addtochat>
					</if>
					<elseif advanced='"$STYLE"="DualWield"'>
						<var cmd="set STYLE 2Handed" />
						<addtochat color="135">TP STYLE: 2Handed</addtochat>
					</elseif>
					<command>Dancing Chains</command>
				</elseif>
				<!-- Mighty Strikes Variable -->
				<elseif spell="Goblin Gavotte">
					<cancelspell />
					<if advanced='"$MightyStrikes"="BlankSet"'>
						<var cmd="set MightyStrikes MightyStrikes" />
					</if>
					<elseif advanced='"$MightyStrikes"="MightyStrikes"'>
						<var cmd="set MightyStrikes BlankSet" />
					</elseif>
					<command>Dancing Chains</command>
				</elseif>
				<elseif spell="Herb Pastoral">
					<cancelspell />
					<if hpplt="35">
						<equip when="all" set="Reraise" />
					</if>
				</elseif>
				<!-- Trigger Spells Not Used -->
				<elseif spell="Banishga V">
					<cancelspell />
				</elseif>
			</else>
		</if>
		<elseif type="Ninjutsu">
			<!-- Ninjutsu: Utsusemi -->
			<if spell="Utsusemi: Ichi">
				<equip when="precast" set="Utsusemi-Precast" />
				<command when="precast">wait 0.5; sc set "Utsusemi-Midcast-$VAR-Utsusemi"</command>
				<midcastdelay delay="2" />
				<equip when="midcast" set="Haste" />
			</if>
			<elseif spell="Utsusemi: Ni">
				<equip when="precast|midcast" set="Haste" />
			</elseif>
		</elseif>
		<elseif CommandPrefix="/range" notEquipRange="$R-Weapon">
			<castdelay delay="$Delay-JA" />
			<equip when="precast">
				<ammo lock="true">$R-Weapon</ammo>
			</equip>
		</elseif>
<elseif type="WeaponSkill">
			<castdelay delay="$Delay-JA" />
	
			<if spell="Ukko's Fury|Resolution">
				<equip set="%Spell-$VAR-WS-$Berserk|$MightyStrikes|$TwilightSet" />
				<addtochat color="135">%Spell-$VAR-WS-$Berserk</addtochat>
			</if>
                                   	<elseif spell="Metatron Torment|King's Justice">
				<equip when="precast" set="%Spell-$Berserk|$MightyStrikes|$TwilightSet" />
			</elseif>
			<elseif Spell="Fell Cleave|Rampage">
				<equip set="%Spell|$MightyStrikes|$TwilightSet" />
			</elseif>
			<elseif Spell="Cataclysm">
				<equip set="%Spell|$TwilightSet" />
			</elseif>
			<elseif spell="Warrior's Charge">
				<equip when="Precast">
					<legs>Warrior's Cuisses +2</legs>
				</equip>
			</elseif>
			<if mode ="and" spell="Ukko's Fury">
				<if buffactive="Warrior's Charge">
					<equip when="Precast">
						<legs lock="yes">Warrior's Cuisses +2</legs>
					</equip>
				</if>
                     <if advanced='"%DayElement" = "Light" OR "%DayElement" = "Thunder" OR "%DayElement" = "Wind"'>
                        <equip when="precast">
                        <head lock="yes">Mekira-oto +1</head>
                        </equip>
                        </if>
			</if>
			<else>
				<equip set="WS Base" />
			</else>
		</elseif>
		<elseif type="JobAbility">
			<!-- Precast-only JAs -->
			<if spell="Provoke|Warcry">
				<castdelay delay="$Delay-JA" />
				<equip when="precast" set="Warcry|$TwilightSet" />
			</if>
			<elseif Spell="Tomahawk">
				<castdelay delay="1.5" />
				<equip when="precast|midcast">
					<ammo>Throwing Tomahawk</ammo>
				</equip>
				<aftercastdelay delay="4" />
				<equip when="aftercast">
					<ammo>$TPRanged</ammo>
				</equip>
			</elseif>
			<!-- Variable Changing and Precast gear JAs -->
			<elseif Spell="Berserk">
				<var cmd="set Berserk Berserk" />
			</elseif>
			<elseif Spell="Restraint">
                          <var cmd="set Restraint Restraint" />
				<castdelay delay="$Delay-JA" />
				<equip when="precast" set="%Spell|$TwilightSet" />
			</elseif>
			<elseif Spell="Blood Rage">
				<var cmd="set BloodRage BloodRage" />
				<castdelay delay="$Delay-JA" />
				<equip when="precast" set="%Spell|$TwilightSet" />
			</elseif>
		</elseif>
	</rules>
</spellcast>
 Odin.Registry
Offline
Serveur: Odin
Game: FFXI
user: R3G1STRY
Posts: 430
By Odin.Registry 2013-01-14 10:43:58
Link | Citer | R
 
Code xml
            <elseif spell="Warrior's Charge">
                <equip when="Precast">
                    <legs>Warrior's Cuisses +2</legs>
                </equip>
            </elseif>


is in your weaponskill rules for some reason, so move that somewhere else (or take it out completely because I don't believe you need to have them equipped during precast). You also have this
Code xml
<if mode ="and" spell="Ukko's Fury">
                <if buffactive="Warrior's Charge">
                    <equip when="Precast">
                        <legs lock="yes">Warrior's Cuisses +2</legs>
                    </equip>
                </if>

as a second rule for Ukko's, if you're going to keep that you either don't need the mode="and" or you can move the buffactive="Warrior's Charge" to the same line as the Ukko's rule.

There were a lot more random things like that, but it'd take too long to point them out, anyway... to fix Resolution rules just move the else on line 692 to right after your Cataclysm rule and move the Warrior's Charge rule outside of the weaponskill if statement, since it's only going to recognize that rule if Warrior's charge is a weaponskill, which it isn't.
 Cerberus.Frotaut
Offline
Serveur: Cerberus
Game: FFXI
user: Frotaut2
Posts: 90
By Cerberus.Frotaut 2013-01-14 11:14:43
Link | Citer | R
 
could you show me a example of how it should be coded. the warriors charge thing was to lock pants if i have warriors charge up.not sure where to put that was told to put in ws rules. but as for the reso rule could you show me how it should look?