|
Impetus up/down xml help
Server: Sylph
Game: FFXI
Posts: 305
By Sylph.Elgorian 2012-05-29 16:29:36
Working on an xml for MNK.
Don't have a body yet for Impetus down but I was wondering if this would work the way I want it to.
Note: I have 3 groups, 1 is all my main sets, I have 1 group for my PDT and 1 group for my MDT so I can switch between my TP/MDT/PDT easier.
Anyway:
Code <set name="TP">
<ammo>Thew Bomblet</ammo>
<head>Tantra Crown +2</head>
<neck>Faith Torque</neck>
<lear>Aesir Ear Pendant</lear>
<rear>Brutal Earring</rear>
<body>Tantra Cyclas +2</body>
<hands>Melee Gloves +2</hands>
<lring>Epona's Ring</lring>
<rring>Rajas Ring</rring>
<back>Atheling Mantle</back>
<waist>Black Belt</waist>
<legs>Tantra Hose +2</legs>
<feet>Tantra Gaiters +2</feet>
</set>
Code <set name="ImpetusDown">
<body></body>
</set>
Code <if NotBuffActive="Impetus">
<action type="equip" when="aftercast|engaged" set="ImpetusDown" />
</if>
Will that do what I'm wanting it to do and keep Tantra Cyclas +2 up for Impetus and whatever I come across for my impetus down piece. Will my WS still swap to tantra cyclas +2 also with this setup when using the Impetus Down body?
EDIT: http://pastebin.com/F6sjCu8e entire thing if it's needed
Ramuh.Austar
Server: Ramuh
Game: FFXI
Posts: 10,481
By Ramuh.Austar 2012-05-29 16:31:34
Get Thaumas Coat, problem solved.
Server: Sylph
Game: FFXI
Posts: 305
By Sylph.Elgorian 2012-05-29 16:39:29
Get Thaumas Coat, problem solved.
Thanks for the input, but that doesn't answer the question I asked.
Server: Bismarck
Game: FFXI
Posts: 123
By Bismarck.Highlordkitiara 2012-05-29 16:40:52
What you swap to during WS will depend on how that particular WS set is set up, if it's pulling from your TP set it'll pull whatever is in that set, otherwise it'll pull from what you have in the set.
IE: Code <set name="TP">
<ammo>Thew Bomblet</ammo>
<head>Tantra Crown +2</head>
<neck>Faith Torque</neck>
<lear>Aesir Ear Pendant</lear>
<rear>Brutal Earring</rear>
<body>Tantra Cyclas +2</body>
<hands>Melee Gloves +2</hands>
<lring>Epona's Ring</lring>
<rring>Rajas Ring</rring>
<back>Atheling Mantle</back>
<waist>Black Belt</waist>
<legs>Tantra Hose +2</legs>
<feet>Tantra Gaiters +2</feet>
</set>
<set name="WS">
<ammo>Thew Bomblet</ammo>
<head>Tantra Crown +2</head>
<neck>Faith Torque</neck>
<lear>Aesir Ear Pendant</lear>
<rear>Brutal Earring</rear>
<body>OtherBody</body>
<hands>Melee Gloves +2</hands>
<lring>Epona's Ring</lring>
<rring>Rajas Ring</rring>
<back>Atheling Mantle</back>
<waist>Black Belt</waist>
<legs>Tantra Hose +2</legs>
<feet>Tantra Gaiters +2</feet>
</set>
<if spell="Shijin Spiral">
<action type="equip" when="precast" set="TP">
</if> <!-- This will equip your Body+2 -->
<if spell="Shijin Spiral">
<action type="equip" when="precast" set="WS">
</if> <!-- This will equip OtherBody -->
as far as impetus up/down, I use this for footwork (not that I use foot work) so the idea should work for Impetus.
Code <set name="Impetus" baseset="Engaged">
<body>Tantra Cyclas +2</body>
</set>
<if spell="Impetus">
<action type="PrecastDelay" delay=".2" />
<action type="equip" when="precast" set="Impetus" />
<disable slot="body" />
<action type="equip" when="aftercast" set="$2DPS" />
</if>
That variable is for my tank vs. off tank sets, but the idea should work fine if I'm understanding what you want. With this, it doesn't matter if you have impetus up or not, your Body+2 will be in WS. If you wanted something else in your WS, let me know. I have to write something for that. Actually, I'll do that anyway, there's too many body swaps for this to work the same way... Gimme a bit, unless someone beats me to it!
Server: Bismarck
Game: FFXI
Posts: 123
By Bismarck.Highlordkitiara 2012-05-29 16:48:45
I think the best way to do it would be a variable swap... At least, this is what I would do.
Code <set name="TPImp_Up">
<stuff in set>
</set>
<set name="TPImp_Down">
<change body/etc>
</set>
<var name="Fighting">TPImp_Down</var>
<if Buffactive="Impetus">
<var cmd="Set Fighting TPImp_Up" />
<else>
<var cmd="Set Fighting TPImp_Down" />
</else>
</if>
This way when spell check hits that rule, it'll look for Impetus and reassign $Fighting as TPImp_Up or down based on Impetus' status, instead of using your engaged set as "TP" use "$Fighting" or whatever you choose to name the variable. Without seeing your entire XML though, I can't tell you how much rearranging you'll have to do for this.
Server: Sylph
Game: FFXI
Posts: 305
By Sylph.Elgorian 2012-05-29 17:04:06
Sorry, I may of edited in after you started replying, but http://pastebin.com/F6sjCu8e
I'm still kind of figuring out spellcast stuff, but that's what I've done so far
Server: Bismarck
Game: FFXI
Posts: 123
By Bismarck.Highlordkitiara 2012-05-29 17:15:05
I would personally make those groups variables and keybind something for them. But that's kind of play-style related. If you'd like to do that I can show you how.
As for adding the variable, that'll be easy, just change your aftercast to equipped, baseset your impetusdown to your TP and make the rule like this:
Code <set name="ImpetusDown" baseset="TP">
<body></body>
</set>
<var name="Fighting">ImpetusDown</var>
<if group="MNK">
<action type="equip" when="idle" set="idle" />
<action type="equip" when="aftercast|engaged" set="Fighting" />
</if>
<if Buffactive="Impetus">
<var cmd="Set Fighting ImpetusDown" />
<else>
<var cmd="Set Fighting TP" />
</else>
</if>
Like I said, this *might* not be the best way to go about it, but it seems like the best way from what I've learned.
Server: Sylph
Game: FFXI
Posts: 305
By Sylph.Elgorian 2012-05-29 17:38:35
Thanks for the help. Will see how it goes.
Server: Bismarck
Game: FFXI
Posts: 123
By Bismarck.Highlordkitiara 2012-05-29 17:42:02
Also, if you want to know exactly what's getting swapped to, when, set ShowGearSwaps to true and goof off, ws, use your skills, etc, make sure it's actually working.
Also, I don't know if it really matters, but I added
<action type="PrecastDelay" delay=".2" />
Right before the swaps in all of my skills, just to make sure the gear is getting in there before the skill goes off. For some reason if I don't I don't always get the effect off the swap, I've noticed it off Chakra before I added them, never seen it since.
Server: Sylph
Game: FFXI
Posts: 305
By Sylph.Elgorian 2012-05-29 18:17:13
Code <if spell="Chakra">
<action type="PrecastDelay" delay=".2" />
<action type="equip" when="precast|midcast" set="Chakra" />
</if>
So it'd look something like that?
Right now with in-game waits (before messing around with spellcast) think I usually went with a /wait 2 or so before the chakra went off, depending on how laggy it is.
Server: Bismarck
Game: FFXI
Posts: 123
By Bismarck.Highlordkitiara 2012-05-29 18:20:36
Yup. If you're just using in game macros, the wait1 is more than enough because the server won't process chakra until AFTER it processes all of that, but spellcast will send the gear swap and the skill at the same time as different processes, so they'll go off weird. As far as I know, and have seen, this works just fine, I've never had an issue with it since I added it.
I'mma have to take off soon, so let me know how it all works out^^ I'll check back tomorrow.
Working on an xml for MNK.
Don't have a body yet for Impetus down but I was wondering if this would work the way I want it to.
Note: I have 3 groups, 1 is all my main sets, I have 1 group for my PDT and 1 group for my MDT so I can switch between my TP/MDT/PDT easier.
Anyway:
Code <set name="TP">
<ammo>Thew Bomblet</ammo>
<head>Tantra Crown +2</head>
<neck>Faith Torque</neck>
<lear>Aesir Ear Pendant</lear>
<rear>Brutal Earring</rear>
<body>Tantra Cyclas +2</body>
<hands>Melee Gloves +2</hands>
<lring>Epona's Ring</lring>
<rring>Rajas Ring</rring>
<back>Atheling Mantle</back>
<waist>Black Belt</waist>
<legs>Tantra Hose +2</legs>
<feet>Tantra Gaiters +2</feet>
</set>
Code <set name="ImpetusDown">
<body></body>
</set>
Code <if NotBuffActive="Impetus">
<action type="equip" when="aftercast|engaged" set="ImpetusDown" />
</if>
Will that do what I'm wanting it to do and keep Tantra Cyclas +2 up for Impetus and whatever I come across for my impetus down piece. Will my WS still swap to tantra cyclas +2 also with this setup when using the Impetus Down body?
EDIT: http://pastebin.com/F6sjCu8e entire thing if it's needed
|
|