My WAR Spellcast - Berserk Problems.

Language: JP EN DE FR
users online
Forum » FFXI » Jobs » Warrior » My WAR Spellcast - Berserk problems.
My WAR Spellcast - Berserk problems.
 Bahamut.Attribute
Offline
Server: Bahamut
Game: FFXI
user: XGP0001
Posts: 371
By Bahamut.Attribute 2011-12-14 01:13:46
Link | Quote | Reply
 
The gear and stuff isn't all in this yet, but i'm just trying to get stuff to work first. Everything is pretty much set except for my Berserk WS. When I WS w/ Zerk up it wont change any gear. Messed with it more and now it changes to Zerk gear then auto changes to non zerk gear within the same second. Any ideas whats causing this? Thanks to all that helped me make this BTW! (I suck at codes and stuff like this)

What its doing:

 Ragnarok.Sekundes
Offline
Server: Ragnarok
Game: FFXI
user: Sekundes
Posts: 4189
By Ragnarok.Sekundes 2011-12-14 01:29:34
Link | Quote | Reply
 
When you ws with berserk up does your add to chat text display?

Edit: Nvm, it's in the pic ^^;
 Siren.Kalilla
VIP
Offline
Server: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2011-12-14 01:31:24
Link | Quote | Reply
 
Code xml
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
	<config
		Debug="true"
		HideErrors="false"
		ShowGearSwaps="false"
		ShowSpellInfo="false"
		/>
	<variables>
		<!-- BUFF GEAR -->
		<var name="TPHands">Timarli Dastanas</var>
		<var name="WSFeet">Rvg. Calligae +2</var>
		<var name="WSLegs">Rvg. Cuisses +2</var>
		<var name="WSNeck">Ire Torque +1</var>
		<var name="WSBody">Grim Cuirass +1</var>
	</variables>
	<sets>
		<group name="Main" default="yes">
			<set name="Idle">
				<ammo>Ravager's Orb</ammo>
				<head>Champion's Galea</head>
				<neck>Ravager's Gorget</neck>
				<lear>Ravager's Earring</lear>
				<rear>Brutal Earring</rear>
				<body>Ravager's Lorica +2</body>
				<hands>Timarli Dastanas</hands>
				<lring>Mars's Ring</lring>
				<rring>Rajas Ring</rring>
				<back>Atheling Mantle</back>
				<waist>Goading Belt</waist>
				<legs>Ravager's Cuisses +2</legs>
				<feet>Ravager's Calligae +2</feet>
			</set>
			<!-- OUTSIDE ABYSSEA SETS -->
			<set name="TP" BaseSet="Idle">
				<ammo>Ravager's Orb</ammo>
				<head>Champion's Galea</head>
				<neck>Ravager's Gorget</neck>
				<lear>Ravager's Earring</lear>
				<rear>Brutal Earring</rear>
				<body>Ravager's Lorica +2</body>
				<hands>$TPHands</hands>
				<lring>Mars's Ring</lring>
				<rring>Rajas Ring</rring>
				<back>Atheling Mantle</back>
				<waist>Goading Belt</waist>
				<legs>Ravager's Cuisses +2</legs>
				<feet>Ravager's Calligae +2</feet>
			</set>
			<set name="Ukko's Fury" BaseSet="Idle">
				<ammo>Ravager's Orb</ammo>
				<head>Ravager's mask +2</head>
				<lear>Ravager's Earring</lear>
				<neck>$WSNeck</neck>
				<body>$WSBody</body>
				<lring>Pyrosoul Ring</lring>
				<hands>Rvg. Mufflers +2</hands>
				<rring>Pyrosoul Ring</rring>
				<waist>Beir Belt +1</waist>
				<legs>$WSLegs</legs>
				<feet>Ravager's Calligae +2</feet>
				<back>Atheling Mantle</back>
			</set>
			<set name="King's Justice" BaseSet="Idle">
				<ammo>Ravager's Orb</ammo>
				<head>Ravager's Mask +2</head>
				<neck>$WSNeck</neck>
				<body>Grim Cuirass +1</body>
				<lring>Pyrosoul Ring</lring>
				<hands>Heafoc Mitts</hands>
				<rring>Pyrosoul Ring</rring>
				<waist>Beir Belt +1</waist>
				<lear>Ravager's Earring</lear>
				<legs>$WSLegs</legs>
				<feet>Ravager's Calligae +2</feet>
				<back>Athleing Mantle</back>
			</set>
			<set name="FC" BaseSet="Idle">
				<ammo>Ravager's Orb</ammo>
				<head>Ravager's Mask +2</head>
				<neck>$WSNeck</neck>
				<body>Grim Cuirass +1</body>
				<lring>Pyrosoul Ring</lring>
				<hands>Heafoc Mitts</hands>
				<rring>Pyrosoul Ring</rring>
				<waist>Beir Belt +1</waist>
				<lear>Ravager's Earring</lear>
				<legs>Calmecac Subligar</legs>
				<feet>Ravager's Calligae +2</feet>
				<back>Athleing Mantle</back>
			</set>
			<set name="BeserkWSUF" BaseSet="Ukko's Fury">
				<legs>Calmecac Subligar</legs>
				<body>Zahak's Mail</body>
				<neck>Rancor Collar</neck>
			</set>
			<set name="BeserkWSKJ" BaseSet="King's Justice">
				<legs>Calmecac Subligar</legs>
				<body>Zahak's Mail</body>
				<neck>Rancor Collar</neck>
			</set>
			<set name="PDT" BaseSet="Idle">
				<ammo>Angha Gem</ammo>
				<head>Chersos Helm</head>
				<neck>Wiglen Gorget</neck>
				<rear>Ravager's Earring</rear>
				<lear>Brutal Earring</lear>
				<body>Mekira Toshugai +1</body>
				<hands>Magma Gauntlets</hands>
				<lring>Dark Ring</lring>
				<back>Mollusca Mantle</back>
				<rring>Dark Ring</rring>
				<waist>Flume Belt</waist>
				<legs>Blitzer Poleyn</legs>
				<feet>Jingang Greaves</feet>
			</set>
			<set name="MDT" BaseSet="Idle">
				<ammo>Demonry Stone</ammo>
				<head>Noesis Helm</head>
				<neck>Twilight Torque</neck>
				<rear>Merman's Earring</rear>
				<body>Merman's Harness</body>
				<lear>Merman's Earring</lear>
				<hands>Magma Gauntlets</hands>
				<lring>Dark Ring</lring>
				<rring>Minerva's Ring</rring>
				<back>Mollusca Mantle</back>
				<waist>Nierenschutz</waist>
				<legs>Merman's Subligar</legs>
				<feet>Askar Gambieras</feet>
			</set>
			<set name="Blood Rage">
				<body>Rvg. Lorica +2</body>
			</set>
			<set name="Retaliation">
				<feet>Ravager's Calligae +2</feet>
			</set>    
			<set name="Warcry">
				<head>Warrior's Mask</head>
			</set>
			<set name="Aggressor">
				<body>Warrior's Lorica</body>
			</set>
			<set name="Berserk">
				<feet>Warrior's Calligae</feet>
			</set>
			<set name="Restraint">
				<hands>Rvg. Mufflers +2</hands>
			</set>
			<set name="Reraise">
				<head>Twilight Helm</head>
				<body>Twilight Mail</body>
			</set>
		</group>
	</sets>
	<rules>
		<equip when="Idle" set="Idle" />
		<if Area="Abyssea*">
			<if status="engaged">
				<equip when="engaged" set="TPA" />
				<defaulttarget Target="<t>" />
			</if>
		</if>
		<else>
			<if status="engaged">
				<equip when="engaged" set="TP" />
				<defaulttarget Target="<t>" />
			</if>
		</else>
		<if spell="Raise*">
			<equip when="precast" set="Reraise" />
			<equip when="aftercast" set="Reraise" />
		</if>
		<if spell="Stone V">
			<equip when="precast|midcast|aftercast" set="PDT" />
		</if>
		<elseif spell="Water V">
			<equip when="precast|midcast|aftercast" set="MDT" />
		</elseif>
		<if mode="and" spell="Utsusemi*" status="engaged">
			<equip when="precast" set="FaCa" />
			<equip when="aftercast" set="TP" />
		</if>
		<if mode="and" spell="Utsusemi*" status="idle">
			<equip when="precast" set="FaCa" />
			<equip when="aftercast" set="Idle" />
		</if>
		<if spell="Utsusemi: Ichi" BuffActive="Copy Image|Copy Image (2)" NotBuffActive="Silence|Mute|Omerta|Obliviscence">
			<midcastdelay delay="3.0" />
			<command when="midcast">cancel 66</command>
		</if>
		<if spell="Restraint|Blood Rage|Retaliation|Warcry|Aggressor|Berserk">
			<castdealy delay=".2"/>
			<equip when="precast" set="%Spell" />
			<equip when="aftercast" set="tp" />
		</if>
		<if status="engaged" BuffActive="Restraint">
			<equip when="engaged|aftercast">
				<hands lock="yes">Rvg. Mufflers +2</hands>
			</equip>
		</if>
		<if type = "Weaponskill">
			<if status = "Engaged" NotTPLT = "100">
				<castdelay delay = "0.2" />
				<aftercastdelay delay = "0.8" />
				<if buffactive = "Berserk">
					<if spell = "Ukko's Fury">
						<equip when="engaged|precast" set = "BerserkWSUF" />
						<addtochat>***** Gear Equipped: Berserk %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
					</if>
					<else>
						<equip when="precast" set = "%Spell" />
						<addtochat>***** Gear Equipped: %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
					</else>
					<if spell = "King's Justice">
						<equip when="engaged|precast" set = "BerserkWSKJ" />
						<addtochat>***** Gear Equipped: Berserk %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
					</if>
					<else>
						<equip when="precast" set = "%Spell" />
						<addtochat>***** Gear Equipped: %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
					</else>
				</if>
				<if spell="Fell Cleave">
					<equip when="precast" set="FC" />
					<defaulttarget Target="<t>" />
					<equip when="aftercast" set="TP" />
				</if>
			</if>
		</if>
	</rules>
</spellcast>

Put it in code tags to read easier
 Ragnarok.Sekundes
Offline
Server: Ragnarok
Game: FFXI
user: Sekundes
Posts: 4189
By Ragnarok.Sekundes 2011-12-14 01:38:37
Link | Quote | Reply
 
From a quick review, your current spellcast isn't set up to ws in any particular set if berserk isn't up aside from fell cleave.

If you can post a debug log I could localize the issues much faster. Also, I would set show gear swaps to true and see if it gives you anything.
 Bahamut.Attribute
Offline
Server: Bahamut
Game: FFXI
user: XGP0001
Posts: 371
By Bahamut.Attribute 2011-12-14 01:49:30
Link | Quote | Reply
 
 Shiva.Phar
Offline
Server: Shiva
Game: FFXI
user: Pharoahe
Posts: 2
By Shiva.Phar 2011-12-14 04:34:56
Link | Quote | Reply
 
When you do ukko's fury, the first condition is met and else is skipped. Because you have a second if/else statement, it checks again. Since it isn't king's justice, it executes the else statement. I believe that's why there's two gear swaps occurring.
 Bahamut.Attribute
Offline
Server: Bahamut
Game: FFXI
user: XGP0001
Posts: 371
By Bahamut.Attribute 2011-12-14 04:49:08
Link | Quote | Reply
 
Shiva.Phar said: »
When you do ukko's fury, the first condition is met and else is skipped. Because you have a second if/else statement, it checks again. Since it isn't king's justice, it executes the else statement. I believe that's why there's two gear swaps occurring.
No idea what you mean xD I can't code for my own life.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2011-12-14 05:29:53
Link | Quote | Reply
 
Bahamut.Attribute said: »
Shiva.Phar said: »
When you do ukko's fury, the first condition is met and else is skipped. Because you have a second if/else statement, it checks again. Since it isn't king's justice, it executes the else statement. I believe that's why there's two gear swaps occurring.
No idea what you mean xD I can't code for my own life.

Try changing:

To:

Basically, what Spellcast thinks is:

>>Is Spell "Ukko's Fury"? Yes
>>> Equip "Ukko's Fury" set.
>> SKIP "ELSE"

>>Is Spell "King's Justice"? No
>>If not then do this: (insert second else statement)

So, it finds Ukko's Fury the first time and doesn't find King's Justice the second. So it defaults to your Ukko's set (correct) then because King's Justice isn't being used, defaults to your other base set for WS's (which it should do according to Syntax, but isn't what you want it to do).

The bit I changed was to make spellcast think like this:

>>Is Spell "Ukko's Fury"? No
>>Is Spell "King's Justice"? No
>>Is Spell "Fell Cleave"? No
>>Is Spell "Shield Break"? Yes.
>>> Equip "Shield Break" set.
 Bahamut.Kazius
Offline
Server: Bahamut
Game: FFXI
Posts: 87
By Bahamut.Kazius 2011-12-14 05:30:40
Link | Quote | Reply
 
Code
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
    <config
        Debug="true"
        HideErrors="false"
        ShowGearSwaps="false"
        ShowSpellInfo="false"
        />
    <variables>
        <!-- BUFF GEAR -->
        <var name="TPHands">Timarli Dastanas</var>
        <var name="WSFeet">Rvg. Calligae +2</var>
        <var name="WSLegs">Rvg. Cuisses +2</var>
        <var name="WSNeck">Ire Torque +1</var>
        <var name="WSBody">Grim Cuirass +1</var>
    </variables>
    <sets>
        <group name="Main" default="yes">
            <set name="Idle">
                <ammo>Ravager's Orb</ammo>
                <head>Champion's Galea</head>
                <neck>Ravager's Gorget</neck>
                <lear>Ravager's Earring</lear>
                <rear>Brutal Earring</rear>
                <body>Ravager's Lorica +2</body>
                <hands>Timarli Dastanas</hands>
                <lring>Mars's Ring</lring>
                <rring>Rajas Ring</rring>
                <back>Atheling Mantle</back>
                <waist>Goading Belt</waist>
                <legs>Ravager's Cuisses +2</legs>
                <feet>Ravager's Calligae +2</feet>
            </set>
            <!-- OUTSIDE ABYSSEA SETS -->
            <set name="TP" BaseSet="Idle">
                <ammo>Ravager's Orb</ammo>
                <head>Champion's Galea</head>
                <neck>Ravager's Gorget</neck>
                <lear>Ravager's Earring</lear>
                <rear>Brutal Earring</rear>
                <body>Ravager's Lorica +2</body>
                <hands>$TPHands</hands>
                <lring>Mars's Ring</lring>
                <rring>Rajas Ring</rring>
                <back>Atheling Mantle</back>
                <waist>Goading Belt</waist>
                <legs>Ravager's Cuisses +2</legs>
                <feet>Ravager's Calligae +2</feet>
            </set>
            <set name="Ukko's Fury" BaseSet="Idle">
                <ammo>Ravager's Orb</ammo>
                <head>Ravager's mask +2</head>
                <lear>Ravager's Earring</lear>
                <neck>$WSNeck</neck>
                <body>$WSBody</body>
                <lring>Pyrosoul Ring</lring>
                <hands>Rvg. Mufflers +2</hands>
                <rring>Pyrosoul Ring</rring>
                <waist>Beir Belt +1</waist>
                <legs>$WSLegs</legs>
                <feet>Ravager's Calligae +2</feet>
                <back>Atheling Mantle</back>
            </set>
            <set name="King's Justice" BaseSet="Idle">
                <ammo>Ravager's Orb</ammo>
                <head>Ravager's Mask +2</head>
                <neck>$WSNeck</neck>
                <body>Grim Cuirass +1</body>
                <lring>Pyrosoul Ring</lring>
                <hands>Heafoc Mitts</hands>
                <rring>Pyrosoul Ring</rring>
                <waist>Beir Belt +1</waist>
                <lear>Ravager's Earring</lear>
                <legs>$WSLegs</legs>
                <feet>Ravager's Calligae +2</feet>
                <back>Athleing Mantle</back>
            </set>
            <set name="FC" BaseSet="Idle">
                <ammo>Ravager's Orb</ammo>
                <head>Ravager's Mask +2</head>
                <neck>$WSNeck</neck>
                <body>Grim Cuirass +1</body>
                <lring>Pyrosoul Ring</lring>
                <hands>Heafoc Mitts</hands>
                <rring>Pyrosoul Ring</rring>
                <waist>Beir Belt +1</waist>
                <lear>Ravager's Earring</lear>
                <legs>Calmecac Subligar</legs>
                <feet>Ravager's Calligae +2</feet>
                <back>Athleing Mantle</back>
            </set>
            <set name="BeserkWSUF" BaseSet="Ukko's Fury">
                <legs>Calmecac Subligar</legs>
                <body>Zahak's Mail</body>
                <neck>Rancor Collar</neck>
            </set>
            <set name="BeserkWSKJ" BaseSet="King's Justice">
                <legs>Calmecac Subligar</legs>
                <body>Zahak's Mail</body>
                <neck>Rancor Collar</neck>
            </set>
            <set name="PDT" BaseSet="Idle">
                <ammo>Angha Gem</ammo>
                <head>Chersos Helm</head>
                <neck>Wiglen Gorget</neck>
                <rear>Ravager's Earring</rear>
                <lear>Brutal Earring</lear>
                <body>Mekira Toshugai +1</body>
                <hands>Magma Gauntlets</hands>
                <lring>Dark Ring</lring>
                <back>Mollusca Mantle</back>
                <rring>Dark Ring</rring>
                <waist>Flume Belt</waist>
                <legs>Blitzer Poleyn</legs>
                <feet>Jingang Greaves</feet>
            </set>
            <set name="MDT" BaseSet="Idle">
                <ammo>Demonry Stone</ammo>
                <head>Noesis Helm</head>
                <neck>Twilight Torque</neck>
                <rear>Merman's Earring</rear>
                <body>Merman's Harness</body>
                <lear>Merman's Earring</lear>
                <hands>Magma Gauntlets</hands>
                <lring>Dark Ring</lring>
                <rring>Minerva's Ring</rring>
                <back>Mollusca Mantle</back>
                <waist>Nierenschutz</waist>
                <legs>Merman's Subligar</legs>
                <feet>Askar Gambieras</feet>
            </set>
            <set name="Blood Rage">
                <body>Rvg. Lorica +2</body>
            </set>
            <set name="Retaliation">
                <feet>Ravager's Calligae +2</feet>
            </set>    
            <set name="Warcry">
                <head>Warrior's Mask</head>
            </set>
            <set name="Aggressor">
                <body>Warrior's Lorica</body>
            </set>
            <set name="Berserk">
                <feet>Warrior's Calligae</feet>
            </set>
            <set name="Restraint">
                <hands>Rvg. Mufflers +2</hands>
            </set>
            <set name="Reraise">
                <head>Twilight Helm</head>
                <body>Twilight Mail</body>
            </set>
        </group>
    </sets>
    <rules>
        <equip when="Idle" set="Idle" />
        <if Area="Abyssea*">
            <if status="engaged">
                <equip when="engaged" set="TPA" />
                <defaulttarget Target="<t>" />
            </if>
        </if>
        <else>
            <if status="engaged">
                <equip when="engaged" set="TP" />
                <defaulttarget Target="<t>" />
            </if>
        </else>
        <if spell="Raise*">
            <equip when="precast" set="Reraise" />
            <equip when="aftercast" set="Reraise" />
        </if>
        <if spell="Stone V">
            <equip when="precast|midcast|aftercast" set="PDT" />
        </if>
        <elseif spell="Water V">
            <equip when="precast|midcast|aftercast" set="MDT" />
        </elseif>
        <if mode="and" spell="Utsusemi*" status="engaged">
            <equip when="precast" set="FaCa" />
            <equip when="aftercast" set="TP" />
        </if>
        <if mode="and" spell="Utsusemi*" status="idle">
            <equip when="precast" set="FaCa" />
            <equip when="aftercast" set="Idle" />
        </if>
        <if spell="Utsusemi: Ichi" BuffActive="Copy Image|Copy Image (2)" NotBuffActive="Silence|Mute|Omerta|Obliviscence">
            <midcastdelay delay="3.0" />
            <command when="midcast">cancel 66</command>
        </if>
        <if spell="Restraint|Blood Rage|Retaliation|Warcry|Aggressor|Berserk">
            <castdealy delay=".2"/>
            <equip when="precast" set="%Spell" />
            <equip when="aftercast" set="tp" />
        </if>
        <if status="engaged" BuffActive="Restraint">
            <equip when="engaged|aftercast">
                <hands lock="yes">Rvg. Mufflers +2</hands>
            </equip>
        </if>
<if type = "Weaponskill">
            <if status = "Engaged" NotTPLT = "100">
                <castdelay delay = "0.2" />
                <aftercastdelay delay = "0.8" />
                    <if spell = "Ukko's Fury">
						<if buffactive = "Berserk">
							<equip when="engaged|precast" set = "BerserkWSUF" />
							<addtochat>***** Gear Equipped: Berserk %Spell *****</addtochat>
							<equip when="aftercast" set="TP" />
						</if>
						<else>
							<equip when="engaged|precast" set = "Ukko's Fury" />
							<addtochat>***** Gear Equipped: %Spell *****</addtochat>
							<equip when="aftercast" set="TP" />
						</else>
					</if>
                    <if spell = "King's Justice">
						<if buffactive = "Berserk">
							<equip when="engaged|precast" set = "BerserkWSKJ" />
							<addtochat>***** Gear Equipped: Berserk %Spell *****</addtochat>
							<equip when="aftercast" set="TP" />
						</if>
						<else>
							<equip when="precast" set = "King's Justice" />
							<addtochat>***** Gear Equipped: %Spell *****</addtochat>
							<equip when="aftercast" set="TP" />
						</else>
					</if>
					<if spell="Fell Cleave">
						<equip when="precast" set="FC" />
						<equip when="aftercast" set="TP" />
					</if>
            </if>
</if>
    </rules>
</spellcast>



Try that and let me know if it's still messing up, I just redid the weaponskill section.

EDIT: slow.
 Bahamut.Kimbyr
Offline
Server: Bahamut
Game: FFXI
Posts: 11
By Bahamut.Kimbyr 2011-12-14 11:08:31
Link | Quote | Reply
 
Wouldn't it be better to do something like
Code
<if spell = "Ukko's Fury">
					<if  BuffActive = "Berserk">
						<equip  when="precast" set = "BerserkWSUF" />
						<addtochat>***** Gear Equipped: Berserk %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
					<else>
						<equip  when="precast" set = "%Spell" />
						<addtochat>***** Gear Equipped: %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
					</else>
					</if>
				</if>


and repeat it for each ws?
 Bahamut.Kazius
Offline
Server: Bahamut
Game: FFXI
Posts: 87
By Bahamut.Kazius 2011-12-14 11:11:20
Link | Quote | Reply
 
Bahamut.Kimbyr said: »
Wouldn't it be better to do something like
Code
<if spell = "Ukko's Fury">
					<if  BuffActive = "Berserk">
						<equip  when="precast" set = "BerserkWSUF" />
						<addtochat>***** Gear Equipped: Berserk %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
					<else>
						<equip  when="precast" set = "%Spell" />
						<addtochat>***** Gear Equipped: %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
					</else>
					</if>
				</if>


and repeat it for each ws?

Pretty much what I did.
 Carbuncle.Wulfshadow
Offline
Server: Carbuncle
Game: FFXI
Posts: 486
By Carbuncle.Wulfshadow 2011-12-14 11:13:05
Link | Quote | Reply
 
Bahamut.Kimbyr said: »
Wouldn't it be better to do something like
Code
<if spell = "Ukko's Fury">
					<if  BuffActive = "Berserk">
						<equip  when="precast" set = "BerserkWSUF" />
						<addtochat>***** Gear Equipped: Berserk %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
					<else>
						<equip  when="precast" set = "%Spell" />
						<addtochat>***** Gear Equipped: %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
					</else>
					</if>
				</if>


and repeat it for each ws?
Your first </if> tag should go before the else, like this:
Code
<if spell = "Ukko's Fury">
					<if  BuffActive = "Berserk">
						<equip  when="precast" set = "BerserkWSUF" />
						<addtochat>***** Gear Equipped: Berserk %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
                    </if>
					<else>
						<equip  when="precast" set = "%Spell" />
						<addtochat>***** Gear Equipped: %Spell *****</addtochat>
						<equip when="aftercast" set="TP" />
					</else>
				</if>


But that's the format I use for my buff situational gear swaps regarding certain actions like weaponskills or jobabilities
 Bahamut.Attribute
Offline
Server: Bahamut
Game: FFXI
user: XGP0001
Posts: 371
By Bahamut.Attribute 2011-12-15 07:22:55
Link | Quote | Reply
 
We got everything working now except for when Berserk is up. When Zerk is up NO WS will change to gears. Besides that everything works 100% perfect.
Code
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
    <config
        Debug="true"
        HideErrors="false"
        ShowGearSwaps="false"
        ShowSpellInfo="false"
        />
    <variables>
	<!-- BUFF GEAR -->
	<var name="TPHands">Timarli Dastanas</var>
	<var name="WSFeet">Rvg. Calligae +2</var>
	<var name="WSLegs">Rvg. Cuisses +2</var>
	<var name="WSNeck">Ire Torque +1</var>
	<var name="WSBody">Grim Cuirass +1</var>
	</variables>
    <sets>
        <group name="Main" default="yes">
            <set name="Idle">
                <ammo>Ravager's Orb</ammo>
                <head>Champion's Galea</head>
                <neck>Ravager's Gorget</neck>
                <lear>Ravager's Earring</lear>
                <rear>Brutal Earring</rear>
                <body>Ravager's Lorica +2</body>
                <hands>Timarli Dastanas</hands>
                <lring>Mars's Ring</lring>
                <rring>Rajas Ring</rring>
                <back>Atheling Mantle</back>
                <waist>Goading Belt</waist>
                <legs>Ravager's Cuisses +2</legs>
                <feet>Ravager's Calligae +2</feet>
            </set>
			<!-- OUTSIDE ABYSSEA SETS -->
            <set name="TP" BaseSet="Idle">
                <ammo>Ravager's Orb</ammo>
                <head>Champion's Galea</head>
                <neck>Ravager's Gorget</neck>
                <lear>Ravager's Earring</lear>
                <rear>Brutal Earring</rear>
                <body>Ravager's Lorica +2</body>
                <hands>$TPHands</hands>
                <lring>Mars's Ring</lring>
                <rring>Rajas Ring</rring>
                <back>Atheling Mantle</back>
                <waist>Goading Belt</waist>
                <legs>Ravager's Cuisses +2</legs>
                <feet>Ravager's Calligae +2</feet>
            </set>
			 <set name="Ukko's Fury" BaseSet="Idle">
                <ammo>Ravager's Orb</ammo>
                <head>Ravager's mask +2</head>
                <lear>Ravager's Earring</lear>
                <neck>$WSNeck</neck>
                <body>$WSBody</body>
                <lring>Pyrosoul Ring</lring>
                <hands>Rvg. Mufflers +2</hands>
                <rring>Pyrosoul Ring</rring>
                <waist>Beir Belt +1</waist>
                <legs>$WSLegs</legs>
                <feet>Ravager's Calligae +2</feet>
                <back>Atheling Mantle</back>
            </set>
            <set name="Raging Rush" BaseSet="Idle">
                <ammo>Ravager's Orb</ammo>
                <head>Ravager's Mask +2</head>
                <neck>$WSNeck</neck>
                <body>Grim Cuirass +1</body>
                <lring>Pyrosoul Ring</lring>
                <hands>Heafoc Mitts</hands>
				<rring>Pyrosoul Ring</rring>
                <waist>Beir Belt +1</waist>
                <lear>Ravager's Earring</lear>
                <legs>$WSLegs</legs>
                <feet>Ravager's Calligae +2</feet>
                <back>Athleing Mantle</back>
            </set>
            <set name="Fell Cleave" BaseSet="Idle">
                <ammo>Ravager's Orb</ammo>
                <head>Ravager's Mask +2</head>
                <neck>$WSNeck</neck>
                <body>Grim Cuirass +1</body>
                <lring>Pyrosoul Ring</lring>
                <hands>Heafoc Mitts</hands>
				<rring>Pyrosoul Ring</rring>
                <waist>Beir Belt +1</waist>
                <lear>Ravager's Earring</lear>
                <legs>Calmecac Subligar</legs>
                <feet>Ravager's Calligae +2</feet>
                <back>Athleing Mantle</back>
            </set>
			<set name="BeserkWSUF" BaseSet="Ukko's Fury">
				<legs>Calmecac Subligar</legs>
				<body>Zahak's Mail</body>
				<neck>Rancor Collar</neck>
			</set>
			<set name="BeserkWSKJ" BaseSet="Raging Rush">
				<legs>Calmecac Subligar</legs>
				<body>Zahak's Mail</body>
				<neck>Rancor Collar</neck>
			</set>
			<set name="PDT" BaseSet="Idle">
			    <ammo>Angha Gem</ammo>
				<head>Chersos Helm</head>
				<neck>Wiglen Gorget</neck>
				<rear>Ravager's Earring</rear>
				<lear>Brutal Earring</lear>
				<body>Mekira Toshugai +1</body>
				<hands>Magma Gauntlets</hands>
				<lring>Dark Ring</lring>
				<back>Mollusca Mantle</back>
				<rring>Dark Ring</rring>
				<waist>Flume Belt</waist>
				<legs>Blitzer Poleyn</legs>
				<feet>Jingang Greaves</feet>
			</set>
			<set name="MDT" BaseSet="Idle">
			    <ammo>Demonry Stone</ammo>
				<head>Noesis Helm</head>
				<neck>Twilight Torque</neck>
				<rear>Merman's Earring</rear>
				<body>Merman's Harness</body>
				<lear>Merman's Earring</lear>
				<hands>Magma Gauntlets</hands>
				<lring>Dark Ring</lring>
				<rring>Minerva's Ring</rring>
				<back>Mollusca Mantle</back>
				<waist>Nierenschutz</waist>
				<legs>Merman's Subligar</legs>
				<feet>Askar Gambieras</feet>
			</set>
			<set name="Blood Rage">
				<body>Rvg. Lorica +2</body>
			</set>
			<set name="Retaliation">
				<feet>Ravager's Calligae +2</feet>
			</set>	
			<set name="Warcry">
				<head>Warrior's Mask</head>
			</set>
			<set name="Aggressor">
					<body>Warrior's Lorica</body>
			</set>
			<set name="Berserk">
					<feet>Warrior's Calligae</feet>
			</set>
			<set name="Restraint">
                <hands>Rvg. Mufflers +2</hands>
            </set>
			<set name="Reraise">
                <head>Twilight Helm</head>
                <body>Twilight Mail</body>
            </set>
        </group>
    </sets>
    <rules>
        <equip when="Idle" set="Idle" />
        <if Area="Abyssea*">
		<if status="engaged">
            <equip when="engaged" set="TPA" />
            <defaulttarget Target="<t>" />
        </if>
		</if>
        <else>
		<if status="engaged">
            <equip when="engaged" set="TP" />
            <defaulttarget Target="<t>" />
        </if>
		</else>
        <if spell="Raise*">
            <equip when="precast" set="Reraise" />
      		<equip when="aftercast" set="Reraise" />
        </if>
        <if spell="Stone V">
			<equip when="precast|midcast|aftercast" set="PDT" />
		</if>
		
		<elseif spell="Water V">
			<equip when="precast|midcast|aftercast" set="MDT" />
		</elseif>
       <if mode="and" spell="Utsusemi*" status="engaged">
			<equip when="precast" set="FaCa" />
			<equip when="aftercast" set="TP" />
		</if>
		
		<if mode="and" spell="Utsusemi*" status="idle">
			<equip when="precast" set="FaCa" />
			<equip when="aftercast" set="Idle" />
		</if>
		<if spell="Utsusemi: Ichi" BuffActive="Copy Image|Copy Image (2)" NotBuffActive="Silence|Mute|Omerta|Obliviscence">
			<midcastdelay delay="3.0" />
			<command when="midcast">cancel 66</command>
		</if>

	<if spell="Restraint|Blood Rage|Retaliation|Warcry|Aggressor|Berserk">
			<castdealy delay=".2"/>
			<equip when="precast" set="%Spell" />
			<equip when="aftercast" set="tp" />
	</if>
	<if status="engaged" BuffActive="Restraint">
	     <equip when="engaged|aftercast">
	     <hands lock="yes">Rvg. Mufflers +2</hands>
	     </equip>
	</if>
	<if spell = "Ukko's Fury">
                    <if  BuffActive = "Berserk">
                        <equip  when="precast" set ="BerserkWSUF" />
                        <addtochat>***** Gear Equipped: Berserk %Spell *****</addtochat>
                        <equip when="aftercast" set="TP" />
                    </if>
                    <else>
                        <equip  when="precast" set ="%Spell" />
                        <addtochat>***** Gear Equipped: %Spell *****</addtochat>
                        <equip when="aftercast" set="TP" />
                    </else>
                </if>
	</rules>

</spellcast>
 Shiva.Phar
Offline
Server: Shiva
Game: FFXI
user: Pharoahe
Posts: 2
By Shiva.Phar 2011-12-16 04:59:05
Link | Quote | Reply
 
It's because berserk is spelled different in the rules and set name. Line 92 it is "BeserkWSUF"
Rules you used "BerserkWSUF"
[+]
Log in to post.