Can anyone help me out with this... it's been forever since I've dealt with XML...
I have two bits of a spellcast file...
Code:
<rules>
<action type="equip" when="resting" set="Standing"/>
<action type="equip" when="idle" set="Standing"/>
<action type="equip" when="engaged" set="Engaged"/>
<if NotStatus="Engaged">
<action type="equip" when="aftercast" set="Standing" />
</if>
<else>
<action type="equip" when="aftecast" set="Engaged" />
</else>
<if type="Ninjutsu">
<action type="equip" when="Precast" set="FastCast"/>
<if Spell="Utsusemi: Ichi">
<action type="midcastdelay" delay="2.5"/>
<action type="Command" when="midcast">cancel 66</action>
</if>
</if>
<elseif Type="WeaponSkill">
<if TPGT="99">
<if advanced='%SpellTargetDistance < 3.8'>
<!--cancels the WS if out of range. This won't work with ranged WS-->
<action type="castdelay" delay=".2"/>
<if Spell="Dragon Kick">
<action type="Equip" when="precast|midcast" set="DragonKick"/>
<if buffactive="footwork">
<action type="Equip" when="Precast|midcast">
<feet>Dune Boots</feet>
</action>
</if>
</if>
<else>
<action type="Equip" when="precast|midcast" set="WeaponSkill"/>
</else>
</if>
<else>
<action type="cancelspell"/>
</else>
</if>
</elseif>
<elseif type="JobAbility">
<if Spell="Chakra">
<action type="equip" when="Precast" set="Chakra"/>
</if>
<elseif Spell="Chi Blast">
<action type="equip" when="Precast" set="ChiBlast"/>
</elseif>
<elseif Spell="Dodge">
<action type="equip" when="Precast" set="Dodge"/>
</elseif>
<elseif Spell="Focus">
<action type="equip" when="Precast" set="Focus"/>
</elseif>
<elseif Spell="Boost">
<action type="equip" when="Precast" set="Boost"/>
</elseif>
<elseif Spell="Counterstance">
<action type="equip" when="Precast" set="Counterstance"/>
</elseif>
</elseif>
</rules>
and
Code:
<config
Debug="false"
HideErrors="false"
RestingSet="Resting"
NormalSet="Idle"
EngagedSet="Engaged"
ShowGearSwaps="false"
ShowSpellInfo="false"
DefaultAftercast="Engaged"/>
<sets>
<group default="yes" name="MNK">
<set name="Idle">
<ammo>Thew Bomblet</ammo>
<head>Usukane Somen</head>
<neck>Faith Torque</neck>
<rear>Ethereal Earring</rear>
<lear>Brutal Earring</lear>
<body>Usukane Haramaki</body>
<hands>Usukane Gote</hands>
<lring>Rajas Ring</lring>
<rring>Toreador's Ring</rring>
<back>Forager's Mantle</back>
<waist>Black Belt</waist>
<legs>Usukane Hizayoroi</legs>
<feet>Hermes' Sandals</feet>
</set>
<set name="Engaged">
<ammo>Thew Bomblet</ammo>
<head>Usukane Somen</head>
<neck>Faith Torque</neck>
<rear>Ethereal Earring</rear>
<lear>Brutal Earring</lear>
<body>Usukane Haramaki</body>
<hands>Usukane Gote</hands>
<lring>Rajas Ring</lring>
<rring>Toreador's Ring</rring>
<back>Forager's Mantle</back>
<waist>Black Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Usukane Sune-ate</feet>
</set>
<set name="Chakra">
<ammo>Bibiki Seashell</ammo>
<head>Genbu's Kabuto</head>
<neck>Medieval Collar</neck>
<body>Temple Cyclas +1</body>
<hands>Melee Gloves</hands>
<lring>Topaz Ring</lring>
<rring>Mercenary's Ring</rring>
<back>Melee Cape</back>
<waist>Warwolf Belt</waist>
<legs>Kensei Sitabaki</legs>
<feet>Power Sandals</feet>
</set>
<set name="Dodge">
<feet>Temple Gaiters +1</feet>
</set>
<set name="Focus">
<head>Temple Crown +1</head>
</set>
<set name="Boost">
<hands>Temple Gloves +1</hands>
</set>
<set name="Counterstance">
<feet>Melee Gaiters</feet>
</set>
<set name="FastCast">
<lear>Loquacious Earring</lear>
</set>
<set name="ChiBlast">
<head>Temple Crown +1</head>
<back>Melee Cape</back>
<neck>Faith Torque</neck>
<feet>Suzaku's Sune-ate</feet>
</set>
<set name="WeaponSkill">
<head>Anwig Salade</head>
<ammo>Thew Bomblet</ammo>
<neck>Faith Torque</neck>
<rear>Ethereal Earring</rear>
<lear>Brutal Earring</lear>
<body>Usukane Haramaki</body>
<hands>Usukane Gote</hands>
<lring>Rajas Ring</lring>
<rring>Toreador's Ring</rring>
<back>Forager's Mantle</back>
<waist>Virtuoso Belt</waist>
<legs>Usukane Hizayoroi</legs>
<feet>Usukane Sune-ate</feet>
</set>
<set name="AsuranFists">
<head>Anwig Salade</head>
<ammo>Thew Bomblet</ammo>
<neck>Faith Torque</neck>
<rear>Ethereal Earring</rear>
<lear>Aesir Ear Pendant</lear>
<body>Usukane Haramaki</body>
<hands>Usukane Gote</hands>
<lring>Rajas Ring</lring>
<rring>Toreador's Ring</rring>
<back>Forager's Mantle</back>
<waist>Virtuoso Belt</waist>
<legs>Usukane Hizayoroi</legs>
<feet>Usukane Sune-ate</feet>
</set>
<set name="DragonKick">
<head>Genbu's Kabuto</head>
<ammo>Thew Bomblet</ammo>
<neck>Faith Torque</neck>
<rear>Ethereal Earring</rear>
<lear>Brutal Earring</lear>
<body>Shura Togi</body>
<hands>Usukane Gote</hands>
<lring>Ulthalam's Ring</lring>
<rring>Toreador's Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Life Belt</waist>
<legs>Usukane Hizayoroi</legs>
<feet>Dune Boots</feet>
</set>
<set name="TornadoKick">
<head>Genbu's Kabuto</head>
<ammo>Thew Bomblet</ammo>
<neck>Faith Torque</neck>
<rear>Ethereal Earring</rear>
<lear>Brutal Earring</lear>
<body>Shura Togi</body>
<hands>Usukane Gote</hands>
<lring>Ulthalam's Ring</lring>
<rring>Toreador's Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Life Belt</waist>
<legs>Usukane Hizayoroi</legs>
<feet>Dune Boots</feet>
</set>
</group>
</sets>
Aside from the gear being wonky/out of date - I'm trying to set this back up into working mode again... also could use suggestions for improvements on it / probably a footwork thing in there too...
Help is appreciated.