i usea variable setup idk works for me
i have this up top
Code
<var name="Restraint">N</var>
have this in my normal sets
Quote:
<set name="Restraint">
<hands>ravager's mufflers +2</hands>
</set>
then this is under my rules
Code
<!-- Automatically change variables when buffs wear off -->
<if notBuffactive="Berserk" advanced='"$Berserk"!="N"'>
<var cmd="set Berserk N" />
</if>
<if notBuffactive="Restraint" advanced='"$Restraint"!="N"'>
<var cmd="set Restraint N" />
</if>
<if notBuffactive="Blood Rage" advanced='"$BloodRage"!="N"'>
<var cmd="set BloodRage N" />
</if>
<if notBuffactive="Warcry" advanced='"$Warcry"!="N"'>
<var cmd="set BloodRage N" />
</if>
And heres a full version of my xml if it helps
Code
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
<config />
<variables clear="True">
<!-- Standard Variables 1 -->
<var name="TriggerSetOne">Shackled*|Grim*|Dancing Chains|Vulcan*|Barbed*|*Schism|Carnal*</var>
<var name="TriggerSetTwo">Poison V|Poisonga V|Scop's*|*Pastoral|*Fantasia|Raptor*</var>
<var name="TriggerSetThree">Netherspikes|Foxfire|Diaga V|Banishga V|Goblin Gavotte</var>
<var name="Resist">R</var>
<var name="Area">Outside</var>
<var name="Distance">8.5</var>
<var name="Delay-JA">0.3</var>
<var name="LockMain">1</var>
<var name="R-Weapon">Trollbane</var>
<var name="Armor-Idle">BlankSet</var>
<var name="Armor-Engaged">BlankSet</var>
<!-- Standard Variables 2 -->
<var name="VAR-TP">HASTE</var>
<var name="VAR-WS">STR</var>
<var name="VAR-Utsusemi">$PDT</var>
<var name="Movement-Idle">Movement</var>
<var name="Movement-Engaged">BlankSet</var>
<!-- Multi-Class Variables -->
<var name="STYLE">2Handed</var>
<var name="PDT">PDT</var>
<var name="MDT">MDT</var>
<var name="Berserk">N</var>
<var name="Restraint">N</var>
<var name="BloodRage">N</var>
<var name="MightyStrikes">BlankSet</var>
<var name="TwilightSet">BlankSet</var>
<var name="DDNeck">rancor collar</var>
<var name="TPRanged">Ravager's Orb</var>
<!-- include Variables -->
<xi:include href="include2.xml" xpointer="//include[@name='TrialStaffFastCast']/*" />
<xi:include href="include2.xml" xpointer="//include[@name='TrialStaffDMG']/*" />
<xi:include href="include2.xml" xpointer="//include[@name='TrialStaffACC']/*" />
<xi:include href="include2.xml" xpointer="//include[@name='ElementalObiConstants']/*" />
<xi:include href="include2.xml" xpointer="//include[@name='VarEnSpells']/*" />
<xi:include href="include2.xml" xpointer="//include[@name='EleStaffConst']/*" />
</variables>
<sets>
<group name="Abyssea-R">
<set name="Idle" baseset="PDT">
<head>laeradr helm</head>
<body>Mekira Meikogai</body>
<feet>Hermes' Sandals</feet>
</set>
<set name="Movement">
<feet>Hermes' Sandals</feet>
</set>
<set name="Resting" />
<set name="PDT">
<ammo>Ravager's Orb</ammo>
<head>laeradr helm</head>
<body>Mekira Meikogai</body>
<hands>Magma Gauntlets</hands>
<legs>ogier's breeches</legs>
<feet>phorcys schuhs</feet>
<neck>Twilight Torque</neck>
<waist>Nierenschutz</waist>
<lear>Brutal Earring</lear>
<rear>colossus's Earring</rear>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
<back>shadow mantle</back>
</set>
<set name="AM-PDT">
<head>ogier's helm</head>
<neck>Wiglen Gorget</neck>
<body>Mekira Meikogai</body>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
<back>Shadow Mantle</back>
</set>
<set name="MDT">
<ammo>Ravager's Orb</ammo>
<head>Ogier's Helm</head>
<body>Mekira Meikogai</body>
<hands>Magma Gauntlets</hands>
<legs>Inmicus Cuisses</legs>
<feet>Ogier's Leggings</feet>
<neck>Twilight Torque</neck>
<waist>Nierenschutz</waist>
<lear>Brutal Earring</lear>
<rear>Ravager's Earring</rear>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
<back>Metallon Mantle</back>
</set>
<set name="AM-MDT">
<neck>Twilight Torque</neck>
<rring>Shadow Ring</rring>
</set>
<set name="FullEvasion" baseset="PDT"/>
<set name="TP-2Handed-HASTE">
<ammo>$TPRanged</ammo>
<ammo>Ravager's Orb</ammo>
<head>phorcys salade</head>
<body>valkyrie's breastplate</body>
<hands>phorcys mitts</hands>
<legs>Rvg. Cuisses +2</legs>
<feet>Rvg. Calligae +2</feet>
<neck>$DDNeck</neck>
<waist>phos belt</waist>
<lear>Brutal Earring</lear>
<rear>Ravager's Earring</rear>
<rring>tyrant's Ring</rring>
<lring>Rajas Ring</lring>
<back>Atheling Mantle</back>
</set>
<set name="TP-2Handed-ATT" baseset="TP-2Handed-HASTE">
<ammo>$TPRanged</ammo>
<ammo>Ravager's Orb</ammo>
<head>phorcys salade</head>
<body>valkyrie's breastplate</body>
<hands>phorcys mitts</hands>
<legs>Rvg. Cuisses +2</legs>
<feet>Rvg. Calligae +2</feet>
<neck>$DDNeck</neck>
<waist>phos belt</waist>
<lear>Brutal Earring</lear>
<rear>Ravager's Earring</rear>
<rring>tyrant's Ring</rring>
<lring>Rajas Ring</lring>
<back>Atheling Mantle</back>
</set>
<set name="TP-2Handed-ACC" baseset="TP-2Handed-HASTE">
<ammo>$TPRanged</ammo>
<ammo>Ravager's Orb</ammo>
<head>phorcys salade</head>
<body>adaman hauberk</body>
<hands>phorcys mitts</hands>
<legs>Rvg. Cuisses +2</legs>
<feet>Rvg. Calligae +2</feet>
<neck>$DDNeck</neck>
<waist>phos belt</waist>
<lear>Brutal Earring</lear>
<rear>Ravager's Earring</rear>
<rring>mars's Ring</rring>
<lring>Rajas Ring</lring>
<back>Atheling Mantle</back>
</set>
<set name="TP-DualWield-HASTE">
<ammo>$TPRanged</ammo>
<head>Zelus Tiara</head>
<neck>$DDNeck</neck>
<lear>Brutal Earring</lear>
<rear>Suppanomimi</rear>
<body>Armada Hauberk</body>
<hands>$TPHands</hands>
<lring>Rajas Ring</lring>
<rring>$TPRing</rring>
<back>Atheling Mantle</back>
<waist>Goading Belt</waist>
<legs>Rvg. Cuisses +2</legs>
<feet>Rvg. Calligae +2</feet>
</set>
<set name="TP-DualWield-ATT" baseset="TP-DualWield-HASTE">
<ammo>$TPRanged</ammo>
<neck>Agasaya's Collar</neck>
<rear>Merman's Earring</rear>
</set>
<set name="TP-DualWield-ACC" baseset="TP-DualWield-HASTE">
<ammo>$TPRanged</ammo>
<neck>Agasaya's Collar</neck>
</set>
<set name="BlankSet" />
<set name="Utsusemi-Precast">
<lear>Loquac. Earring</lear>
<neck>Magoraga Beads</neck>
</set>
<set name="Haste">
<head>Zelus Tiara</head>
<rring>Blitz Ring</rring>
<waist>Goading Belt</waist>
<legs>Rvg. Cuisses +2</legs>
<feet>Rvg. Calligae +2</feet>
</set>
<set name="Reraise">
<head>Twilight Helm</head>
<body>Twilight Mail</body>
</set>
<set name="Blood Rage">
<body>Rvg. Lorica +2</body>
</set>
<set name="MightyStrikes">
<hands>phorcys mitts</hands>
<legs>avant cuisses +1</legs>
<feet>Rvg. Calligae +2</feet>
</set>
<set name="Restraint">
<hands>ravager's mufflers +2</hands>
</set>
<set name="Warcry">
<head>warrior's mask</head>
</set>
<set name="Enmity">
<body>ogier's surcoat</body>
<waist>Goading Belt</waist>
</set>
<set name="Spell-Interruption" />
<!-- WS Base is for any Weapon Skill not listed below -->
<set Name="WS Base">
<ammo>Ravager's Orb</ammo>
<head>Ravager's Mask +2</head>
<body>phorcys korazin</body>
<hands>hecatomb mittens +1</hands>
<legs>Rvg. Cuisses +2</legs>
<feet>Rvg. Calligae +2</feet>
<neck>rancor collar</neck>
<waist>windbuffet Belt</waist>
<lear>Brutal Earring</lear>
<rear>flame pearl</rear>
<lring>Rajas Ring</lring>
<rring>Strigoi Ring</rring>
</set>
<!-- Crit Weapon Skills -->
<set name="Ukko's Fury-STR-N">
<ammo>Ravager's Orb</ammo>
<head>Ravager's Mask +2</head>
<body>phorcys korazin</body>
<hands>phorcys mitts</hands>
<legs>Rvg. Cuisses +2</legs>
<feet>Rvg. Calligae +2</feet>
<neck>thunder gorget</neck>
<waist>windbuffet Belt</waist>
<lear>Brutal Earring</lear>
<rear>flame pearl</rear>
<lring>Rajas Ring</lring>
<rring>Strigoi Ring</rring>
<back>rancorous mantle</back>
</set>
<set name="Ukko's Fury-STR-Berserk" baseset="Ukko's Fury-STR-N">
<ammo>Ravager's Orb</ammo>
<hands>hecatomb mittens +1</hands>
<body>phorcys korazin</body>
<head>Ravager's Mask +2</head>
<legs>avant Cuisses +1</legs>
<feet>Rvg. Calligae +2</feet>
<neck>thunder gorget</neck>
<waist>windbuffet Belt</waist>
<lear>Brutal Earring</lear>
<rear>flame pearl</rear>
<lring>Rajas Ring</lring>
<rring>Strigoi Ring</rring>
<back>rancorous mantle</back>
</set>
<set name="Ukko's Fury-DEX-N">
<ammo>Ravager's Orb</ammo>
<head>Ravager's Mask +2</head>
<body>phorcys korazin</body>
<hands>hecatomb mittens +1</hands>
<legs>ogier's breeches</legs>
<feet>Rvg. Calligae +2</feet>
<neck>thunder gorget</neck>
<waist>thunder belt</waist>
<lear>Brutal Earring</lear>
<rear>flame pearl</rear>
<lring>Rajas Ring</lring>
<rring>Strigoi Ring</rring>
<back>rancorous mantle</back>
</set>
<set name="Ukko's Fury-DEX-Berserk" baseset="Ukko's Fury-DEX-N">
<ammo>Ravager's Orb</ammo>
<head>Ravager's Mask +2</head>
<body>phorcys korazin</body>
<hands>hecatomb mittens +1</hands>
<legs>ogier's breeches</legs>
<feet>Rvg. Calligae +2</feet>
<neck>thunder gorget</neck>
<waist>thunder Belt</waist>
<lear>Brutal Earring</lear>
<rear>flame pearl</rear>
<lring>Rajas Ring</lring>
<rring>Strigoi Ring</rring>
<back>rancorous mantle</back>
</set>
<set name="Ukko's Fury-ATT-N" />
<set name="Ukko's Fury-ATT-Berserk" baseset="Ukko's Fury-ATT-N" />
<set name="Ukko's Fury-ACC-N" />
<set name="Ukko's Fury-ACC-Berserk" baseset="Ukko's Fury-ACC-N" />
<set name="Resolution-STR-N">
<ammo>Ravager's Orb</ammo>
<head>Ravager's Mask +2</head>
<body>grim cuirass +1</body>
<hands>phorcys mitts</hands>
<legs>ravager's Cuisses +2</legs>
<feet>Rvg. Calligae +2</feet>
<neck>Rancor Collar</neck>
<waist>windbuffet Belt</waist>
<lear>Brutal Earring</lear>
<rear>flame pearl</rear>
<lring>Rajas Ring</lring>
<rring>Strigoi Ring</rring>
<back>Atheling Mantle</back>
</set>
<set name="Raging Rush-STR-Berserk" baseset="Raging Rush-STR-N">
<ammo>Ravager's Orb</ammo>
<head>Ravager's Mask +2</head>
<body>grim cuirass +1</body>
<hands>phorcys mitts</hands>
<legs>ravager's Cuisses +2</legs>
<feet>Rvg. Calligae +2</feet>
<neck>Rancor Collar</neck>
<waist>windbuffet Belt</waist>
<lear>Brutal Earring</lear>
<rear>flame pearl</rear>
<lring>Rajas Ring</lring>
<rring>Strigoi Ring</rring>
<back>Atheling Mantle</back>
</set>
<set name="Resolution-DEX-N" />
<set name="Resolution-DEX-Berserk" baseset="Raging Rush-DEX-N-N" />
<set name="Resolution-ATT-N" />
<set name="Resolution-ATT-Berserk" baseset="Raging Rush-ATT-N-N" />
<set name="Resolution-ACC-N" />
<set name="Resolution-ACC-Berserk" baseset="Raging Rush-ACC-N-N" />
<!-- Non-crit Weapon Skills -->
<set name="Metatron Torment-N">
<ammo>Ravager's Orb</ammo>
<head>Mekira-oto +1</head>
<neck>Ravager's Gorget</neck>
<lear>Brutal Earring</lear>
<rear>Vulcan's Pearl</rear>
<body>phorcys korazin</body>
<hands>Heafoc Mitts</hands>
<lring>Rajas Ring</lring>
<rring>strigoi Ring</rring>
<back>Atheling Mantle</back>
<waist>Windbuffet Belt</waist>
<legs>Avant Cuisses +1</legs>
<feet>Dilaram's Sollerets</feet>
</set>
<set name="Metatron Torment-Berserk" baseset="Metatron Torment-N" />
<set name="King's Justice-N" />
<set name="King's Justice-Berserk" baseset="King's Justice-STR-N" />
<set name="Fell Cleave">
<ammo>Ravager's Orb</ammo>
<head>Twilight Helm</head>
<neck>ravager's gorget</neck>
<lear>Brutal Earring</lear>
<rear>flame Pearl</rear>
<body>phorcy's korazin</body>
<hands>phorcys mitts</hands>
<lring>Rajas Ring</lring>
<rring>strigoi Ring</rring>
<back>Atheling Mantle</back>
<waist>thunder Belt</waist>
<legs>Rvg. Cuisses +2</legs>
<feet>rvg. leggings +2</feet>
</set>
<set name ="N" />
<set name="Rampage">
<ammo>Ravager's Orb</ammo>
<head>Twilight Helm</head>
<neck>Rancor Collar</neck>
<lear>Brutal Earring</lear>
<rear>Vulcan's Pearl</rear>
<body>Twilight Mail</body>
<hands>Rvg. Mufflers +2</hands>
<lring>Rajas Ring</lring>
<rring>Pyrosoul Ring</rring>
<back>Atheling Mantle</back>
<waist>Pipilaka Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Rvg. Calligae +2</feet>
</set>
<set name="Cataclysm">
<sub>Claymore Grip</sub>
<ammo>Ravager's Orb</ammo>
<head>Twilight Helm</head>
<body>phorcy's korazin</body>
<hands>phorcys mitts</hands>
<legs>Avant Cuisses +1</legs>
<feet>Rvg. Calligae +2</feet>
<neck>Stoicheion Medal</neck>
<waist>Windbuffet Belt</waist>
<lear>Hecate's Earring</lear>
<rear>Novio Earring</rear>
<lring>Strigoi Ring</lring>
<rring>Diamond Ring</rring>
<back>Atheling Mantle</back>
</set>
</group>
<group name="Abyssea-NM" inherit="Abyssea-R" />
<group name="Outside-R" inherit="Abyssea-R" default="true"/>
<group name="Outside-NM" inherit="Outside-R" />
</sets>
<rules>
<!-- Core include Rules -->
<xi:include href="include2.xml" xpointer="//include[@name='LVrestriction']/*" />
<xi:include href="include2.xml" xpointer="//include[@name='ReturnRules']/*" />
<xi:include href="include2.xml" xpointer="//include[@name='CleanTransportation']/*" />
<xi:include href="include2.xml" xpointer="//include[@name='AreaRule']/*" />
<xi:include href="include2.xml" xpointer="//include[@name='LockWeaponRule']/*" />
<xi:include href="include2.xml" xpointer="//include[@name='SpellCancel']/*" />
<!-- Optional include Rules -->
<xi:include href="include2.xml" xpointer="//include[@name='PowderBootsRule']/*" />
<!-- Rerraise Gear Rules -->
<if EquipHead = "Reraise Hairpin">
<equip when="all">
<head lock="true" />
</equip>
</if>
<if EquipLear = "Reraise Earring">
<equip when="all">
<lear lock="true" />
</equip>
</if>
<if EquipRear = "Reraise Earring">
<equip when="all">
<rear lock="true" />
</equip>
</if>
<!-- Automatically change variables when buffs wear off -->
<if notBuffactive="Berserk" advanced='"$Berserk"!="N"'>
<var cmd="set Berserk N" />
</if>
<if notBuffactive="Restraint" advanced='"$Restraint"!="N"'>
<var cmd="set Restraint N" />
</if>
<if notBuffactive="Blood Rage" advanced='"$BloodRage"!="N"'>
<var cmd="set BloodRage N" />
</if>
<if notBuffactive="Warcry" advanced='"$Warcry"!="N"'>
<var cmd="set BloodRage N" />
</if>
<!-- Automatically Equip Gear Rules -->
<command when="engaged|idle|aftercast|resting">Dancing Chains</command>
<!-- Automatically change group -->
<if notgroup="$Area-$Resist">
<command>sc group $Area-$Resist</command>
</if>
<!-- Trigger Spells -->
<if spell="$TriggerSetOne|$TriggerSetTwo|$TriggerSetThree">
<if spell="$TriggerSetOne">
<!-- Auto Update Gear -->
<if spell="Dancing Chains">
<cancelspell />
<if status="idle">
<equip set="%Status|$Armor-%Status|$Movement-%Status|$TwilightSet" />
</if>
<elseif status="engaged">
<if advanced='"$VAR-TP"="TP-2Handed-HASTE"'>
<equip set="TP-$STYLE-$VAR-TP|$Armor-%Status|$Movement-%Status|$Restraint|$TwilightSet" />
</if>
<else>
<equip set="TP-$STYLE-$VAR-TP|$Armor-%Status|$Movement-%Status|$Restraint|$TwilightSet" />
</else>
</elseif>
<elseif status="resting">
<equip set="%Status" />
</elseif>
</if>
<!-- Equip PDT (Barbed Crescent) -->
<elseif Spell="Barbed Crescent">
<cancelspell />
<var cmd="set Armor-%Status $PDT" />
<addtochat>PDT Set Equipped</addtochat>
<command>Dancing Chains</command>
</elseif>
<!-- Equip MDT (Aegis Schism) -->
<elseif Spell="Aegis Schism">
<cancelspell />
<var cmd="set Armor-%Status $MDT" />
<addtochat>MDT Set Equipped</addtochat>
<command>Dancing Chains</command>
</elseif>
<!-- Change the distance at which to cancel WS -->
<xi:include href="include2.xml" xpointer="//include[@name='SetDistanceVariable']/*" />
<!-- Change the resistance variable: Regular mobs or NMs -->
<xi:include href="include2.xml" xpointer="//include[@name='ResistRule']/*" />
<!-- Change the Armor variable: Blank, MDT, PDT, or Full Evasion -->
<xi:include href="include2.xml" xpointer="//include[@name='Variable-Blank']/*" />
<xi:include href="include2.xml" xpointer="//include[@name='Variable-FullEvasion']/*" />
</if>
<elseif spell="$TriggerSetTwo">
<!-- Change TP set type -->
<if spell="Poison V">
<cancelspell />
<if advanced='"$VAR-TP"="HASTE"'>
<var cmd="set VAR-TP ATT" />
<var cmd="set TPRanged Ravager's Orb" />
</if>
<elseif advanced='"$VAR-TP"="ATT"'>
<var cmd="set VAR-TP ACC" />
<var cmd="set TPRanged Fire Bomblet" />
</elseif>
<elseif advanced='"$VAR-TP"="ACC"'>
<var cmd="set VAR-TP HASTE" />
<var cmd="set TPRanged Ravager's Orb" />
</elseif>
<addtochat color="135">TP Variable: $VAR-TP</addtochat>
<if status="engaged">
<command>Dancing Chains</command>
</if>
</if>
<!-- Change WS set type -->
<elseif spell="Poisonga V">
<cancelspell />
<if advanced='"$VAR-WS"="STR"'>
<var cmd="set VAR-WS DEX" />
</if>
<elseif advanced='"$VAR-WS"="DEX"'>
<var cmd="set VAR-WS ATT" />
</elseif>
<elseif advanced='"$VAR-WS"="ATT"'>
<var cmd="set VAR-WS ACC" />
</elseif>
<elseif advanced='"$VAR-WS"="ACC"'>
<var cmd="set VAR-WS STR" />
</elseif>
<addtochat color="135">WS Variable: $VAR-WS</addtochat>
</elseif>
<!-- Change Midcast for Utsusemi -->
<elseif spell="Scop's Operetta">
<cancelspell />
<if advanced='"$VAR-Utsusemi"="$PDT"'>
<var cmd="set VAR-Utsusemi Spell-Interruption" />
</if>
<elseif advanced='"$VAR-Utsusemi"="Spell-Interruption"'>
<var cmd="set VAR-Utsusemi $PDT" />
</elseif>
<addtochat color="135">Utsusemi Midcast: $Var-Utsusemi</addtochat>
</elseif>
<!-- Rancor Collar Toggle -->
<elseif spell="Shining Fantasia">
<cancelspell />
<if advanced='"$DDNeck"="Rancor Collar"'>
<var cmd="set DDNeck Ravager's Gorget" />
</if>
<elseif advanced='"$DDNeck"="Ravager's Gorget"'>
<var cmd="set DDNeck Rancor Collar" />
</elseif>
<addtochat color="135">DD Neck: $DDNeck</addtochat>
<command>Dancing Chains</command>
</elseif>
<!-- Add or Remove Movement Gear -->
<elseif spell="Raptor Mazurka">
<cancelspell />
<if advanced='"$Movement-%Status"="BlankSet"'>
<var cmd="set Movement-%Status Movement" />
<addtochat color="135">Movement Speed: ON</addtochat>
</if>
<else>
<var cmd="set Movement-%Status BlankSet" />
<addtochat color="135">Movement Speed: OFF</addtochat>
</else>
<command>Dancing Chains</command>
</elseif>
</elseif>
<else>
<!-- Reraise Gear Lock -->
<if spell="Foxfire">
<cancelspell />
<if advanced='"$TwilightSet"="BlankSet"'>
<var cmd="set TwilightSet Reraise" />
<addtochat color="135">Reraise Gear Locked: ON</addtochat>
</if>
<elseif advanced='"$TwilightSet"="Reraise"'>
<var cmd="set TwilightSet BlankSet" />
<addtochat color="135">Reraise Gear Locked: OFF</addtochat>
</elseif>
<command>Dancing Chains</command>
</if>
<!-- Bravura Aftermath -->
<elseif spell="Netherspikes">
<cancelspell />
<if EquipMain="Bravura">
<if BuffActive="Aftermath">
<if advanced='"$PDT"="PDT"'>
<var cmd="set PDT AM-PDT" />
<var cmd="set MDT AM-MDT" />
</if>
</if>
<elseif advanced='"$PDT"="AM-PDT"'>
<var cmd="set PDT PDT" />
<var cmd="set MDT MDT" />
</elseif>
</if>
</elseif>
<!-- TP Style Variable (2-Handed vs Dual Wield) -->
<elseif spell="Diaga V">
<cancelspell />
<if advanced='"$STYLE"="2Handed"'>
<var cmd="set STYLE DualWield" />
<addtochat color="135">TP STYLE: DualWield</addtochat>
</if>
<elseif advanced='"$STYLE"="DualWield"'>
<var cmd="set STYLE 2Handed" />
<addtochat color="135">TP STYLE: 2Handed</addtochat>
</elseif>
<command>Dancing Chains</command>
</elseif>
<!-- Mighty Strikes Variable -->
<elseif spell="Goblin Gavotte">
<cancelspell />
<if advanced='"$MightyStrikes"="BlankSet"'>
<var cmd="set MightyStrikes MightyStrikes" />
</if>
<elseif advanced='"$MightyStrikes"="MightyStrikes"'>
<var cmd="set MightyStrikes BlankSet" />
</elseif>
<command>Dancing Chains</command>
</elseif>
<elseif spell="Herb Pastoral">
<cancelspell />
<if hpplt="35">
<equip when="all" set="Reraise" />
</if>
</elseif>
<!-- Trigger Spells Not Used -->
<elseif spell="Banishga V">
<cancelspell />
</elseif>
</else>
</if>
<elseif type="Ninjutsu">
<!-- Ninjutsu: Utsusemi -->
<if spell="Utsusemi: Ichi">
<equip when="precast" set="Utsusemi-Precast" />
<command when="precast">wait 0.5; sc set "Utsusemi-Midcast-$VAR-Utsusemi"</command>
<midcastdelay delay="2" />
<equip when="midcast" set="Haste" />
</if>
<elseif spell="Utsusemi: Ni">
<equip when="precast|midcast" set="Haste" />
</elseif>
</elseif>
<elseif CommandPrefix="/range" notEquipRange="$R-Weapon">
<castdelay delay="$Delay-JA" />
<equip when="precast">
<ammo lock="true">$R-Weapon</ammo>
</equip>
</elseif>
<elseif type="WeaponSkill">
<castdelay delay="$Delay-JA" />
<if spell="Ukko's Fury|Resolution">
<equip when="precast" set="%Spell-$VAR-WS-$Berserk|$MightyStrikes|$TwilightSet" />
<addtochat color="135">%Spell-$VAR-WS-$Berserk</addtochat>
</if>
<elseif spell="Metatron Torment|King's Justice">
<equip when="precast" set="%Spell-$Berserk|$MightyStrikes|$TwilightSet" />
</elseif>
<elseif Spell="Fell Cleave|Rampage">
<equip set="%Spell|$MightyStrikes|$TwilightSet" />
</elseif>
<elseif Spell="Cataclysm">
<equip set="%Spell|$TwilightSet" />
</elseif>
<elseif spell="Warrior's Charge">
<equip when="Precast">
<legs>Warrior's Cuisses +2</legs>
</equip>
</elseif>
<if mode ="and" spell="Ukko's Fury">
<if buffactive="Warrior's Charge">
<equip when="Precast">
<legs lock="yes">Warrior's Cuisses +2</legs>
</equip>
</if>
<if advanced='"%DayElement" = "Light" OR "%DayElement" = "Thunder" OR "%DayElement" = "Wind"'>
<equip when="precast">
<head lock="yes">Mekira-oto +1</head>
</equip>
</if>
</if>
<else>
<equip set="WS Base" />
</else>
</elseif>
<elseif type="JobAbility">
<!-- Precast-only JAs -->
<if spell="Provoke|Warcry">
<castdelay delay="$Delay-JA" />
<equip when="precast" set="Warcry|$TwilightSet" />
</if>
<elseif Spell="Tomahawk">
<castdelay delay="1.5" />
<equip when="precast|midcast">
<ammo>Throwing Tomahawk</ammo>
</equip>
<aftercastdelay delay="4" />
<equip when="aftercast">
<ammo>$TPRanged</ammo>
</equip>
</elseif>
<!-- Variable Changing and Precast gear JAs -->
<elseif Spell="Berserk">
<var cmd="set Berserk Berserk" />
</elseif>
<elseif Spell="Restraint">
<var cmd="set Restraint Restraint" />
<castdelay delay="$Delay-JA" />
<equip when="precast" set="%Spell|$TwilightSet" />
</elseif>
<elseif Spell="Blood Rage">
<var cmd="set BloodRage BloodRage" />
<castdelay delay="$Delay-JA" />
<equip when="precast" set="%Spell|$TwilightSet" />
</elseif>
</elseif>
</rules>
</spellcast>