Code
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
<config
RequireVersion="2.30"
debug="false"
/>
<var name="QDBullet">Midrium bullet</var>
<variables />
<sets>
<group name="Corsair" default="yes">
<set name="Standard" BaseSet="Range Accuracy">
</set>
<set name="Quick Draw">
<ammo>$QDBullet</ammo>
<head>Corsair's Tricorne +1</head>
<neck>Stoicheion Medal</neck>
<lear>Moldavite Earring</lear>
<rear>Hecate's Earring</rear>
<body>Mirke Wardecors</body>
<hands>Navarch's Gants +2</hands>
<lring>Rajas Ring</lring>
<rring>Epona's Ring</rring>
<back>Forban Cape</back>
<waist>Aquiline Belt</waist>
<legs>Navarch's Culottes +2</legs>
<feet>Navarch's Bottes +2</feet>
</set>
<set name="Mighty Strikes" Baseset="TPGear">
<hands>Warrior's Mufflers +2</hands>
</set>
<set name="Range Accuracy">
<ammo>Bronze Bullet</ammo>
<head>Navarch's Tricorne +2</head>
<neck>Arctier's Torque</neck>
<lear>Volley Earring</lear>
<rear>Clearview Earring</rear>
<body>Navarch's Frac +2</body>
<hands>Navarch's Gants +2</hands>
<lring>Rajas Ring</lring>
<rring>Behemoth Ring</rring>
<back>Libeccio Mantle</back>
<waist>Aquiline Belt</waist>
<legs>Thurandaut Tights</legs>
<feet>Praeda Sabatons</feet>
</set>
<set name="Snap Shot">
<ammo>Bronze Bullet</ammo>
<head>Navarch's Tricorne +2</head>
<neck>Arctier's Torque</neck>
<lear>Volley Earring</lear>
<rear>Clearview Earring</rear>
<body>Navarch's Frac +2</body>
<hands>Alruna's Gloves</hands>
<back>Navarch's Mantle</back>
<waist>Impulse Belt</waist>
<legs>Navarch's Culottes +2</legs>
<feet>Praeda Sabatons</feet>
</set>
<set name="Idle">
<ammo>Bronze Bullet</ammo>
<head>Navarch's Tricorne +2</head>
<neck>Wiglen gorget</neck>
<lear>Volley Earring</lear>
<rear>Clearview Earring</rear>
<body>Navarch's Frac +2</body>
<hands>Navarch's Gants +2</hands>
<lring>Paguroidea Ring</lring>
<rring>Sheltered Ring</rring>
<back>Navarch's Mantle</back>
<waist>Impulse Belt</waist>
<legs>Navarch's Culottes +2</legs>
<feet>Hermes' Sandals</feet>
</set>
<set name="Wild Fire">
<ammo>Bronze Bullet</ammo>
<head>Thaumas Hat</head>
<neck>Stoicheion Medal</neck>
<lear>Moldavite Earring</lear>
<rear>Hecate's Earring</rear>
<body>Loki's Kaftan</body>
<hands>Thurandaut Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Solemn ring</rring>
<back>Forban Cape</back>
<waist>Aquiline Belt</waist>
<legs>Thurandaut Tights</legs>
<feet>Navarch's Bottes +2</feet>
</set>
<set name="Last Stand">
<ammo>Orichalcum Bullet</ammo>
<head>Navarch's Tricorne +2</head>
<neck>Arctier's Torque</neck>
<lear>Clearview Earring</lear>
<rear>Moonshade Earring</rear>
<body>Kudzu Aketon</body>
<hands>Thurandaut Gloves</hands>
<lring>Solemn ring</lring>
<rring>Epona's Ring</rring>
<back>Terebellum Mantle</back>
<waist>Light Belt</waist>
<legs>Thuranduat Tights</legs>
<feet>Navarch's Bottes +2</feet>
</set>
<set name="Aeolian Edge">
<head>Aias Bonnet</head>
<neck>Stoicheion Medal</neck>
<lear>Moldavite Earring</lear>
<rear>Hecate's Earring</rear>
<body>Toci's Harness</body>
<hands>Raider's Armlets +2</hands>
<lring>Rajas Ring</lring>
<rring>Spiral Ring</rring>
<back>Atheling Mantle</back>
<waist>Aquiline Belt</waist>
<legs>Denali Kecks</legs>
<feet>Athos's Boots</feet>
</set>
</group>
</sets>
<rules>
<!-- set of gear to equip when finished casting a spell or coming back from resting mp (idle set) -->
<equip when="Engaged" set="Snap Shot" />
<equip when="Idle" set="Idle" />
<equip when="Healing" set="Idle" />
<if Spell="Utsusemi*">
<!-- equip gear that helps Utsu, and nothing else -->
<equip when="precast" set="TPGear" />
</if>
<if type="Weaponskill">
<if mode="OR" TPLT="100" advanced='%SpellTargetDistance>20' notstatus="engaged">
<cancelspell/>
<return />
</if>
</if>
<if spell="Chaos*|Ninja*|Hunter*|Magus*|Healer's Roll|Puppet Roll|Choral Roll|Monk's Roll|Beast Roll|Samurai Roll|Evoker's Roll|Rogue's Roll|Warlock's Roll|Fighter's Roll|Drachen Roll|Gallant's Roll|Wizard's Roll|Dancer's Roll|Scholar's Roll">
<equip when="precast">
<head>Comm. Tricorne</head>
<hands>Navarch's Gants +2</hands>
<rring>Roller's Ring</rring>
<lring>Luzaf's Ring</lring>
</equip>
</if>
<if spell="Snake Eyes">
<equip when="aftercast|Idle">
<legs>Comm. Culottes +2</legs>
</equip>
</if>
<if spell="Fire Shot|Ice Shot|Wind Shot|Earth Shot|Thunder Shot|Water Shot|Dark Shot|Light Shot">
<equip set="Quick Draw" when="precast" />
</if>
<if spell="Wildfire">
<if advanced='"%EquipAmmo"="$QDBullet"'>
<action type="Cancelspell" />
</if>
<equip set="Wild Fire" when="precast" />
<equip set="Range Accuracy" when="aftercast" />
</if>
<if CommandPrefix="/range*|/ra*">
<action type="midcastdelay" delay="1" />
<equip set="Range Accuracy" when="midcast" />
<action type="aftercastdelay" delay="5" />
<equip set="Snap Shot" when="aftercast" />
</if>
<if spell="Last Stand">
<if advanced='"%EquipAmmo"="$QDBullet"'>
<action type="Cancelspell" />
</if>
<equip set="Last Stand" when="precast" />
<equip set="Range Accuracy" when="aftercast" />
</if>
<if mode="and" Spell="Provoke" Target="Sturdy Pyxis">
<cancelspell />
</if>
<if mode="and" Spell="Third Eye" notbuffactive="Seigan" MLvlGT="69">
<cancelspell />
<command>input /ja "Seigan" <me>;wait 2.5;input /ja "Third Eye" <me>;</command>
</if>
<if spell="Utsusemi: Ichi" BuffActive="Copy Image|Copy Image (2)" NotBuffActive="Silence|Mute|Omerta|Obliviscence">
<midcastdelay delay="3.0" />
<command when="midcast">cancel 66</command>
</if>
<if Spell="Sneak|Monomi*" BuffActive="Sneak" SpellTargetType="Self">
<command when="midcast">cancel 71</command>
<midcastdelay delay="1.8" />
</if>
</rules>
</spellcast>