edit: completely remade post after tries and tries and tries
I can't understand how variables work even after having tried many times to read guides/examples so if that part could be elaborated and made it "ready for work" I could understand it once and for all.
btw I tried to add the pc/counter thing and had this issue:
1) if I want to do swap gear--focus---swap my synthax for pc/counter doesn't work, ultion never goes up
2)if I fix the pc/counter thing not auto-switching I manage to get ultion up but can't auto-remove it when buff expires, also, none of my other swaps work, they just get in the items and never put them away.
3) I generally can't make this whole xml work, huge help is appreciated because I can't really make any of this work, I tried for an hour and will keep trying but I really can't code for shit, it just doesn't work anything with my xml edited...
btw here is what I could come up with:
Code:
<?xml version="1.0" ?>
<spellcast>
<config
Debug="false"
HideErrors="false"
ShowGearSwaps="false"
ShowSpellInfo="false"
DefaultAftercast="Engaged"/>
<sets>
<group default="yes" name="MNK">
<set name="Standing">
<ammo>Tiphia Sting</ammo>
<head>Walahra Turban</head>
<neck>Chivalrous Chain</neck>
<lear>Spike Earring</lear>
<rear>Spike Earring</rear>
<body>Aurore Doublet</body>
<hands>Aurore Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Sniper's Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Brown Belt</waist>
<legs>Aurore Brais</legs>
<feet>Fuma sune-ate</feet>
</set>
<set name="Engaged">
<ammo>Tiphia Sting</ammo>
<head>Walahra Turban</head>
<neck>Chivalrous Chain</neck>
<lear>Spike Earring</lear>
<rear>Spike Earring</rear>
<body>Aurore Doublet</body>
<hands>Aurore Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Sniper's Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Brown Belt</waist>
<legs>Aurore Brais</legs>
<feet>Fuma sune-ate</feet>
</set>
<set name="Chakra">
<ammo>Bibiki Seashell</ammo>
<head>Genbu's Kabuto</head>
<neck>chivalrous Chain</neck>
<lear>Spike Earring</lear>
<rear>Spike Earring</rear>
<body>Temple Cyclas</body>
<hands>Aurore Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Sniper's Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Warrior's Belt +1</waist>
<legs>Aurore Brais</legs>
<feet>Fuma sune-ate</feet>
</set>
<set name="WeaponSkill">
<ammo>Tiphia Sting</ammo>
<head>Aurore Beret</head>
<neck>Chivalrous Chain</neck>
<lear>Spike Earring</lear>
<rear>Spike Earring</rear>
<body>Aurore Doublet</body>
<hands>Ochimusha Kote</hands>
<lring>Rajas Ring</lring>
<rring>Flame Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Brown Belt</waist>
<legs>Aurore Brais</legs>
<feet>Aurore Gaiters</feet>
</set>
<set name="AsuranFists">
<ammo>Tiphia Sting</ammo>
<head>Aurore Beret</head>
<neck>Chivalrous Chain</neck>
<lear>Spike Earring</lear>
<rear>Spike Earring</rear>
<body>Aurore Doublet</body>
<hands>Ochimusha Kote</hands>
<lring>Rajas Ring</lring>
<rring>Flame Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Life Belt</waist>
<legs>Aurore Brais</legs>
<feet>Aurore Gaiters</feet>
</set>
<set name="DragonKick">
<ammo>Tiphia Sting</ammo>
<head>Aurore Beret</head>
<neck>Chivalrous Chain</neck>
<lear>Spike Earring</lear>
<rear>Spike Earring</rear>
<body>Aurore Doublet</body>
<hands>Ochimusha Kote</hands>
<lring>Rajas Ring</lring>
<rring>Flame Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Brown Belt</waist>
<legs>Aurore Brais</legs>
<feet>Aurore Gaiters</feet>
</set>
<set name="AsceticsFury">
<ammo>Tiphia Sting</ammo>
<head>Aurore Beret</head>
<neck>Chivalrous Chain</neck>
<lear>Spike Earring</lear>
<rear>Spike Earring</rear>
<body>Aurore Doublet</body>
<hands>Ochimusha Kote</hands>
<lring>Rajas Ring</lring>
<rring>Flame Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Brown Belt</waist>
<legs>Aurore Brais</legs>
<feet>Aurore Gaiters</feet>
</set>
<set name="TornadoKick">
<ammo>Tiphia Sting</ammo>
<head>Aurore Beret</head>
<neck>Chivalrous Chain</neck>
<lear>Spike Earring</lear>
<rear>Spike Earring</rear>
<body>Aurore Doublet</body>
<hands>Ochimusha Kote</hands>
<lring>Rajas Ring</lring>
<rring>Flame Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Brown Belt</waist>
<legs>Aurore Brais</legs>
<feet>Aurore Gaiters</feet>
</set>
<set name="Tank">
<ammo>Bibiki Seashell</ammo>
<head>Walahra Turban</head>
<neck>Chivalrous Chain</neck>
<lear>Spike Earring</lear>
<rear>Spike Earring</rear>
<body>Aurore Doublet</body>
<hands>Aurore Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Sniper's Ring</rring>
<back>Ultion Mantle</back>
<waist>Brown Belt</waist>
<legs>Aurore Brais</legs>
<feet>Fuma sune-ate</feet>
</set>
<set name="Dodge">
<feet>Temple Gaiters</feet>
</set>
<set name="Focus">
<head>Temple Crown</head>
</set>
<set name="Boost">
<hands>Temple Gloves</hands>
</set>
<set name="Counterstance">
<feet>Melee Gaiters</feet>
</set>
<set name="FastCast">
<head>Walahra Turban</head>
<back>Ultion Mantle</back>
</set>
<set name="ChiBlast">
<head>Temple Crown</head>
</set>
<set name="Counter">
<back>Ultion Mantle</back>
</set>
</group>
</sets>
<rules>
<if spell="Perfect Counter|Counterstance" notbuffactive="Utsusemi*">
<action type="equip" when="Aftercast" set="Counter"/>
</if>
<if buffactive="Perfect Counter|Counterstance" notbuffactive="Utsusemi*" notspell="Utsusemi*">
<action type="equip" when="Aftercast" set="Counter"/>
</if>
<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.9'>
<!--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>
<elseif Spell="Tornado Kick">
<action type="Equip" when="precast|midcast"
set="TornadoKick"/>
</elseif>
<elseif Spell="Asuran Fists">
<action type="Equip" when="precast|midcast"
set="AsuranFists"/>
</elseif>
<elseif Spell="Ascetic's Fury">
<action type="Equip" when="precast|midcast"
set="AsceticsFury"/>
</elseif>
<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>
</spellcast>
as said it doesn't work.This version is the one that make me use my first swap--> cast buff but never removes the item...
What I really want is the functionality of my old xml, which does swap---buff-swap off, but with a couple adds which are:
1) during pc/counterstance having up counter gear
2) can decide what gear use and not be bound to one single set, with my old xml I can't put on let's say dodge earrings because next thing I do they will go out //sc set tpset and //sc set tankset with normal swaps like, during utsu cast, etc.
3) utsusemi down: -pdt gear, + counter gear.when utsu goes up back to normal gear.
I really am trying to make it on my own but I can't make it work, it's a bit too complicated for a newcomer as me to be honest, I barely understand half of what I'm doing =\
I hope it's doable and you can give me pointers to how to do it, I did try what I was suggested but I must have screwed up somewhere...thanks anyway °_°!