Looking For A Complete WAR XML

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » FFXI » Jobs » Warrior » Looking for a Complete WAR XML
Looking for a Complete WAR XML
 Ragnarok.Evihime
Offline
サーバ: Ragnarok
Game: FFXI
user: Evihime
Posts: 273
By Ragnarok.Evihime 2012-09-01 05:43:45  
Hi everyone, just started to use spellcast, was looking for a complete WAR xml, with differenet zerk/agg ws setup, restraint and non restraint tp sets automatically equiped and moonshade not used @ 300 tp etc...
Any1 have it? Can u guys copy/paste it for me here or on pastebin?
Offline
Posts: 853
By Avitori 2012-09-18 11:28:21  
Bumping this, i'm interested in this also.
 Lakshmi.Kukailimoku
Offline
サーバ: Lakshmi
Game: FFXI
user: Kuahana
Posts: 72
By Lakshmi.Kukailimoku 2012-09-19 08:59:44  
i would post mine but as i am barely on war, it is very much lacking. pretty basic spellcast but if anyone still wants let me know and i'll post it for you
 Valefor.Savain
Offline
サーバ: Valefor
Game: FFXI
user: Savain
Posts: 163
By Valefor.Savain 2012-09-19 09:17:16  
Rules for gear swaps based on buffs:
<if buffactive = Berserk> <equip when "Engaged|aftercast" WAR_Berserk_Up/> </if>

Rules for Oto +1 based on day, put it after your UF rule:
<if Advanced='"%DayElement" = "Light" OR "%DayElement" = "Thunder" OR "%DayElement" = "Wind" OR "%Dayelement" = "Fire"'> <equip when="precast"> <head lock="yes">Mekira-Oto +1</head> </equip> </if>

Rules for different gear swaps during WS based on buffs:
<if buffactive="Warrior's Charge"> <If spell ="Ukko's Fury"> <equip when = "precast"> <set="WAR_UF_WC_UP"> <elseif spell="Ukko's Fury" <equip when ="precast" <set="WAR_UF_WC_DOWN"> & end it properly

Otherwise not spoonfeeding
 Lakshmi.Kukailimoku
Offline
サーバ: Lakshmi
Game: FFXI
user: Kuahana
Posts: 72
By Lakshmi.Kukailimoku 2012-09-19 09:33:15  
the above code for the oto +1 works fine, however it will most likely swap in to the head for any ws let a lone action you do because the precast rules aren't specfied outside of the day/weather rule. this is what i use for my oto +1 rules, however i only use the oto +1 with the day/weather for ukko's and otherwise use the af3+2 head riding the crit and dbl atk
Code
	<variables>
		<var name="Ukko's Fury">Thundersday|Windsday|Lightsday</var>
	</variables>
	<rules>
		<if Spell="Ukko's Fury">
			<castdelay delay=".2" />
			<if TPGT="295" NotBuffActive="Sekkanoki">
				<equip when="precast">
					<rear lock="t">Ravager's Earring</rear>
				</equip>
			</if>
			<equip when="precast" set="Ukkosws" />
			<if Day="$%Spell">
				<equip when="precast">
					<head lock="t">Mekira-oto +1</head>
				</equip>
			</if>
		</if>
	</rules>

oh btw - the ravager's earring rule is to swap in an earring other than moonshade in the rear slot based on tp being @295-300
enjoy
 Valefor.Savain
Offline
サーバ: Valefor
Game: FFXI
user: Savain
Posts: 163
By Valefor.Savain 2012-09-19 20:31:39  
This works fine.

Starting point for conditional gear sets:
Code
<if type="WeaponSkill"> 
	<if spell="Ukko's Fury"> 
	<if buffactive="Warrior's Charge">
	<if Advanced='"%DayElement" = "Light" OR "%DayElement" = "Thunder" OR "%DayElement" = "Wind" OR "%Dayelement" = "Fire"'><equip when="precast">    
         <head lock="yes">Mekira-Oto +1</head></equip></if>
	<action type="equip" when="PreCast" set="WARUFF" />
</if>
	<elseif spell="Ukko's Fury">
	<if Advanced='"%DayElement" = "Light" OR "%DayElement" = "Thunder" OR "%DayElement" = "Wind" OR "%Dayelement" = "Fire"'><equip when="precast">    
         <head lock="yes">Mekira-Oto +1</head></equip></if>
	<action type="equip" when="PreCast" Set="WARUF" />
	</elseif>
	</if>
<elseif type="WeaponSkill">
	<action type="equip" when="PreCast" Set="WARWHOA" />
	</elseif>
</if>
 Valefor.Savain
Offline
サーバ: Valefor
Game: FFXI
user: Savain
Posts: 163
By Valefor.Savain 2012-09-19 20:35:17  
Starting point for writing rules:

Code
<rules>
<if job="WAR/*">

<equip when="Idle" set="WARREGEN" />

<if HPPGT="70">
	<equip when="Engaged|AfterCast" set="WARATK" />
	</if>	
<else HPPLT="70">
	<equip when="Engaged|AfterCast" set="WARPDT" />
	</else>
	
<if HPPLT="31">
	<equip when="Idle|Engaged|AfterCast" set="WARRR" />
</if>
 Valefor.Savain
Offline
サーバ: Valefor
Game: FFXI
user: Savain
Posts: 163
By Valefor.Savain 2012-09-19 20:36:47  
Starting put for good actions like not using third eye before seigan is up:
Code
<if Spell = "Third Eye" notbuffactive = "Seigan">
<castdelay Delay = "1.5" />
<command when = "Precast">input /raw  /ja "Seigan" <me></command>
</if>
 Valefor.Savain
Offline
サーバ: Valefor
Game: FFXI
user: Savain
Posts: 163
By Valefor.Savain 2012-09-19 20:37:13  
For locking gear during buffs:
Code
<if type="WeaponSkill">
<if BuffActive="Meikyo Shisui">
<equip when="Precast">
<feet lock="true">Sao. Sune-Ate +2</feet>
</equip>
</if>
</if>
 Valefor.Savain
Offline
サーバ: Valefor
Game: FFXI
user: Savain
Posts: 163
By Valefor.Savain 2012-09-19 20:39:50  
Voidwatch specific rule:
Code
<if buffactive="Voidwatcher">
<if notbuffactive="Physical Shield">
<castdelay Delay = "1.0" />
<command when = "Aftercast">input /raw  /item "Fanatic's Drink" <me></command>
</if>
</if>
Offline
Posts: 1020
By Gimpness 2012-09-19 20:46:38  
my pastebin should have an up to date one, but I've been too lazy to take out the toggles and make it do some of the ***automatically.
necroskull Necro Bump Detected! [171 days between previous and next post]
 Bahamut.Bojack
Offline
サーバ: Bahamut
Game: FFXI
user: Bojack316
Posts: 2076
By Bahamut.Bojack 2013-03-09 21:19:11  
Does this make sense for a Restraint up or down rule?
Code
<if status="engaged" advanced='buffactive("Restraint")'>
		<action type="equip" when="Engaged|aftercast" set="Restraint"/>
</if>
<elseif status="engaged">
	<action type="equip" when="Engaged|aftercast" set="Melee"/>
</elseif>
 Shiva.Damonz
Offline
サーバ: Shiva
Game: FFXI
user: Damonz
Posts: 211
By Shiva.Damonz 2013-03-09 21:55:30  
Bahamut.Bojack said: »
Does this make sense for a Restraint up or down rule?
Code
<if status="engaged" advanced='buffactive("Restraint")'>
		<action type="equip" when="Engaged|aftercast" set="Restraint"/>
</if>
<elseif status="engaged">
	<action type="equip" when="Engaged|aftercast" set="Melee"/>
</elseif>
Should be able to just use the following
Code
<if status="engaged" buffactive="Restraint">
		<action type="equip" when="Engaged|aftercast" set="Restraint"/>
</if>
<elseif status="engaged">
	<action type="equip" when="Engaged|aftercast" set="Melee"/>
</elseif>
 Asura.Failaras
Offline
サーバ: Asura
Game: FFXI
user: Falaras
Posts: 3213
By Asura.Failaras 2013-03-13 20:47:31  
Actually I lied, I didn't figure it out.

For some reason the restraint rule posted above me isn't working at all for me, it just fulltimes my non restraint hands. This is my spellcast: http://pastebin.com/SwH8h91R does anyone know what could have gone wrong?
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-03-14 04:24:48  
Code xml
<if mode="or" spell="Restraint" buffactive="Restraint">
    <equip when="precast|midcast|aftercast|engaged">
        <hands lock="True">Ravager's Mufflers +2</hands>
    </equip>
</if>


That'll swap gear over when you have or use Restraint. Apparently anyway, while I'm not playing I've not had the chance to test it myself.

EDIT: Also, don't forget that ordering is important. Here's the full rules section for the Restraint code further up. I hope the guy whose XML it is won't mind me posting it. (Also, if you see this and you do, let me know and I'll pull it :P)
Code xml
<rules>
      
         <!--Rules-->
      
    <equip when="Engaged" set="TP" />
    <equip when="Idle" set="IDLE" />
     
    <if status="idle">
        <equip when="aftercast|idle" set="IDLE" />
    </if>
 
    <if mode="or" buffactive="Weakness" HPPLT="20">
        <equip when="all">
            <head lock="yes">Twilight Helm</head>
            <body lock="yes">Twilight Mail</body>
        </equip>
    </if>
  
    <!--JAs-->
  
   <if mode="or" spell="Restraint" buffactive="Restraint">
        <equip when="precast|midcast|aftercast|engaged">
            <hands lock="True">Ravager's Mufflers +2</hands>
        </equip>
    </if>
  
    <if spell="Blood Rage">
        <equip when="precast">
            <body>Rvg. Lorica +2</body>
        </equip>
    </if>
  
    <if spell="Tomahawk">
        <equip when="precast">
            <ammo>Thr. Tomahawk</ammo>
        </equip>
    </if>
       
    <if spell="Spectral Jig">
        <command when="PreCast">cancel 71</command>
    </if>
     
     <!--Weapon skills-->
  
    <if spell="Ukko's Fury">
        <if buffactive="Berserk|Attack Boost|Potency|Blood Rage">
            <action type="equip" when="precast" set="Ukko-Bes" />
            <action type="equip" when="aftercast" set="TP" />
        </if>
    
        <if buffactive="Restraint">
            <action type="equip" when="precast" set="Ukko-res" />
            <action type="equip" when="aftercast" set="TP-Res" />
        </if>
        <if notbuffactive="Berserk|Attack Boost|Potency|Blood Rage">
            <action type="equip" when="precast" set="Ukko" />
            <action type="equip" when="aftercast" set="TP" />
        </if>
     
        <if day="Windsday|Lightningday|Lightsday">
            <equip lock="yes"><head>Mekira-oto +1</head></equip>
        </if>
    </if>
      
 
  
    </rules>


Basically, it will equip all your standard TP gear, then swap out Restraint gear when appropriate.
 Asura.Failaras
Offline
サーバ: Asura
Game: FFXI
user: Falaras
Posts: 3213
By Asura.Failaras 2013-03-14 19:59:32  
That one is working for me, thank you very much!
Log in to post.