Item Search
     
BG-Wiki Search
Page 56 of 328 FirstFirst ... 6 46 54 55 56 57 58 66 106 ... LastLast
Results 1101 to 1120 of 6548
  1. #1101
    Salvage Bans
    Join Date
    Aug 2006
    Posts
    932
    BG Level
    5
    FFXIV Character
    Mist Monster
    FFXIV Server
    Leviathan
    FFXI Server
    Fenrir

    Quote Originally Posted by Phoenyx View Post
    Code:
    <if spell="autoset">
                <action type="equip" when="resting" set="Resting" /> 
                <action type="equip" when="idle" set="Standard" /> 
                <action type="equip" when="engaged" set="Engaged" />
     
            </if>
    grrr I have tried that. After ws it puts my idle gear back on. I must have something else in my code causing it to do that. As soon as I figure out paste bin I'll post in a few

  2. #1102
    Relic Shield
    Join Date
    Sep 2007
    Posts
    1,825
    BG Level
    6
    FFXI Server
    Quetzalcoatl

    Code:
        <if advanced='"%Status"="engaged"'>
            <action type="equip" when="engaged|aftercast" set="Engaged" />
        </if>
        <elseif advanced='"%Status"="idle"'>
            <action type="equip" when="idle|aftercast" set="Idle" />
        </elseif>
        <elseif advanced='"%Status"="resting"'>
            <action type="equip" when="resting|aftercast" set="Resting" />
        </elseif>

  3. #1103
    Sword of the House of Weave
    Join Date
    Jun 2010
    Posts
    542
    BG Level
    5
    FFXIV Character
    Phoenyx Pendragon
    FFXIV Server
    Ultima
    FFXI Server
    Siren

    Quote Originally Posted by mistmonster View Post
    grrr I have tried that. After ws it puts my idle gear back on. I must have something else in my code causing it to do that. As soon as I figure out paste bin I'll post in a few
    Might try something like this for your WS rule.

    Code:
    <if Type="WS_Name" NotTPLT="100">
                <action type="castdelay" delay=".2" />
                <action type="Equip" when="Precast" set="WS_Set" />
                <action type="Equip" when="Aftercast" set="Engaged" />

  4. #1104
    Relic Shield
    Join Date
    Sep 2007
    Posts
    1,825
    BG Level
    6
    FFXI Server
    Quetzalcoatl

    Honestly, if you don't use dummy spells and your sets are named "Idle", "Engaged" and "Resting" you should be able to just use
    Code:
    <action type="equip" when="%Status|aftercast" set="%Status" />
    Same thing as I posted above basically, but it doesn't fill as much and it requires you to have your sets named that^

  5. #1105
    Sea Torques
    Join Date
    Aug 2007
    Posts
    725
    BG Level
    5
    FFXI Server
    Ramuh

    Quote Originally Posted by Zamil View Post
    Ok i fixed the spells xml on my list, but my gear is still not switching to my recast gear.
    <elseif spell="Haste|Refresh*|Refresh II">
    <equip when="precast" set="Recast"/>
    <equip when="done" set="idle"/>
    </elseif>
    Is there something i need to change?
    You don't need refresh*|refresh II: refresh* picks both I and II

  6. #1106
    Salvage Bans
    Join Date
    Aug 2006
    Posts
    932
    BG Level
    5
    FFXIV Character
    Mist Monster
    FFXIV Server
    Leviathan
    FFXI Server
    Fenrir

    Thank you Phoenyx and Massimo! the xml seems to be doing exactly what I want it to

    Here is the whole thing. The ws autoset might be redundant now, but not sure. Anything you would do differently? (please ignore the mixed drk ws in a mnk sc, i just have it there as a place holder at this time I didn't want them to match anything. Baby steps ><) (oh and thanks to the folks that I copy/pasted some of this stuff from)

    Spoiler: show

    Code:
    <rules>
    
    <!-- Engage Rules -->
    	<action type="equip" when="%Status|aftercast" set="%Status" />
    
    <!-- Shadow Rules --> 
    	<if spell="Utsusemi: Ni"> 
            <action type="equip" when="Precast" set="haste"/> 
            </if> 
            <elseif spell="Utsusemi: Ichi"> 
                <action type="Equip" set="evasion" /> 
                <action type="midcastdelay" delay="2.6" /> 
                <action type="Command" when="midcast">cancel 66</action> 
            </elseif>
    
    <!-- Job Ability Rules -->
    <if type="JobAbility">
        <if spell="Chakra">
            <action type = "defaulttarget" target = "&lt;me&gt;"/>
            <action type="equip" when="precast" set="chakra" />
            <action type="castdelay" delay="0.5" />
        </if>
        <elseif spell="Chi Blast">
            <action type="equip" when="precast" set="mind" />
            <action type="castdelay" delay=".5" />
        </elseif>
        <elseif spell="Focus">
            <action type="equip" when="precast" set="focus" />
            <action type="castdelay" delay=".5" />
        </elseif>
        <elseif spell="Dodge">
            <action type="equip" when="precast" set="dodge" />
            <action type="castdelay" delay=".5" />
        </elseif>
    	    <elseif spell="Counterstance">
            <action type="equip" when="precast" set="counterstance" />
            <action type="castdelay" delay=".5" />
        </elseif>
        <elseif spell="Provoke">
            <action type="equip" when="precast" set="emnity" />
        </elseif>
    	    <elseif spell="Boost">
            <action type="equip" when="precast" set="boost" />
            <action type="castdelay" delay=".5" />
        </elseif>
    			<elseif Spell="*Waltz*">
    			<action Type="Equip" when="precast" set="waltz" />
    			<action Type="Equip" when="midcast" set="idle" />
    			<action Type="Command" when="AfterCast">input /echo [Waltz: %Spell] === $_Set Gear ===</action>
    			</elseif>
    </if>		
    
    <!-- WS Rules -->		
            <if CommandPrefix="/weaponskill|/ws">
    	    <!-- begin ws checker; stops you from WSing if above 5.0 distance -->
    	    <if mode="OR" advanced='%spelltargetdistance &gt; 5.0' tplt="100">
                    <cancelspell />
                    <command>input /echo Target out of range. %spell cancelled.</command>
                    <return />
                </if>
                <else>
    		<if Group="mnk_nin">
    	        <if Spell="Spinning Slash">
    				<castdelay delay="0.2"/>
    				<equip when="Precast" set="Spinning Slash" />
    		    </if>
    		    <elseif Spell="Spiral Hell">
    				<castdelay delay="0.2"/>
    				<equip when="Precast" set="Spiral Hell" />
    		    </elseif>
    	        <else>
    			<castdelay delay="0.2"/>
    				<equip when="Precast" set="ws" />
    				<equip when="Aftercast" set="engaged" />
    				<command when = "Aftercast">wait 3; input  /lockon</command>
    		    </else>
    		</if>
    	    </else>
            </if>
    </rules>

  7. #1107
    D. Ring
    Join Date
    Jul 2008
    Posts
    4,529
    BG Level
    7
    FFXI Server
    Phoenix

    Does anyone have any good MNK .xmls they wouldn't mind sharing? Pretty retarded when it comes to making them so I would love something good to use as a base.

  8. #1108
    Fishing Guru
    Join Date
    Jan 2007
    Posts
    4,722
    BG Level
    7

    Has anyone figured out the spellcast for BLM Uggy/Goetia Chain/Artemis medal? I finally picked up an artemis medal this morning after 1month+ of none on the AH on Odin, pretty pumped to start using it.

  9. #1109
    Hydra
    Join Date
    Jun 2008
    Posts
    140
    BG Level
    3

    hello,my friend got some problems with this pup xml!he wants it to equip specific staff based on what frames he uses (he sets that with a variable). "Typical PUP stuff: When engaged, I want it to equip maneuver then TP build after maneuver. When idling, I want it to equip maneuver build then Idle build after".unfortunately it doesnt equip the right set.this is the pastebin: http://pastebin.com/2mNWwp6d
    any hel is appreciated!ty in advance!

  10. #1110
    Smells like Onions
    Join Date
    Nov 2009
    Posts
    9
    BG Level
    0
    FFXI Server
    Alexander

    I'm having a problem with my PLD XML. Fairly often, I crash when disengaging a mob. I figure, since it only happens on PLD, it's probably a spellcast issue. I've never had this occur on any other job. But I can't find any errors in my xml, either by eye or by error checking tools. Can someone put a fresh pair of eyes on it for me?

    I would have posted it on pastebin, but I guess I lurk too much and can't post urls.
    Spoiler: show
    <?xml version="1.0" ?>
    <spellcast>
    <config RequireVersion="2.22"
    HideErrors="false"
    ShowGearSwaps="false"
    Debug="true"
    ShowspellInfo="false"
    />
    <variables>
    <!-- Checks -->
    <var name="ParadeCheck">Parade Gorget</var>
    <var name="RitterCheck">Ritter Gorget</var>
    <var name="HerculesCheck">Hercules' Ring</var>
    <var name="VITBackCheck">Knightly Mantle</var>
    <!-- Equipment -->
    <var name="ShadowMantle">Shadow Mantle</var>
    <var name="KnightlyMantle">Knightly Mantle</var>
    <var name="ParadeGorget">Parade Gorget</var>
    <var name="PeacockCharm">Peacock Charm</var>
    <var name="ShieldTorque">Shield Torque</var>
    <var name="HerculesRing">Hercules' Ring</var>
    <var name="RitterGorget">Ritter Gorget</var>
    <!-- Manual Set -->
    <var name="RightEarringVariable">Brutal earring</var>
    <!-- Miscellaneous -->
    <var name="LASTCAST">Ichi</var>
    </variables>
    <sets>
    <group name="PLD_WAR" default="yes">
    <set name="MiscGearcollector">
    <main>Joyeuse</main>
    <ammo>Fenrir's stone</ammo>
    <ammo>Bibiki seashell</ammo>
    <sub>Seigneur Shield</sub>
    <sub>Sentinel Shield</sub>
    <lear>Fowling earring</lear>
    <rring>Bomb Queen Ring</rring>
    </set>
    <set name="Standard">
    <head>Champion's Galea</head>
    <body>Nuevo coselete</body>
    <back>Shadow Mantle</back>
    <neck>$ParadeCheck</neck>
    <hands>Perle moufles</hands>
    <waist>Swift belt</waist>
    <lear>Suppanomimi</lear>
    <rear>$RightEarringVariable</rear>
    <lring>Rajas Ring</lring>
    <rring>Iota Ring</rring>
    <legs>Perle Brayettes</legs>
    <feet>Gallant leggings</feet>
    </set>
    <set name="Resting">
    <body>Vermillion cloak</body>
    <neck>Parade Gorget</neck>
    <lring>Hercules' Ring</lring>
    <waist>Hierarch belt</waist>
    </set>
    <set name="Idling">
    <body>Nuevo coselete</body>
    <head>Walahra turban</head>
    <hands>I.R. Dastanas</hands>
    <neck>Parade Gorget</neck>
    <waist>$IdleBeltCheck</waist>
    <lring>Hercules' Ring</lring>
    <rring>Shadow Ring</rring>
    <legs>Blood cuisses</legs>
    <feet>Gallant Leggings</feet>
    <back>Shadow Mantle</back>
    </set>
    <set name="Enmity">
    <body>Iron Ram Hauberk</body>
    <head>Aegishjalmr</head>
    <back>Resentment Cape</back>
    <neck>Ritter Gorget</neck>
    <hands>I.R. Dastanas</hands>
    <legs>Valor breeches</legs>
    <waist>Warwolf belt</waist>
    <lring>Mermaid Ring</lring>
    <rring>Hercules' Ring</rring>
    </set>
    <set name="WS" baseset="Standard">
    <head>Perle salade</head>
    <body>Perle Hauberk</body>
    <back>Shadow Mantle</back>
    <neck>Peacock Charm</neck>
    <hands>Perle moufles</hands>
    <waist>Potent belt</waist>
    <lear>Suppanomimi</lear>
    <rear>Brutal earring</rear>
    <lring>Iota ring</lring>
    <rring>Rajas ring</rring>
    <legs>Perle Brayettes</legs>
    <feet>Perle Solerets</feet>
    </set>
    <set name="Cure" baseset="Standard">
    <head>Champion's Galea</head>
    <back>Boxer's Mantle</back>
    <neck>Shield Torque</neck>
    <hands>I.R. Dastanas</hands>
    <waist>Resolute belt</waist>
    <body>Nuevo coselete</body>
    <rear>Buckler earring</rear>
    <legs>Valor Breeches</legs>
    <lring>Mermaid ring</lring>
    <rring>Hercules' ring</rring>
    </set>
    <set name="Cover" baseset="Standard">
    <head>Gallant coronet</head>
    <body>Valor surcoat</body>
    </set>
    <set name="FastCast">
    <head>Walahra Turban</head>
    <body>Nuevo Coselete</body>
    <rear>Loquac. earring</rear>
    <waist>Swift Belt</waist>
    <hands>Perle Moufles</hands>
    <feet>Perle Solerets</feet>
    </set>
    <set name="Flash">
    <head>Walahra Turban</head>
    <body>Nuevo coselete</body>
    <hands>Perle Moufles</hands>
    <neck>Ritter gorget</neck>
    <waist>Swift belt</waist>
    <legs>Valor breeches</legs>
    <rear>Loquac. earring</rear>
    <lring>Mermaid ring</lring>
    <rring>Hercules' ring</rring>
    <feet>Perle Solerets</feet>
    </set>
    <set name="Waltz">
    <head>Champion's galea</head>
    <body>Nuevo Coselete</body>
    <back>$VITBackCheck</back>
    </set>
    <set name="Refresh">
    <body>Vermillion cloak</body>
    <neck>Parade Gorget</neck>
    <lring>Hercules' Ring</lring>
    </set>
    <set name="MDB">
    <back>Lamia Mantle +1</back>
    <head>Champion's Galea</head>
    <hands>I.R. Dastanas</hands>
    <waist>Resolute belt</waist>
    <rring>Shadow Ring</rring>
    <body>Iron Ram Hauberk</body>
    <legs>Blood cuisses</legs>
    <feet>Gallant leggings</feet>
    <lring>Iota ring</lring>
    <lear>Arete del sol</lear>
    <rear>Merman's earring</rear>
    </set>
    <set name="PDT">
    <head>Champion's Galea</head>
    <hands>I.R. Dastanas</hands>
    <feet>Gallant leggings</feet>
    <legs>Perle brayettes</legs>
    <waist>Warwolf belt</waist>
    <back>Shadow Mantle</back>
    <lring>Jelly Ring</lring>
    <rring>Hercules' ring</rring>
    <neck>Shield torque</neck>
    <ammo>Bibiki seashell</ammo>
    <lear>Suppanomimi</lear>
    <rear>Buckler earring</rear>
    </set>
    </group>
    <group name="FullDMG" inherit="PLD_WAR">
    <set name="Standard">
    <head>Perle salade</head>
    <body>Perle Hauberk</body>
    <back>Shadow Mantle</back>
    <neck>Peacock Charm</neck>
    <hands>Perle moufles</hands>
    <waist>Swift belt</waist>
    <lear>Suppanomimi</lear>
    <rear>Brutal earring</rear>
    <lring>Iota ring</lring>
    <rring>Rajas ring</rring>
    <legs>Perle Brayettes</legs>
    <feet>Perle Solerets</feet>
    </set>
    </group>
    <group name="Enmity" inherit="PLD_WAR">
    <set name="Standard">
    <head>Aegishjalmr</head>
    <body>Iron Ram Hauberk</body>
    <back>Shadow Mantle</back>
    <neck>Ritter Gorget</neck>
    <hands>I.R. Dastanas</hands>
    <waist>Swift belt</waist>
    <lear>Suppanomimi</lear>
    <rear>Brutal earring</rear>
    <lring>Mermaid ring</lring>
    <rring>Hercules' ring</rring>
    <legs>Valor breeches</legs>
    <feet>Perle Solerets</feet>
    </set>
    <set name="MDB" baseset="MDB" basegroup="PLD_WAR" />
    <set name="Refresh" baseset="Refresh" basegroup="PLD_WAR" />
    <set name="FastCast" baseset="FastCast" basegroup="PLD_WAR" />
    <set name="Cure" baseset="Cure" basegroup="PLD_WAR" />
    <set name="Flash" baseset="Flash" basegroup="PLD_WAR" />
    <set name="Enmity" baseset="Enmity" basegroup="PLD_WAR" />
    </group>
    <group name="PLD_NIN" inherit="PLD_WAR" />
    <group name="PLD_NINDMG" inherit="PLD_WAR" />
    <group name="PLD_RDM" inherit="PLD_WAR" />
    <group name="MDT" inherit="PLD_WAR">
    <set name="Standard" baseset="Standard" basegroup="PLD_WAR">
    <back>Lamia Mantle +1</back>
    <head>Gallant Coronet</head>
    <hands>I.R. Dastanas</hands>
    <waist>Resolute belt</waist>
    <rring>Shadow Ring</rring>
    <body>Iron Ram Hauberk</body>
    </set>
    <set name="Refresh" baseset="Refresh" basegroup="PLD_WAR" />
    <set name="FastCast" baseset="FastCast" basegroup="PLD_WAR" />
    <set name="Cure" baseset="Cure" basegroup="PLD_WAR" />
    <set name="Flash" baseset="Flash" basegroup="PLD_WAR" />
    <set name="Enmity" baseset="Enmity" basegroup="PLD_WAR" />
    </group>
    <group name="PDT" inherit="PLD_WAR" />
    <group name="Kite-PDT" inherit="PLD_WAR">
    <set name="Standard">
    <head>Aegishjalmr</head>
    <body>Iron ram hauberk</body>
    <back>Shadow Mantle</back>
    <neck>$RitterCheck</neck>
    <hands>I.R. Dastanas</hands>
    <waist>Warwolf belt</waist>
    <lear>Arete del sol</lear>
    <rear>Loquac. earring</rear>
    <lring>Hercules' Ring</lring>
    <rring>Shadow Ring</rring>
    <legs>Blood cuisses</legs>
    <feet>Perle solerets</feet>
    </set>
    <set name="Idling">
    <head>Aegishjalmr</head>
    <body>Nuevo coselete</body>
    <back>Shadow Mantle</back>
    <neck>$RitterCheck</neck>
    <hands>I.R. Dastanas</hands>
    <waist>Warwolf belt</waist>
    <lear>Arete del sol</lear>
    <rear>Loquac. earring</rear>
    <lring>Hercules' Ring</lring>
    <rring>Shadow Ring</rring>
    <legs>Blood cuisses</legs>
    <feet>Perle solerets</feet>
    </set>
    <set name="Refresh" baseset="Refresh" basegroup="PLD_WAR" />
    <set name="FastCast" baseset="FastCast" basegroup="PLD_WAR" />
    <set name="Cure" baseset="Cure" basegroup="PLD_WAR" />
    <set name="Flash" baseset="Flash" basegroup="PLD_WAR" />
    <set name="Enmity" baseset="Enmity" basegroup="PLD_WAR" />
    <set name="MDB" baseset="MDB" basegroup="PLD_WAR" />
    </group>
    <group name="FireResist" inherit="PLD_WAR">
    <set name="Standard" baseset="Standard" basegroup="PLD_NIN">
    <main>Water Staff</main>
    <sub>Shark Strap</sub>
    <back>Lamia Mantle +1</back>
    <legs>Blood cuisses</legs>
    <hands>I.R. Dastanas</hands>
    <waist>Water belt</waist>
    <rring>Shadow Ring</rring>
    <neck>Jeweled collar</neck>
    <body>Iron Ram Hauberk</body>
    </set>
    <set name="Refresh" baseset="Refresh" basegroup="PLD_WAR" />
    <set name="FastCast" baseset="FastCast" basegroup="PLD_WAR" />
    <set name="Cure" baseset="Cure" basegroup="PLD_WAR" />
    <set name="Flash" baseset="Flash" basegroup="PLD_WAR" />
    <set name="Enmity" baseset="Enmity" basegroup="PLD_WAR" />
    <set name="MDB" baseset="MDB" basegroup="PLD_WAR" />
    </group>
    </sets>
    <rules>
    <!-- Shield Torque Check -->
    <if MPPLT="79" HPPGT="85">
    <action type="Var" cmd="set ParadeCheck $ParadeGorget" />
    </if>
    <else>
    <action type="Var" cmd="set ParadeCheck $ShieldTorque" />
    </else>

    <!-- Ritter Gorget Check -->
    <if MPPLT="79" HPPGT="85">
    <action type="Var" cmd="set RitterCheck $ParadeGorget" />
    </if>
    <else>
    <action type="Var" cmd="set RitterCheck $RitterGorget" />
    </else>

    <!-- Darksday Check for Shadow Mantle VIT -->
    <if advanced='("Dark" = "%DayElement")'>
    <action type="Var" cmd="set VITBackCheck $ShadowMantle" />
    </if>
    <else>
    <action type="Var" cmd="set VITBackCheck $KnightlyMantle" />
    </else>

    <!-- Status Checks -->
    <if BuffActive="Amnesia" CommandPrefix="/ja|/jobability|/ws|/weaponskill">
    <action Type="CancelSpell" />
    <action Type="Command">input /echo AMNESIA AMNESIA AMNESIA</action>
    </if>
    <if BuffActive="Stun">
    <action Type="CancelSpell" />
    <action Type="Command">input /echo STUNNED STUNED STUNNED</action>
    </if>
    <if BuffActive="Sleep">
    <action Type="CancelSpell" />
    <if PartyCountGT="1">
    <action Type="Command">input /p Zz</action>
    </if>
    </if>
    <if BuffActive="Terror">
    <action Type="CancelSpell" />
    <action Type="Command">input /echo TERROR TERROR TERROR</action>
    </if>

    <!-- Resting and Idling Rules -->
    <if set="Standard">
    <action type="equip" when="Idle" set="Idling" />
    <action type="equip" when="resting" set="Resting" />
    </if>

    <!-- RestoreSet Upon Engaging -->
    <if notset="Standard">
    <action type="equip" when="Engaged" set="Standard" />
    <action type="addtochat" when="Engaged">Engaging %target, %TargetHPP percent, equipping %group.</action>
    </if>

    <!-- Ninjutsu Handles -->
    <if type="Ninjutsu">
    <if notbuffactive="Silence">
    <!-- Handle Utsusemi Cancellation -->
    <if Spell="Utsusemi: Ni">
    <action type="equip" when="precast" set="FastCast" />
    <action type="Var" cmd="Set LASTCAST Ni" />
    <if status="Idle">
    <action type="Equip" when="aftercast" set="Idling" />
    <action type="addtochat" when="aftercast">Utsusemi: Ni Idle :: Equipping Idling</action>
    </if>
    <elseif status="Engaged">
    <action type="Equip" when="aftercast" set="Standard" />
    <action type="addtochat" when="aftercast">Utsusemi: Ni Engaged :: Equipping Standard</action>
    </elseif>
    </if>
    <elseif spell="Utsusemi: Ichi" >
    <action type="midcastdelay" delay="3.0" />
    <if mode="AND" BuffActive="Copy Image" advanced='"$LASTCAST"=="Ni"'>
    <action type="Command" when="midcast">cancel 66</action>
    </if>
    <action type="Var" cmd="Set LASTCAST Ichi" />

    <action type="Equip" when="midcast" set="FastCast" />
    <if status="Idle">
    <action type="Equip" when="aftercast" set="Idling" />
    <action type="addtochat" when="aftercast">Utsusemi: Ichi Idle :: Equipping Idling</action>
    </if>
    <elseif status="Engaged">
    <action type="Equip" when="aftercast" set="Standard" />
    <action type="addtochat" when="aftercast">Utsusemi: Ichi Engaged :: Equipping Standard</action>
    </elseif>



    </elseif>
    <!-- Cancel Sneak on Monomi cast -->
    <elseif mode="AND" spell="Mono*" buffactive="Sneak">
    <action type="midcastdelay" delay="2.4"/>
    <action type="Command" when="midcast">cancel 71</action>
    </elseif>

    </if>
    <!-- Automatically Healing Waltz -->
    <elseif buffactive="silence">
    <if subjob="DNC" tpgt="19">
    <action type="command">input /ja "Healing Waltz" &lt;me&gt;</action>
    </if>
    <action Type="CancelSpell" />
    </elseif>
    </if>

    <!-- White Magic Handles -->
    <elseif type="WhiteMagic">
    <!-- Sneak Spell Cancellation -->
    <if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTargetName"="%PlayerName"'>
    <action type="command" when="midcast">cancel 71</action>
    <action type="midcastdelay" delay="2.3" />
    </if>
    <!-- Cure handle -->
    <elseif spell="Cure*">
    <action type="Equip" when="precast" set="Cure" />
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </elseif>
    <!-- Flash handle -->
    <elseif spell="Flash">
    <action type="Equip" when="precast" set="Flash" />
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </elseif>
    <!-- FastCast Spell Handles -->
    <elseif spell="Pro*|Shell*|Reprisal|Holy|Banish*|Raise">
    <action type="Equip" when="precast" set="FastCast" />
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </elseif>
    </elseif>

    <elseif type="JobAbility">
    <!-- Spectral Jig Sneak Cancellation -->
    <if mode="AND" spell="Spectral Jig" bufactive="Sneak">
    <action type="Command" when="precast">cancel 71</action>
    </if>
    <!-- Enmity -->
    <elseif spell="Provoke|Rampart|Warcry|Yonin|Animated Flourish|Shield Bash|Holy Circle|Defender|Sentinel">
    <action type="equip" when="precast" set="Enmity" />
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </elseif>
    <elseif spell="Curing*">
    <action type="equip" when="precast" set="Waltz" />
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </elseif>
    </elseif>

    <!-- Weapon Skill Handles -->
    <elseif type="WeaponSkill">
    <if nottplt="100">
    <!-- Range Check -->
    <if TargetDistanceGT="3.9">
    <action type="cancelspell" />
    <action type="return" />
    </if>
    <!-- Equipment rules -->
    <action type="castdelay" delay=".5" />
    <if spell="Atonement">
    <action type="Equip" when="precast" set="Enmity"/>
    </if>
    <elseif spell="Fast Blade|Flat Blade|Savage Blade|Swift Blade|Vorpal Blade">
    <action type="Equip" when="precast" set="WS" />
    </elseif>
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </if>
    </elseif>

    </rules>
    </spellcast>

  11. #1111
    Radsourceful

    Join Date
    Jul 2007
    Posts
    1,964
    BG Level
    6
    FFXI Server
    Bismarck

    Quote Originally Posted by Akyrey90 View Post
    hello,my friend got some problems with this pup xml!he wants it to equip specific staff based on what frames he uses (he sets that with a variable). "Typical PUP stuff: When engaged, I want it to equip maneuver then TP build after maneuver. When idling, I want it to equip maneuver build then Idle build after".unfortunately it doesnt equip the right set.this is the pastebin: http://pastebin.com/2mNWwp6d
    any hel is appreciated!ty in advance!
    Don't need an advanced rule for status, and it was set to always equip the idle set - whichever set is determined last in the xml is the one that is equipped, unless you're using locks. Placed the aftercast set in an else (if engaged.... else..)

    http://radec.pastebin.com/At5PTTLU should fix it.

    If not I need you to be more specific with the problem.
    -When doesn't it equip the right set?
    -Does it work for some Frame variable setting and not others?
    -Can you post the included file as well?

    Dillu: <spoiler><code>YOUR XML</code></spoiler> That's a pain to read as is.

  12. #1112
    Fishing Guru
    Join Date
    Jan 2007
    Posts
    4,722
    BG Level
    7

    Alright Radec or other experts, here's a challenge for you!

    The rules I'm trying to implement are:
    If mp anything and moon is greater than 80% then artemis' medal.
    If mp is less than 50% and moon is less than 80% then uggy pendant
    If mp is greater than 50% and moon is greater than 40% then artemis medal (need to know if there's a +4 MAB)
    If mp is greater than 50% and moon is less than 40% then goetia chain

    I'll make an effort so you can have a chuckle:
    Code:
    <if moon="%MoonPCT <80">
    <equip><neck lock="t">artemis' medal</neck></equip>
    
    <elseif MPPAfterCastLT="50" and moon="%MoonPCT >80">
    <equip><neck lock="t">Uggalepih pendant</neck></equip>
    </elseif>
    
    <elseif MPPAfterCastGT="50" and moon="%MoonPCT <40">
    <equip><neck lock="t">artemis' medal</neck></equip>
    </elseif>
    
    <elseif MPPAfterCastGT="50" and moon="%MoonPCT >40">
    <equip><neck lock="t">Goetia Chain</neck></equip>
    </elseif>
    </if>

  13. #1113
    Radsourceful

    Join Date
    Jul 2007
    Posts
    1,964
    BG Level
    6
    FFXI Server
    Bismarck

    Code:
    <?xml version="1.0" ?>
    <spellcast>
    	<config RequireVersion="2.30" ShowGearSwaps="False" Debug="True"/>
    	<sets>
    		<group name="Main" default="yes">
    			<set name="Nuking">
    				Other Gear
    				<neck>Goetia Chain</neck>
    				Rest of your Gear
    			</set>
    		</group>
    	</sets>
    	<rules>
    	More Rules
    		<equip when="midcast" set="Nuking"/>
    		<if MPPAfterCastLT="50">
    			<equip when="midcast">
    				<neck lock="yes">Uggalepih Pendant</neck>
    			</equip>
    			<if advanced="'%MoonPCT'&gt;'80'">
    				<equip when="midcast">
    					<neck lock="yes">Artemis' Medal</neck>
    				</equip>
    			</if>
    		</if>
    		<elseif advanced="'%MoonPCT'&gt;'40'>
    			<equip when="midcast">
    				<neck lock="yes">Artemis' Medal</neck>
    			</equip>
    		</elseif>
    	More Rules
    	</rules>
    </spellcast>
    I assume you have goetia in main nuking set rather than specifically noted like artemis/ugga. MoonPCT doesn't appear to be perfect (or /clock doesn't correspond to what artemis's does), /clock gives me 12% but %moonPCT gives me 8, currently. I haven't really watched for this so there might be something else there. Check it out, and if you notice something is up let me know - if %MoonPCT lags behind real phase by 4%, we can check %moon for waxing or waning and adjust the trigger accordingly.

  14. #1114
    Fishing Guru
    Join Date
    Jan 2007
    Posts
    4,722
    BG Level
    7

    Thanks, gives me a reason to upgrade to 2.3, I'll play around with it soon. Much appreciated!

  15. #1115
    Campaign
    Join Date
    Jun 2007
    Posts
    6,942
    BG Level
    8

    quick question, is there a way to lock a piece of gear in place only when a certain ability is active? I have seen locking for weather/day/mp/moonphase etc.

    Edit never mind I can use Buff active rule.

    thx

  16. #1116
    Clever and witty, all together the ladies love the Nekura
    Join Date
    Jul 2007
    Posts
    1,009
    BG Level
    6
    FFXI Server
    Phoenix

    Quote Originally Posted by Dillu View Post
    I'm having a problem with my PLD XML. Fairly often, I crash when disengaging a mob. I figure, since it only happens on PLD, it's probably a spellcast issue. I've never had this occur on any other job. But I can't find any errors in my xml, either by eye or by error checking tools. Can someone put a fresh pair of eyes on it for me?

    I would have posted it on pastebin, but I guess I lurk too much and can't post urls.
    Spoiler: show
    <?xml version="1.0" ?>
    <spellcast>
    <config RequireVersion="2.22"
    HideErrors="false"
    ShowGearSwaps="false"
    Debug="true"
    ShowspellInfo="false"
    />
    <variables>
    <!-- Checks -->
    <var name="ParadeCheck">Parade Gorget</var>
    <var name="RitterCheck">Ritter Gorget</var>
    <var name="HerculesCheck">Hercules' Ring</var>
    <var name="VITBackCheck">Knightly Mantle</var>
    <!-- Equipment -->
    <var name="ShadowMantle">Shadow Mantle</var>
    <var name="KnightlyMantle">Knightly Mantle</var>
    <var name="ParadeGorget">Parade Gorget</var>
    <var name="PeacockCharm">Peacock Charm</var>
    <var name="ShieldTorque">Shield Torque</var>
    <var name="HerculesRing">Hercules' Ring</var>
    <var name="RitterGorget">Ritter Gorget</var>
    <!-- Manual Set -->
    <var name="RightEarringVariable">Brutal earring</var>
    <!-- Miscellaneous -->
    <var name="LASTCAST">Ichi</var>
    </variables>
    <sets>
    <group name="PLD_WAR" default="yes">
    <set name="MiscGearcollector">
    <main>Joyeuse</main>
    <ammo>Fenrir's stone</ammo>
    <ammo>Bibiki seashell</ammo>
    <sub>Seigneur Shield</sub>
    <sub>Sentinel Shield</sub>
    <lear>Fowling earring</lear>
    <rring>Bomb Queen Ring</rring>
    </set>
    <set name="Standard">
    <head>Champion's Galea</head>
    <body>Nuevo coselete</body>
    <back>Shadow Mantle</back>
    <neck>$ParadeCheck</neck>
    <hands>Perle moufles</hands>
    <waist>Swift belt</waist>
    <lear>Suppanomimi</lear>
    <rear>$RightEarringVariable</rear>
    <lring>Rajas Ring</lring>
    <rring>Iota Ring</rring>
    <legs>Perle Brayettes</legs>
    <feet>Gallant leggings</feet>
    </set>
    <set name="Resting">
    <body>Vermillion cloak</body>
    <neck>Parade Gorget</neck>
    <lring>Hercules' Ring</lring>
    <waist>Hierarch belt</waist>
    </set>
    <set name="Idling">
    <body>Nuevo coselete</body>
    <head>Walahra turban</head>
    <hands>I.R. Dastanas</hands>
    <neck>Parade Gorget</neck>
    <waist>$IdleBeltCheck</waist>
    <lring>Hercules' Ring</lring>
    <rring>Shadow Ring</rring>
    <legs>Blood cuisses</legs>
    <feet>Gallant Leggings</feet>
    <back>Shadow Mantle</back>
    </set>
    <set name="Enmity">
    <body>Iron Ram Hauberk</body>
    <head>Aegishjalmr</head>
    <back>Resentment Cape</back>
    <neck>Ritter Gorget</neck>
    <hands>I.R. Dastanas</hands>
    <legs>Valor breeches</legs>
    <waist>Warwolf belt</waist>
    <lring>Mermaid Ring</lring>
    <rring>Hercules' Ring</rring>
    </set>
    <set name="WS" baseset="Standard">
    <head>Perle salade</head>
    <body>Perle Hauberk</body>
    <back>Shadow Mantle</back>
    <neck>Peacock Charm</neck>
    <hands>Perle moufles</hands>
    <waist>Potent belt</waist>
    <lear>Suppanomimi</lear>
    <rear>Brutal earring</rear>
    <lring>Iota ring</lring>
    <rring>Rajas ring</rring>
    <legs>Perle Brayettes</legs>
    <feet>Perle Solerets</feet>
    </set>
    <set name="Cure" baseset="Standard">
    <head>Champion's Galea</head>
    <back>Boxer's Mantle</back>
    <neck>Shield Torque</neck>
    <hands>I.R. Dastanas</hands>
    <waist>Resolute belt</waist>
    <body>Nuevo coselete</body>
    <rear>Buckler earring</rear>
    <legs>Valor Breeches</legs>
    <lring>Mermaid ring</lring>
    <rring>Hercules' ring</rring>
    </set>
    <set name="Cover" baseset="Standard">
    <head>Gallant coronet</head>
    <body>Valor surcoat</body>
    </set>
    <set name="FastCast">
    <head>Walahra Turban</head>
    <body>Nuevo Coselete</body>
    <rear>Loquac. earring</rear>
    <waist>Swift Belt</waist>
    <hands>Perle Moufles</hands>
    <feet>Perle Solerets</feet>
    </set>
    <set name="Flash">
    <head>Walahra Turban</head>
    <body>Nuevo coselete</body>
    <hands>Perle Moufles</hands>
    <neck>Ritter gorget</neck>
    <waist>Swift belt</waist>
    <legs>Valor breeches</legs>
    <rear>Loquac. earring</rear>
    <lring>Mermaid ring</lring>
    <rring>Hercules' ring</rring>
    <feet>Perle Solerets</feet>
    </set>
    <set name="Waltz">
    <head>Champion's galea</head>
    <body>Nuevo Coselete</body>
    <back>$VITBackCheck</back>
    </set>
    <set name="Refresh">
    <body>Vermillion cloak</body>
    <neck>Parade Gorget</neck>
    <lring>Hercules' Ring</lring>
    </set>
    <set name="MDB">
    <back>Lamia Mantle +1</back>
    <head>Champion's Galea</head>
    <hands>I.R. Dastanas</hands>
    <waist>Resolute belt</waist>
    <rring>Shadow Ring</rring>
    <body>Iron Ram Hauberk</body>
    <legs>Blood cuisses</legs>
    <feet>Gallant leggings</feet>
    <lring>Iota ring</lring>
    <lear>Arete del sol</lear>
    <rear>Merman's earring</rear>
    </set>
    <set name="PDT">
    <head>Champion's Galea</head>
    <hands>I.R. Dastanas</hands>
    <feet>Gallant leggings</feet>
    <legs>Perle brayettes</legs>
    <waist>Warwolf belt</waist>
    <back>Shadow Mantle</back>
    <lring>Jelly Ring</lring>
    <rring>Hercules' ring</rring>
    <neck>Shield torque</neck>
    <ammo>Bibiki seashell</ammo>
    <lear>Suppanomimi</lear>
    <rear>Buckler earring</rear>
    </set>
    </group>
    <group name="FullDMG" inherit="PLD_WAR">
    <set name="Standard">
    <head>Perle salade</head>
    <body>Perle Hauberk</body>
    <back>Shadow Mantle</back>
    <neck>Peacock Charm</neck>
    <hands>Perle moufles</hands>
    <waist>Swift belt</waist>
    <lear>Suppanomimi</lear>
    <rear>Brutal earring</rear>
    <lring>Iota ring</lring>
    <rring>Rajas ring</rring>
    <legs>Perle Brayettes</legs>
    <feet>Perle Solerets</feet>
    </set>
    </group>
    <group name="Enmity" inherit="PLD_WAR">
    <set name="Standard">
    <head>Aegishjalmr</head>
    <body>Iron Ram Hauberk</body>
    <back>Shadow Mantle</back>
    <neck>Ritter Gorget</neck>
    <hands>I.R. Dastanas</hands>
    <waist>Swift belt</waist>
    <lear>Suppanomimi</lear>
    <rear>Brutal earring</rear>
    <lring>Mermaid ring</lring>
    <rring>Hercules' ring</rring>
    <legs>Valor breeches</legs>
    <feet>Perle Solerets</feet>
    </set>
    <set name="MDB" baseset="MDB" basegroup="PLD_WAR" />
    <set name="Refresh" baseset="Refresh" basegroup="PLD_WAR" />
    <set name="FastCast" baseset="FastCast" basegroup="PLD_WAR" />
    <set name="Cure" baseset="Cure" basegroup="PLD_WAR" />
    <set name="Flash" baseset="Flash" basegroup="PLD_WAR" />
    <set name="Enmity" baseset="Enmity" basegroup="PLD_WAR" />
    </group>
    <group name="PLD_NIN" inherit="PLD_WAR" />
    <group name="PLD_NINDMG" inherit="PLD_WAR" />
    <group name="PLD_RDM" inherit="PLD_WAR" />
    <group name="MDT" inherit="PLD_WAR">
    <set name="Standard" baseset="Standard" basegroup="PLD_WAR">
    <back>Lamia Mantle +1</back>
    <head>Gallant Coronet</head>
    <hands>I.R. Dastanas</hands>
    <waist>Resolute belt</waist>
    <rring>Shadow Ring</rring>
    <body>Iron Ram Hauberk</body>
    </set>
    <set name="Refresh" baseset="Refresh" basegroup="PLD_WAR" />
    <set name="FastCast" baseset="FastCast" basegroup="PLD_WAR" />
    <set name="Cure" baseset="Cure" basegroup="PLD_WAR" />
    <set name="Flash" baseset="Flash" basegroup="PLD_WAR" />
    <set name="Enmity" baseset="Enmity" basegroup="PLD_WAR" />
    </group>
    <group name="PDT" inherit="PLD_WAR" />
    <group name="Kite-PDT" inherit="PLD_WAR">
    <set name="Standard">
    <head>Aegishjalmr</head>
    <body>Iron ram hauberk</body>
    <back>Shadow Mantle</back>
    <neck>$RitterCheck</neck>
    <hands>I.R. Dastanas</hands>
    <waist>Warwolf belt</waist>
    <lear>Arete del sol</lear>
    <rear>Loquac. earring</rear>
    <lring>Hercules' Ring</lring>
    <rring>Shadow Ring</rring>
    <legs>Blood cuisses</legs>
    <feet>Perle solerets</feet>
    </set>
    <set name="Idling">
    <head>Aegishjalmr</head>
    <body>Nuevo coselete</body>
    <back>Shadow Mantle</back>
    <neck>$RitterCheck</neck>
    <hands>I.R. Dastanas</hands>
    <waist>Warwolf belt</waist>
    <lear>Arete del sol</lear>
    <rear>Loquac. earring</rear>
    <lring>Hercules' Ring</lring>
    <rring>Shadow Ring</rring>
    <legs>Blood cuisses</legs>
    <feet>Perle solerets</feet>
    </set>
    <set name="Refresh" baseset="Refresh" basegroup="PLD_WAR" />
    <set name="FastCast" baseset="FastCast" basegroup="PLD_WAR" />
    <set name="Cure" baseset="Cure" basegroup="PLD_WAR" />
    <set name="Flash" baseset="Flash" basegroup="PLD_WAR" />
    <set name="Enmity" baseset="Enmity" basegroup="PLD_WAR" />
    <set name="MDB" baseset="MDB" basegroup="PLD_WAR" />
    </group>
    <group name="FireResist" inherit="PLD_WAR">
    <set name="Standard" baseset="Standard" basegroup="PLD_NIN">
    <main>Water Staff</main>
    <sub>Shark Strap</sub>
    <back>Lamia Mantle +1</back>
    <legs>Blood cuisses</legs>
    <hands>I.R. Dastanas</hands>
    <waist>Water belt</waist>
    <rring>Shadow Ring</rring>
    <neck>Jeweled collar</neck>
    <body>Iron Ram Hauberk</body>
    </set>
    <set name="Refresh" baseset="Refresh" basegroup="PLD_WAR" />
    <set name="FastCast" baseset="FastCast" basegroup="PLD_WAR" />
    <set name="Cure" baseset="Cure" basegroup="PLD_WAR" />
    <set name="Flash" baseset="Flash" basegroup="PLD_WAR" />
    <set name="Enmity" baseset="Enmity" basegroup="PLD_WAR" />
    <set name="MDB" baseset="MDB" basegroup="PLD_WAR" />
    </group>
    </sets>
    <rules>
    <!-- Shield Torque Check -->
    <if MPPLT="79" HPPGT="85">
    <action type="Var" cmd="set ParadeCheck $ParadeGorget" />
    </if>
    <else>
    <action type="Var" cmd="set ParadeCheck $ShieldTorque" />
    </else>

    <!-- Ritter Gorget Check -->
    <if MPPLT="79" HPPGT="85">
    <action type="Var" cmd="set RitterCheck $ParadeGorget" />
    </if>
    <else>
    <action type="Var" cmd="set RitterCheck $RitterGorget" />
    </else>

    <!-- Darksday Check for Shadow Mantle VIT -->
    <if advanced='("Dark" = "%DayElement")'>
    <action type="Var" cmd="set VITBackCheck $ShadowMantle" />
    </if>
    <else>
    <action type="Var" cmd="set VITBackCheck $KnightlyMantle" />
    </else>

    <!-- Status Checks -->
    <if BuffActive="Amnesia" CommandPrefix="/ja|/jobability|/ws|/weaponskill">
    <action Type="CancelSpell" />
    <action Type="Command">input /echo AMNESIA AMNESIA AMNESIA</action>
    </if>
    <if BuffActive="Stun">
    <action Type="CancelSpell" />
    <action Type="Command">input /echo STUNNED STUNED STUNNED</action>
    </if>
    <if BuffActive="Sleep">
    <action Type="CancelSpell" />
    <if PartyCountGT="1">
    <action Type="Command">input /p Zz</action>
    </if>
    </if>
    <if BuffActive="Terror">
    <action Type="CancelSpell" />
    <action Type="Command">input /echo TERROR TERROR TERROR</action>
    </if>

    <!-- Resting and Idling Rules -->
    <if set="Standard">
    <action type="equip" when="Idle" set="Idling" />
    <action type="equip" when="resting" set="Resting" />
    </if>

    <!-- RestoreSet Upon Engaging -->
    <if notset="Standard">
    <action type="equip" when="Engaged" set="Standard" />
    <action type="addtochat" when="Engaged">Engaging %target, %TargetHPP percent, equipping %group.</action>
    </if>

    <!-- Ninjutsu Handles -->
    <if type="Ninjutsu">
    <if notbuffactive="Silence">
    <!-- Handle Utsusemi Cancellation -->
    <if Spell="Utsusemi: Ni">
    <action type="equip" when="precast" set="FastCast" />
    <action type="Var" cmd="Set LASTCAST Ni" />
    <if status="Idle">
    <action type="Equip" when="aftercast" set="Idling" />
    <action type="addtochat" when="aftercast">Utsusemi: Ni Idle :: Equipping Idling</action>
    </if>
    <elseif status="Engaged">
    <action type="Equip" when="aftercast" set="Standard" />
    <action type="addtochat" when="aftercast">Utsusemi: Ni Engaged :: Equipping Standard</action>
    </elseif>
    </if>
    <elseif spell="Utsusemi: Ichi" >
    <action type="midcastdelay" delay="3.0" />
    <if mode="AND" BuffActive="Copy Image" advanced='"$LASTCAST"=="Ni"'>
    <action type="Command" when="midcast">cancel 66</action>
    </if>
    <action type="Var" cmd="Set LASTCAST Ichi" />

    <action type="Equip" when="midcast" set="FastCast" />
    <if status="Idle">
    <action type="Equip" when="aftercast" set="Idling" />
    <action type="addtochat" when="aftercast">Utsusemi: Ichi Idle :: Equipping Idling</action>
    </if>
    <elseif status="Engaged">
    <action type="Equip" when="aftercast" set="Standard" />
    <action type="addtochat" when="aftercast">Utsusemi: Ichi Engaged :: Equipping Standard</action>
    </elseif>



    </elseif>
    <!-- Cancel Sneak on Monomi cast -->
    <elseif mode="AND" spell="Mono*" buffactive="Sneak">
    <action type="midcastdelay" delay="2.4"/>
    <action type="Command" when="midcast">cancel 71</action>
    </elseif>

    </if>
    <!-- Automatically Healing Waltz -->
    <elseif buffactive="silence">
    <if subjob="DNC" tpgt="19">
    <action type="command">input /ja "Healing Waltz" &lt;me&gt;</action>
    </if>
    <action Type="CancelSpell" />
    </elseif>
    </if>

    <!-- White Magic Handles -->
    <elseif type="WhiteMagic">
    <!-- Sneak Spell Cancellation -->
    <if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTargetName"="%PlayerName"'>
    <action type="command" when="midcast">cancel 71</action>
    <action type="midcastdelay" delay="2.3" />
    </if>
    <!-- Cure handle -->
    <elseif spell="Cure*">
    <action type="Equip" when="precast" set="Cure" />
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </elseif>
    <!-- Flash handle -->
    <elseif spell="Flash">
    <action type="Equip" when="precast" set="Flash" />
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </elseif>
    <!-- FastCast Spell Handles -->
    <elseif spell="Pro*|Shell*|Reprisal|Holy|Banish*|Raise">
    <action type="Equip" when="precast" set="FastCast" />
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </elseif>
    </elseif>

    <elseif type="JobAbility">
    <!-- Spectral Jig Sneak Cancellation -->
    <if mode="AND" spell="Spectral Jig" bufactive="Sneak">
    <action type="Command" when="precast">cancel 71</action>
    </if>
    <!-- Enmity -->
    <elseif spell="Provoke|Rampart|Warcry|Yonin|Animated Flourish|Shield Bash|Holy Circle|Defender|Sentinel">
    <action type="equip" when="precast" set="Enmity" />
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </elseif>
    <elseif spell="Curing*">
    <action type="equip" when="precast" set="Waltz" />
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </elseif>
    </elseif>

    <!-- Weapon Skill Handles -->
    <elseif type="WeaponSkill">
    <if nottplt="100">
    <!-- Range Check -->
    <if TargetDistanceGT="3.9">
    <action type="cancelspell" />
    <action type="return" />
    </if>
    <!-- Equipment rules -->
    <action type="castdelay" delay=".5" />
    <if spell="Atonement">
    <action type="Equip" when="precast" set="Enmity"/>
    </if>
    <elseif spell="Fast Blade|Flat Blade|Savage Blade|Swift Blade|Vorpal Blade">
    <action type="Equip" when="precast" set="WS" />
    </elseif>
    <if status="engaged">
    <action type="equip" when="aftercast" set="Standard" />
    </if>
    <elseif status="idle">
    <action type="equip" when="aftercast" set="Idling" />
    </elseif>
    </if>
    </elseif>

    </rules>
    </spellcast>
    Are you running the absolute latest Spellcast? Older versions had a crash issue when two gear-swapping events occurred at the same time (eg: aftercast and disengaging a mob).

  17. #1117
    Sandworm Swallows
    Join Date
    Dec 2007
    Posts
    7,098
    BG Level
    8

    Thanks to a HD failure i've lost all my SC files. All the ones on windower are old,don't work with beta, or just suck. Anyone know where i can get some SC files for rdm,brd,and thf?

  18. #1118
    Sea Torques
    Join Date
    Aug 2006
    Posts
    518
    BG Level
    5
    FFXI Server
    Leviathan

    Just got Mavi Kavuk +1, how should I set it to be locked when chain affinity is active? Since I failed earlier lol

  19. #1119
    Radsourceful

    Join Date
    Jul 2007
    Posts
    1,964
    BG Level
    6
    FFXI Server
    Bismarck

    Code:
    <if Buffactive="Chain Affinity">
    ladeda
    </if>
    This however takes a second after you use CA to notice it's active - not a Problem for CA > WS > Spell, but CA>Spell might be too close, in which case you'd want to set a variable when you hit CA.

    Code:
    <if spell="Chain Affinity">
    	<action type="Var" cmd="set CA 1"/>
    </if>
    .
    .
    .
    <if skill="BlueMagic">
    	.
    	.
    	<if advanced="'$CA'='1'">
    		<equip when="precast"><legs>Mavi Kavuk +1</legs></equip>
    		<action type="Var" cmd="set CA 0"/>
    	</if>
    	.
    	.
    </if>

  20. #1120
    Banned.

    Join Date
    Nov 2008
    Posts
    2,413
    BG Level
    7

    Everything seems to be working fine, just can't seem to get my conserve mp set to kick in. Also if there is anything you noticed that needs to be changed do let me know :D

    Code:
    <?xml version="1.0" ?>
    
    <spellcast>
    	<config RequireVersion="2.22"
    		ShowGearSwaps="False"
    	/>
    	<variables>
    		<!-- Sleep timers, announces to chat when sleep is wearing off. Set to 0 to not use. -->
    		<var name="SleepTimers">1</var>
    		<!-- Buff messages. Set to 0 to not use. -->
    		<var name="SelfBuff">1</var>
    		<var name="PartyBuff">1</var>
    		<!-- use Ugg Pendant or not? set to 0 if you do not have it. -->
    		<var name="UggPendant">0</var>
    		<!-- use Diabolos Pole or not?  set to 0 if you do not have it. -->
    		<var name="Diabolos Pole">0</var>
    		<!-- Elemental Grips, set to 1 for each you have -->
    		<var name="LightGrip">0</var>
    		<var name="DarkGrip">0</var>
    		<var name="ThunderGrip">0</var>
    		<var name="IceGrip">0</var>
    		<var name="FireGrip">0</var>
    		<var name="WindGrip">0</var>
    		<var name="WaterGrip">0</var>
    		<var name="EarthGrip">0</var>
    		<!-- Elemental Staffs, input what staff to use for each element here -->
    		<var name="IceStaff">Aquilo's Staff</var>
    		<var name="DarkStaff">Pluto's Staff</var>
    		<var name="ThunderStaff">Jupiter's Staff</var>
    		<var name="WindStaff">Auster's Staff</var>
    		<var name="FireStaff">Fire Staff</var>
    		<var name="EarthStaff">Terra's Staff</var>
    		<var name="LightStaff">Light Staff</var>
    		<var name="WaterStaff">Neptune's Staff</var>
    		<!-- Elemental Obi's, set to 1 for the ones you have. -->
    		<var name="DarkObi">0</var>
    		<var name="LightObi">0</var>
    		<var name="ThunderObi">0</var>
    		<var name="IceObi">0</var>
    		<var name="FireObi">0</var>
    		<var name="WindObi">0</var>
    		<var name="WaterObi">0</var>
    		<var name="EarthObi">0</var>
    		<!-- Convert Risk Variable - Do not change -->
    		<var name="ConvertRisk">0</var>
    	</variables>
    	<sets>
    		<group name="Main" default="yes">
    			<set name="Idle">
    				<main>$EarthStaff</main>
    				<sub>Bugard Strap +1</sub>
    				<ammo>Phtm. Tathlum</ammo>
    				<neck>Orochi Nodowa</neck>
    				<lear>Loquac. Earring</lear>
    				<rear>Angel's Earring</rear>
    				<body>Royal Cloak</body>
    				<hands>Dst. Mittens +1</hands>
    				<lring>Jelly Ring</lring>
    				<rring>Dark Ring</rring>
    				<back>Prism Cape</back>
    				<waist>Hierarch Belt</waist>
    				<legs>Estqr. Fuseau +1</legs>
    				<feet>Teal pigaches</feet>
    			</set>
    			<set name="FastCast">
    				<head>Warlock's Chapeau</head>
    				<lear>Loquac. Earring</lear>
    				<body>Goliard Saio</body>
    				<waist>Swift Belt</waist>
    				<hands>Dusk Gloves</hands>
    			</set>
    			<set name="Resting" BaseSet="Idle">
    				<main>$DarkStaff</main>
    				<head>Walahra Turban</head>
    				<body>Errant Hpl.</body>
    				<neck>Beak Necklace</neck>
    			</set>
    			<set name="ElementalMagic" BaseSet="Idle">
    				<sub>Bugard Strap +1</sub>
    				<head>Warlock's Chapeau</head>
    				<neck>Elemental Torque</neck>
    				<lear>Loquac. Earring</lear>
    				<rear>Moldavite Earring</rear>
    				<body>Teal Saio</body>
    				<hands>Teal Cuffs</hands>
    				<lring>Diamond Ring</lring>
    				<rring>Balrahn's Ring</rring>
    				<back>Prism Cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>Estqr. Fuseau +1</legs>
    				<feet>Rambler's Gaiters</feet>
    			</set>					
    			<set name="Conserve MP">
    				<main>Fourth Mace</main>
    				<body> Goliard Saio</body>
    			</set>
    			<set name="DarkMagic">
    				<head>Warlock's Chapeau</head>
    				<neck>Dark Torque</neck>
    				<lear>Loquac. Earring</lear>
    				<body>Warlock's Tabard</body>
    				<waist>Swift Belt</waist>
    				<hands>Teal cuffs</hands>
    			</set>
    			<set name="EnfeeblingMagicSkill" BaseSet="Idle">
    				<sub>Bugard Strap +1</sub>
    				<head>Teal Chapeau</head>
    				<body>Warlock's Tabard</body>
    				<hands>Teal Cuffs</hands>
    				<rring>Balrahn's Ring</rring>
    				<waist>Penitent's Rope</waist>
    				<legs>Mahatma Slops</legs>
    				<feet>Nashira Crackows</feet>
    			</set>
    			<set name="EnfeeblingMagicBlackMagic" BaseSet="EnfeeblingMagicSkill">
    				<neck>Philomath Stole</neck>
    				<rear>Abyssal Earring</rear>
    				<legs>Estqr. Fuseau +1</legs>
    				<lring>Diamond Ring</lring>
    				<rring>Dark Ring</rring>
    			</set>
    			<set name="EnfeeblingMagicWhiteMagic" BaseSet="EnfeeblingMagicSkill">
    				<neck>Faith Torque</neck>
    				<body>Augur's Jaseran</body>
    				<hands>Dvt. Mitts +1</hands>
    				<lring>Communion Ring</lring>
    				<rring>Dark Ring</rring>
    				<feet>Teal Pigaches</feet>
    			</set>
    			<set name="HealingMagic" BaseSet="Idle">
    				<sub>Bugard Strap +1</sub>
    				<head>Warlock's Chapeau</head>
    				<neck>Faith Torque</neck>
    				<body>Errant Hpl.</body>
    				<hands>Teal Cuffs</hands>
    				<rring>Omega Ring</rring>
    				<waist>Penitent's Rope</waist>
    				<legs>Warlock's Tights</legs>
    				<feet>Teal Pigaches</feet>
    			</set>
    			<set name="DivineMagic" />
    			<set name="EnhancingMagic" BaseSet="Idle">
    				<head>Warlock's Chapeau</head>
    				<body>Errant Hpl.</body>
    				<legs>Warlock's Tights</legs>
    			</set>
    			<set name="Stoneskin" BaseSet="Idle">
    				<head>Warlock's Chapeau</head>
    				<neck>Stone Gorget</neck>
    				<body>Augur's Jaseran</body>
    				<hands>Dvt. Mitts +1</hands>
    				<lring>Communion ring</lring>
    				<rring>Dark Ring</rring>
    				<back>Prism Cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>Warlock's Tights</legs>
    				<feet>Teal Pigaches</feet>
    			</set>
    			<set name="Engaged" BaseSet="Idle">
    				<head>Walahra Turban</head>
    				<neck>Peacock Amulet</neck>
    				<rear>Hollow Earring</rear>
    				<body>Scorpion Harness</body>
    				<hands>Goliard Cuffs</hands>
    				<back>Amemet Mantle</back>
    				<waist>Swift Belt</waist>
    				<feet>Ogre Ledelsens</feet>
    			</set>
    			<set name="WeaponSkill" BaseSet="Engaged">
    				<neck>Promise Badge</neck>
    				<hands>Teal Cuffs</hands>
    				<rring>Omega Ring</rring>
    				<waist>Penitent's Rope</waist>
    				<legs>Warlock's Tights</legs>
    			</set>
    			<set name="Convert">
    				<main lock="t">$LightStaff</main>
    				<sub lock="t">Bugard Strap +1</sub>
    				<ammo lock="t">Sweet Sachet</ammo>
    				<head lock="t">Walahra Turban</head>
    				<neck lock="t">Uggalepih Pendant</neck>
    				<lear lock="t">Loquac. Earring</lear>
    				<rear lock="t">Antivenom Earring</rear>
    				<body lock="t">Teal Saio</body>
    				<hands lock="t">Teal Cuffs</hands>
    				<lring lock="t">Tamas Ring</lring>
    				<rring lock="t">Jelly Ring</rring>
    				<back lock="t">Rainbow Cape</back>
    				<waist lock="t">Hierarch Belt</waist>
    				<legs lock="t">Teal Slops</legs>
    				<feet lock="t">Teal Pigaches</feet>
    			</set>
    		</group>
    	</sets>
    	<rules> 
    	<!-- Handle buff /echo messages -->
    		<if advanced='"$SelfBuff"="1"'>
    			<if Spell="Haste" SpellTargetType="*Self*">
    				<if buffactive="Composure">
    					<action type="command" when="aftercast">wait 525;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s</action>
    				</if>
    				<else>
    					<action type="command" when="aftercast">wait 165;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s</action>
    				</else>
    			</if>
    			<if Spell="Refresh" SpellTargetType="*Self*">
    				<if buffactive="Composure">
    					<action type="command" when="aftercast">wait 435;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s</action>
    				</if>
    				<else>
    					<action type="command" when="aftercast">wait 135;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s</action>
    				</else>
    			</if>		
    			<if Spell="Phalanx*" SpellTargetType="*Self*">
    				<if buffactive="Composure">
    					<action type="command" when="aftercast">wait 525;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s</action>
    				</if>
    				<else>
    					<action type="command" when="aftercast">wait 165;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s</action>
    				</else>
    			</if>
    			<if Spell="En*" SpellTargetType="*Self*">
    				<if buffactive="Composure">
    					<action type="command" when="aftercast">wait 525;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s</action>
    				</if>
    				<else>
    					<action type="command" when="aftercast">wait 165;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s</action>
    				</else>
    			</if>
    			<if Spell="*Spikes" SpellTargetType="*Self*">
    				<if buffactive="Composure">
    					<action type="command" when="aftercast">wait 525;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s</action>
    				</if>
    				<else>
    					<action type="command" when="aftercast">wait 165;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s</action>
    				</else>
    			</if>
    		</if>
    		<if advanced='"$PartyBuff"="1"'>
    			<if Spell="Regen" SpellTargetType="*Player*">
    				<action type="command" when="aftercast">spellcast var inc buffid;wait 68;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s;spellcast var dec buffid;</action>
    			</if>
    			<elseif Spell="Regen II" SpellTargetType="*Player*">
    				<action type="command" when="aftercast">spellcast var inc buffid;wait 43;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s;spellcast var dec buffid;</action>
    			</elseif>
    			<elseif Spell="Refresh" SpellTargetType="*Player*">
    				<action type="command" when="aftercast">spellcast var inc buffid;wait 134;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s;spellcast var dec buffid;</action>
    			</elseif>
    			<elseif Spell="Haste" SpellTargetType="*Player*">
    				<action type="command" when="aftercast">spellcast var inc buffid;wait 165;input /echo [%spell] &#x7b;%SpellTargetName&#x7d; Wearing off in 15s;spellcast var dec buffid;</action>
    			</elseif>
    		</if>
    	<!-- Handle targetting -->
    		<if PartyCount="1" SpellTargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Self*">
    			<action type="changetarget" target="&lt;me&gt;" />
    		</if>	
    		<elseif SpellTargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Ally*">
    			<action type="changetarget" target="&lt;stal&gt;" />
    		</elseif>
    		<elseif SpellTargetType="MONSTER" NotValidTarget="*Enemy*|*Ally*|*Party*" ValidTarget="*Self*">
    			<action type="changetarget" target="&lt;me&gt;" />
    		</elseif>
    		<elseif SpellTargetType="NONE" ValidTarget="*Ally*">
    			<action type="changetarget" target="&lt;stal&gt;" />
    		</elseif>
    		<elseif SpellTargetType="NONE" NotValidTarget="*Ally*" ValidTarget="*Self*|Party*">
    			<action type="changetarget" target="&lt;stpt&gt;" />
    		</elseif>
    		
    	<!-- Handle universal gear swaps --> 	
    		<action type="equip" when="Resting" set="Resting" />
    		<if NotStatus="Engaged">
    			<action type="equip" when="Idle|Aftercast" set="Idle" />
    		</if>
    		<else>
    			<action type="equip" when="Engaged|Aftercast" set="Engaged" />
    		</else>
    		<if TPGT="10">
    			<action type="Disable" slot="Main|Sub|Ranged" />
    		</if>
    		<else>
    			<action type="Enable" slot="Main|Sub|Ranged" />
    		</else>
    		<if Status="Engaged" TPGT="01">
    			<action type="equip" when="aftercast" set="Engaged">
    				<main lock="t" />
    				<sub lock="t" />
    			</action>
    		</if>
    		
    	<!-- Handle magic --> 
    			<if mode="OR" NotSkill="EnfeeblingMagic" Spell="Frost|Drown|Rasp|Burn|Shock|Choke" SpellTargetName="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Ouryu|Vrtra|Cerberus|Khimaira|Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin|Sarameya|Tyger|Jailer of Love">
    				<if Advanced='"$%SpellElementGrip" == "1"'>
    					<action type="equip" when="midcast">
    						<sub lock="true">%SpellElement Grip</sub>
    					</action>
    				</if>
    			</if>
    			<if Skill="Ninjutsu">
    				<if Spell="Utsusemi*">
    					<action type="equip" when="Precast" set="FastCast" />
    				</if>
    				<if spell="Utsusemi: Ichi">
    					<action type="midcastdelay" delay="1.5" />
    					<action type="Command" when="midcast">cancel 66</action>
    					<action type="Command" when="midcast">cancel 444</action>
    					<action type="Command" when="midcast">cancel 445</action>
    				</if>
    			</if>
    			<if Skill="EnfeeblingMagic">
    				<if BuffActive="Chainspell">
    					<action type="equip" when="Precast|Midcast|Aftercast" set="EnfeeblingMagicSkill" />
    					<action type="castdelay" delay=".2" />
    				</if>
    				<else>
    					<action type="equip" when="Precast" set="FastCast" />
    					<action type="castdelay" delay=".2" />
    					<action type="equip" when="midcast" set="EnfeeblingMagic%Type" />
    						<if SpellTargetName="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Vrtra|Cerberus|Khimaira|Tyger|Jailer of Love|Sarameya|Despot|Om'phuabo|Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin|Ouryu|Lambton Worm|Sandworm|Guivre|King Arthro|Serket" NotBuffActive="Elemental Seal">
    							<action type="equip" when="midcast" set="EnfeeblingMagicSkill" />
    						</if>
    				</else>
    				<if Area="Al'Taieu|Grand Palace of Hu'Xzoi|The Garden of Ru'Hmet|Dynamis*">
    						<action type="equip" when="midcast"><hands lock="yes">Mst.Cst. Bracelets</hands>
    						</action>
    				</if>
    			</if>
    			<if Skill="DarkMagic">
    				<if NotBuffActive="Chainspell" NotSpell="Stun">
    					<action type="equip" when="Precast" set="FastCast" />
    					<action type="equip" when="Midcast" set="DarkMagic" />
    				</if>
    				<if BuffActive="Chainspell" Spell="Stun">
    					<action type="equip" when="Precast|Midcast|Aftercast" set="DarkMagic">
    						<main>$ThunderStaff</main>
    					</action>
    				</if>
    				<if NotBuffActive="Chainspell" Spell="Stun">
    				<action type="equip" when="Precast" set="DarkMagic">
    					<main>$ThunderStaff</main>
    				</action>
    				</if>
    			</if>
    			<if Skill="EnhancingMagic">
    				<if BuffActive="Chainspell">
    					<action type="equip" when="Precast|Midcast|Aftercast" set="EnhancingMagic" />
    				</if>
    				<else>
    					<action type="equip" when="Precast" set="FastCast" />
    					<if Spell="Stoneskin">
    						<action type="precastdelay" delay=".2" />
    						<action type="equip" when="midcast" set="Stoneskin" />
    						<action type="midcastdelay" delay="3.0" />
    						<action type="command" when="midcast">cancel 37 />
    						</action>
    					</if>
    					<if Spell="Phalanx*|Bar*">
    						<action type="precastdelay" delay=".2" />
    						<action type="equip" when="midcast" set="EnhancingMagic" />
    					</if>
    					<elseif spell="En*" notspell="Energy*">
    						<action type="equip" when="midcast" set="EnhancingMagic" />
    					<if Weather ="*x2" NotWeather="None|Light*|Dark*">
    					<if WeatherEleemnt="Ice">
    						<action type="ChangeSpell" Spell="Enblizzard" />
    					</if>
    					<elseif WeatherElement="Fire">
    						<action type="ChangeSpell" Spell="Enfire" />
    					</elseif>
    					<elseif WeatherElement="Wind">
    						<action type="ChangeSpell" Spell="Enaero" />
    					</elseif>
    					<elseif WeatherElement="Earth">
    						<action type="ChangeSpell" Spell="Enstone" />
    					</elseif>
    					<elseif WeatherElement="Thunder">
    						<action type="ChangeSpell" Spell="Enthunder" />
    					</elseif>
    					<elseif WeatherElement="Water">
    						<action type="ChangeSpell" Spell="Enwater" />
    					</elseif>
    					</if>
    					<elseif NotDay="Light*|Dark*">
    					<if DayElement="Ice">
    						<action type="ChangeSpell" Spell="Enblizzard" />
    					</if>
    					<elseif DayElement="Fire">
    						<action type="ChangeSpell" Spell="Enfire" />
    					</elseif>
    					<elseif DayElement="Wind">
    						<action type="ChangeSpell" Spell="Enaero" />
    					</elseif>
    					<elseif DayElement="Earth">
    						<action type="ChangeSpell" Spell="Enstone" />
    					</elseif>
    					<elseif DayElement="Thunder">
    						<action type="ChangeSpell" Spell="Enthunder" />
    					</elseif>
    					<elseif DayElement="Water">
    						<action type="ChangeSpell" Spell="Enwater" />
    					</elseif>
    					</elseif>
    					</elseif>
    					</else>
    				<if Spell="Sneak|Monomi: Ichi" BuffActive="Sneak" SpellTargetType="Self">
    					<action type="command" when="midcast">cancel 71</action>
    					<action type="midcastdelay" delay="1.0" />
    				</if>
    			</if>
    			<if Skill="HealingMagic">
    				<if BuffActive="Chainspell">
    					<action type="equip" when="Precast|Midcast|Aftercast" set="HealingMagic" />
    				</if>
    				<else>
    					<action type="equip" when="Precast" set="FastCast" />
    					<action type="precastdelay" delay=".2" />	
    					<action type="equip" when="Midcast" set="HealingMagic" />
    				</else>
    			</if>
    			<if Skill="Refresh*|Protect*|Shell*|Haste|Regen*|Warp*">
    				<action type="equip" when="Precast" set="FastCast" />	
    				<action type="precastdelay" delay=".2" />
    				<action type="equip" when="Midcast" set="Conserve MP" />
    			</if>
    			<if Skill="DivineMagic">
    				<action type="equip" when="Precast" set="FastCast" />	
    				<action type="precastdelay" delay=".2" />
    				<action type="equip" when="Midcast" set="DivineMagic" />
    			</if>
    	<!-- Handle Elemental Magic -->
    		<if Skill="ElementalMagic">
    			<if BuffActive="Chainspell">
    				<action type="equip" when="Precast|Midcast|Aftercast" set="ElementalMagic" />
    			</if>
    			<else>
    				<action type="equip" when="Precast" set="FastCast" />
    				<action type="precastdelay" delay=".2" />
    				<action type="equip" when="Midcast" set="ElementalMagic" />
    			</else>
    			<if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$%SpellElementObi" = "1"'>
    				<if     Element="Dark"><action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action></if>
    				<elseif Element="Light"><action type="equip" when="midcast"><waist lock="yes">Korin Obi</waist></action></elseif>
    				<elseif Element="Thunder"><action type="equip" when="midcast"><waist lock="yes">Rairin Obi</waist></action></elseif>
    				<elseif Element="Ice"><action type="equip" when="midcast"><waist lock="yes">Hyorin Obi</waist></action></elseif>
    				<elseif Element="Fire"><action type="equip" when="midcast"><waist lock="yes">Karin Obi</waist></action></elseif>
    				<elseif Element="Wind"><action type="equip" when="midcast"><waist lock="yes">Furin Obi</waist></action></elseif>
    				<elseif Element="Water"><action type="equip" when="midcast"><waist lock="yes">Suirin Obi</waist></action></elseif>
    				<elseif Element="Earth"><action type="equip" when="midcast"><waist lock="yes">Dorin Obi</waist></action></elseif>
    			</if>
    			<if MPPAfterCastLT="50" Advanced="$UggPendant==1">
    				<action type="equip" when="midcast"><neck lock="yes">Uggalepih Pendant</neck></action>
    				<action type="command" when="midcast">input /echo Uggy Pendant equipped</action>
    			</if>
    		</if>
    	<!-- Handle Sleep timers -->
    		<if advanced='"$SleepTimers"="1"'>
    			<if Spell="Sleep II">
    				<action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 45s</action>	
    				<action type="command" when="aftercast">wait 75;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</action>
    				<action type="command" when="aftercast">wait 85;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</action>
    			</if>
    			<elseif Spell="Sleep|Sleepga">
    				<action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</action>
    				<action type="command" when="aftercast">wait 55;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</action>
    			</elseif>
    		</if>
    	<!-- Handle elemental staves -->
    		<if NotSpell="Regen|Refresh|Sneak|Invisible|Blink|Phalanx*|Protect*|Shell*|Warp*|Escape|Teleport*|*Raise*|Tractor|Aquaveil|Bar*|*:*">
    			<action type="equip" when="precast|midcast">
    				<main>$%SpellElementStaff</main>
    			</action>
    		</if>
    	<!-- Handle Diabolos's Pole -->
    		<if Advanced='"$DiabolosPole"="1"'>
    			<if Advanced='"%WeatherElement"="Dark" and "%Spell"="Aspir"'>
    				<action type="equip" when="midcast">
    					<main lock="yes">Diabolos's Pole</main>
    				</action>
    			</if>
    			<elseif Advanced='"%WeatherElement"="Dark" and "%Spell"="Drain"'>
    				<action type="equip" when="midcast">
    					<main lock="yes">Diabolos's Pole</main>
    				</action>
    			</elseif>
    		</if>
    	<!-- Handle Weapon Skills -->
    		<if Spell="*Blade">
    			<if TPGT="99">
    				<if Advanced="%SpellTargetDistance &lt; 4">
    					<CastDelay Delay=".5" />
    					<action type="equip" when="precast" set="WeaponSkill" />
    				</if>
    				<else>
    					<cancelspell />
    				</else>
    			</if>
    		</if>
    	<!-- Handle Convert -->
    		<if spell="Convert">
    			<if advanced='"$ConvertRisk"="0"'>
    				<if subjob="whm">
    					<action type="equip" when="precast|midcast|aftercast" set="Convert" />
    						<if mpgt="46">
    							<action type="castdelay" delay="7"/>
    							<action type="command" when="precast">input /raw /ma "Cure III" &lt;me&gt;;wait 5.5;input /raw  /ja "Divine Seal" &lt;me&gt;</action>
    							<action type="aftercastdelay" delay="0"/>
    							<action type="command" when="aftercast">input /raw /ma "Cure IV" &lt;me&gt;;wait 4;input /sc set idle</action>
    						</if>
    							<else>
    								<action type="castdelay" delay="1.2"/>
    								<action type="command" when="precast">input /raw  /ja "Divine Seal" &lt;me&gt;</action>
    								<action type="aftercastdelay" delay="0"/>
    								<action type="command" when="aftercast">input /raw /ma "Cure IV" &lt;me&gt;;wait 4;input /sc set idle</action>
    							</else>
    				</if>
    					<else>
    						 <action type="equip" when="precast|midcast|aftercast" set="Convert" />
    							<if mpgt="46">
    								<action type="castdelay" delay="6"/>
    								<action type="command" when="precast">input /raw /ma "Cure III" &lt;me&gt;</action>
    								<action type="aftercastdelay" delay="0"/>
    								<action type="command" when="aftercast">input /raw /ma "Cure IV" &lt;me&gt;;wait 4;input /sc set idle</action>
    							</if>
    								<else>
    									<action type="aftercastdelay" delay="0"/>
    									<action type="command" when="aftercast">input /raw /ma "Cure IV" &lt;me&gt;;wait 4;input /sc set idle</action>
    								</else>
    					</else>
    			</if>
    				<elseif advanced='"$ConvertRisk"="1"'>
    						<action type="equip" when="precast|midcast|aftercast" set="Convert" />
    						<action type="aftercastdelay" delay="0"/>
    						<action type="command" when="aftercast">input /raw /ma "Cure IV" &lt;me&gt;;wait 4;input /sc set idle</action>
    						<action type="var" when ="aftercast" cmd="set ConvertRisk 0"/>
    						<action type="addtochat" when="aftercast" color="121">[Convert Risk Reset To 0]</action>
    				</elseif>
    		</if>
    	</rules>
    </spellcast>
    Code:
    <if Skill="Refresh*|Protect*|Shell*|Haste|Regen*|Warp*">
    				<action type="equip" when="Precast" set="FastCast" />	
    				<action type="precastdelay" delay=".2" />
    				<action type="equip" when="Midcast" set="Conserve MP" />
    Code:
    			<set name="Conserve MP">
    				<main>Fourth Mace</main>
    				<body> Goliard Saio</body>

Page 56 of 328 FirstFirst ... 6 46 54 55 56 57 58 66 106 ... LastLast

Similar Threads

  1. Spellcast Shop Thread
    By Yugl in forum FFXI: Everything
    Replies: 232
    Last Post: 2014-03-18, 04:47
  2. time spent on ls events, helping friends and your own time
    By freewind in forum FFXI: Everything
    Replies: 6
    Last Post: 2005-09-06, 16:42