Ukon War Spellcast

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » FFXI » Jobs » Warrior » ukon war spellcast
ukon war spellcast
 Sylph.Burrett
Offline
サーバ: Sylph
Game: FFXI
Posts: 21
By Sylph.Burrett 2011-12-10 12:24:08  
I got this xml off someone profile on GW but i can't get it to work when i change to war i get an error:

SpellCast: XML Parsing Error: line 0 - Error reading Element value.

Anyone know how to fix this or maybe have a better xml for ukon war?

this is xml im having the problem with

ty burr
 Quetzalcoatl.Neisan
Offline
サーバ: Quetzalcoatl
Game: FFXI
user: Nanashi14
Posts: 387
By Quetzalcoatl.Neisan 2011-12-11 09:25:01  
Aside from this spellcast looking incomplete, could you use pastebin? Half of the xml looks missing.
 Lakshmi.Eyrhika
Offline
サーバ: Lakshmi
Game: FFXI
user: Eyrhika
Posts: 764
By Lakshmi.Eyrhika 2011-12-11 10:24:39  
Here is mine if you want to use it. This was my first ever spellcast, so it started pretty bad, but has grown. I could probably go back and clean some things up, but it does what I want. I havn't had a chance to see if the voidwatcher check equips the moonshade yet, but wanted a way to get an extra tic of regain while waiting on procs.
Code
    <spellcast>
        <sets>
           <group default="yes" name="Warrior">
            <set name="Standard">
                <ammo>Ravager's orb</ammo>
				<head>Twilight helm</head>
                <neck>Twilight torque</neck>
                <lear>Ethereal earring</lear>
                <rear>Brutal earing</rear>
                <body>Twilight mail</body>
                <hands>Rvg. mufflers +2</hands>
                <lring>Shadow ring</lring>
                <rring>Dark ring</rring>
                <back>Shadow mantle</back>
                <waist>Flume belt</waist>
                <legs>Rvg. cuisses +2</legs>
                <feet>Hermes' Sandals</feet>
            </set>
            <set name="Engaged1">
                <head>Zelus tiara</head>
                <neck>Ravager's gorget</neck>
                <lear>Ravager's earring</lear>
                <rear>Brutal earring</rear>
                <body>Rvg. lorica +2</body>
                <hands>Rvg. mufflers +2</hands>
                <lring>Blitz ring</lring>
                <rring>Rajas ring</rring>
                <back>Atheling mantle</back>
                <waist>Goading belt</waist>
                <legs>Rvg. cuisses +2</legs>
                <feet>Rvg. calligae +2</feet>
            </set>
            <set name="Engaged2">
                <head>Fazheluo helm +1</head>
                <neck>Ravager's gorget</neck>
                <lear>Ravager's earring</lear>
                <rear>Brutal earring</rear>
                <body>Rvg. lorica +2</body>
                <hands>Perle moufles</hands>
                <lring>Blitz ring</lring>
                <rring>Rajas ring</rring>
                <back>Atheling mantle</back>
                <waist>Goading belt</waist>
                <legs>Rvg. cuisses +2</legs>
                <feet>Rvg. calligae +2</feet>
            </set>            
			<set name="Torment">
                <head>Twilight helm</head>
                <lear>Centaurus earring</lear>
                <rear>Brutal earring</rear>
                <body>Grim cuirass</body>
				<hands>Heafoc mitts</hands>
				<lring>Strigoi ring</lring>
                <rring>Rajas ring</rring>
                <back>Atheling mantle</back>
                <legs>Teutates subligar</legs>
                <feet>Hct. leggings +1</feet>
            </set>
            <set name="RagingRush">
                <head>Ravager's mask +2</head>
                <lear>Centarus earring</lear>
                <rear>Brutal earring</rear>
                <body>Zahak's mail</body>
                <hands>Rvg, mufflers +2</hands>
                <lring>Strigoi ring</lring>
                <rring>Rajas ring</rring>
                <back>Atheling mantle</back>
                <legs>Rvg. cuisses +2</legs>
                <feet>Rvg. calligae +2</feet>
            </set>
            <set name="Enmity">
                <body>Rvg. lorica +2</body>
                <hands>Askar manopolas</hands>
                <lring>Strigoi ring</lring>
                <rring>Rajas ring</rring>
                <back>Cerberus mantle</back>
                <waist>Warwolf mantle</waist>
                <legs>Teutates subligar</legs>
                <feet>Hermes' sandals</feet>
            </set>
            <set name="Waltz">
                <head>Twilight helm</head>
                <neck>Fortitude torque</neck>
                <body>Twilight mail</body>
                <rring>Dark ring</rring>
                <back>Shadow mantle</back>
                <waist>Warwolf belt</waist>
                <legs>Aurum cuisses</legs>
            </set>
			<set name="GearCollect">
				<main>Bravura</main>
				<main>Ukonvasara</main>
				<ammo>Fire bomblet</ammo>
				<sub>Claymore grip</sub>
				<sub>Sword strap</sub>
				<sub>Pole grip</sub>
				<head>War. mask +1</head>
				<body>Adaman hauberk</body>
				<hands>Heafoc mitts</hands>
				<neck>Rancor collar</neck>
				<neck>Agasaya's collar</neck>
				<neck>Love torque</neck>
				<neck>Snow gorget</neck>
				<neck>Breeze gorget</neck>
				<neck>Soil gorget</neck>
				<neck>Light gorget</neck>
				<waist>Snow belt</waist>
				<waist>Breeze belt</waist>
				<waist>Soil belt</waist>
				<waist>Light belt</waist>
				<waist>Bullwhip belt</waist>
				<lear>Moonshade earring</lear>
				<lear>Loquac. earring</lear>
				<lring>Ulthalam's ring</lring>
			</set>
			</group>
        </sets>
        
		<rules>
            <equip when="Idle|AfterCast|Resting" set="Standard" />
            
			<if mode="AND" Equipmain="Ukonvasara" Status="Engaged">
                <if buffactive="Voidwatcher">
					<equip when="Engaged|Aftercast">
						<lear>Moonshade earring</lear>
					</equip>
				</if>
				<if buffactive="Restraint">
					<Equip When="Engaged|AfterCast" Set="Engaged1" >
						<body>Adaman hauberk</body>
					</Equip>
				</if>
				<elseif buffnotactive="Restraint">
					<Equip When="Engaged|AfterCast" Set="Engaged2" >					
						<body>Adaman hauberk</body>
					</Equip>
				</elseif>
			</if>
			<elseif mode="AND" Equipmain="Bravura" Status="Engaged" >
				<if buffactive="Restraint">               
					<equip When="Engaged|AfterCast" Set="Engaged1" />
				</if>
                <elseif buffnotactive="Restraint">
					<equip When="Engaged|AfterCast" Set="Engaged2" />
				</elseif>
			</elseif>                     
		   <elseif mode="AND" Equipmainnot="Bravura|Ukonvasara" Status="Engaged">
                <equip When="Engaged|AfterCast" Set="Engaged1">
					<ammo>Fire bomblet</ammo>
					<body>Twilight mail</body>
					<neck>Agasaya's collar</neck>
				</equip>
			</elseif>
	
	        <if Spell="Curing Waltz*">
				<equip when="precast" set="Waltz" />
			</if>
			
			<if Type="JobAbility">
                <if BuffActive="Amnesia|Sleep|Stun|Terror">
                    <cancelspell />
                </if>
                <if Spell="Provoke|BloodRage">
                    <equip when="precast" set="Enmity" />
                </if>           
                <if Spell="Warcry">
                    <equip when="precast" set="Enmity" >
						<head>War. mask +1</head>
					</equip>
                </if>           		   
		   </if>
            <if Type="WeaponSkill" >
                <if Mode="OR" TargetDistanceGT="7.0" BuffActive="Amnesia|Sleep|Stun|Terror" TPLT="100">
                    <cancelspell />
                </if>
                <elseif Spell="Raging Rush|Sturmwind">
                    <precastdelay Delay=".2" />
                    <equip When="PreCast" Set="RagingRush">
                        <neck>Rancor collar</neck>
                        <waist>Snow belt</waist>
                    </equip>
					<if area="Abyssea*">
						<equip when="precast">
							<hands>Heafoc mitts</hands>
						</equip>               
					</if>                
				</elseif>
                <elseif Spell="Ukko's Fury">
					<if area="Abyssea*">
						<if buffactive="Blood Rage">
		                    <precastdelay Delay=".2" />				
							<equip when="precast" set="RagingRush">
								<body>Grim cuirass</body>
								<head>Twilight helm</head>
								<neck>Breeze gorget</neck>
								<waist>Breeze belt</waist>
							</equip>               
						</if>                
						<elseif buffnotactive="Blood Rage">
				            <precastdelay Delay=".2" />			
							<equip when="precast" set="RagingRush">
								<hands>Heafoc mitts</hands>
								<neck>Rancor collar</neck>
								<waist>Breeze belt</waist>
							</equip>
						</elseif>
					</if>
					<else>
						<precastdelay Delay=".2" />
						<equip When="PreCast" Set="RagingRush">
							<waist>Breeze belt</waist>
							<neck>Rancor collar</neck>
						</equip>				
					</else>
				</elseif>			    
				<elseif Spell="Steel Cyclone">
                    <precastdelay Delay=".2" />
                    <equip When="PreCast" Set="Torment">
                        <neck>Snow Gorget</neck>
                        <waist>Snow belt</waist>
                    </equip>
					<if BuffActive="MightyStrikes">
						<equip when="Precast">
							<feet>Rvg. calligae +2</feet>
						</equip>
					</if>              
				</elseif>
                <elseif Spell="King's Justice">
                    <precastdelay Delay=".2" />
                    <equip When="PreCast" Set="Torment">
                        <neck>Breeze Gorget</neck>
                        <waist>Breeze belt</waist>
                    </equip>
					<if BuffActive="MightyStrikes">
						<equip when="Precast">
							<feet>Rvg. calligae +2</feet>
						</equip>
					</if>
				</elseif>
                <elseif Spell="Fell Cleave">
                    <precastdelay Delay=".2" />
                    <equip When="PreCast" Set="Torment">
                        <neck>Ravager's gorget</neck>
                        <waist>Warwolf belt</waist>
                    </equip>
					<if BuffActive="MightyStrikes">
						<equip when="Precast">
							<feet>Rvg. calligae +2</feet>
						</equip>
					</if>                
				</elseif>
                <elseif Spell="Metatron Torment">
                    <precastdelay Delay=".2" />
                    <equip When="PreCast" Set="Torment">
                        <neck>Light Gorget</neck>
                        <waist>Light belt</waist>
					</equip>
					<if BuffActive="MightyStrikes">
						<equip when="Precast">
							<feet>Rvg. calligae +2</feet>
						</equip>
					</if>                                  
				</elseif>
                <elseif Spell="*Thrust">
                    <precastdelay Delay=".2" />
                    <equip When="PreCast" Set="RagingRush" />
                </elseif>
                <elseif Spell="Rampage">
                    <precastdelay Delay=".2" />
                    <equip When="PreCast" Set="RagingRush">
                        <neck>Soil Gorget</neck>
                        <waist>Soil belt</waist>
                    </equip>
                </elseif>             
                <elseif Spell="Sanguine Blade">
                    <precastdelay Delay=".2" />
                    <equip When="PreCast" Set="Torment">
                        <neck>Ravager's Gorget</neck>
                        <waist>Warwolf belt</waist>
                    </equip>
                </elseif> 			  
				<else>
					<precastdelay Delay=".2"/>
					<equip when="precast" Set="RagingRush">
						<ammo>Fire bomblet</ammo>
						<body>Twilight mail</body>
						<neck>Agasaya's collar</neck>
						<lring>Ulthalam's ring</lring>
						<waist>Warwolf belt</waist>
					</equip>				
				</else>
			  <aftercastdelay Delay="3" />
            </if>
            <elseif Type="Ninjutsu" NotBuffActive="Silence|Sleep|Stun|Terror">
                <if Spell="Utsusemi*" >
                    <equip When="PreCast" Set="Engaged1">
                        <lear>Loquac. earring</lear>
                    </equip>
                    <if Spell="Utsusemi: Ichi" BuffActive="Copy Image|Copy Image (2)|Copy Image (3)">
                        <midcastdelay Delay="3.0" />
                        <command When="MidCast">cancel 66</command>
                        <command When="MidCast">cancel 444</command>
                        <command When="MidCast">cancel 445</command>
                    </if>
                </if>
                <elseif Spell="Monomi*" BuffActive="Sneak" SpellTargetType="Self">
                    <midcastdelay Delay="2.2" />
                    <command When="MidCast">cancel 71</command>
                </elseif>
            </elseif>
        </rules>
    </spellcast>
 Fenrir.Terminus
Offline
サーバ: Fenrir
Game: FFXI
user: Terminus
Posts: 3351
By Fenrir.Terminus 2011-12-11 10:42:58  
There are like 12 people that have ever written a spellcast xml.
 Lakshmi.Eyrhika
Offline
サーバ: Lakshmi
Game: FFXI
user: Eyrhika
Posts: 764
By Lakshmi.Eyrhika 2011-12-11 10:55:24  
Fenrir.Terminus said: »
There are like 12 people that have ever written a spellcast xml.

Heh yeah. Almost all of mine started as someone elses. Though with each re-write and new job, I do more and more of it on my own. It is a good way to learn how to do it for yourself.
 Quetzalcoatl.Seveth
Offline
サーバ: Quetzalcoatl
Game: FFXI
user: Seveth
Posts: 143
By Quetzalcoatl.Seveth 2011-12-12 13:48:12  
I was thinking of a way to lock the Twilight set in case of low hp or getting KOed. This is what I have, but I'm at work and unable to test for the next five hours or so.
Code
<if HPLT="600" buffactive="Doom">
		<equip when="Precast|Midcast|Aftercast|Idle">
		<precastdelay Delay=".2" />
		   <head lock="t">Twilight helm</head>
		   <body lock="t">Twilight mail</body>
		</equip>
	</if> 

I was also wondering about the situation where you would get Insta-KO from massive dmg. Is there a rule that can allow to switch/lock in Twilight set? Thanks!
 Quetzalcoatl.Seveth
Offline
サーバ: Quetzalcoatl
Game: FFXI
user: Seveth
Posts: 143
By Quetzalcoatl.Seveth 2011-12-12 13:49:15  
Also thanks for the sample XML Eyrhika. Made me a new WAR xml after seeing your rules and such. :^D

I did have a question on your Ninjutsu rule. Where did you find the command numbers to cancel shadows? That little bit of code made me smile. :D