
Originally Posted by
Fereydoon
You're trying to have an idle set and a sublimation set, correct? And you want it to swap back to the sublimation set if it's still charging, and without any input, swap back to idle (And know what to swap to) if it's charged?
I use autoexec for that.
Code:
<register event="gainbuff_Sublim*Activated" silent="true">sc set Sublimation</register>
<register event="losebuff_Sublim*Activated" silent="true">sc set Idle</register>
For the aftercast shenanigans.
Code:
<if BuffActive="Sublimation: Activated" >
<equip set="Sublimation" />
<var cmd="set SubStatus Sublimation" />
</if>
<else>
<equip set="Idle" />
<var cmd="set SubStatus Idle" />
</else>
Code:
<!--Var: Sublimation Status -->
<var name="SubStatus">Idle</var>
And then you have AE swapping your gear while you are in the middle of casting something else, which isn't terribly helpful. You have to kill the AE trigger while you're casting and reapply it after you're done. You'll still have edge cases where you end up idling in your Sublimation set, but it's better than nuking in refresh gear.

Originally Posted by
Fereydoon
Edit: I don't see why you'd need an idle set that varies with Light or Dark arts, unless I'm missing some weird piece of gear? But that would also be a similar rule, probably.
I idle in Owleyes/Siriti while under Light Arts, but always idle in Earth/Terra's Staff under Dark Arts. Chances are good that I'm in "healer mode" under LA and don't need that extra -PDT by default (I still have a PDT set macro), but I'm almost certainly soloing or extremely likely to be pulling hate under DA and Owleyes isn't a very good idle piece in that situation.
The simplest way is to just look for the buff (Light Arts|Addendum: White) or (Dark Arts|Addendum: Black) and equip based on that. I personally use AE, variables, and basesets to build my idle set, rather than using a series of rules.
Autoexec:
Code:
autoexec registerq 10999 gainbuff_Sublimation:_Activated sc var set IdleSet Sublimation;
autoexec registerq 11000 losebuff_Sublimation:_Activated sc var set IdleSet Refresh;
autoexec registerq 10001 (regex)losebuff_((Light|Dark)_Arts|Addendum:_(White|Black))(/regex) sc var set Arts No\; sc var set Addendum 0;
autoexec registerq 10002 gainbuff_Light_Arts sc var set Arts Light\; sc var set Addendum 0\; exec jobs/sch/lightarts.txt;
autoexec registerq 10003 gainbuff_Dark_Arts sc var set Arts Dark\; sc var set Addendum 0\; exec jobs/sch/darkarts.txt;
autoexec registerq 10004 gainbuff_Addendum:_White sc var set Arts Light\; sc var set Addendum 1;
autoexec registerq 10005 gainbuff_Addendum:_Black sc var set Arts Dark\; sc var set Addendum 1;
//autoexec regonceq jobchange_(regex)jobchange_(?!SCH).*/???(/regex) autoexec unregister 10002\; autoexec unregister 10003;
SC Variables:
Code:
<var name="IdleSet" nooverwrite="true">Refresh</var>
<var name="Arts" nooverwrite="true">No</var>
SC Groups/Sets:
Code:
<group name="NoArts">
<set name="Idle(Refresh)">
<main>Owleyes</main>
<sub>Genbu's Shield</sub>
<head>Wivre Hairpin</head>
<body>Savant's Gown +2</body>
<hands>Serpentes Cuffs</hands>
<legs>Nares Trews</legs>
<lear>Moonshade Earring</lear>
</set>
<set name="Idle(Sublimation)" baseset="Idle(Refresh)">
<main>Siriti</main>
<sub>Genbu's Shield</sub>
<!--<head>Scholar's Mortarboard</head>-->
<body>Argute Gown +2</body>
<rear>Savant's Earring</rear>
</set>
</group>
<group name="LightArts" inherit="NoArts">
</group>
<group name="DarkArts" inherit="NoArts">
<set name="Idle(Refresh)|Idle(Sublimation)">
<main>Earth Staff</main>
<sub />
</set>
</group>
<group name="SCH" default="yes">
<set name="Idle(Refresh)" basegroup="$ArtsArts" baseset="Idle(Refresh)" />
<set name="Idle(Sublimation)" basegroup="$ArtsArts" baseset="Idle(Sublimation)" />
<set name="Idle" baseset="Idle($IdleSet)">
<feet>Herald's Gaiters</feet>
<neck>Orochi Nodowa</neck>
<waist>Argute Belt</waist>
<back>Umbra Cape</back>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
</set>
<!-- The rest of your gear sets go here -->
</group>
SC Rules:
Code:
<if spell="Sublimation">
<if notbuffactive="Sublimation*">
<equip when="Precast|Aftercast" set="Idle|Idle(Sublimation)" />
</if>
<else>
<equip when="Precast|Aftercast" set="Idle|Idle(Refresh)" />
</else>
</if>
<elseif nottype="Scholar">
<if nottype="JobAbility">
<command when="precast|resting">autoexec unregister 11001</command>
<command when="aftercast|idle">autoexec registerq 11001 losebuff_Sublimation:_Activated sc set Idle(Refresh)</command>
</if>
<equip when="Aftercast|Idle" set="Idle" />
</elseif>
Note that I am avoiding equiping my idleset when I use stratagems (nottype="Scholar"), to prevent collisions with the precast set on my actual spell. My LightArts/DarkArts sets do more than just handle my idleset, so you'll have to use your imagination as to what to put there.