MNK Xml

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » FFXI » Jobs » Monk » MNK Xml
MNK Xml
Offline
Posts: 25
By Erito 2012-09-21 03:34:28  
Hello, I am trying to find a MNK xml.. Mainly with impetus up and down for ws.. the ones I have found either dont work or are too basic.. Thak you :)
 Ragnarok.Xaniko
Offline
サーバ: Ragnarok
Game: FFXI
user: xaniko
Posts: 13
By Ragnarok.Xaniko 2012-09-21 03:41:57  
Up!
 Diabolos.Yugl
Offline
サーバ: Diabolos
Game: FFXI
user: Yugl
Posts: 138
By Diabolos.Yugl 2012-09-21 06:18:15  
Spellcast XMLs.
 Leviathan.Dreamx
Offline
サーバ: Leviathan
Game: FFXI
Posts: 192
By Leviathan.Dreamx 2012-09-21 07:01:59  
Code
	<!-- Impetus / Kirin's Osode WS swap -->
 		<if buffactive="Impetus" Spell="Victory Smite">
				<equip when="midcast">
					<body>Tantra Cyclas +2</body>
				</equip>
		</if>


That's what I use for Impetus buff during ws, Has to be after WS.


The MNK XML I currently use
 Odin.Zelphes
Offline
サーバ: Odin
Game: FFXI
user: Zelphes
Posts: 355
By Odin.Zelphes 2012-09-22 07:32:30  
Try Motenten's MNK XML's. They're really enjoyable to use.
Offline
Posts: 977
By Peldin 2012-10-05 15:06:39  
Quote:
Try Motenten's MNK XML's. They're really enjoyable to use.
I checked this XML. It's far too advanced for me.

I need a little help with Impetus rules. I just got Thaumas Coat so I want to TP in that when Impetus is down, but when Impetus is up, I still want to TP in AF3+2.

Basically I need a rule that goes like this:
If Impetus buff is on - use Tantra Cyclas +2 for WS and TP, but for idle/resting, use Melee Cyclas +2

If Impetus buff is off - use Thaumas Coat for TP, Tantra Cyclas +2 for WS, and Melee Cyclas +2 for idle/resting

Anyone willing to help me edit my current XML? It's a pretty simple XML (only 233 lines).
 Ragnarok.Nekradarken
Offline
サーバ: Ragnarok
Game: FFXI
Posts: 20
By Ragnarok.Nekradarken 2012-10-07 06:57:07  
I just got my thaumas coat also and here is a simple mnk.xml i use. It will switch gearset automatically based on impetus and toggle pdt gearset by Aegis Schism. Planning to add trigger for evasion, rancor collar etc. in the future.
Offline
Posts: 977
By Peldin 2012-10-07 17:34:25  
I'll give it a shot. I just copy/pasted what I needed. About to test it now. So here is what mine looks like with adding impetus rules in. (I put an <!-- Added this --> next to every line I either added in or changed to fit your code. Hope I didn't leave anything out)

*edit* Had trouble in Einherjar tonight. It didn't want to work. Talked with someone who showed me his WAR spellcast for when Restraint is or isn't up. I went with his format which made my spellcast pretty lengthy, but it works.

Basically I made a different gear set for every Job Ability I use that has gear associated with it (Chakra, Formless Strikes, Perfect Counter, Impetus, Focus, and Counterstance). Then I went to my Job Ability rules and for each job ability I called whichever set I wanted for precast and aftercast based on whether Impetus was up or not. For example, here's what it looks like for Focus:
Code xml
<if spell="Focus">
	<if status="engaged" BuffActive="Impetus">
		<action type=aftercastdelay delay="1" />
		<action type="equip" when="precast" set="Focus"/>
		<action type="equip" when="aftercast" set="Impetus"/>
	</if>
	
    <elseif status="engaged" NotBuffActive="Impetus">
		<action type=aftercastdelay delay="1" />
		<action type="equip" when="precast" set="Focus"/>
		<action type="equip" when="aftercast" set="MNKTP"/>
	</elseif>

	<else>
		<equip when="precast" set="Focus"/>
		<equip when="aftercast" set="MNKIdle"/>
	</else>
</if>


In the end, it ended up adding a lot of lines to my xml, and I'm sure it's more lengthy than it needs to be, but it works and it's in a format I can actually read. The whole <variables> thing isn't clear to me.
 Ragnarok.Nekradarken
Offline
サーバ: Ragnarok
Game: FFXI
Posts: 20
By Ragnarok.Nekradarken 2012-10-08 13:52:20  
<Set="Gearset1|Gearset2"> is piping the Gearset1 and Gearset2. The gearset on the right most takes priority if there are any conflicts between two gearsets.

For example,
MNKTP: rancor collar, thaumas coat
Impetus: tantra body +2

If you pipe MNKTP|Impetus, you will wear rancor collar, tantra body +2 (Impetus gearset has priority over MNK gearset)

In this xml, i use <Set="MNKTP|$Impetus">. When impetus is triggered or up, it will change the variable "impetus" to impetus. So impetus gear set will take priority over MNKTP. When impetus is not up, the variable "impetus" will change to blank. But as you don't have any gears in blank gearset, so it will just use the MNKTP gearset instead.

Put this section at the beginning of your rules:
Code
                <if BuffActive="Impetus"> <!-- Added this -->
                        <var cmd="set Impetus Impetus" /> <!-- Added this -->
                </if>            
                <else>
                        <var cmd="set Impetus Blank" /> <!-- Added this -->
                </else>


Followed by this section:
Code
                <if spell="Autoset">
                        <if status="idle">
                                <action type="equip" when="idle" set="MNKIdle"/>
                        </if>
                        <elseif status="engaged">
                                <action type="equip" when="engaged|aftercast" set="MNKTP|$Impetus"/> <!-- Added this -->
                        </elseif>
                 
                        <elseif status="resting">
                                <action type="equip" when="resting" set="MNKResting"/>
                        </elseif>
                </if>

Also remove <if spell="autoset"></if>

Change all the set="MNKTP" to set="MNKTP|$Impetus"

You do not need to lock melee gaiters+2 after counterstance.

Sometimes when it is laggy, you will notice that impetus gear is not equipped immediately. So I use the following impetus macro:
/ja "Impetus" <me>
/wait 1
/ja "Focus" <me>

Hope this helps.
 Ragnarok.Nekradarken
Offline
サーバ: Ragnarok
Game: FFXI
Posts: 20
By Ragnarok.Nekradarken 2012-10-08 14:01:17  
If the "impetus" variable is confusing you, just change it to something like "ImpetusVar".

For example:
Code
<variables clear="true">
<var name="ImpetusVar">Blank</var>
</variables>
Code
<if BuffActive="Impetus"> <!-- Added this -->
        <var cmd="set ImpetusVar Impetus" /> <!-- Added this -->
</if>           
<else>
        <var cmd="set ImpetusVar Blank" /> <!-- Added this -->
</else>

Code
        <elseif status="engaged">
                <action type="equip" when="engaged|aftercast" set="MNKTP|$ImpetusVar"/> <!-- Added this -->
        </elseif>
Offline
Posts: 977
By Peldin 2012-10-08 19:10:18  
LOL! This whole time... Gosh, the reason I've been confused as to how to use variables is because every XML with a variable (which isn't many honestly) has named the variable the same as something else. So now I actually see how the variable is being called and why it's being called.
Nekradarken you basically just opened up a whole new world for me with XML writing. Thank you.
 Valefor.Neokenesis
Offline
サーバ: Valefor
Game: FFXI
Posts: 174
By Valefor.Neokenesis 2012-10-08 19:47:18  
Sorry for jumping in on someone else's post.

I too have a question about spellcast. I have both Spharai/Vere and sometime I hit the wrong WS macro. I want to know how is if Spharai are equiped and I VS that it cancels WS and does Shijin Spiral instead.

Sorry for asking a different question Sergeant Bowers.
 Ramuh.Austar
Offline
サーバ: Ramuh
Game: FFXI
user: Austar
Posts: 10481
By Ramuh.Austar 2012-10-08 19:50:23  
<if type="WeaponSkill">
<if Spell="Victory Smite" NotEquipMain="Verethragna">
<changespell spell="Shijin Spiral" />
</if>

Then do the same for Shijin Spiral/Spharai
 Valefor.Neokenesis
Offline
サーバ: Valefor
Game: FFXI
Posts: 174
By Valefor.Neokenesis 2012-10-08 19:54:53  
Thank you. so where would I add it into this code. Would I make my present <if> <elseif>?
Code
<if type="weaponskill">
    <if spell="Victory Smite">
        <equip when="precast|midcast" set="Victory Smite"/>
			<if Buffactive="Impetus">
				<equip when="precast|midcast">
					<body lock="true">Tantra Cyclas +2</body>
				</equip>
			</if>
		<equip when="aftercast" set="%equipmain"/>
	</if>
	<else>
		<equip when="precast|midcast" set="Shijin"/>
		<equip  when="aftercast" set="%equipmain"/>
	</else>
 </if>
 Ramuh.Austar
Offline
サーバ: Ramuh
Game: FFXI
user: Austar
Posts: 10481
By Ramuh.Austar 2012-10-08 19:59:47  
Mine is just the code I pasted above my WS set swap rules.
 Valefor.Neokenesis
Offline
サーバ: Valefor
Game: FFXI
Posts: 174
By Valefor.Neokenesis 2012-10-08 20:18:49  
I'm at work and can't check but something like this?

 Ramuh.Austar
Offline
サーバ: Ramuh
Game: FFXI
user: Austar
Posts: 10481
By Ramuh.Austar 2012-10-08 20:20:26  
<if type="WeaponSkill">
<if Spell="Victory Smite" EquipMain="Verethragna">
<changespell spell="Shijin Spiral" />
</if>
<elseif spell="Shijin Spiral" EquipMain="Verethrgna">
<changespell spell="Victory Smite"/>
</elseif>
</if>

Needs to be this:

<if type="WeaponSkill">
<if Spell="Victory Smite" NotEquipMain="Verethragna">
<changespell spell="Shijin Spiral" />
</if>
<elseif spell="Shijin Spiral" NotEquipMain="Spharai">
<changespell spell="Victory Smite"/>
</elseif>
</if>
 Valefor.Neokenesis
Offline
サーバ: Valefor
Game: FFXI
Posts: 174
By Valefor.Neokenesis 2012-10-08 20:22:23  
It has to be a negative?

Edit: Nvm I got it.
 Ramuh.Austar
Offline
サーバ: Ramuh
Game: FFXI
user: Austar
Posts: 10481
By Ramuh.Austar 2012-10-08 20:23:50  
Either that or change Verethragna to Spharai in the first one.
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2012-10-09 11:14:16  
However that fails to account for a third case: no weapon at all (eg: mobs that have strip-ga moves). Austar's code would attempt to use Victory Smite in that situation, which would obviously fail.

Complete coverage would be:
Code
<if type="weaponskill">
    <if Spell="Shijin Spiral" EquipMain="Verethragna">
        <changespell spell="Victory Smite" />
    </if>
    <elseif Spell="Victory Smite" NotEquipMain="Verethragna">
        <changespell spell="Shijin Spiral" />
    </elseif>
</if>


Of course this removes the ability to dynamically choose Shijin Spiral while using Verethragna should a skillchain opportunity present itself. And re-reading the original question, he didn't actually ask to force Victory Smite while using Verethragna, so the above can be simplified to a single check:
Code
<if type="weaponskill">
    <if Spell="Victory Smite" NotEquipMain="Verethragna">
        <changespell spell="Shijin Spiral" />
    </if>
</if>


Which I see is the answer Austar originally provided (aside from the trailing comment), but which Neokenisis slightly confused. Using the code Neo said he had for weaponskills, it could be inserted as:
Code
<if type="weaponskill">
    <if Spell="Victory Smite" NotEquipMain="Verethragna">
        <changespell spell="Shijin Spiral" />
    </if>

    <if spell="Victory Smite">
        <equip when="precast|midcast" set="Victory Smite"/>
            <if Buffactive="Impetus">
                <equip when="precast|midcast">
                    <body lock="true">Tantra Cyclas +2</body>
                </equip>
            </if>
        <equip when="aftercast" set="%equipmain"/>
    </if>
    <else>
        <equip when="precast|midcast" set="Shijin"/>
        <equip  when="aftercast" set="%equipmain"/>
    </else>
</if>


Though I will note that equipping set "%equipmain" on aftercast is likely to fail if the wepaon was stripped off (do you have a set named "Empty"?). You also have redundant and unnecessary code: aftercast is the same in both cases, so only needs to be provided once, outside the if block; midcast isn't relevant to weaponskills; the lock is irrelevant in the current code, as long as you don't have code further down the XML that could possibly affect things (which shouldn't be the case, as long as you block off sections in <if type=""> segments). Shijin isn't really the best set for all weaponskills outside of Shijin Spiral since it's the only dex-based weaponskill mnk has, but if you don't really care about how those weaponskills perform it's probably good enough.

Final simplified version would be:
Code
<if type="weaponskill">
    <if Spell="Victory Smite" NotEquipMain="Verethragna">
        <changespell spell="Shijin Spiral" />
    </if>

    <if spell="Victory Smite">
        <equip when="precast" set="Victory Smite"/>
        <if Buffactive="Impetus">
            <equip when="precast">
                <body>Tantra Cyclas +2</body>
            </equip>
        </if>
    </if>
    <else>
        <equip when="precast" set="Shijin"/>
    </else>

    <equip when="aftercast" set="%equipmain"/>
</if>
[+]
 Quetzalcoatl.Avengers
Offline
サーバ: Quetzalcoatl
Game: FFXI
user: Avengers
Posts: 220
By Quetzalcoatl.Avengers 2012-10-11 10:14:43  
My friends use the xmls and I'm abit jealous with they can use with it, I've been sticking to the basic macros for gear swap, I tried looking into this before, but I couldn't find a user's manual persay for it, anyone got a link or able to help me set this up?

Would be much appreciated!
 Sylph.Peldin
Offline
サーバ: Sylph
Game: FFXI
Posts: 837
By Sylph.Peldin 2012-10-12 21:49:14  
Quetzalcoatl.Avengers said: »
My friends use the xmls and I'm abit jealous with they can use with it, I've been sticking to the basic macros for gear swap, I tried looking into this before, but I couldn't find a user's manual persay for it, anyone got a link or able to help me set this up?

Would be much appreciated!
http://forums.windower.net/topic/19480-genesisxs-spellcast-tutorial-guide-discussion/

http://pastebin.com/
necroskull Necro Bump Detected! [53 days between previous and next post]
 Shiva.Brunwulf
Offline
サーバ: Shiva
Game: FFXI
user: Brunwulf
Posts: 110
By Shiva.Brunwulf 2012-12-05 07:20:58  
Having trouble writing a script for MNK.xml to equip alternate tp set when Aggressor|Berserk is up. Anyone able to help me how to write that and where to put it? Thanks.
 Sylph.Peldin
Offline
サーバ: Sylph
Game: FFXI
Posts: 837
By Sylph.Peldin 2012-12-05 08:46:57  
It's already shown here. You basically just change "Impetus" to "Berserk"

But here, I'll give you a lil more step-by-step instruction for simple use.

1) Create a tp set (call it "Berserk" if you want).
Example:

2) Change your "engaged" rule to check for if Berserk is active or not.
Example:

3) It may be redundant, but you can also change your weaponskill rules to check for if Berserk is active. (If you want to WS in different gear, you will also need to create an alternate WS set)
Example:

Obviously you may need to change the examples to fit your xml more appropriately. IE, using the appropriate if and elseif statements where applicable.
Log in to post.