Doesn't equip any body piece if set to none. You'll basically try to equip an item named "none" instead of just layering the body.
Doesn't equip any body piece if set to none. You'll basically try to equip an item named "none" instead of just layering the body.
I was wondering if somebody could help me out.
I'd like to equip my Ravager's Mufflers +2 while Restraint is up. I already know how to do this if I have spellcast setup to equip my TP build when engaged or after a WS using aftercast, but I don't use the engaged|aftercast functions because I'm always in my menus for my job abilities and temporary items, since it's a whole lot easier for my playstyle and I'm far more efficient doing that rather than setting everything to a macro to avoid getting the "You were unable to change equipment" due to being in a menu. When I equip my TP set, I do it with a Windower macro.
I was wondering, could I somehow setup spellcast to equip my Ravager's Mufflers +2 whenever Restraint is up when I hit my Windower TP macro? I'm sort of asking if their's a way to setup spellcast to work in correlation with Windower macros. I'd also like to do the same thing with Ravager's Mask +2 being equipped instead of Zelus Tiara during Voidwatch. I already know how to do this if I have spellcast setup for engaged|aftercast, but I'd like to hit a Windower macro instead.
Is this at all possible? If not, is it possible for me to set my TP macro in spellcast instead of Windower's script folder so that I can set all of these situational pieces to a macro? I basically want to set variables and rules to a macro rather than have it set to engaged|aftercast.
you could have your windower macros call a generic trigger spell that has spellcast equip whatever you want.
If you look around at some of the pre-made XMLs i think they use dancing chains, I just use trigger1/trigger2/etc
Not familiar with triggers, will it allow me to set conditions to macros?
The problem is you can't put conditionals in a windower macro (<if buffactive="Restraint"> etc).
So just put something like this in your spellcast:
<if spell="trigger1">
<equip when="precast" set="TP|$restraint />
</if>
You said you know how to do all that already so you just need a to make a macro that you can hit instead of relying on aftercast.
If I use a macro with /sc set TP (which equips my TP set from spellcast to a macro), could I set conditions in spellcast so that when I hit that macro, if Restraint happens to be up, it will equip Ravager's Mufflers +2 instead?
not if all your macro does is:
/sc set TP
You have to actually attemp a spell/ja/ws to get spellcast do those kinds of things.
Here's an example I use in my DNC xml:
Code:<if spell="Lowing"> <equip when="precast|engaged|idle|resting" set="%status" /> <action type="CancelSpell" /> </if>
Wow, that sucks.
So if I add:
<if spell="trigger1">
<equip when="precast" set="TP|$restraint />
</if>
to spellcast, when I hit /sc set TP, it will auto-equip Ravager's Mufflers +2 if Restraints up?
You will have to put "/ma trigger1 <me>" in your macro instead of "/sc set TP".
Otherwise yes. (assuming you have everything else set up correctly, like you initially said you did.)
Also you're missing a quotation mark after restraint
Alright, let's see if I understand this correctly. I first need to have this in my Spellcast:
var name="Restraint">BlankSet</var>
<set name="BlankSet" />
<set name="Restraint">
<hands>Ravager's Mufflers +2</hands>
</set>
<if buffactive="Restraint">
<var cmd="set Restraint Restraint" />
</if>
<else>
<var cmd="set Restraint BlankSet" />
</else>
<equip set="TP|$Restraint" />
Then, I add this into my Spellcast:
<if spell="trigger1">
<equip when="precast" set="TP|$restraint />
</if>
I then set a macro to use for TP to read: /ma trigger1 <me>
Edit
Just tested this out and it works. Thanks alot for the help.
yes, but why do you have this:
<equip set="TP|$Restraint" />
just by itself up there?
In SpellCast, it actually looks like this:
<if buffactive="Restraint">
<var cmd="set Restraint Restraint" />
</if>
<else>
<var cmd="set Restraint BlankSet" />
</else>
<equip set="TP|$Restraint" />
If its not contained in an if/elseif/else then it's just gonna equip your TP|$restraint gear on every action you do.
You're probably WSing in your TP gear depending on where it is in your XML.
Edit
Figured it out. I need to have all of my TP situational pieces at the top of my rules, and all of my WS situational pieces at the bottom.
I take it you got it working?
Yes. The macro works as long as I have my TP swaps at the top and my WS swaps at the bottom.
I keep getting "parsing error: line 0 - Failed to open file" I'm not an advanced spellcast user... I looked into all includes / schema's file but I couldn't see anything wrong... I was trying to get MNK, PLD and WAR to get working... but... I just can't get it to work.