PUP Spellcast

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
397 users online
PUP Spellcast
 Valefor.Clairefox
Offline
サーバ: Valefor
Game: FFXI
user: Clairefox
Posts: 87
By Valefor.Clairefox 2012-11-19 15:10:50  
Still one of my favorite jobs <3 Basic spellcast for Puppetmaster.

Code
<?xml version="1.0" ?>
<!-- This XML requires the following to be used to its fullest -->
<!-- Include in FFXI Macro's the following for "on-the-fly" changing -->
<!-- //sc var set Attack Normal (Acc/Haste Melee Gear) -->
<!-- //sc var set Attack Evasion (Evasion Melee Gear) -->
<!-- //sc var set Frame Normal (Soulsoother Head/Sharpshot/Valoredge Frames) -->
<!-- //sc var set Frame BLM (Spiritreaver Head) -->

<spellcast>
	
	<config	AutoLoadXML="true" RequiredVersion="2.20" HideErrors="false" ShowGearSwaps="false" Debug="false" ShowSpellInfo="false"/>

	<variables clear="True">
<!-- Utsu Rule -->
		<var name="Utsusemi">Ichi</var>

<!-- Automaton Sets -->
		<var name="Automaton">0</var><!-- 0 for Deactivated, 1 for Activated -->
		<var name="Frame">Normal</var><!-- Gear Idle/Melee based on Automaton Frame and SubJob -->
		<var name="Attack">Normal</var>

	</variables>
 
	<sets>
		<group name="PUP">
			<set name="Normal">
				<head>Cirque Capello +1</head>
				<neck>Agasaya's collar</neck>
				<lear>Brutal Earring</lear>
				<rear>Aesir Ear Pendant</rear>
				<body>Usukane haramaki</body>
				<hands>Cirque Guanti +2</hands>
				<lring>Epona's Ring</lring>
				<rring>Rajas Ring</rring>
				<back>Resilient mantle</back>
				<waist>Twilight belt</waist>
				<legs>Cirque pantaloni +2</legs>
				<feet>Cirque Scarpe +2</feet>
			</set>
			<set name="Idle" Baseset="Normal">
				<head>Usukane Somen</head>
				<body>Cirque farsetto +1</body>
				<feet>Hermes' sandals</feet>
			</set>
			<set name="Evasion" Baseset="Normal">
				<hands>Ocelot Gloves</hands>
				<rring>Heed Ring</rring>
				<legs>Ocelot Trousers</legs>
				<feet>Pup. Babouches +1</feet>
			</set>
			<set name="STRws" Baseset="$Attack">
				<body>Usukane haramaki</body>
				<hands>Cirque Guanti +2</hands>
				<back>Resilient mantle</back>
				<legs>Usukane Hizayoroi</legs>
				<feet>Cirque Scarpe +2</feet>
			</set>
			<set name="BLMframe" Baseset="$Attack">
				<legs>Pantin churidars</legs>
				<feet>Pantin babouches</feet>
			</set>
			<set name="Resting">
			</set>
			<set name="TownGear" Baseset="Idle">
				<lring>Matrimony Band</lring>
			</set>
		</group>
	</sets>

	<rules>
		<if Status="resting">
			<action type="equip" when="resting" set="Resting" />
		</if>
		<if Spell="Activate|Deus Ex Automata">
			<action type="command" when="precast">sc var set Automaton 1</action>
		</if>
		<elseif Spell="Deactivate">
			<action type="command" when="precast">sc var set Automaton 0</action>
		</elseif>
<!-- Frames -->
		<if advanced='"$Frame"="Normal"'>
			<if Status="engaged"><action type="equip" when="aftercast|idle|engaged" set="$Attack" /></if>
			<elseif NotStatus="engaged"><action type="equip" when="aftercast|idle" set="Idle" /></elseif>
		</if>
		<elseif advanced='"$Frame"="BLM"'>
			<if advanced='"$Automaton"="1"'>
				<if Status="engaged"><action type="equip" when="aftercast|idle|engaged" set="BLMframe" /></if>
				<elseif NotStatus="engaged"><action type="equip" when="aftercast|idle" set="BLMframe" /></elseif>
			</if>
			<elseif advanced='"$Automaton"="0"'>
				<if Status="engaged"><action type="equip" when="aftercast|idle|engaged" set="$Attack" /></if>
				<elseif NotStatus="engaged"><action type="equip" when="aftercast|idle" set="Idle" /></elseif>
			</elseif>
		</elseif>
		
<!-- Weapon Skills -->
		<if Type="WeaponSkill">
			<if Mode="OR" BuffActive="Amnesia|Sleep|Stun|Terror" TPLT="100">
				<!-- Cancel WS if unable to cast -->
				<action Type="CancelSpell" />
				<action type="Return"/>
			</if>
			<action type="equip" when="precast" set="STRws" />
			<if Spell="Howling Fist|Victory Smite">
				<action type="equip" when="precast" set="STRws">
					<neck>Light Gorget</neck>
				</action>
			</if>
			<if Spell="Stringing Pummel">
				<action type="equip" when="precast" set="STRws">
					<neck>Soil Gorget</neck>
				</action>
			</if>
		</if>

<!-- Status -->
 		<if BuffActive="Silence" CommandPrefix="/ma|/magic|/ninjutsu">
			<action Type="CancelSpell" />
			<action Type="Command">input /p Silenced...</action>
		</if>
 		<if BuffActive="Sleep">
			<action Type="CancelSpell" />
			<action Type="Command">input /p Z_z...</action>
			<action type="command" when="midcast">cancel 37</action>
		</if>

<!-- Cancel and Buffs -->
		<elseif Spell="Sneak|Invisible|Deodorize">
			<action type="midcastdelay" delay="1.5" />
			<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="<me>" OR ("%target"="%PlayerName" AND "%SpellTarget"="<t>")'>
				<action type="command" when="midcast">cancel 71</action>
			</if>
		</elseif>
 		<if Spell="Spectral Jig">
			<action Type="Command" When="PreCast">cancel 71</action>
		</if>
		
<!-- Maneuvers and Repairs -->
		<if Spell="Repair">
			<action type="equip" when="Precast">
				<feet>Pup. Babouches +1</feet>
				<rear>Guignol Earring</rear>
			</action>
		</if>
		<if Spell="Tactical Switch">
			<action type="equip" when="Precast">
				<feet>Cirque Scarpe +2</feet>
			</action>
		</if>
		<if Spell="*Maneuver">
<!-- Equip all Stat+ Gears as needed to increase your stat over your automaton's to create "Good" burden -->
<!-- Don't remove your AF(+1) Hands or Buffoon's Collar(+1) from each Maneuver by accident! <3 -->
			<action type="command" when="aftercast">wait 2; input /dance motion</action>
			<if Spell="Fire*">
			<!-- STR Modifier -->
				<action type="equip" when="Precast">
					<neck>Buffoon's Collar +1</neck><!--Don't Touch Unless +1-->
					<hands>Pup. Dastanas</hands><!--Don't Touch Unless +1-->
					<rring>Rajas Ring</rring>
					<feet>Pup. Babouches +1</feet>
				</action>
			</if>
			<if Spell="Thunder*">
			<!-- DEX Modifier -->
				<action type="equip" when="Precast">
					<neck>Buffoon's Collar +1</neck><!--Don't Touch Unless +1-->
					<hands>Pup. Dastanas</hands><!--Don't Touch Unless +1-->
					<rring>Rajas ring</rring>
				</action>
			</if>
			<if Spell="Earth*">
			<!-- VIT Modifier -->
				<action type="equip" when="Precast">
					<neck>Buffoon's Collar +1</neck><!--Don't Touch Unless +1-->
					<hands>Pup. Dastanas</hands><!--Don't Touch Unless +1-->
				</action>
			</if>
			<if Spell="Wind*">
			<!-- AGI Modifier -->
				<action type="equip" when="Precast">
					<neck>Buffoon's Collar +1</neck><!--Don't Touch Unless +1-->
					<body>Mirke Wardecors</body>
					<hands>Pup. Dastanas</hands><!--Don't Touch Unless +1-->
				</action>
			</if>
			<if Spell="Ice*">
			<!-- INT Modifier -->
				<action type="equip" when="Precast">
					<neck>Buffoon's Collar +1</neck><!--Don't Touch Unless +1-->
					<hands>Pup. Dastanas</hands><!--Don't Touch Unless +1-->
				</action>
			</if>
			<if Spell="Water*">
			<!-- MND Modifier -->
				<action type="equip" when="Precast">
					<neck>Buffoon's Collar +1</neck><!--Don't Touch Unless +1-->
					<hands>Pup. Dastanas</hands><!--Don't Touch Unless +1-->
				</action>
			</if>
			<if Spell="Light*">
			<!-- CHR Modifier -->
				<action type="equip" when="Precast">
					<neck>Buffoon's Collar +1</neck><!--Don't Touch Unless +1-->
					<hands>Pup. Dastanas</hands><!--Don't Touch Unless +1-->
				</action>
			</if>
			<if Spell="Dark*">
			<!-- No Modifier -->
				<action type="equip" when="Precast">
					<neck>Buffoon's Collar +1</neck>
					<hands>Pup. Dastanas</hands>
				</action>
			</if>
		</if>

<!-- Sub Jobs -->
		<if SubJob="NIN">
			<if Spell="Utsusemi:*">
  				<if Spell="*NI">
					<action type="var" cmd="set Utsusemi Ni" />
				</if>
				<elseif Spell="*Ichi">
					<if advanced='"$Utsusemi"=="Ni"'>
						<midcastdelay delay="3.0" />  
						<action type="command" when="midcast">cancel 66</action>
					</if>
					<action type="var" cmd="set Utsusemi Ichi" />
				</elseif>
			</if>
			<if Spell="Monomi*|Tonko*">
				<if Spell="Monomi*" BuffActive="Sneak">
					<action type="midcastdelay" delay="2.5" />
					<action type="Command" when="midcast">cancel 71</action>
				</if>
			</if>			
		</if>

<!-- Teh Random -->
		<if Area="*Windurst*|*San d'Oria*|*Bastok*|*Jeuno*|*Whitegate|Al Zahbi" NotArea="Dynamis*|*[S]" NotBuffActive="Besieged">
			<action type="Equip" when="precast" set="TownGear" />
		</if>
	</rules>
</spellcast>