Trouble With This Xml

Langues: JP EN DE FR
users online
Forum » FFXI » Jobs » Corsair » trouble with this xml
trouble with this xml
Offline
Posts: 38
By sialeed 2013-11-10 17:26:55
Link | Citer | R
 
<?xml version="1.0" ?>

<spellcast>

<config debug="false" requiredversion="2.17"/>

<sets>

<group name="Corsair|COR" default="yes">

<!---- General sets ---->

<set name="IDLE" >
<head>Ocelomeh Headpiece</head>
<neck>Wiglen Gorget</neck>
<lear>Steelflash Earring</lear>
<rear>Bladeborn Earring</rear>
<body>Manibozho Jerkin</body>
<hands>Manibozho gloves</hands>
<lring>Sheltered Ring</lring>
<rring>Paguroidea Ring</rring>
<back>Atheling mantle</back>
<waist>Twilight belt</waist>
<legs>Manibozho Brais</legs>
<feet>Manibozho boots</feet>

</set>
<set name="Regen">
<body>Kheper jacket</body>
</set>


<set name="Ranged" >
<head>Navarch's tricorne +1</head>
<neck>Asperity necklace</neck>
<!--<lear> Earring</lear>
<rear> earring</rear>-->
<body>Navarch's Frac +1</body>
<hands>Manibozho gloves</hands>
<lring>Locus ring</lring>
<rring>Epona's ring</rring>
<back>Navarch's Mantle</back>
<waist>Twilight belt</waist>
<legs>Iuitl tights</legs>
<feet>Iuitl gaiters</feet>
<ammo>Bronze bullet</ammo>
</set>

<set name="Snapshot" >
<head>Aurore beret</head>
<body>Skopos jerkin</body>
<hands>Alruna's gloves</hands>
<back>Navarch's mantle</back>
<waist>Impulse belt</waist>
<legs>Navarch's culottes +2</legs>
<ammo>Titanium bullet</ammo>
</set>

<set name="TP" >
<head>Chocaliztli Mask</head>
<neck>Nefarious collar</neck>
<lear>Bladeborn Earring</lear>
<rear>Steelflash Earring</rear>
<body>Thaumas Coat</body>
<hands>Manibozho gloves</hands>
<lring>Solemn ring</lring>
<rring>Epona's Ring</rring>
<back> Atheling Mantle</back>
<waist>Twilight belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="PDT" >
<head>Chocaliztli Mask</head>
<neck>Twilight torque</neck>
<lear>Volley earring</lear>
<rear>Navarch's earring</rear>
<body>Manibozho Jerkin</body>
<hands>Manibozho Gloves</hands>
<lring>Dark Ring</lring>
<rring>Dark ring</rring>
<back>Libeccio mantle</back>
<waist>Flume belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
<ammo>Steel bullet</ammo>
</set>

<!--<set name="Stoneskin">
<hands>Denali wristbands</hands>
<legs>Haven hose</legs>
<neck>Stone gorget</neck>
<lring>Solemn ring</lring>
</set>-->

<!---- Corsair sets ---->


<set name="QuickDraw" >
<head>Corsair's tricorne</head>
<!--<neck></neck>-->
<lear>Hecate's earring</lear>
<rear>Moldavite earring</rear>
<!--<body></body>
<hands></hands>-->
<lring>Breeze ring</lring>
<rring>Solemn ring</rring>
<!--<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>-->
</set>

<!----- Corsair Rolls--->

<set name="Phantom Roll" >
<head>Commodore tricorne</head>
<!--<hands>Navarch's gants +2</hands>-->
</set>

<set name="Tactician's roll" >
<head>Commodore tricorne</head>
<body>Navarch's frac +1</body>
<!--<hands>Navarch's gants +2</hands>-->
</set>

<set name="Caster's roll" >
<head>Commodore tricorne</head>
<!--<hands>Navarch's gants +2</hands>
<legs>Navarch's culottes +2</legs>-->
</set>

<set name="Courser's roll" >
<head>Commodore tricorne</head>
<!--<hands>Navarch's gants +2</hands>
<feet>Navarch's bottes +2</feet>-->
</set>

<set name="Blitzer's roll" >
<head>Navarch's tricorne +1</head>
<body>Navarch's frac +1</body>
<hands>Navarch's gants +2</hands>
</set>

<set name="Random deal" >
<body>Commodore frac</body>
</set>


<!---- Weaponskill sets ---->


<set name="Slug Shot" >
<head>Chocaliztli mask</head>
<neck>Light Gorget</neck>
<!-- <lear></lear>
<rear></rear>-->
<body>Manibozho Jerkin</body>
<hands>Thurandaut gloves</hands>
<lring>Solemn Ring</lring>
<rring>Thunder ring ring</rring>
<back>Atheling mantle</back>
<waist>Light belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
<ammo>Bronze bullet</ammo>
</set>

<set name="Detonator" >
<head>Chocaliztli mask</head>
<neck>Light Gorget</neck>
<!-- <lear></lear>
<rear></rear>-->
<body>Manibozho Jerkin</body>
<hands>Thurandaut gloves</hands>
<lring>Solemn Ring</lring>
<rring>Thunder ring ring</rring>
<back>Atheling mantle</back>
<waist>Light belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="Leaden Salute" >
<head>Navarch's tricorne +2</head>
<neck>Artemis' medal</neck>
<lear>Hecate's earring</lear>
<rear>Moldavite earring</rear>
<body>Loki's Kaftan</body>
<hands>Schutzen mittens</hands>
<lring>Breeze ring</lring>
<rring>Solemn ring</rring>
<back>Forban cape</back>
<waist>Aquiline belt</waist>
<legs>Ambusher's hose</legs>
<feet>Navarch's bottes +2</feet>
<ammo>Bronze bullet</ammo>
</set>

<set name="Last Stand">
<head>Chocaliztli mask</head>
<neck>Light Gorget</neck>
<!-- <lear></lear>
<rear></rear>-->
<body>Manibozho Jerkin</body>
<hands>Thurandaut gloves</hands>
<lring>Solemn Ring</lring>
<rring>Thunder ring ring</rring>
<back>Atheling mantle</back>
<waist>Light belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="Numbing Shot">
<head>Chocaliztli mask</head>
<neck>Breeze Gorget</neck>
<!-- <lear></lear>
<rear></rear>-->
<body>Manibozho Jerkin</body>
<hands>Thurandaut gloves</hands>
<lring>Solemn Ring</lring>
<rring>Thunder ring ring</rring>
<back>Atheling mantle</back>
<waist>Breeze belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="WS">
<head>Chocaliztli Mask</head>
<neck>Soil Gorget</neck>
<lear>Bladeborn Earring</lear>
<rear>Steelflash Earring</rear>
<body>Manibozho Jerkin</body>
<hands>Thurandaut Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Spiral Ring</rring>
<waist>Soil Belt</waist>
<back>Rancorous Mantle</back>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="EVIS">
<head>Manibozho Beret</head>
<neck>Light Gorget</neck>
<body>Manibozho Jerkin</body>
<waist>Light Belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="AEOLIAN">
<head>Thaumas Hat</head>
<neck>Soil Gorget</neck>
<lear>Hecate's Earring</lear>
<rear>Strophadic Earring</rear>
<waist>Soil Belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="Exenterator">
<head>Oce. Headpiece +1</head>
<neck>Soil Gorget</neck>
<body>Thurandaut Tabard</body>
<hands>Thaumas Gloves</hands>
<waist>Soil Belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

</group>
</sets>

<rules>


<!---- General rules ---->


<if Type="WeaponSkill">
<castdelay delay="0.3"/>
<aftercastdelay delay="0.8"/>
<precastdelay delay="0.2"/>

</if>

<if spell="Autoset">
<if status="idle">
<action type="equip" when="idle" set="Idle" />
</if>

<if status="engaged">
<action type="equip" when="idle" set="TP" />
</if>

<if spell="ranged">
<action type="midcastdelay" delay="1" />
<action type="equip" when="Precast" set="Snapshot" />
<action type="equip" when="midcast" set="Ranged" />
</if>



<!--<if spell="Stoneskin">
<action type="equip" when=precast set="Stoneskin" />
</if>-->


<!---- Corsair rules ---->

<if CommandPrefix="/ra*|/shoot">
<equip when="precast" set="snapshot" />
<midcastdelay delay="2" />
<equip when="midcast" set="Ranged" />
<aftercastdelay delay="7" />
</if>


<if spell="Fire Shot|Ice Shot|Wind Shot|Earth Shot|Thunder Shot|Water Shot|Dark Shot|Light Shot">
<action type="equip" when="precast" set="QuickDraw" />
<action type="equip" when="aftercast" set="TP" />
</if>

<if spell="Random Deal">
<action type="equip" when="precast" set="Random Deal" />
<action type="equip" when="aftercast" set="Idle" />
<addtochat>***Random deal***</addtochat>
</if>

<if spell="Corsair's Roll|Ninja Roll|Hunter's Roll|Chaos Roll|Magus's Roll|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|Bolter's Roll|Miser's Roll|Companion's Roll">
<action type="equip" when="precast" set="Phantom Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<if spell="Blitzer's Roll">
<action type="equip" when="precast" set="Blitzer's Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<if spell="Tactician's Roll">
<action type="equip" when="precast" set="Tactician's Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<if spell="Caster's Roll">
<action type="equip" when="precast" set="Caster's Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<if spell="Courser's Roll">
<action type="equip" when="precast" set="Courser's Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<if spell="Allies' Roll">
<action type="equip" when="precast" set="Allies' Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<!---- Weaponskill rules ---->

<if type="WeaponSkill">

<if Type="WeaponSkill">
<castdelay delay="0.3"/>
<aftercastdelay delay="0.4"/>
<precastdelay delay="0.3"/>

</if>

<equip when="precast" set="WS" />
</if>

<if spell="Evisceration">
<equip when="precast" set="EVIS" />
<action type="equip" when="aftercast" set="TP" />

</if>

<if spell="Aeolian Edge">
<action when="precast" set="AEOLIAN" />
<action type="equip" when="aftercast" set="TP" />
</if>

<if spell="Exenterator">
<action when="precast" set="Exenterator" />
<action type="equip" when="aftercast" set="TP" />

</if>

<if spell="Slug Shot">
<action type="equip" when="precast" set="Slug Shot" />
<action type="equip" when="aftercast" set="TP" />
</if>

<if spell="Detonator">
<action type="equip" when="precast" set="Detonator" />
<action type="equip" when="aftercast" set="TP" />

</if>

<if spell="Leaden Salute">
<action type="equip" when="precast" set="Leaden Salute" />
<action type="equip" when="aftercast" set="TP" />

</if>

<if spell="Last Stand">
<action type="equip" when="precast" set="Last Stand" />
<action type="equip" when="aftercast" set="TP" />
</if>

<if spell="Numbing Shot">
<action type="equip" when="precast" set="Numbing Shot" />
<action type="equip" when="aftercast" set="TP" />
</if>

<if spell="autoset">
<if area="*Windurst*|Heavens*|*San d'Oria*|Chateau*|*Bastok*|Metalworks|*Jeuno*|Ru'Lude*|*Whitegate|Al Zahbi|Chocobo*|*Colosseum|Selbina|Mhaura|Kazham|Norg|Tavnazia*" notarea="Dynamis*|*[S]" notbuffactive="Besieged">
<action type="Equip" when="idle|engaged|resting|precast|midcast|aftercast" set="Town" />
</if>
<else>
<action type="equip" when="aftercast" set="IDLE"/>
</else>
<action type="equip" when="engaged" set="TP"/>
</if>
<if spell="RangeTP">
<action type="equip" when="precast" set="Ranged TP"/>
<action type="equip" when="aftercast" set="TP"/>
</if>
</if>

</rules>

</spellcast>
 Quetzalcoatl.Sanriku
Offline
Serveur: Quetzalcoatl
Game: FFXI
user: Sanriku
Posts: 75
By Quetzalcoatl.Sanriku 2013-11-10 18:47:07
Link | Citer | R
 
Make 1 post, its easier to find your answers.

http://www.ffxiah.com/forum/topic/40145/cor-xml-help/#2493018
Log in to post.