Item Search
     
BG-Wiki Search
Page 287 of 328 FirstFirst ... 237 277 285 286 287 288 289 297 ... LastLast
Results 5721 to 5740 of 6548
  1. #5721
    Yoshi P
    Join Date
    Jun 2007
    Posts
    5,144
    BG Level
    8
    FFXIV Character
    Fitz Everleigh
    FFXIV Server
    Excalibur

    Ok BG I'm in need of help. I've been redoing all of my XMLs this week and I've finally hit a wall I can't get past. Everything thing works except when I'm swapping between sets (TP-Haste, TP-EvaMix, TP-FullEva). The commands work, and the variable swaps, but it won't actually swap me when I hit it, I need an extra command to trigger and aftercast and I'm not sure what the issue is. I've looked over my other XML that works when swapping between sets, but I still can't figure it out. Link to my XML is here:

    http://pastebin.com/f07tEmKw

  2. #5722
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    You need a trigger spell within the trigger rule to equip gear.

    ex:
    Code:
    <if spell="trigger2">
    <if status="idle">
    <equip set="idle" />
    </if>
    <elseif status="engaged">
    <equip set="TP-$Gear" />
    </elseif>
    </if>
    		<elseif Spell="Poison V">
    			<cancelspell />
    				<if Advanced='"$Gear"="EvaMix"'>	
    					<var cmd="set Gear Haste" />
    					<addtochat color="57">TP-Haste Gear - Equipped</addtochat>
    				</if>
    				<elseif Advanced='"$Gear"="FullEva"'>
    					<var cmd="set Gear Haste" />
    					<addtochat color="57">TP-Haste Gear - Equipped</addtochat>
    				</elseif>
    				<elseif Advanced='"$Gear"="Haste"'>
    					<return />
    				</elseif>
    <command>Trigger2</command>
    		</elseif>

  3. #5723
    New Merits
    Join Date
    Apr 2009
    Posts
    242
    BG Level
    4
    FFXI Server
    Leviathan

    Is there a work around for how to fix the buffactive status? I believe it was broken and I used it for my blm for goetia sabots to lock them while mana wall was on, and now I want to use it for SA as well on my thf. Any suggestions?

  4. #5724
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Update spellcast?

  5. #5725
    New Merits
    Join Date
    Apr 2009
    Posts
    242
    BG Level
    4
    FFXI Server
    Leviathan

    I thought it was a problem from the recent update?

  6. #5726
    Flowery Twats
    Join Date
    Jul 2008
    Posts
    3,583
    BG Level
    7

    You know the variables for ele staves, the:
    Code:
    <var name="IceStaff"></var>
    		<var name="DarkStaff"></var>
    		<var name="ThunderStaff"></var>
    		<var name="WindStaff"></var>
    		<var name="FireStaff"></var>
    		<var name="EarthStaff"></var>
    		<var name="LightStaff"></var>
    		<var name="WaterStaff"></var>
    Calling them with <main>$%SpellElementStaff</main>

    Is there any way to do something similar but with bard instruments? Such as:
    Code:
    <var name="MarchHorn"></var>
    		<var name="MinuetHorn"></var>
    		<var name="MadrigalHorn"></var>
    		<var name="PreludeHorn"></var>
    		<var name="BalladHorn"></var>
    		<var name="ScherzoHorn"></var>
    		<var name="CarolHorn"></var>
    		<var name="LullabyHorn"></var>
    		<var name="ElegyHorn"></var>
    		<var name="ThrenodyHorn"></var>
    		<var name="MinneHorn"></var>
    And <range>$SongHorn</range> or something?

  7. #5727
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Nope. Works for staves because we can tie the staff directly to the element (Key). There isn't a key for type of BRD song though and if you use the name, you'll have to use the entire name.

  8. #5728
    Relic Horn
    Join Date
    Sep 2011
    Posts
    3,379
    BG Level
    7
    FFXI Server
    Leviathan

    Anyone care to diagnose why this doesn't load anymore?

    Edit: Woops. Fixed.

    Code:
    <?xml version="1.0" ?>
    <Spellcast>
        <config 
    		Debug="false"
    		ShowGearSwaps="false" 
    		/>
        <variables>
            <var name="SleepTimers">1</var>
            <var name="IceStaff">Vourukasha I</var>
    		<var name="WindStaff">Auster's Staff</var>
    		<var name="EarthStaff">Terra's Staff</var>
    		<var name="ThunderStaff">Jupiter's Staff</var>
    		<var name="WaterStaff">Neptune's Staff</var>
    		<var name="FireStaff">Vulcan's Staff</var>
    		<var name="DarkStaff">Pluto's Staff</var>
    		<var name="LightStaff">Apollo's Staff</var>
    		<var name="IceObi">Hyorin Obi</var>
    		<var name="WindObi">Furin Obi</var>
    		<var name="EarthObi">Dorin Obi</var>
    		<var name="ThunderObi">Rairin Obi</var>
    		<var name="WaterObi">Suirin Obi</var>
    		<var name="FireObi">Karin Obi</var>
    		<var name="DarkObi">Anrin Obi</var>
    		<var name="LightObi">Korin Obi</var>
    		<var name="Yellow">0</var>
    		<var name="StunLock">0</var>
    		<var name="Idle">0</var>
    		<var name="Time">aftercast</var>
    		<var name="StaffSkill">0</var>
    		<var name="TriggerSet">DancingChains</var>
    		<var name="StormElement">0</var>
        </variables>
        <sets>
            <group name="Potency" default="yes">
                <set name="Idle">
                    <body>Savant's Gown +2</body>
                    <hands>Serpentes Cuffs</hands>
                    <feet>Serpentes Sabots</feet>
                    <legs>Savant's Pants +2</legs>
                    <head>Wivre Hairpin</head>
                    <neck>Twilight Torque</neck>
                    <lring>Dark Ring</lring>
                    <rring>Dark Ring</rring>
                    <rear>Colossus's Earring</rear>
                    <waist>Siegel Sash</waist>
                    <back>Shadow Mantle</back>
                    <ammo>Incantor Stone</ammo>
                    <main>Terra's Staff</main>
                    <sub></sub>
                    <lear>Savant's Earring</lear>
                </set>
                <set name="Elemental Magic">
    				<main>$%SpellElementStaff</main>
                    <body>Savant's Gown +2</body>
                    <head>Teal Chapeau</head>
                    <legs>Teal Slops</legs>
                    <waist>Cognition Belt</waist>
                    <hands>Savant's Bracers +2</hands>
                    <feet>Svnt. Loafers +2</feet>
                    <back>Romanus Cape</back>
                    <lring>Strendu Ring</lring>
                    <rring>Demon's Ring</rring>
                    <neck>Artemis' Medal</neck>
                    <lear></lear>
                    <rear>Hecate's Earring</rear>
                    <ammo>Witchstone</ammo>
                    <sub></sub>
                </set>
                <set name="Magic Accuracy">
    				<main>$%SpellElementStaff</main>
                    <body>Savant's Gown +2</body>
                    <hands></hands>
                    <legs>Portent Pants</legs>
                    <feet>Svnt. Loafers +2</feet>
                    <waist></waist>
                    <back></back>
                    <lring>Strendu Ring</lring>
                    <rring>Diamond Ring</rring>
                    <head></head>
                    <neck></neck>
                    <lear></lear>
                    <rear></rear>
                    <ammo></ammo>
                    <sub></sub>
                </set>
                <set name="MND" baseset="Magic Accuracy">
                    <body>Savant's Gown +2</body>
                    <hands>Svnt. Bracers +2</hands>
                    <feet></feet>
                    <back></back>
                    <waist>Cascade Belt</waist>
                    <legs>Savant's Pants +2</legs>
                    <head>Teal Chapeau</head>
                    <neck></neck>
                    <lring></lring>
                    <rring></rring>
                    <sub></sub>
                </set>
                <set name="Enhancing Magic" baseset="Haste">
                    <legs>Portent Pants</legs>
                    <neck>Colossus's Torque</neck>
                    <main>Terra's Staff</main>
    				<sub>Fulcio Grip</sub>
                    <head>Svnt. Bonnet +2</head>
                    <body>Argute Gown</body>
                    <ammo></ammo>
    				<back>Merciful Cape</back>
    				<hands>Augur's Gloves</hands>
    				<waist>Cascade Belt</waist>
                </set>
                <set name="Haste">
                    <head>Zelus Tiara</head>
                    <body></body>
                    <waist>Goading Belt</waist>
                </set>
                <set name="Dark Magic" baseset="Magic Accuracy">
    				<main>$%SpellElementStaff</main>
                    <body>Scholar's Gown</body>
                    <legs>Portent Pants</legs>
                    <neck>Aesir Torque</neck>
                    <feet>Augur's Gaiters</feet>
                    <waist>Goading Belt</waist>
                    <head>Zelus Tiara</head>
                    <lear></lear>
                    <rear></rear>
                </set>
                <set name="Cure">
    				<main>Apollo's Staff</main>
                    <body></body>
                    <head>Svnt. Bonnet +2</head>
                    <hands>Serpentes Cuffs</hands>
                    <feet>Serpentes Sabots</feet>
                    <neck></neck>
                    <legs></legs>
                    <waist></waist>
                    <lring></lring>
                    <rring></rring>
                    <lear></lear>
                    <rear></rear>
                    <sub></sub>
    				<back>Oretania's Cape</back>
                </set>
    			<set name="Impact">
    				<main>$%SpellElementStaff</main>
    				<body>Twilight Cloak</body>
    			</set>
                <set name="Helix">
    				<main>$%SpellElementStaff</main>
                    <body>Savant's Gown +2</body>
                    <head>Teal Chapeau</head>
                    <legs>Teal Slops</legs>
                    <waist>Cognition Belt</waist>
                    <hands>Savant's Bracers +2</hands>
                    <feet>Svnt. Loafers +2</feet>
                    <back>Romanus Cape</back>
                    <lring>Strendu Ring</lring>
                    <rring>Diamond Ring</rring>
                    <neck>Artemis' Medal</neck>
                    <lear></lear>
                    <rear>Hecate's Earring</rear>
                    <ammo>Witchstone</ammo>
                    <sub></sub>
                </set>
                <set name="Convert">
                    <body>Pluviale</body>
                    <hands>Serpentes Cuffs</hands>
                    <feet>Serpentes Sabots</feet>
                    <legs>Estqr. Fuseau +2</legs>
                    <head>Estq. Chappel +2</head>
                    <neck>Morgana's Choker</neck>
                    <lring>Dark Ring</lring>
                    <rring>Dark Ring</rring>
                    <rear>Moonshade Earring</rear>
                    <waist>Hierarch Belt</waist>
                    <back>Umbra Cape</back>
                    <ammo>Snow Sachet</ammo>
                    <main>Terra's Staff</main>
                    <sub>Pax Grip</sub>
                    <lear>Darkness Earring</lear>
                </set>
                <set name="Resting" baseset="Idle">
                    <main>Pluto's Staff</main>
                </set>
                <set name="Fast Cast">
                    <head>Argute M.board</head>
                    <feet>Scholar's Loafers</feet>
                </set>
            </group>
            <group name="Resist" inherit="Potency" />
        </sets>
        <rules>
            <!-- Includes -->
    		<xi:include href="Yugl-Include.xml" xpointer="//include[@name='SpellCancel']/*" />
            <xi:include href="Yugl-Include.xml" xpointer="//include[@name='ReturnRules']/*" />
            <xi:include href="Yugl-Include.xml" xpointer="//include[@name='EnspellsRule']/*" />
            <!-- Idle -->
            <if status="idle">
                <equip when="aftercast|idle" set="Idle" />
            </if>
            <!-- Fast Cast -->
            <if CastTimeGT="2" notSpell="Impact">
                <castdelay delay="0.02" />
                <equip when="precast" set="Fast Cast" />
            </if>
            <!-- Trial of the Magians -->
            <if EquipMain="Teiwaz|Crook|Kubera*">
                <equip when="all">
                    <main lock="t" />
                </equip>
            </if>
            <!-- JA: Convert Gear Lock -->
            <if spell="Convert">
                <equip when="precast|midcast|aftercast" set="%spell" />
            </if>
            <!-- JA: SCH Selection -->
            <if BuffActive="Dark Arts|Addendum: Black">
                <if spell="Penury">
                    <changespell spell="Parsimony" />
                </if>
                <if spell="Celerity">
                    <changespell spell="Alacrity" />
                </if>
                <if spell="Accession">
                    <changespell spell="Manifestation" />
                </if>
                <if spell="Rapture">
                    <changespell spell="Ebullience" />
                </if>
                <if spell="Perpetuance">
                    <changespell spell="Immanence" />
                </if>
            </if>
            <if BuffActive="Light Arts|Addendum: White">
                <if spell="Parsimony">
                    <changespell spell="Penury" />
                </if>
                <if spell="Alacrity">
                    <changespell spell="Celerity" />
                </if>
                <if spell="Manifestation">
                    <changespell spell="Accession" />
                </if>
                <if spell="Ebullience">
                    <changespell spell="Rapture" />
                </if>
                <if spell="Immanence">
                    <changespell spell="Perpetuance" />
                </if>
            </if>
            <!-- JA: Parsimony and Penury -->
            <if spell="Parsimony|Penury">
                <command>input /echo Click two times to equip AF3+2 legs for 100% Conserve MP</command>
            </if>
            <if spell="Parsimony|Penury" BuffActive="Parsimony|Penury">
                <equip when="precast|midcast|aftercast|idle">
                    <legs lock="yes">Savant's Pants +2</legs>
                </equip>
            </if>
            <!-- JA: Rapture and Ebullience -->
    		<if notspell="Impact">
    			<if mode="OR" spell="Rapture|Ebullience" BuffActive="Rapture|Ebullience">
                <equip when="midcast">
                    <head lock="yes">Svnt. Bonnet +2</head>
                </equip>
    			</if>
            </if>
            <!-- JA: Perpetuance and Immenance -->
            <if mode="OR" spell="Perpetuance|Immanence" BuffActive="Perpetuance|Immanence">
                <equip when="midcast">
                    <hands>Svnt. Bracers +2</hands>
                </equip>
            </if>
            <!-- JA: Remove "JA Already Active" Statement -->
            <if type="Scholar" notSpell="Parsimony|Penury" BuffActive="%Spell" >
                <cancelspell />
                <command>input /echo %Spell already active!</command>
                <return />
            </if>
            <!-- JA: Stratagem Recast -->
            <if type="Scholar">
                <command>input /recast "%Spell"</command>
            </if>
            <!-- Magic: Nukes -->
    		<if BuffActive="Hailstorm">
    			<action type="Var" cmd="set StormElement Ice" />
    		</if>
    		<elseif BuffActive="Thunderstorm">
    			<action type="Var" cmd="set StormElement Lightning" />
    		</elseif>
    		<elseif BuffActive="Aurorastorm">
    			<action type="Var" cmd="set StormElement Light" />
    		</elseif>
    		<elseif BuffActive="Sandstorm">
    			<action type="Var" cmd="set StormElement Earth" />
    		</elseif>
    		<elseif BuffActive="Rainstorm">
    			<action type="Var" cmd="set StormElement Water" />
    		</elseif>
    		<elseif BuffActive="Windstorm">
    			<action type="Var" cmd="set StormElement Wind" />
    		</elseif>
    		<elseif BuffActive="Firestorm">
    			<action type="Var" cmd="set StormElement Fire" />
    		</elseif>
    		<elseif BuffActive="Voidstorm">
    			<action type="Var" cmd="set StormElement Darkness" />
    		</elseif>					
    
    		<else>
    		<action type="Var" cmd="set StormElement 0" />
    		</else>
    
    		<if Skill="ElementalMagic" notSpell="Frost|Choke|Drown|Rasp|Burn|Shock|Impact|*helix" group="Potency">
                <equip when="midcast" set="Elemental Magic" />
    			<if advanced='("%SpellElement"=="%DayElement")'>
    				<equip when="midcast"><waist>$%SpellElementObi</waist></equip>
    				<equip when="midcast"><back>Twilight Cape</back></equip>
    				<equip when="midcast"><rring>Zodiac Ring</rring></equip>
    			</if>
    			<elseif advanced='("%SpellElement"=="%WeatherElement")'>
    				<equip when="midcast"><waist>$%SpellElementObi</waist></equip>
    				<equip when="midcast"><back>Twilight Cape</back></equip>
    			</elseif>
    			<elseif BuffActive="*storm" advanced='("%SpellElement"=="$StormElement")'>
    				<equip when="midcast"><waist>$%SpellElementObi</waist></equip>
    				<equip when="midcast"><back>Twilight Cape</back></equip>
    			</elseif>
            </if>
            <elseif Spell="*helix" group="Potency">
                <equip when="midcast" set="Helix" />
    				<if advanced='("%SpellElement"=="%DayElement")'>
    				<equip when="midcast"><back>Twilight Cape</back></equip>
    				<equip when="midcast"><rring>Zodiac Ring</rring></equip>
    			</if>
    			<elseif advanced='("%SpellElement"=="%WeatherElement")'>
    				<equip when="midcast"><back>Twilight Cape</back></equip>
    			</elseif>
    			<elseif BuffActive="*storm" advanced='("%SpellElement"=="$StormElement")'>
    				<equip when="midcast"><back>Twilight Cape</back></equip>
    			</elseif>
            </elseif>
    		<elseif spell="Impact">
    			<equip when="precast" set="Elemental Magic|Impact" />
    		</elseif>
            <!-- Magic: Enfeebles -->
            <if Skill="EnfeeblingMagic" group="Potency">
                <if Type="WhiteMagic">
                    <equip when="midcast" set="MND" />
                </if>
                <elseif Type="BlackMagic">
                    <equip when="midcast" set="Magic Accuracy" />
                </elseif>
            </if>
            <!-- Magic: Cures -->
            <if Skill="HealingMagic">
                <if Spell="Cura*|Cure*">
                     <equip when="midcast" set="Cure" />
    					<if advanced='("%SpellElement"=="%DayElement")'>
    						<equip when="midcast"><waist>$%SpellElementObi</waist></equip>
    						<equip when="midcast"><back>Twilight Cape</back></equip>
    					</if>
    					<elseif advanced='("%SpellElement"=="%WeatherElement")'>
    						<equip when="midcast"><waist>$%SpellElementObi</waist></equip>
    						<equip when="midcast"><back>Twilight Cape</back></equip>
    					</elseif>
    					<elseif BuffActive="*storm" advanced='("%SpellElement"=="$StormElement")'>
    						<equip when="midcast"><waist>$%SpellElementObi</waist></equip>
    						<equip when="midcast"><back>Twilight Cape</back></equip>
    					</elseif>
    			</if>
                <elseif spell="*na|Erase">
                    <equip when="precast" set="Haste" />
                </elseif>
            </if>
            <!-- Magic: Dark Magic -->
            <if Skill="DarkMagic">
                <equip when="precast" set="Dark Magic" />
            </if>
            <!-- Magic: Enhancing [Others] -->
            <if Skill="EnhancingMagic" SpellTargetType="PLAYER" NotSpell="Erase|Escape|Protect*|Shell*|Tele*|Warp">
                <equip when="midcast" set="Haste" />
            </if>
            <!-- Magic: Enhancing [Self] -->
            <if Skill="EnhancingMagic" SpellTargetType="SELF" NotSpell="Stoneskin|Erase|Escape|Protect*|Shell*|Tele*|Warp">
                <equip when="midcast" set="Enhancing Magic" />
            </if>
            <!-- Magic: Impact -->
            <if spell="Impact">
                <equip when="precast|midcast">
                    <body lock="yes">Twilight Cloak</body>
                </equip>
            </if>
            <!-- JA: Tabula Rasa -->
            <if BuffActive="Tabula Rasa">
                <if spell="Parsimony">
                    <if Buffactive="Parsimony" notBuffActive="Ebullience">
                        <changespell spell="Ebullience" />
                    </if>
                    <elseif BuffActive="Ebullience" notBuffActive="Alacrity">
                        <changespell spell="Alacrity" />
                    </elseif>
                    <elseif BuffActive="Alacrity" notBuffActive="Immanence">
                        <changespell spell="Immanence" />
                    </elseif>
                </if>
                <elseif spell="Penury">
                    <if Buffactive="Penury" notBuffActive="Celerity">
                        <changespell spell="Celerity" />
                    </if>
                    <elseif BuffActive="Celerity" notBuffActive="Accession">
                        <changespell spell="Accession" />
                    </elseif>
                    <elseif BuffActive="Accession" notBuffActive="Rapture">
                        <changespell spell="Rapture" />
                    </elseif>
                </elseif>
            </if>
            <!-- Check: Perpetuance buffs -->
            <if BuffActive="Perpetuance" SpellTargetType="SELF" Spell="Haste|Phalanx|En*|*storm">
                <command when="aftercast">spellcast var inc buffid;wait 420;input /echo [$buffid:%spell] &lt;%me&gt; Wearing off in 30s</command>
                <command when="aftercast">wait 435;input /echo [$buffid:%spell] &lt;%me&gt; Wearing off in 15s</command>
                <command when="aftercast">wait 445;input /echo [$buffid:%spell] &lt;%me&gt; Wearing off in 5s;spellcast var dec buffid;</command>
            </if>
            <elseif BuffActive="Perpetuance" SpellTargetType="SELF" Spell="Refresh*">
                <command when="aftercast">spellcast var inc buffid;wait 345;input /echo [$buffid:%spell] &lt;%me&gt; Wearing off in 30s</command>
                <command when="aftercast">wait 360;input /echo [$buffid:%spell] &lt;%me&gt; Wearing off in 15s</command>
                <command when="aftercast">wait 370;input /echo [$buffid:%spell] &lt;%me&gt; Wearing off in 5s;spellcast var dec buffid;</command>
            </elseif>
            <!-- Check: Sleep timers -->
            <if advanced='"$SleepTimers"="1"'>
    		<if Spell="Sleep*">
    			<if Spell="Sleep II" BuffActive="Manifestation">
    				<action type="command" when="aftercast">spellcast var inc sleepid;wait 40;input /echo [AOE] [$sleepid:%spell] &lt;%target&gt; [Half Resist Time: 5 Seconds]</action>
    				<action type="command" when="aftercast">wait 75;input /echo [AOE] [$sleepid:%spell] &lt;%target&gt; [Time: 15 Seconds]</action>
    				<action type="command" when="aftercast">wait 85;input /echo [AOE] [$sleepid:%spell] &lt;%target&gt; [Time: 5 Seconds];spellcast var dec sleepid;</action>
    			</if>
    			<elseif spell="Sleepga II">
    				<action type="command" when="aftercast">spellcast var inc sleepid;wait 40;input /echo [AOE] [$sleepid:%spell] &lt;%target&gt; [Half Resist Time: 5 Seconds]</action>
    				<action type="command" when="aftercast">wait 75;input /echo [AOE] [$sleepid:%spell] &lt;%target&gt; [Time: 15 Seconds]</action>
    				<action type="command" when="aftercast">wait 85;input /echo [AOE] [$sleepid:%spell] &lt;%target&gt; [Time: 5 Seconds];spellcast var dec sleepid;</action>
    			</elseif>
    			<elseif spell="Sleep II">
    				<action type="command" when="aftercast">spellcast var inc sleepid;wait 40;input /echo [$sleepid:%spell] &lt;%target&gt; [Half Resist Time: 5 Seconds]</action>
    				<action type="command" when="aftercast">wait 75;input /echo [$sleepid:%spell] &lt;%target&gt; [Time: 15 Seconds]</action>
    				<action type="command" when="aftercast">wait 85;input /echo [$sleepid:%spell] &lt;%target&gt; [Time: 5 Seconds];spellcast var dec sleepid;</action>
    			</elseif>
    			<elseif Mode="OR" Spell="Sleepga" BuffActive="Manifestation">
    				<action type="command" when="aftercast">spellcast var inc sleepid;wait 25;input /echo [AOE] [$sleepid:%spell] &lt;%target&gt; [Half Resist Time: 5 Seconds]</action>
    				<action type="command" when="aftercast">wait 45;input /echo [AOE] [$sleepid:%spell] &lt;%target&gt; [Time: 15 Seconds]</action>
    				<action type="command" when="aftercast">wait 55;input /echo [AOE] [$sleepid:%spell] &lt;%target&gt; [Time: 5 Seconds];spellcast var dec sleepid;</action>
    			</elseif>
    			<else>
    				<action type="command" when="aftercast">spellcast var inc sleepid;wait 25;input /echo [$sleepid:%spell] &lt;%target&gt; [Half Resist Time: 5 Seconds]</action>
    				<action type="command" when="aftercast">wait 45;input /echo [$sleepid:%spell] &lt;%target&gt; [Time: 15 Seconds]</action>
    				<action type="command" when="aftercast">wait 55;input /echo [$sleepid:%spell] &lt;%target&gt; [Time: 5 Seconds];spellcast var dec sleepid;</action>
    			</else>
    		</if>
    		</if>
    		<!--- Check order of "Item1|Item2 -->
    		<if spell="Sharpshot">
    			<equip when="precast" set="Haste|Dark Magic" />
    		</if>
        </rules>
    </spellcast>

  9. #5729
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Missing </spellcast> at the bottom?

  10. #5730
    Relic Horn
    Join Date
    Sep 2011
    Posts
    3,379
    BG Level
    7
    FFXI Server
    Leviathan

    Bump, so Yugl comes back >:

  11. #5731
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    What is the message you're receiving?

    Edit: Try using <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">; if that doesn't work, I can try loading this and see what's up, but that's the onry major difference I see compared to standard XMLs.

  12. #5732
    Yoshi P
    Join Date
    Jun 2007
    Posts
    5,144
    BG Level
    8
    FFXIV Character
    Fitz Everleigh
    FFXIV Server
    Excalibur

    Follow up question for Yugl. I put that command line in my XML and everything appears to be working (with what I've checked so far), but now when I click on the sets I'm getting a message in the log that says "Cannot use that Weapon Skill" or something to that effect. I have <cancelspell /> in there, but it doesn't seem to be helping. Is this supposed to happen or can you get rid of that text entirely? Here's the updated XML with adding the command line: http://pastebin.com/f07tEmKw

    Edit: I don't know if this is necessary, but here's my include as well: http://pastebin.com/CJAbeduF

  13. #5733
    Relic Horn
    Join Date
    Sep 2011
    Posts
    3,379
    BG Level
    7
    FFXI Server
    Leviathan

    Quote Originally Posted by Yugl View Post
    What is the message you're receiving?

    Edit: Try using <spellcast xmlnsi="http://www.w3.org/2001/XInclude">; if that doesn't work, I can try loading this and see what's up, but that's the onry major difference I see compared to standard XMLs.
    No dice. I'm receiving:

    SpellCast: XML Parsing Error: Line 0 - Failed to open file
    Spellcast: Your document failed to load. Please view the error above, and once it is corrected type sc reload

    http://pastebin.com/fZrExw6H

  14. #5734
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    @Dotsu: Your XML works when I tested using my include XML. Do you have an include XML named Yugl-Include.xml?

  15. #5735
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Quote Originally Posted by TacoTaru View Post
    Follow up question for Yugl. I put that command line in my XML and everything appears to be working (with what I've checked so far), but now when I click on the sets I'm getting a message in the log that says "Cannot use that Weapon Skill" or something to that effect. I have <cancelspell /> in there, but it doesn't seem to be helping. Is this supposed to happen or can you get rid of that text entirely? Here's the updated XML with adding the command line: http://pastebin.com/f07tEmKw

    Edit: I don't know if this is necessary, but here's my include as well: http://pastebin.com/CJAbeduF
    Code:
    <?xml version="1.0" ?>
    <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
    	<config
               Debug="true"
               HideErrors="False"
               ShowGearSwaps="False"
                 />
    
    	<sets>
    		<group name="Standard" default="yes">
    			<set name="Idle">
    				<lring>Rajas Ring</lring>
    				<lear>Ghillie Earring +1</lear>
    				<ammo>Potestas bomblet</ammo>
    				<head>Tantra Crown +2</head>
    				<neck>Twilight Torque</neck>
    				<body>Tantra Cyclas +2</body>
    				<hands>Tantra Gloves +2</hands>
    				<back>Atheling Mantle</back>
    				<waist>Black Belt</waist>
    				<legs>Usukane hizayoroi</legs>
    				<feet>Hermes' Sandals</feet>
    				<rring>Epona's Ring</rring>
    				<rear>Brutal Earring</rear>
    			</set>
    			<set name="TP-Haste">
    				<lring>Rajas Ring</lring>
    				<lear>Ghillie Earring +1</lear>
    				<ammo>Potestas bomblet</ammo>
    				<head>Tantra Crown +2</head>
    				<neck>Rancor Collar</neck>
    				<body>Tantra Cyclas +2</body>
    				<hands>Melee Gloves +2</hands>
    				<back>$Cape</back>
    				<waist>Black Belt</waist>
    				<legs>Tantra Hose +2</legs>
    				<feet>$Feet</feet>
    				<rring>Epona's Ring</rring>
    				<rear>Brutal Earring</rear>
    			</set>
    			<set name="TP-FullEva">
    				<lring>Rajas Ring</lring>
    				<lear>Musical Earring</lear>
    				<head>Usukane Somen</head>
    				<neck>Evasion Torque</neck>
    				<body>Tantra Cyclas +2</body>
    				<hands>Usukane Gote</hands>
    				<back>Boxer's Mantle</back>
    				<waist>Black Belt</waist>
    				<legs>Ocelot Trousers</legs>
    				<feet>Tantra Gaiters +2</feet>
    				<rring>Epona's Ring</rring>
    				<rear>Brutal Earring</rear>
    			</set>
    			<set name="TP-EvaMix" Baseset="TP-FullEva">
    				<head>Tantra Crown +2</head>
    				<waist>Black Belt</waist>
    				<legs>Tantra Hose +2</legs>
    			</set>
    			<set name="TP-PDT" Baseset="TP-Haste">
    				<lear>Musical Earring</lear>
    				<head>Arh. Jinpachi +1</head>
    				<neck>Twilight Torque</neck>
    				<body>Arhat's Gi +1</body>
    				<hands>Denali Wristbands</hands>
    				<back>Boxer's Mantle</back>
    			</set>
    			<set name="TP-MDT" Baseset="TP-Haste">
    				<neck>Twilight Torque</neck>
    				<body>Avalon Breastplate</body>
    				<hands>Denali Wristbands</hands>
    			</set>
    			<!-- Weapon Skill Gear Sets -->
    			<set name="CommonWSgear">
    				<lring>Rajas Ring</lring>
    				<lear>Ghillie Earring +1</lear>
    				<ammo>Potestas Bomblet</ammo>
    				<head>Anwig Salade</head>
    				<neck>Faith Torque</neck>
    				<body>Tantra Cyclas +2</body>
    				<hands>Usukane Gote</hands>
    				<back>Atheling Mantle</back>
    				<waist>Black Belt</waist>
    				<legs>Usukane hizayoroi</legs>
    				<feet>Tantra Gaiters +2</feet>
    				<rring>Epona's Ring</rring>
    				<rear>Brutal Earring</rear>
    			</set>
    			<set name="Ascetic" Baseset="CommonWSgear">
    				<lring>Pyrosoul Ring</lring>
    				<lear>Flame Pearl</lear>
    				<ammo>Thew bomblet</ammo>
    				<neck>Flame Gorget</neck>
    				<hands>Mustela Gloves</hands>
    				<waist>Flame Belt</waist>
    			</set>
    			<set name="Smite" Baseset="CommonWSgear">
    				<lring>Pyrosoul Ring</lring>
    				<head>Aias Bonnet</head>
    				<neck>Rancor Collar</neck>
    				<hands>Mustela Gloves</hands>
    				<legs>Hachiryu Haidate</legs>
    				<feet>Kacura Leggings +1</feet>
    			</set>
    			<set name="Asuran" Baseset="CommonWSgear">
    				<neck>Flame Gorget</neck>
    				<lear>Ghillie Earring +1</lear>
    			</set>
    			<set name="X-Kick" Baseset="CommonWSgear">
    				<neck>Breeze Gorget</neck>
    				<waist>Breeze Belt</waist>
    			</set>         
    			<set name="Retribution" Baseset="CommonWSgear">
    				<neck>Soil Gorget</neck>
    				<hands>Tantra Gloves +2</hands>
    				<rring>Epona's Ring</rring>
    				<waist>Shadow Belt</waist>
    			</set>
    			<set name="Black Halo" Baseset="Retribution">
    				<neck>Breeze Gorget</neck>
    			</set>
    			<set name="Cataclysm">
    				<lear>Hecate's Earrings</lear>
    				<ammo>Tantra Tathlum</ammo>
    				<neck>Uggalepih Pendant</neck>
    				<body>Kirin's Osode</body>
    				<back>Cuchulain's Mantle</back>
    				<waist>Shadow Belt</waist>
    				<rring>Spiral Ring</rring>
    				<rear>Moldavite Earring</rear>
    			</set>
    			<set name="Utsusemi" Baseset="TP-Haste">
    				<lear>Loquac. Earring</lear>
    				<neck>Magoraga Beads</neck>
    				<back>Boxer's Mantle</back>
    			</set>
    			<!--Job Ability Gear Sets-->
    			<set name="Chi">
    				<ammo>Tantra Tathlum</ammo>
    				<head>Temple Crown</head>
    				<neck>Faith Torque</neck>
    				<body>Kirin's Osode</body>
    				<hands>Denali Wristbands</hands>
    				<waist>Crudelis Belt</waist>
    				<feet>Suzaku's Sune-ate</feet>
    			</set>
    			<set name="Chakra">
    				<ammo>Tantra Tathlum</ammo>
    				<body>Temple Cyclas</body>
    				<hands>Melee Gloves +2</hands>
    				<rring>Spiral Ring</rring>
    				<waist>Warwolf Belt</waist>
    			</set>
    		</group>
    	</sets>
    
    	<!-- Variables -->
    	<variables>
    		<var name="Gear">Haste</var>
    		<var name="Triggers">Poison V|Poisonga V|Break|Enlight|Thunder V|Blizzard V|Dancing Chains</var>
    		
    		<var name="Distance">6.5</var>
    		<!--Perfect Counter-->
    		<var name="Cape">Atheling Mantle</var>
    		<var name="Feet">Tantra Gaiters +2</var>
    	</variables>
    
    	<!-- Includes -->
    <rules>
    		<!-- Idle | Engaged | Aftercast Rules -->
    		<if spell="$Triggers">
    			<var cmd="set Time precast" />
    			<if spell="Dancing Chains">
    				<cancelspell />
    				<if status="resting">
    					<var cmd="set Time resting" />
    				</if>
    				<elseif status="idle">
    					<var cmd="set Time idle" />
    				</elseif>
    				<elseif status="engaged">
    					<var cmd="set Time engaged" />
    				</elseif>
    			</if>
    			<else>
    				<var cmd="set Time aftercast" />
    			</else>
    			<if status="engaged">
    				<equip when="$Time" set="TP-$Gear" />
    			</if>
    			<else>
    				<equip when="$Time" set="Idle" />
    			</else>
    		</if>
    		<if advanced='"$Time" = "precast"'>
    			<cancelspell />
    			<return />
    		</if>
    
    		<!-- TP gear swap trigger -->
    		<elseif Spell="Poison V">
    			<cancelspell />
    			<if Advanced='"$Gear"="EvaMix"'>       
    				<var cmd="set Gear Haste" />
    				<addtochat color="57">TP-Haste Gear - Equipped</addtochat>
    			</if>
    			<elseif Advanced='"$Gear"="FullEva"'>
    				<var cmd="set Gear Haste" />
    				<addtochat color="57">TP-Haste Gear - Equipped</addtochat>
    			</elseif>
    			<elseif Advanced='"$Gear"="Haste"'>
    				<return />
    			</elseif>
    			<command>Dancing Chains</command>
    		</elseif>
    
    		<!-- Mixed Evasion swap trigger -->
    		<elseif Spell="Break">
    			<cancelspell />
    			<if Advanced='"$Gear"="Haste"'>
    				<var cmd="set Gear EvaMix" />
    				<addtochat color="57">TP-EvaMix Gear - Equipped</addtochat>
    			</if>
    			<elseif Advanced='"$Gear"="FullEva"'>
    				<var cmd="set Gear EvaMix" />
    				<addtochat color="57">TP-EvaMix Gear - Equipped</addtochat>
    			</elseif>
    			<elseif Advanced='"$Gear"="EvaMix"'>
    				<return />
    			</elseif>
    			<command>Dancing Chains</command>
    		</elseif>
    
    		<!-- Full Evasion swap trigger -->
    		<elseif Spell="Enlight">
    			<cancelspell />
    			<if Advanced='"$Gear"="Haste"'>
    				<var cmd="set Gear FullEva" />
    				<addtochat color="57">TP-FullEva Gear - Equipped</addtochat>
    			</if>
    			<if Advanced='"$Gear"="EvaMix"'>
    				<var cmd="set Gear FullEva" />
    				<addtochat color="57">TP-FullEva Gear - Equipped</addtochat>
    			</if>
    			<elseif Advanced='"$Gear"="FullEva"'>
    				<return />
    			</elseif>
    			<command>Dancing Chains</command>
    		</elseif>
    
    		<!-- PDT | MDT swap triggers -->               
    		<if spell="Sentinel">
    			<equip when="precast" set="TP-PDT" />
    			<cancelspell />
    		</if>
    		<if spell="Rampart">
    			<equip when="precast" set="TP-MDT" />
    			<cancelspell />
    		</if>            
    
    		<!-- Delay timers -->
    		<action Type="CastDelay" Delay="0.2" />
    
    		<!-- Perfect Counter -->
    		<if mode="or" spell="Perfect Counter" BuffActive="Perfect Counter">
    			<action Type="var" cmd="set Cape Ultion Mantle" />
    			<action Type="var" cmd="set Feet Melee Gaiters +2" />
    		</if>
    		<else>
    			<action Type="Var" cmd="set Cape Atheling Mantle" />
    			<action Type="var" cmd="set Feet Tantra Gaiters +2" />
    		</else> 
    
    
    		<!-- Shadow Rules -->
    		<if Spell="Utsusemi*">
    			<action Type="Equip" when="precast" set="Utsusemi" />
    			<action Type="Equip" when="aftercast" set="TP-$Gear" />
    		</if>
    
    		<!-- Weapon Skills -->
    		<if spell="Ascetic's Fury">
    			<action Type="Equip" when="precast" set="Ascetic" />
    			<action Type="Equip" when="midcast" set="TP-$Gear" />
    		</if>
    		<elseif spell="Victory Smite">
    			<action Type="Equip" when="precast" set="Smite" />
    			<action Type="Equip" when="midcast" set="TP-$Gear" />
    		</elseif>
    		<elseif spell="Asuran Fists">
    			<action Type="Equip" when="precast" set="Asuran" />
    			<action Type="Equip" when="midcast" set="TP-$Gear" />
    		</elseif>
    		<elseif spell="Dragon Kick|Tornado Kick">
    			<action Type="Equip" when="precast" set="X-Kick" />
    			<action Type="Equip" when="midcast" set="TP-$Gear" />
    		</elseif>
    		<elseif spell="Retribution">
    			<action Type="Equip" when="precast" set="Retribution" />
    			<action Type="Equip" when="midcast" set="TP-$Gear" />
    		</elseif>
    		<elseif spell="Black Halo">
    			<action Type="Equip" when="precast" set="Black Halo" />
    			<action Type="Equip" when="midcast" set="TP-$Gear" />
    		</elseif>
    		<elseif spell="Cataclysm">
    			<action Type="Equip" when="precast" set="Cataclysm" />
    			<action Type="Equip" when="midcast" set="TP-$Gear" />
    		</elseif>
    		<elseif Type="WeaponSkill">
    			<action Type="Equip" when="precast" set="CommonWSgear" />
    			<action Type="Equip" when="midcast" set="TP-$Gear" />
    		</elseif>
    
    
    		<!-- Job Abilities -->
    		<if Type="JobAbility">
    			<if spell="Counterstance">
    				<equip when="precast">
    					<feet>Melee Gaiters +2</feet>
    				</equip>
    			</if>
    			<elseif spell="Focus">
    				<equip when="precast">
    					<head>Temple Crown</head>
    				</equip>
    			</elseif>
    			<elseif spell="Dodge">
    				<equip when="precast">
    					<feet>Temple Gaiters</feet>
    				</equip>
    			</elseif>
    			<elseif spell="Boost">
    				<equip when="precast">
    					<hands>Temple Gloves</hands>
    				</equip>
    			</elseif>
    			<elseif spell="Chakra">
    				<equip when="precast" set="Chakra"/>
    			</elseif>
    			<elseif spell="Chi Blast">
    				<equip when="precast" set="Chi"/>
    			</elseif>
    		</if>
    	</rules>
    </spellcast>
    Removed the includes from this XML, so add them back. You had $Triggers and $Triggers2. Since your rule onry checked for $Triggers, doing DancingChains (Which happens after every trigger spell) would skip the rule. I added DancingChains to $Triggers and removed $Triggers2 since $Triggers would proceed before $Triggers2. That means you would have BlizzardV|FireV|etc2 instead of DancingChains as $Triggers2. I removed autoset since you don't need that.

  16. #5736
    Remit One (1) Custom Title
    Join Date
    Sep 2007
    Posts
    2,397
    BG Level
    7
    FFXIV Character
    Qeomash Pandemonium
    FFXIV Server
    Cactuar
    FFXI Server
    Asura

    I'm finally getting my spellcast XMLs up and running, but I have just a couple of questions with using autoexec coupled with spellcast:

    1. Multiple Jobs. I've set my XML as one file, with each equipment set group being a different job. I'm planning on setting up autoexec to run "sc group rdm" on the event of changing to RDM. Is this the best approach? It wouldn't be hard to switch to more than one spellcast XML if needed. Finally, say in XML the default is set as RDM, but I log in as DRG. Is there a way for autoexec and/or spellcast to realize this automatically and set spellcast to group DRG?

    2. Multiple Characters. I dual box often, and plan to write a second XML for the second character in the near future. Plan was to have autoexec run "sc load character1.xml" upon login of character1, and "sc load character2.xml" upon login of character2. Is this the best way?


    Edit: I'm stupid and should feel bad. Didn't know spellcast was smart enough to look for "Qeomash_RDM.xml" upon job change.

  17. #5737
    Yoshi P
    Join Date
    Jun 2007
    Posts
    5,144
    BG Level
    8
    FFXIV Character
    Fitz Everleigh
    FFXIV Server
    Excalibur

    Nevermind I solved my problem.

  18. #5738
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Quote Originally Posted by Kensagaku View Post
    So, I was fiddling around with my SMN xml, trying to fix it so that depending on weather or day, it would swap in the appropriate piece; in this instance, I'm looking at Nashira hands when Caller+2's halved perpetuance bonus isn't in effect. This thing is gonna look like a tangled mess, as a warning, since I'm not familiar with a lot of the advanced rules, specifically those regarding weather/element.

    Spellcast before I explain the issues:
    Spoiler: show
    Code:
    <?xml version="1.0" ?>
     
    <spellcast>
    	<guildwork
            character="Kensagaku"
            server="Valefor"
            description="Kensagaku's SMN"
            job="SMN"
        />
    
    	<config
    		RequiredVersion="2.20"
    		HideErrors="false"
    		ShowGearSwaps="false"
    		Debug="false"
    		ShowSpellInfo="false"
    	/>
    	<variables clear="True">
     	
    		<var name="EquipSet">Normal</var>
    		<var name="Avatar">None</var>
     
    	</variables>
     
    	<sets>
    		<group name = "SMN" default="yes">
    		<!--Idle gear-->
    			<set name="Normal">
    				<main>Owleyes</main>
    				<sub>Genbu's Shield</sub>
    				<ammo>Hedgehog Bomb</ammo>
    				<head>Caller's Horn +2</head>
    				<neck>Caller's Pendant</neck>
    				<lear>Gifted Earring</lear>
    				<rear>Moonshade Earring</rear>
    				<body>Manasa Chasuble</body>
    				<hands>Serpentes Cuffs</hands>
    				<lring>Fervor Ring</lring>
    				<rring>Evoker's Ring</rring>
    				<back>Summoner's Cape</back>
    				<waist>Mujin Obi</waist>
    				<legs>Tatsu. Sitagoromo</legs>
    				<feet>Serpentes Sabots</feet>
    			</set>
    		<!--Resting Gear, hMP and Refresh-->
    			<set name="Resting" Baseset="Normal">
    				<neck>Eidolon Pendant</neck>
    				<body>Errant Houppelande</body>
    				<legs>Sagacity Lappas</legs>
    				<waist>Austerity Belt</waist>
    				<feet>Goliard Clogs</feet>
    			</set>
    		<!--Elemental Siphon, pure skill here and any Siphon-boosting equipment-->
    			<set name="Siphon" Baseset="$Equipset">
    				<main>Soulscourge</main>
    				;pause 1
    				<sub>Vox Grip</sub>
    				<head>Caller's Horn +2</head>
    				<neck>Caller's Pendant</neck>
    				<body>Anhur Robe</body>
    				<hands>Smn. Bracers +2</hands>
    				<legs>Ngen Seraweels</legs>
    				<rring>Evoker's Ring</rring>
    				<feet>Caller's Pigaches +2</feet>
    			</set>
    			<set name="Skill" Baseset="Siphon">
    				<feet>Rubeus Boots</feet>
    			</set>
    		<!--BP sets, for BP delay-, physical attack set, and magical attack set respectively-->
    			<set name="BP-Delay" Baseset="$Equipset">
    				<head>Summoner's Horn</head>
    				<body>Yinyang Robe</body>
    				<hands>Smn. Bracers +2</hands>
    				<back>Tiresias' Cape</back>
    				<feet>Summoner's Pigaches</feet>
    			</set>
    			<set name="BP-Phys" Baseset="$Equipset">
    				<main>Soulscourge</main>
    				<head>Caller's Horn +2</head>
    				<body>Caller's Doublet +2</body>
    				<hands>Smn. Bracers +2</hands>
    				<legs>Ngen Seraweels</legs>
    				<waist>Mujin Obi</waist>
    				<rear>Esper Earring</rear>
    				<lear>Gifted Earring</lear>
    				<feet>Summoner's Pigaches</feet>
    			</set>
    			<set name="BP-Magic" Baseset="$Equipset">
    				<main>Tuahjebat</main>
    				<sub>Vox Grip</sub>
    				<head>Caller's Horn +2</head>
    				<body>Caller's Doublet +2</body>
    				<hands>Nares Cuffs</hands>
    				<legs>Caller's Spats +2</legs>
    				<neck>Eidolon Pendant</neck>
    				<back>Tiresias' Cape</back>
    				<waist>Caller's Sash</waist>
    				<lear>Gifted Earring</lear>
    				<rear>Esper Earring</rear>
    				<feet>Shedir Crackows</feet>
    			</set>
    		<!--Summon-specific sets-->
    			<set name="Avatar" Baseset="Normal">
    				<main>Fay Crozier</main>
    				;pause 1
    				<sub>Vox Grip</sub>
    				<body>Caller's Doublet +2</body>
    				<hands>Nashira Gages</hands>
    				<waist>Moepapa Stone</waist>
    				<legs>Ngen Seraweels</legs>
    				<feet>Caller's Pigaches +2</feet>
    			</set>
    			<!--Stoneskin obviously. MND+ for best potency as well as any SS boosters.-->
    			<set name="Stoneskin">
    				<head>Teal Chapeau</head>
    				<main>Kirin's Pole</main>
    				<body>Heka's Kalasiris</body>
    				<lring>Solemn Ring</lring>
    				<back>Kaikias' Cape</back>
    				<waist>Siegel Sash</waist>
    				<legs>Haven Hose</legs>
    				<rring>Aquasoul Ring</rring>
    				<feet>Rubeus Boots</feet>
    				<lear>Gifted Earring</lear>
    			</set>
    			<!--Cures, yay. Good for making sure people don't die.-->
    			<set name="Cures">
    				<main>Arka IV</main>
    				<neck>Colossus's Torque</neck>
    				<head>Teal Chapeau</head>
    				<body>Heka's Kalasiris</body>
    				<hands>Serpentes Cuffs</hands>
    				<rring>Solemn Ring</rring>
    				<lring>Aquasoul Ring</lring>
    				<waist>Penitent's Rope</waist>
    				<legs>Nares Trews</legs>
    				<feet>Serpentes Sabots</feet>
    			</set>
    			<set name="Fast Cast">
    				<head>Nares Cap</head>
    				<body>Anhur Robe</body>
    				<rear>Loquacious Earring</rear>
    				<hands>Rubeus Gloves</hands>
    				<legs>Rubeus Spats</legs>
    				<back>Swith Cape</back>
    			</set>
    		</group>
    	</sets>
    	<rules>
    	
    		<if status="resting">
    			<equip when="resting" set="Resting"/>
    		</if>
    		<if status="idle">
    			<if advanced='("$Avatar" = "Carbuncle")'>
    				<if advanced='("%Weatherelement" = "Light" OR "%dayelement" = "Light" OR "buffactive"="Aurorastorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</if>
    			<elseif advanced='("$Avatar" = "Ifrit")'>
    				<if advanced='("%Weatherelement" = "Fire" OR "%dayelement" = "Fire" OR "buffactive"="Firestorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Shiva")'>
    				<if advanced='("%Weatherelement" = "Ice" OR "%dayelement" = "Ice" OR "buffactive"="Hailstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Garuda")'>
    				<if advanced='("%Weatherelement" = "Wind" OR "%dayelement" = "Wind" OR "buffactive"="Windstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Titan")'>
    				<if advanced='("%Weatherelement" = "Earth" OR "%dayelement" = "Earth" OR "buffactive"="Sandstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Ramuh")'>
    				<if advanced='("%Weatherelement" = "Thunder" OR "%dayelement" = "Thunder" OR "buffactive"="Thunderstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Leviathan")'>
    				<if advanced='("%Weatherelement" = "Water" OR "%dayelement" = "Water" OR "buffactive"="Rainstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Diabolos|Fenrir")'>
    				<if advanced='("%Weatherelement" = "Dark" OR "%dayelement" = "Dark" OR "buffactive"="Voidstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<else>
    				<equip when="idle" set="$Equipset"/>
    			</else>
    		</if>
    		
    	
    <!--Spirits-->
    		<if type="SummonerPact">
    			<if spell="*Spirit">
    				<if area="Dynamis*|*Apollyon*|Walk of Echoes">
    					<changespell spell="DarkSpirit"/>
    				</if>
    				<elseif area="*Temenos*">
    					<changespell spell="LightSpirit"/>
    				</elseif>
    			</if>
    		</if>
    
    <!--Avatars/Spirit Equips-->
    		<if skill="SummoningMagic">
    			<if spell="Carbuncle">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Light" OR "%dayelement" = "Light" OR "buffactive"="Aurorastorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</if>
    			<elseif spell="Ifrit">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Fire" OR "%dayelement" = "Fire" OR "buffactive"="Firestorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Shiva">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Ice" OR "%dayelement" = "Ice" OR "buffactive"="Hailstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Garuda">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Wind" OR "%dayelement" = "Wind" OR "buffactive"="Windstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Titan">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Earth" OR "%dayelement" = "Earth" OR "buffactive"="Sandstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Ramuh">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Thunder" OR "%dayelement" = "Thunder" OR "buffactive"="Thunderstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Leviathan">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Water" OR "%dayelement" = "Water" OR "buffactive"="Rainstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Diabolos|Fenrir">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Dark" OR "%dayelement" = "Dark" OR "buffactive"="Voidstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<else>
    				<equip when="midcast" set="Avatar"/>
    			</else>
    			<if spell="*Spirit">
    				<action type="equip" when="precast" set="Siphon">
    				</action>
    			</if>
    		</if>
    			
    		<if spell="Release">
    			<command when="precast">sc v s Equipset "Normal"</command>
    			<equip when="precast" set="Normal"/>
    		</if>
     
    <!--BPs Rage and Ward-->
    		<if Type="BloodPactRage|BloodPactWard">
    			<action type="aftercastdelay" delay="5"/>
    			<!-- Magic BP's -->
    			<if Spell="Holy Mist|Lunar Bay|Night Terror|Searing Light|Meteorite|Stone*|Aero*|Blizzard*|Fire*|Water*|Thunder*|Burning Strike|Thunder Spark|Nether Blast|Ultimate Terror|Somnolence|Nightmare|Dream Shroud|Noctoshield|Ruinous Omen|Howling Moon|Earthen Fury|Aerial Blast|Diamond Dust|Inferno|Tidal Wave|Judgment Bolt|Heavenly Strike|Grand Fall">
    				<action type="equip" when="precast" set="BP-Delay" />
    				<action type="midcastdelay" delay="1" />
    				<action type="equip" when="midcast" set="BP-Magic" />
    			</if>
    			<!-- Physical BP's -->
    			<elseif Spell="Poison Nails|Earthen Fury|Rock Throw|Rock Buster|Megalith Throw|Mountain Buster|Claw|Predator Claws|Axe Kick|Double Slap|Rush|Punch|Double Punch|Flaming Crush|Barracuda Dive|Tail Whip|Spinning Dive|Shock Strike|Chaotic Strike|Charge|Fang|Bite|Camisado|Eclipse Bite">
    				<action type="equip" when="precast" set="BP-Delay" />
    				<action type="midcastdelay" delay="1" />
    				<action type="equip" when="midcast" set="BP-Phys" />
    			</elseif>
    			<!-- Skill-Based BPs -->
    			<elseif Spell="Tidal Roar|Earthen Armor|Earthen Ward|Healing Ruby*|Shining Ruby|Glittering Ruby|Whispering Wind|Aerial Armor|Hastega|Frost Armor|Crimson Howl|Slowga|Spring Water|Sleepga|Thunder Armor|Rolling Thunder|Lunar Cry|Lunar Roar|Ecliptic Howl|Ecliptic Growl|Fleet Wind|Inferno Howl|Diamond Storm|Shock Squall|Soothing Ruby">
    				<action type="equip" when="precast" set="BP-Delay" />
    				<action type="midcastdelay" delay="1" />
    				<action type="equip" when="midcast" set="Skill" />
    			</elseif>
    		</if>
    		<if spell="Alexander|Odin">
    			<action type="equip" when="precast" set="Skill" />
    		</if>
    		<if spell="Mana Cede">
    			<action type="equip" when="precast">
    				<hands>Caller's Bracers +2</hands>
    			</action>
    		</if>
     
    <!-- Cancel and Buffs -->
    		<if Spell="Stoneskin">
    			<action type="equip" when="precast" set="Fast Cast" />
    			<action type="equip" when="midcast" set="Stoneskin" />
    		</if>
    		<elseif Spell="Blink">
    			<equip when="precast" set="Fast Cast"/>
    			<action type="command" when="midcast">cancel 36</action>
    			<action type="midcastdelay" delay="2" />
    		</elseif>
     
    		<elseif Spell="Sneak|Invisible">
    			<action type="midcastdelay" delay="1.5" />
    			<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="&lt;me&gt;" OR ("%target"="%PlayerName" AND "%SpellTarget"="&lt;t&gt;")'>
    				<action type="command" when="midcast">cancel 71</action>
    			</if>
    		</elseif>
    		<elseif Spell="Reraise*">
    			<action type="midcastdelay" delay="2" />
    			<action type="command" when="midcast">cancel 113</action>
    		</elseif>
     
    <!-- Non Level Cap -->
    		<if SubJob="WHM|RDM|SCH|BLM">
    			<if Spell="Cure*|Curaga*|Banish*">
    				<equip when="precast" set="Fast Cast">
    					<body>Heka's Kalasiris</body>
    				</equip>
    				<action type="equip" when="midcast" set="Cures"/>
    			</if>
     				<if spell="Cure*|Curaga*|Regen*" NotBuffActive="Penury">
    				<if Spell="Curaga II" MPLT="120">
    					<action type="ChangeSpell" Spell="Curaga" />
    				</if>
    				<elseif Spell="Curaga" MPLT="60">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Cure III" MPLT="46" MPGT="23">
    					<action type="ChangeSpell" Spell="Cure II" />
    				</elseif>
    				<elseif Spell="Cure III" MPLT="24" MPGT="7">
    					<action type="ChangeSpell" Spell="Cure" />
    				</elseif>
    				<elseif Spell="Cure III" MPLT="8">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Cure II" MPLT="24" MPGT="7">
    					<action type="ChangeSpell" Spell="Cure" />
    				</elseif>
    				<elseif Spell="Cure II" MPLT="8">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Cure" MPLT="8">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Regen II" MPLT="36" MPGT="14">
    					<action type="ChangeSpell" Spell="Regen" />
    				</elseif>
    				<elseif Spell="Regen II" MPLT="15">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Regen" MPLT="15">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    			</if>
    			<elseif spell="Cure*|Curaga*|Regen*" BuffActive="Penury">
    				<if Spell="Cure III" MPLT="23" MPGT="11">
    					<action type="ChangeSpell" Spell="Cure II" />
    				</if>
    				<elseif Spell="Cure III" MPLT="12" MPGT="3">
    					<action type="ChangeSpell" Spell="Cure" />
    				</elseif>
    				<elseif Spell="Cure III" MPLT="4">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Cure II" MPLT="12" MPGT="3">
    					<action type="ChangeSpell" Spell="Cure" />
    				</elseif>
    				<elseif Spell="Cure II" MPLT="4">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Cure" MPLT="4">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Regen II" MPLT="18" MPGT="7">
    					<action type="ChangeSpell" Spell="Regen" />
    				</elseif>
    				<elseif Spell="Regen II" MPLT="7">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Regen" MPLT="7">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    			</elseif>
    		</if>
    
    			<if SubJob="SCH">			
    				<if spell="Poisona|Paralyna|Blindna|Silena|Cursna" subJob="SCH" notBuffActive="Addendum: White">
    					<action type="addtochat" when="precast">[INFO] You need Addendum:White for this.</action>
    				</if>
    				<elseif spell="Sleep|Dispel" subJob="SCH" notBuffActive="Addendum: Black" Notspell="Stoneskin">
    						<action type="addtochat" when="precast">[INFO] You need Addendum:Black for this.</action>
    				</elseif>
    				<if type="ElementalMagic">
    					<if spell="Stone*|Water*|Aero|Fire|Blizzard|Thunder|Drain|Aspir" Notspell="Stoneskin" subJob="SCH" notbuffactive="Dark Arts|Addendum: Black">
    					<action type="addtochat" when="precast">[INFO] You need Dark Arts for this.</action>
    					<action type="CancelSpell" />
    					</if>
    				</if>
    			</if>
    			<if Spell="Stoneskin" BuffActive="Stoneskin">
    				<command when="midcast">cancel 37</command>
    				<midcastdelay delay="4.8" />
    			</if>
    	</rules>
    </spellcast>


    The major issue is that it takes two uses of the spell or JA to get into the right gear. For example, if I summon an Avatar, immediately after my xml tries to put me in my idle gear. If I cast it again, it puts me in the correct gear. Likewise, when I Release, it puts me in my avatar set, and then I have to hit Release again in order to get the proper set. The lines for this are probably 154-238 and 254-363. If I screwed up, it's probably there, as these are my most recent changes and when the issues started.

    As a side note, and this was an issue with my old XML, oftentimes when casting an avatar I'd go into Fast Cast gear, and then when I switch to avatar gear I'm still wearing a piece or two of Fast Cast, like my Nares Cap or my Anhur Robe, but not the whole set. Is that just the xml not being able to keep up because of the fast cast, or what?
    Try <var cmd="set VR1 VRValue" /> instead of <command> lines. The FC issue is likely due to equipping the midcast gear prior to casting. For instance,

    Heka > FC > Heka will keep the FC gear equipped since SC still believes you have Heka's equipped.

  19. #5739
    Salvage Bans
    Join Date
    Oct 2010
    Posts
    948
    BG Level
    5
    FFXI Server
    Valefor

    Edit: Thanks for copying it over too, Yugl. >_< I thought I'd repost it and be a little more clear about the issues, but that works too, lol.

    Idiot am I, posting in the wrong thread! Well, let me try this again.

    I'm having an issue in my summoner xml, probably due to not understanding advanced rules very well, or anything beyond the basic rules really. It was working fine until recently, in which I was trying to set up rules so that it would change my hands between Nashira (working on Adhara!) and Caller +2 hands based on day/weather/storm effect after I summon an Avatar or after a BP or command like Assault. Say that I'm working under Rainstorm to reduce Leviathan's perp cost, but then the effect wears off. If I use Assault or a BP, my aim is to have it switch back to my "standard" set with the Nashira hands. However, if I re-cast Rainstorm while Leviathan is still out, I'm hoping to have it automatically switch back into Caller +2 hands. This part I haven't yet taken the time to alter, because of issues I'm having.

    The first issue is that it takes two castings/uses of anything to have variables work: for example, when I release, it switches me BACK to my general avatar set, and then a second release puts me back into my idle gear like it should. The same goes for my avatar sets; I cast the avatar but get dumped back into idle, and then a second cast rights that.

    The second issue, which I think is mostly because it's trying to change too quickly, is that my final casting gear sometimes has pieces of my Fast Cast gear in it, like the Nares Cap instead of Caller's Horn +2. Not sure of why that is going on.

    My XML (Check Lines 154-238 and 254-363):
    Spoiler: show
    Code:
    <?xml version="1.0" ?>
     
    <spellcast>
    	<guildwork
            character="Kensagaku"
            server="Valefor"
            description="Kensagaku's SMN"
            job="SMN"
        />
    
    	<config
    		RequiredVersion="2.20"
    		HideErrors="false"
    		ShowGearSwaps="false"
    		Debug="false"
    		ShowSpellInfo="false"
    	/>
    	<variables clear="True">
     	
    		<var name="EquipSet">Normal</var>
    		<var name="Avatar">None</var>
     
    	</variables>
     
    	<sets>
    		<group name = "SMN" default="yes">
    		<!--Idle gear-->
    			<set name="Normal">
    				<main>Owleyes</main>
    				<sub>Genbu's Shield</sub>
    				<ammo>Hedgehog Bomb</ammo>
    				<head>Caller's Horn +2</head>
    				<neck>Caller's Pendant</neck>
    				<lear>Gifted Earring</lear>
    				<rear>Moonshade Earring</rear>
    				<body>Manasa Chasuble</body>
    				<hands>Serpentes Cuffs</hands>
    				<lring>Fervor Ring</lring>
    				<rring>Evoker's Ring</rring>
    				<back>Summoner's Cape</back>
    				<waist>Mujin Obi</waist>
    				<legs>Tatsu. Sitagoromo</legs>
    				<feet>Serpentes Sabots</feet>
    			</set>
    		<!--Resting Gear, hMP and Refresh-->
    			<set name="Resting" Baseset="Normal">
    				<neck>Eidolon Pendant</neck>
    				<body>Errant Houppelande</body>
    				<legs>Sagacity Lappas</legs>
    				<waist>Austerity Belt</waist>
    				<feet>Goliard Clogs</feet>
    			</set>
    		<!--Elemental Siphon, pure skill here and any Siphon-boosting equipment-->
    			<set name="Siphon" Baseset="$Equipset">
    				<main>Soulscourge</main>
    				;pause 1
    				<sub>Vox Grip</sub>
    				<head>Caller's Horn +2</head>
    				<neck>Caller's Pendant</neck>
    				<body>Anhur Robe</body>
    				<hands>Smn. Bracers +2</hands>
    				<legs>Ngen Seraweels</legs>
    				<rring>Evoker's Ring</rring>
    				<feet>Caller's Pigaches +2</feet>
    			</set>
    			<set name="Skill" Baseset="Siphon">
    				<feet>Rubeus Boots</feet>
    			</set>
    		<!--BP sets, for BP delay-, physical attack set, and magical attack set respectively-->
    			<set name="BP-Delay" Baseset="$Equipset">
    				<head>Summoner's Horn</head>
    				<body>Yinyang Robe</body>
    				<hands>Smn. Bracers +2</hands>
    				<back>Tiresias' Cape</back>
    				<feet>Summoner's Pigaches</feet>
    			</set>
    			<set name="BP-Phys" Baseset="$Equipset">
    				<main>Soulscourge</main>
    				<head>Caller's Horn +2</head>
    				<body>Caller's Doublet +2</body>
    				<hands>Smn. Bracers +2</hands>
    				<legs>Ngen Seraweels</legs>
    				<waist>Mujin Obi</waist>
    				<rear>Esper Earring</rear>
    				<lear>Gifted Earring</lear>
    				<feet>Summoner's Pigaches</feet>
    			</set>
    			<set name="BP-Magic" Baseset="$Equipset">
    				<main>Tuahjebat</main>
    				<sub>Vox Grip</sub>
    				<head>Caller's Horn +2</head>
    				<body>Caller's Doublet +2</body>
    				<hands>Nares Cuffs</hands>
    				<legs>Caller's Spats +2</legs>
    				<neck>Eidolon Pendant</neck>
    				<back>Tiresias' Cape</back>
    				<waist>Caller's Sash</waist>
    				<lear>Gifted Earring</lear>
    				<rear>Esper Earring</rear>
    				<feet>Shedir Crackows</feet>
    			</set>
    		<!--Summon-specific sets-->
    			<set name="Avatar" Baseset="Normal">
    				<main>Fay Crozier</main>
    				;pause 1
    				<sub>Vox Grip</sub>
    				<body>Caller's Doublet +2</body>
    				<hands>Nashira Gages</hands>
    				<waist>Moepapa Stone</waist>
    				<legs>Ngen Seraweels</legs>
    				<feet>Caller's Pigaches +2</feet>
    			</set>
    			<!--Stoneskin obviously. MND+ for best potency as well as any SS boosters.-->
    			<set name="Stoneskin">
    				<head>Teal Chapeau</head>
    				<main>Kirin's Pole</main>
    				<body>Heka's Kalasiris</body>
    				<lring>Solemn Ring</lring>
    				<back>Kaikias' Cape</back>
    				<waist>Siegel Sash</waist>
    				<legs>Haven Hose</legs>
    				<rring>Aquasoul Ring</rring>
    				<feet>Rubeus Boots</feet>
    				<lear>Gifted Earring</lear>
    			</set>
    			<!--Cures, yay. Good for making sure people don't die.-->
    			<set name="Cures">
    				<main>Arka IV</main>
    				<neck>Colossus's Torque</neck>
    				<head>Teal Chapeau</head>
    				<body>Heka's Kalasiris</body>
    				<hands>Serpentes Cuffs</hands>
    				<rring>Solemn Ring</rring>
    				<lring>Aquasoul Ring</lring>
    				<waist>Penitent's Rope</waist>
    				<legs>Nares Trews</legs>
    				<feet>Serpentes Sabots</feet>
    			</set>
    			<set name="Fast Cast">
    				<head>Nares Cap</head>
    				<body>Anhur Robe</body>
    				<rear>Loquacious Earring</rear>
    				<hands>Rubeus Gloves</hands>
    				<legs>Rubeus Spats</legs>
    				<back>Swith Cape</back>
    			</set>
    		</group>
    	</sets>
    	<rules>
    	
    		<if status="resting">
    			<equip when="resting" set="Resting"/>
    		</if>
    		<if status="idle">
    			<if advanced='("$Avatar" = "Carbuncle")'>
    				<if advanced='("%Weatherelement" = "Light" OR "%dayelement" = "Light" OR "buffactive"="Aurorastorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</if>
    			<elseif advanced='("$Avatar" = "Ifrit")'>
    				<if advanced='("%Weatherelement" = "Fire" OR "%dayelement" = "Fire" OR "buffactive"="Firestorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Shiva")'>
    				<if advanced='("%Weatherelement" = "Ice" OR "%dayelement" = "Ice" OR "buffactive"="Hailstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Garuda")'>
    				<if advanced='("%Weatherelement" = "Wind" OR "%dayelement" = "Wind" OR "buffactive"="Windstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Titan")'>
    				<if advanced='("%Weatherelement" = "Earth" OR "%dayelement" = "Earth" OR "buffactive"="Sandstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Ramuh")'>
    				<if advanced='("%Weatherelement" = "Thunder" OR "%dayelement" = "Thunder" OR "buffactive"="Thunderstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Leviathan")'>
    				<if advanced='("%Weatherelement" = "Water" OR "%dayelement" = "Water" OR "buffactive"="Rainstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif advanced='("$Avatar" = "Diabolos|Fenrir")'>
    				<if advanced='("%Weatherelement" = "Dark" OR "%dayelement" = "Dark" OR "buffactive"="Voidstorm")'>
    					<equip when="idle|aftercast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="idle|aftercast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<else>
    				<equip when="idle" set="$Equipset"/>
    			</else>
    		</if>
    		
    	
    <!--Spirits-->
    		<if type="SummonerPact">
    			<if spell="*Spirit">
    				<if area="Dynamis*|*Apollyon*|Walk of Echoes">
    					<changespell spell="DarkSpirit"/>
    				</if>
    				<elseif area="*Temenos*">
    					<changespell spell="LightSpirit"/>
    				</elseif>
    			</if>
    		</if>
    
    <!--Avatars/Spirit Equips-->
    		<if skill="SummoningMagic">
    			<if spell="Carbuncle">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Light" OR "%dayelement" = "Light" OR "buffactive"="Aurorastorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</if>
    			<elseif spell="Ifrit">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Fire" OR "%dayelement" = "Fire" OR "buffactive"="Firestorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Shiva">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Ice" OR "%dayelement" = "Ice" OR "buffactive"="Hailstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Garuda">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Wind" OR "%dayelement" = "Wind" OR "buffactive"="Windstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Titan">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Earth" OR "%dayelement" = "Earth" OR "buffactive"="Sandstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Ramuh">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Thunder" OR "%dayelement" = "Thunder" OR "buffactive"="Thunderstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Leviathan">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Water" OR "%dayelement" = "Water" OR "buffactive"="Rainstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<elseif spell="Diabolos|Fenrir">
    				<command when="precast">sc v s Equipset "Avatar"</command>
    				<equip when="precast" set="Fast Cast"/>
    				<if advanced='("%Weatherelement" = "Dark" OR "%dayelement" = "Dark" OR "buffactive"="Voidstorm")'>
    					<equip when="midcast" set="$Equipset">
    						<hands>Caller's Bracers +2</hands>
    					</equip>
    				</if>
    				<else>
    					<equip when="midcast" set="$Equipset"/>
    				</else>
    			</elseif>
    			<else>
    				<equip when="midcast" set="Avatar"/>
    			</else>
    			<if spell="*Spirit">
    				<action type="equip" when="precast" set="Siphon">
    				</action>
    			</if>
    		</if>
    			
    		<if spell="Release">
    			<command when="precast">sc v s Equipset "Normal"</command>
    			<equip when="precast" set="Normal"/>
    		</if>
     
    <!--BPs Rage and Ward-->
    		<if Type="BloodPactRage|BloodPactWard">
    			<action type="aftercastdelay" delay="5"/>
    			<!-- Magic BP's -->
    			<if Spell="Holy Mist|Lunar Bay|Night Terror|Searing Light|Meteorite|Stone*|Aero*|Blizzard*|Fire*|Water*|Thunder*|Burning Strike|Thunder Spark|Nether Blast|Ultimate Terror|Somnolence|Nightmare|Dream Shroud|Noctoshield|Ruinous Omen|Howling Moon|Earthen Fury|Aerial Blast|Diamond Dust|Inferno|Tidal Wave|Judgment Bolt|Heavenly Strike|Grand Fall">
    				<action type="equip" when="precast" set="BP-Delay" />
    				<action type="midcastdelay" delay="1" />
    				<action type="equip" when="midcast" set="BP-Magic" />
    			</if>
    			<!-- Physical BP's -->
    			<elseif Spell="Poison Nails|Earthen Fury|Rock Throw|Rock Buster|Megalith Throw|Mountain Buster|Claw|Predator Claws|Axe Kick|Double Slap|Rush|Punch|Double Punch|Flaming Crush|Barracuda Dive|Tail Whip|Spinning Dive|Shock Strike|Chaotic Strike|Charge|Fang|Bite|Camisado|Eclipse Bite">
    				<action type="equip" when="precast" set="BP-Delay" />
    				<action type="midcastdelay" delay="1" />
    				<action type="equip" when="midcast" set="BP-Phys" />
    			</elseif>
    			<!-- Skill-Based BPs -->
    			<elseif Spell="Tidal Roar|Earthen Armor|Earthen Ward|Healing Ruby*|Shining Ruby|Glittering Ruby|Whispering Wind|Aerial Armor|Hastega|Frost Armor|Crimson Howl|Slowga|Spring Water|Sleepga|Thunder Armor|Rolling Thunder|Lunar Cry|Lunar Roar|Ecliptic Howl|Ecliptic Growl|Fleet Wind|Inferno Howl|Diamond Storm|Shock Squall|Soothing Ruby">
    				<action type="equip" when="precast" set="BP-Delay" />
    				<action type="midcastdelay" delay="1" />
    				<action type="equip" when="midcast" set="Skill" />
    			</elseif>
    		</if>
    		<if spell="Alexander|Odin">
    			<action type="equip" when="precast" set="Skill" />
    		</if>
    		<if spell="Mana Cede">
    			<action type="equip" when="precast">
    				<hands>Caller's Bracers +2</hands>
    			</action>
    		</if>
     
    <!-- Cancel and Buffs -->
    		<if Spell="Stoneskin">
    			<action type="equip" when="precast" set="Fast Cast" />
    			<action type="equip" when="midcast" set="Stoneskin" />
    		</if>
    		<elseif Spell="Blink">
    			<equip when="precast" set="Fast Cast"/>
    			<action type="command" when="midcast">cancel 36</action>
    			<action type="midcastdelay" delay="2" />
    		</elseif>
     
    		<elseif Spell="Sneak|Invisible">
    			<action type="midcastdelay" delay="1.5" />
    			<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="&lt;me&gt;" OR ("%target"="%PlayerName" AND "%SpellTarget"="&lt;t&gt;")'>
    				<action type="command" when="midcast">cancel 71</action>
    			</if>
    		</elseif>
    		<elseif Spell="Reraise*">
    			<action type="midcastdelay" delay="2" />
    			<action type="command" when="midcast">cancel 113</action>
    		</elseif>
     
    <!-- Non Level Cap -->
    		<if SubJob="WHM|RDM|SCH|BLM">
    			<if Spell="Cure*|Curaga*|Banish*">
    				<equip when="precast" set="Fast Cast">
    					<body>Heka's Kalasiris</body>
    				</equip>
    				<action type="equip" when="midcast" set="Cures"/>
    			</if>
     				<if spell="Cure*|Curaga*|Regen*" NotBuffActive="Penury">
    				<if Spell="Curaga II" MPLT="120">
    					<action type="ChangeSpell" Spell="Curaga" />
    				</if>
    				<elseif Spell="Curaga" MPLT="60">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Cure III" MPLT="46" MPGT="23">
    					<action type="ChangeSpell" Spell="Cure II" />
    				</elseif>
    				<elseif Spell="Cure III" MPLT="24" MPGT="7">
    					<action type="ChangeSpell" Spell="Cure" />
    				</elseif>
    				<elseif Spell="Cure III" MPLT="8">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Cure II" MPLT="24" MPGT="7">
    					<action type="ChangeSpell" Spell="Cure" />
    				</elseif>
    				<elseif Spell="Cure II" MPLT="8">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Cure" MPLT="8">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Regen II" MPLT="36" MPGT="14">
    					<action type="ChangeSpell" Spell="Regen" />
    				</elseif>
    				<elseif Spell="Regen II" MPLT="15">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Regen" MPLT="15">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    			</if>
    			<elseif spell="Cure*|Curaga*|Regen*" BuffActive="Penury">
    				<if Spell="Cure III" MPLT="23" MPGT="11">
    					<action type="ChangeSpell" Spell="Cure II" />
    				</if>
    				<elseif Spell="Cure III" MPLT="12" MPGT="3">
    					<action type="ChangeSpell" Spell="Cure" />
    				</elseif>
    				<elseif Spell="Cure III" MPLT="4">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Cure II" MPLT="12" MPGT="3">
    					<action type="ChangeSpell" Spell="Cure" />
    				</elseif>
    				<elseif Spell="Cure II" MPLT="4">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Cure" MPLT="4">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Regen II" MPLT="18" MPGT="7">
    					<action type="ChangeSpell" Spell="Regen" />
    				</elseif>
    				<elseif Spell="Regen II" MPLT="7">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    				<elseif Spell="Regen" MPLT="7">
    					<action type="CancelSpell" />
    					<action type="AddToChat" color="50">Not enough MP.</action>
    				</elseif>
    			</elseif>
    		</if>
    
    			<if SubJob="SCH">			
    				<if spell="Poisona|Paralyna|Blindna|Silena|Cursna" subJob="SCH" notBuffActive="Addendum: White">
    					<action type="addtochat" when="precast">[INFO] You need Addendum:White for this.</action>
    				</if>
    				<elseif spell="Sleep|Dispel" subJob="SCH" notBuffActive="Addendum: Black" Notspell="Stoneskin">
    						<action type="addtochat" when="precast">[INFO] You need Addendum:Black for this.</action>
    				</elseif>
    				<if type="ElementalMagic">
    					<if spell="Stone*|Water*|Aero|Fire|Blizzard|Thunder|Drain|Aspir" Notspell="Stoneskin" subJob="SCH" notbuffactive="Dark Arts|Addendum: Black">
    					<action type="addtochat" when="precast">[INFO] You need Dark Arts for this.</action>
    					<action type="CancelSpell" />
    					</if>
    				</if>
    			</if>
    			<if Spell="Stoneskin" BuffActive="Stoneskin">
    				<command when="midcast">cancel 37</command>
    				<midcastdelay delay="4.8" />
    			</if>
    	</rules>
    </spellcast>


    So in order, I'm trying to:
    1) Fix the issues with my rules so that I don't have to cast or use JAs twice to make them equip the proper sets. Edit: Halfway fixed, still broken on Release but casting works fine.
    2) Fix the issues on my rules that are causing me to finish in my Fast Cast gear. Fixed
    3) Alter my rules so that casting of spells (at least for Storm spells) will perform an aftercast check and switch my hands as needed if an avatar is already out.

  20. #5740
    New Merits
    Join Date
    Apr 2009
    Posts
    242
    BG Level
    4
    FFXI Server
    Leviathan

    Can anyone help me and see why my whm sc doesn't change gear when curing or casting -na spells? Also Its supposed to lock Orison mitts on if divine caress is active but its not working suddenly. Any suggestions? Thanks!

    http://pastebin.com/W3C8zNbu

Page 287 of 328 FirstFirst ... 237 277 285 286 287 288 289 297 ... 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