If anyone has any suggestions or has improvements for the code let me know. There isnt a good one of these out in the wild so i thought we could come up with one we all agree on and does what we needed. If my coding is correct, this should do the following.
1. Swap into an idle set automatically when not performing an action or engaged.
2. Swap into a melee set when engaged automatically.
3. When rolling equip Hat and af3 hands regardless of roll and swap in AF3 pieces as needed for the new rolls. *note* I decided to not include luzaf ring as im not sure of how to toggle it on or off as sometimes you dont want it and sometiems you do.
4. It should automatically swap in haste gear for uts casts.
5. Weapon skill sets auto change gear.
6. Quickdraw not engaged: Will blink gear so you dont get caught in animation and can keep running.
7. Quickdraw engaged: Will change into qd gear and change you back to engaged set but slower then when not engaged.
8. Swaps into ranged gear with appropriate wait time.
Things that I still havent added yet:
1. Wild Fire set.
2. Leaden Salute set.
3. A more enhanced qd set that would swap in Obis and staffs depending.
This current version is tested and fully working.
<?xml version="1.0" ?>
<spellcast>
<config HideErrors="True" normalgroup="COR" normalset="town" Language="NA" showgearswaps="false" showspellinfo="false"/>
<sets>
<!-- Gear sets -->
<group name="COR" default="true" alias="COR">
<set name ="town">
<head>Commodore Tricorne</head>
<neck>Twilight torque</neck>
<lear>Suppanomimi</lear>
<rear>Brutal Earring</rear>
<body>Loki's kaftan</body>
<hands>Schutzen Mittens</hands>
<lring>Rajas Ring</lring>
<rring>Adler ring</rring>
<back>Amemet Mantle +1</back>
<legs>Desultor Tassets</legs>
<feet>Hermes' Sandals</feet>
<ammo>Steel bullet</ammo>
<waist>Aquiline belt</waist>
</set>
<set name ="FC">
<head>Walahra Turban</head>
<hands>Dusk gloves</hands>
<waist>Twilight Belt</waist>
<legs>Desultor tassets</legs>
<feet>Dusk ledelsens</feet>
</set>
<set name ="Melee">
<head>Walahra Turban</head>
<neck>Spectacles</neck>
<lear>Suppanomimi</lear>
<rear>Brutal Earring</rear>
<body>Loki's kaftan</body>
<hands>Dusk gloves</hands>
<lring>Rajas ring</lring>
<rring>Adler Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Twilight Belt</waist>
<legs>Desultor tassets</legs>
<feet>Dusk ledelsens</feet>
<ammo>Steel bullet</ammo>
</set>
<set name ="Ranged">
<head>Anwig Salade</head>
<neck>Spectacles</neck>
<lear>Volley earring</lear>
<rear>Triumph earring</rear>
<body>Mirke Wardecors</body>
<hands>Barb. Moufles</hands>
<lring>Behemoth Ring</lring>
<rring>Behemoth Ring</rring>
<back>Libeccio mantle</back>
<waist>Warwolf belt</waist>
<legs>Dusk trousers</legs>
<feet>Praeda Sabatons</feet>
<ammo>Steel bullet</ammo>
</set>
<set name ="Slug">
<head>Anwig Salade</head>
<neck>Light Gorget</neck>
<lear>Suppanomimi</lear>
<rear>Triumph earring</rear>
<body>Mirke Wardecors</body>
<hands>Barb. Moufles</hands>
<lring>Behemoth Ring</lring>
<rring>Behemoth Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Warwolf belt</waist>
<legs>Dusk trousers</legs>
<feet>Corsair's Bottes</feet>
<ammo>Steel bullet</ammo>
</set>
<set name ="Det">
<head>Anwig Salade</head>
<neck>Light Gorget</neck>
<lear>Suppanomimi</lear>
<rear>Triumph earring</rear>
<body>Mirke Wardecors</body>
<hands>Barb. Moufles</hands>
<lring>Rajas ring</lring>
<rring>Behemoth Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Warwolf belt</waist>
<legs>Commodore culottes</legs>
<feet>Corsair's Bottes</feet>
<ammo>Steel bullet</ammo>
</set>
<set name="Quickdraw">
<head>Corsair's Tricorne</head>
<lear>Moldavite Earring</lear>
<body>Mirke Wardecors</body>
<legs>Denali Kecks</legs>
<feet>Navarch's bottes +1</feet>
<neck>Uggalepih pendant</neck>
<ammo>Oberon's Bullet</ammo>
<back>Forban Cape</back>
<waist>Aquiline belt</waist>
<hands>Schutzen Mittens</hands>
</set>
<set name ="RD">
<body>Commodore Frac</body>
</set>
<set name="Evisc">
<head>Anwig Salade</head>
<neck>Light Gorget</neck>
<lear>Suppanomimi</lear>
<rear>Triumph earring</rear>
<body>Loki's kaftan</body>
<hands>Navarch's Gants +1</hands>
<lring>Rajas ring</lring>
<rring>Adler Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Warwolf belt</waist>
<legs>Navarch's culottes +1</legs>
<feet>Commodore Bottes</feet>
</set>
<!-- Af3 Rolls -->
<set name ="Roll">
<head>Commodore Tricorne</head>
<hands>Navarch's Gants +1</hands>
</set>
<set name ="Blitz" baseset ="Roll">
<head>Navarch's Tricorne +1</head>
</set>
<set name ="Tact trip" baseset ="Roll">
<body>Navarch's Frac +1</body>
</set>
<set name ="Allie phan" baseset ="Roll">
<hands>Navarch's Gants +1</hands>
</set>
<set name ="Caster" baseset ="Roll">
<legs>Navarch's culottes +1</legs>
</set>
<set name ="Courser" baseset ="Roll">
<feet>Navarch's Bottes +1</feet>
</set>
</group>
</sets>
<!-- Rulez -->
<rules>
<if status="idle">
<equip when="aftercast|idle" set="town"/>
</if>
<elseif status="engaged">
<equip when="engaged|aftercast" set="melee"/>
</elseif>
<if spell="Utsusemi*">
<action type="equip" when="precast" set="fc"/>
<if spell="*Ichi">
<action type="command" when="midcast">cancel 66</action>
</if>
</if>
<if notstatus="engaged">
<if Spell="Fire Shot|Water Shot|Thunder Shot|Earth Shot|Wind Shot|Ice Shot|Light Shot|Dark Shot">
<equip when="Precast" Set="Quickdraw" />
<equip when="midcast" set="town" />
</if>
</if>
<if spell="Random*">
<equip when="precast" set="RD"/>
</if>
<if spell="Ranged">
<equip when="precast" set="Ranged"/>
<aftercastdelay delay="5" />
</if>
<!-- Weaponskill Rules -->
<if spell="Slug Shot">
<equip when="precast" set="Slug"/>
</if>
<if spell="Detonator">
<equip when="precast" set="Det"/>
</if>
<if spell="Evisceration">
<equip when="precast" set="Evisc"/>
</if>
<!-- Phantom Roll Rules -->
<if spell="*Roll">
<action type="equip" when="precast" set="Roll"/>
</if>
<if spell="Blitzer's Roll">
<action type="equip" when="precast" set="Blitz"/>
</if>
<if spell="Tactician's Roll">
<action type="equip" when="precast" set="Tact trip"/>
</if>
<if spell="Allies' Roll">
<action type="equip" when="precast" set="Allie phan"/>
</if>
<if spell="Caster's Roll">
<action type="equip" when="precast" set="Caster"/>
</if>
<if spell="Courser's Roll">
<action type="equip" when="precast" set="Courser"/>
</if>
</rules>
</spellcast> Edited, Jan 20th 2011 7:12pm by Alobont

