Vodak's_THF

	<?xml version="1.0" ?>
	<spellcast>
		<config RequireVersion="2.22"
			HideErrors="false"
			ShowGearSwaps="false"
			Debug="true"
			ShowspellInfo="false"
		/>
		<variables>
			<var name="highevamobs">Kirin|Suzaku|Genbu|Seiryu|Byakko</var>
		</variables>	
		<sets>
                        <!-- Our main set for almost all scenarios --> 
			<group name="Thief" default="yes">
				<set name="Standard">
					<head>Walahra Turban</head>
			   		<neck>Peacock Charm</neck>
			   		<lear>Brutal Earring</lear>
			   		<rear>Suppanomimi</rear>
			   		<body>Hecatomb Harness</body>
			    		<hands>remove</hands>
			    		<lring>Ulthalam's Ring</lring>
					<rring>Sniper's Ring</rring>
	    				<back>Boxer's Mantle</back>
	    				<waist>Swift Belt</waist>
	    				<legs>Rogue's Culottes</legs>
	    				<feet>Trotter Boots</feet>
				</set>
				<set name="Attack" baseset="Standard">
					<ammo>Fire Bomblet</ammo>
					<body>Rapparee Harness</body>
					<hands>Dusk Gloves</hands>
					<back>Forager's Mantle</back>
					<feet>Cobra Unit Leggings</feet>
			    	</set>
				<set name="SA" baseset="Attack">
					<head>Hecatomb Cap</head>
					<body>Dragon Harness</body>
					<hands>Hecatomb Mittens</hands>
					<back>Cuchulain's Mantle</back>
					<legs>Hecatomb Subligar</legs>
					<feet>Hecatomb Leggings</feet>
				</set>	
				<set name="TA" baseset="Attack">
					<head>Denali Bonnet</head>
					<body>Assassin's Vest</body>
					<hands>Rogue's Armlets +1</hands>
					<back>Assassin's Cape</back>
				</set>
				<set name="WS" baseset="Attack">
					<head>Hecatomb Cap</head>
					<body>Hecatomb Harness</body>
					<hands>Hecatomb Mittens</hands>
					<back>Cuchulain's Mantle</back>
					<legs>Hecatomb Subligar</legs>
					<feet>Hecatomb Leggings</feet>
			   	</set>
                                <!-- I have 4 macros for range, in each macro i select the ammo -->
                                <!-- If you use always the same ammo set it here -->
				<set name="Ranged Attack" baseset="Attack">
					<range>Velocity Bow</range>
					<head>Optical Hat</head>
			   		<lring>Behemoth Ring</lring>
					<rring>Behemoth Ring</rring>
			    	</set>
				<set name="Utsusemi">
					<head>Walahra Turban</head>
			   		<body>Rapparee Harness</body>
			    		<hands>Dusk Gloves</hands>
			    		<waist>Swift Belt</waist>
			    	</set>
			</group>
                        <!-- Our tank/kite/solo set, to use it you have to use a game macro -->
                        <!-- /spellcast group evasion to switch to evasion -->
                        <!-- /spellcast group thief to switch to main set  -->
			<group name="Evasion" inherit="Thief">
				<set name="Standard" baseset="Standard" basegroup="Thief">
					<head>Optical Hat</head>
					<neck>Evasion Torque</neck>
					<body>Scorpion Harness</body>
					<back>Boxer's Mantle</back>
					<feet>Strider Boots</feet>
				</set>	
				<set name="Attack" baseset="Attack" basegroup="Thief">
					<head>Optical Hat</head>
					<body>Scorpion Harness</body>
					<back>Boxer's Mantle</back>
					<feet>Homam Gambieras</feet>
				</set>
                                <!-- Only Standard and Attack are different, other set are the same -->
				<set name="SA" baseset="SA" basegroup="Thief" />
				<set name="TA" baseset="TA" basegroup="Thief" />
				<set name="WS" baseset="WS" basegroup="Thief" />
				<set name="Ranged Attack" baseset="Ranged Attack" basegroup="Thief" />
				<set name="Utsusemi" baseset="Utsusemi" basegroup="Thief" />
			</group>
                        <!-- Are we fighting an High Evasion mob? no problem -->
			<group name="Accuracy" inherit="Thief">
				<set name="Attack" baseset="Attack" basegroup="Thief">
					<head>Optical Hat</head>
					<body>Scorpion Harness</body>
				</set>
				<set name="WS" baseset="WS" basegroup="Thief">
					<head>Optical Hat</head>
				</set>
			</group>	
		</sets>	
		<rules>
                        <!-- If we need our TH4 only need to equip thief's knife to trigger this --> 
			<if mode="OR" EquipMain="Thief's Knife" EquipSub="Thief's Knife">
				<action type="equip" when="idle|engaged|precast|midcast|aftercast">
					<hands lock="yes">Assassin's Armlets</hands>
				</action>
			</if>
                        <!-- Sub job different than NIN, so we don't need Suppa --> 
			<if Subjob="DRK|WAR|SAM|RNG">
				<action type="equip">
					<rear lock="yes">Hollow Earring</rear>
				</action>
			</if>
		       	<if status="idle">
				<!-- Not engaged but maybe pulling, equip Evasion for the way back to camp -->
                                <if Spell="Ranged">
					<action type="equip" when="precast" set="Ranged Attack" />
					<action type="equip" when="aftercast" set="Standard" setgroup="Evasion" />
				</if>
			         <!-- While no fight we equip our "seems cool" set ^^ -->
                        	<else>
					<action type="equip" when="idle|aftercast" set="Standard" />
				</else>
			</if>
                        <!-- Let's go fight! -->	
			<if status="engaged">
				<if Spell="Ranged">
					<action type="equip" when="precast" set="Ranged Attack" />
				</if>
                                <!-- This delay 5 is for keep equip changed untill we land the hit -->
				<!-- Sneak Attack w/o WS, here we equip our SA set -->
                                <if Spell="Sneak Attack">
					<action type="equip" when="precast" set="SA" />
					<action type="aftercastdelay" delay="5" />
				</if>
                                <!-- Trick Attack w/o WS, here we equip our TA set -->
				<if Spell="Trick Attack">
					<action type="equip" when="precast" set="TA" />
					<action type="aftercastdelay" delay="5" />
				</if>
                                <!-- Are we fighting versus an High Evasion mob? no problem -->
				<if mode="OR" Target="$highevamobs" BuffActive="Blind|Flash">
					<action type="equip" when="engaged|aftercast" set="Attack" setgroup="Accuracy" />
				</if>
                                <!-- Not an High Evasion mob, go for full attack -->
				<else>
					<action type="equip" when="engaged|aftercast" set="Attack" />
				</else>		
			</if>
                        <!-- If we are use a WS -->
			<if type="WeaponSkill">
				<action type="castdelay" delay="0.5" />
                                <!-- If we have SA or TA up go for full damage gear -->
                                <!-- No worried for the delay 5 on SA and TA in Engaged rules -->
                                <!-- I tested it and WS gear equip anyway ignoring the delay 5 -->
                                <if buffactive="Sneak Attack|Trick Attack">
					<action type="equip" set="WS" />
				</if>
                                <!-- If SA/TA not up and mob have high evasion we need some accuracy -->
				<else>	
					<if mode="OR" Target="$highevamobs" BuffActive="Blind|Flash">
						<action type="equip" when="precast" set="WS" setgroup="Accuracy" />
					</if>
                                        <!-- If SA/TA not up but mob not an High Evasion go full damage --> 
					<else>
						<action type="equip" when="precast" set="WS" />
					</else>
				</else>
                                <action type="aftercastdelay" delay="1" />
                                <!-- Equip the right gorger for each ws -->
				<if Spell="Dancing Edge|Shark Bite">
					<action type="equip">
						<neck>Breeze Gorget</neck>
					</action>
				</if>	
				<if Spell="Evisceration|Mandalic Stab|Mercy Stroke">
					<action type="equip">
						<neck>Shadow Gorget</neck>
					</action>
				</if>		
			</if>
                        <!-- Haste biuld for cast Utsusemi -->
			<elseif Spell="Utsusemi*">
				<action type="equip" when="precast" set="Utsusemi" />
			</elseif>
                        <!-- Cancel shadows if we have Ni up and want cast Ichi -->
			<if spell="Utsusemi: Ichi" BuffActive="Copy Image">
				<action type="midcastdelay" delay="3.0" />
				<action type="Command" when="midcast">cancel 66</action>
			</if>
		</rules>
	</spellcast>
plugins/spellcast/userxml/thf/vodak_thf.txt · Last modified: 2009/10/10 14:43 by vodak
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