Ok, there is a lot of unnecessary stuff going on here. I don't really see a point in using your include here, as a good 90% of it geared towards your mage jobs, or things completely unrelated to WAR.
Since I don't have all your includes (missing "CommonVariables" "WeaponSkillVariables" and "Arianna") I'm just going to give you a spellcast to us. Going through all that and changing the things required to make it work is a bit more work than I'm willing to commit to right now (as if writing this and a new spellcast for you is any better :p)...
Spellcast:
Code
<?xml version="1.0" ?>
<spellcast>
<config>
ShowGearSwaps="false"
Debug="false"
ShowSpellInfo="false"
</config>
<variables>
<var name="Grip">Claymore Grip</var>
<var name="TPRRing">Mars's Ring</var>
<var name="TPBack">Atheling Mantle</var>
<var name="TPEar">Ravager's Earring</var>
</variables>
<!-----------------------------NOTES---------------------------------><!--
Gorgets needed: ???
Groups: Main*
504 Delay 6 Hit:
- /SAM:
<sub>Pole Grip</sub>
- Other:
<sub>Rose Strap</sub>
<rring>Hoard Ring</rring>
<back>Tactical Mantle</back>
--><!------------------------------------------------------------------->
<sets>
<group default="yes" name="Main">
<set name="Standard">
<sub>$Grip</sub>
<ammo>Ravager's Orb</ammo>
<head>Zelus Tiara</head>
<neck>Wivre Gorget</neck>=
<lear>Ravager's Earring</lear>
<rear>Brutal Earring</rear>
<body>Ravager's Lorica +2</body>
<hands>Ravager's Mufflers +2</hands>
<lring>Rajas Ring</lring>
<rring>Mars's Ring</rring>
<back>Atheling Mantle</back>
<waist>Goading Belt</waist>
<legs>Ravager's Cuisses +2</legs>
<feet>Ravager's Calligae +2</feet>
</set>
<set name="Idle" BaseSet="Standard">
<head>Adaman Barbuta</head>
<neck>Orochi Nodowa</neck>
<body>Barone Corazza</body>
<hands>Darksteel Mittens +1</hands>
<legs>Blitzer Poleyn</legs>
<rring>Hercules' Ring</rring>
<waist>Nierenschutz</waist>
<feet>Koenig Schuhs</feet>
</set>
<set name="Engaged" BaseSet="Standard">
<hands>Ravager's Mufflers +2</hands>
<rring>Blitz Ring</rring>
<back>$TPBack</back>
</set>
<set name="1_Hit_WS" BaseSet="Standard">
</set>
<set name="MAB_WS" BaseSet="1_Hit_WS">
<lear>Hecate's Earring</lear>
<rear>Moldavite Earring</rear>
</set>
<set name="Multi_Hit_WS" BaseSet="1_Hit_WS">
<head>Ravager's Mask +2</head>
<neck>Snow Gorget</neck>
<lear>Flame Pearl</lear>
<rear>Brutal Earring</rear>
<body>Zahak's Mail</body>
<hands>Ravager's Mufflers +2</hands>
<rring>Pyrosoul Ring</rring>
<waist>Beir Belt +1</waist>
<legs>Byakko's Haidate</legs>
<feet>Hecatomb Leggings +1</feet>
</set>
<set name="Resting"></set>
<set name="PDT">
<head>Darksteel cap +1</head>
<body>Grim Cuirass</body>
<neck>Twilight Torque</neck>
<hands>Darksteel mittens +1</hands>
<lring>Jelly Ring</lring>
<rring>Dark Ring</rring>
<back>Metallon Mantle</back>
<waist>Nierenschutz</waist>
<legs>Blitzer Poleyn</legs>
<feet>Jingang Greaves</feet>
</set>
<set name="Waltz">
<head>Genbu's Kabuto</head>
<body>Kirin's Osode</body>
<waist>Warwolf Belt</waist>
</set>
<set name="Enmity"></set>
<set name="FastCast">
<lear>Loquacious Earring</lear>
</set>
<set name="Haste" BaseSet="FastCast">
<head>Zelus Tiara</head>
<hands>Dusk Gloves +1</hands>
<waist>Goading Belt</waist>
<legs>Ravager's Cuisses +2</legs>
<feet>Dusk Ledelsens</feet>
</set>
</group>
</sets>
<rules>
<if mode="and" SubJob="SAM" EquipMain="Vermeil Bhuj|Sturdy Axe|Bounty Sickle">
<var cmd="set Grip Claymore Grip" />
<var cmd="set TPRRing Mars's Ring" />
<var cmd="set TPBack Atheling Mantle" />
</if>
<else>
<if EquipMain="Vermeil Bhuj|Sturdy Axe|Bounty Sickle">
<var cmd="set Grip Rose Strap" />
</if>
<else>
<var cmd="set Grip %EquipSub" />
</else>
<var cmd="set TPRRing Hoard Ring" />
<var cmd="set TPBack Tactical Mantle" />
</else>
<if SubJob="NIN|DNC">
<if notEquipSub="*Grip*|*Strap*">
<var cmd="set TPEar Suppanomimi" />
</if>
<else>
<var cmd="set TPEar Centaurus Earring" />
</else>
</if>
<if status="Engaged">
<action type="equip" when="engaged|aftercast" set="Engaged" />
</if>
<if notstatus="engaged">
<action type="equip" when="idle|aftercast" set="idle" />
</if>
<if type="weaponskill">
<if spell="Ukko's Fury">
<if buffactive="Visitant">
<if buffactive="Berserk|Attack Boost">
<if buffactive="Potency|Blood Rage">
<action type="equip" when="precast" set="ukkozerkcrit" />
</if>
<else>
<action type="equip" when="precast" set="ukkozerk" />
</else>
</if>
<if notbuffactive="Berserk|Attack Boost">
<if buffactive="Potency|Bloodrage">
<action type="equip" when="precast" set="ukkocrit" />
</if>
<else>
<action type="equip" when="precast" set="ukkoin" />
</else>
</if>
</if>
<else>
<action type="equip" when="precast" set="ukkoout" />
</else>
</if>
<if spell="Raging Rush">
<if buffactive="Berserk|Attack Boost">
<action type="equip" when="precast" set="rrzerk" />
</if>
<else>
<action type="equip" when="precast" set="rr" />
</else>
</if>
<if spell="Fell Cleave">
<action type="equip" when="precast" set="fc" />
</if>
<else>
<return />
</else>
<action type="command" when="aftercast">input /echo TP return = <tp> </action>
</if>
<if spell="warcry">
<action type="equip" when="precast">
<head>Warrior's Mask</head>
</action>
</if>
<if spell="aggressor">
<action type="equip" when="precast">
<body>Warrior's Lorica</body>
</action>
</if>
<if spell="restraint">
<action type="equip" when="precast">
<hands>Rvg. Mufflers +2</hands>
</action>
</if>
<if spell="retaliation">
<action type="equip" when="precast">
<feet>Rvg. Calligae +2</feet>
</action>
</if>
<if spell="Blood Rage">
<action type="equip" when="precast">
<body>Rvg. Lorica +2</body>
</action>
</if>
<if spell="Utsusemi*">
<action type="equip" when="precast" set="Haste" />
</if>
<if spell="*Waltz*" notspell="Healing Waltz">
<action type="equip" when="precast" set="Waltz" />
</if>
</rules>
</spellcast>
A few things regarding the spellcast I posted.
Since I wasn't given all your includes I had to make this without using your includes. That being said, you may have to change some of your macros you use in game to make this work for you.
Also, I didn't make a rule to handle your PDT set, so you can just make a macro to throw it on. The macro would look like this: /console sc set PDT
Know that because of the engaged rule, after any action, you will be put back into your Engaged set, so if you want to be wearing the PDT set, you'll have to hit the macro again, or make a variable and rules for it. Here's how I do it...
Code
<var name="PDT">0</var>
<!-- put the above variable in your variables section, and the below rule into your rules section -->
<if status="Engaged">
<if advanced='"$PDT"="0"'>
<action type="equip" when="engaged|aftercast" set="engaged" />
</if>
<elseif advanced='"$PDT"="1"'>
<action type="equip" when="engaged|aftercast" set="PDT" />
</elseif>
</if>
For this to work, you will have to either make a toggle rule...
Code
<if spell="Dia">
<if advanced='"$PDT"="0"'>
<action type="var" cmd="set PDT 1" />
<addtochat>PDT set on!</addtochat>
</if>
<elseif advanced='"$PDT"="1"'>
<action type="var" cmd="set PDT 0" />
<addtochat>TP set on!</addtochat>
</elseif>
</if>
Or two different macros to change the PDT variable...
line 1: /console sc var set PDT 1
line 2: /console sc set PDT (this will put on your PDT set, the next macro will remove it)
line 1: /console sc var set PDT 0
line 2: /console sc set Engaged
Something I noticed:
Note: From your original spellcast. I left this in the new one, just in case you want to use it. If not, simply remove it, and the corresponding variable, and it'll still work fine.
Code
<if SubJob="NIN|DNC">
<if notEquipSub="*Grip*|*Strap*">
<var cmd="set TPEar Suppanomimi" />
</if>
<else>
<var cmd="set TPEar Centaurus Earring" />
</else>
</if>
You have this nice little rule, but in your Engaged set, none of your ears reference this "TPEar" variable. Do you want this rule to work? If so, your going to need to change one of your ears to this variable. Also, in your variables, you have TPEar defaulting to Ravagers. This piece isn't found in this rule, so if this is the ear you wish to use as your TPEar, AND your going to use this rule, you'll need to make or change your <else> statement to reflect this.
Also...
Code
<if mode="and" SubJob="SAM" EquipMain="Vermeil Bhuj|Sturdy Axe|Bounty Sickle">
<var cmd="set Grip Claymore Grip" />
<var cmd="set TPRRing Mars's Ring" />
<var cmd="set TPBack Atheling Mantle" />
</if>
<else>
<if EquipMain="Vermeil Bhuj|Sturdy Axe|Bounty Sickle">
<var cmd="set Grip Rose Strap" />
</if>
<else>
<var cmd="set Grip %EquipSub" />
</else>
<var cmd="set TPRRing Hoard Ring" />
<var cmd="set TPBack Tactical Mantle" />
</else>
Same thing here, your Engaged set doesn't have a TPRing. If you want this rule to be fully functional, you're going to need to change a ring slot to "$TPRRing"
Uhm... that's about all I have for now. If you have any questions, or have a problem with any of this, just let me know and I'll work through it with you ^^
EDIT: You're also going to have to make sets to reflect those called upon in the weaponskill rules based on your gear.