Item Search
     
BG-Wiki Search
Page 35 of 328 FirstFirst ... 25 33 34 35 36 37 45 85 ... LastLast
Results 681 to 700 of 6548
  1. #681
    Flowery Twats
    Join Date
    Jul 2008
    Posts
    3,583
    BG Level
    7

    Quote Originally Posted by mallister View Post
    does that stovepiping work properly? i've never seen one written like that. shouldn't you just have:

    <if spell="blah*|etc*">
    <action type="equip" when="precast" set="healing1"/>
    <action type="equip" when="aftercast" set="healing2"/>
    </if>

    i've never seen a when= be stovepiped before and i can't really think of why you'd want to.
    Stovepiping? (Sorry, coding noob) Is that the | ? If so then yes it does, I don't know why it's like that but all the templates I looked at were set out that way so all of my SC files do too.

  2. #682
    Old Merits
    Join Date
    Jan 2007
    Posts
    1,102
    BG Level
    6
    FFXI Server
    Phoenix

    Put some addtochat as the first line inside an if/then so you can see the exact flowthrough.

    Also put a bar (long strip of equal signs) and current 'spell' out so you have an indicator.

    Then do the actions and see where in the logic its flowing.

    Been awhile since i did this (and dont my my reference atm) but i think %spell is what you use in the addtochat to display. I could be wrong though.

    Code:
    .....
    <rules>
    <addtochat>==================================</addtochat>
    <addtochat>New pass for : %spell</addtochat>
    <if spell="autoset">
    <addtochat>Inside Autoset</addtochat>
    	<if status="Engaged">
    		<addtochat>Is Engaged</addtochat>
    		<if SpellTargetName="Greater Colibri">
    			<action type="equip" when="Engaged|Aftercast" Set="DEX" />
    		</if>
    		<else>
    			<action type="equip" when="Engaged|Aftercast" set="TP" />
    		</else>
    	</if>
    	<action type="equip" when="idle" set="Idle" />
    	<action type="return" />
    </if>
    
    <if spell="Cocoon|Foot Kick|Power Attack|Wild Oats|Dia*|*na|Erase|Poison|En*|*Spikes">
    	<addtochat>Setup HB</addtochat>
    	<action type="equip" when="Precast|Midcast" Set="Healing1" />
    	<action type="equip" when="Aftercast" Set="Healing2" />
    </if>
    .....
    and yes you can stovepipe when clauses

  3. #683

    Sweaty Dick Punching Enthusiast

    Join Date
    Dec 2006
    Posts
    4,426
    BG Level
    7

    there's no reason to stovepipe that piece of code, unless i'm missing something. you are switching to healing1 at precast. swapping to it again midcast isn't going to do anything.

  4. #684
    New Spam Forum
    Join Date
    Jan 2010
    Posts
    182
    BG Level
    3
    FFXI Server
    Unicorn

    A little late of a reply, but people have problems with Convert and Spellcast? wtf?

    I've been using this code for years, and have only ever had a problem if I'm super laggy, due to PC and/or network/interwebz problems, not the game itself.

    Code:
    			<if spell="Convert">
    				<castdelay delay="0.2" />
    				<equip when="precast|midcast|aftercast" set="%Spell" />
    				<command>pause 2; input /raw /ma "Cure IV" %PlayerName</command>
    				<return />
    			</if>
    I don't attach Divine Seal to it, since relying on tying DS and Convert is fail. I'll use the two together sometimes, and if I do I simply use DS before I use Convert.

  5. #685
    Ridill
    Join Date
    Oct 2006
    Posts
    18,369
    BG Level
    9
    FFXIV Character
    Sath Fenrir
    FFXIV Server
    Cactuar
    FFXI Server
    Fenrir

    Still having issues with convert set at the moment. Problem is wasted mp.

    My vert set is still kinda shitty and no MP merits but I vert into 920~ MP /BLM and cure 4 myself which brings me down to like 82x due to some piece of gear changing. That's not a problem, the problem is that it then 1 second later drops my 82x MP down to my idle set MP at 72x MP no matter what and nothing I've done has been able to fix it.

    I want to lock the gear I convert in until I'm down the ~720ish MP through casting for a second cure 4 + gravity or sleep or whatever. Wasting the MP is putting me through a roof (espcially because the 2nd cure 4 comes out of my normal max mp pool wasting MP that would go towards a nuke.)

    Here's the relevant parts of my SC. Yes, I know it's a jumbled mess.

    Spoiler: show
    Code:
            <if spell="Autoset">
                <equip when="engaged" set="RDM TP"/>
                <equip when="resting" set="rdmhmp"/>
    			<equip when="idle" set="RDMidle"/>
            </if>
    		<if subjob="WHM" MPGT="680">
                <equip when="Precast|Midcast|Aftercast|Idle|Engaged" set="MaxMP"/>
            </if>
            <if subjob="NIN" MPGT="650">
                <equip when="Precast|Midcast|Aftercast|Idle|Engaged" set="MaxMP"/>
            </if>
    		<if subjob="BLM" MPGT="710">
                <equip when="Precast|Midcast|Aftercast|Idle|Engaged" set="MaxMP"/>
            </if>
    		<if subjob="WHM" MPGT="850">
                <equip when="Precast|Midcast|Aftercast|Idle|Engaged" set="Convert"/>
            </if>
            <if subjob="NIN" MPGT="850">
                <equip when="Precast|Midcast|Aftercast|Idle|Engaged" set="Convert"/>
            </if>
    		<if subjob="BLM" MPGT="810">
                <equip when="Precast|Midcast|Aftercast|Idle|Engaged" set="Convert"/>
            </if>
    Code:
                <set name="MaxMP">
                    <ammo lock="yes">Hedgehog Bomb</ammo>
                    <head lock="yes">Duelist's Chapeau</head>
                    <neck lock="yes">Morgana's Choker</neck>
                    <lear lock="yes">Antivenom Earring</lear>
                    <rring lock="yes">Ether Ring</rring>
                    <waist lock="yes">Hierarch Belt</waist>
    				<hands lock="yes">Zenith Mitts</hands>
    				<back lock="yes">Aslan Cape</back>
                </set>
    			<set name="Convert">
                    <ammo lock="yes">Hedgehog Bomb</ammo>
                    <head lock="yes">Duelist's Chapeau</head>
                    <neck lock="yes">Morgana's Choker</neck>
                    <lear lock="yes">Antivenom Earring</lear>
    				<rear lock="yes">Loquac. Earring</rear>
                    <rring lock="yes">Ether Ring</rring>
                    <waist lock="yes">Hierarch Belt</waist>
    				<hands lock="yes">Zenith Mitts</hands>
    				<back lock="yes">Aslan Cape</back>
                </set>


    I use a windower macro to start convert. Change gear -> convert -> first cure if that changes anything.

  6. #686
    MaachaQ
    Guest

    Copied this from the other thread, this is where it really belongs ^^;

    I've been having some issues with my Bard XML and was hoping someone could help me out a bit. I recently picked up my Millennium Horn, and only have a few coins needed to finish to Gajllarhorn, so I want to iron out the issues ASAP.

    This is based on http://www.windower.net/plugins/spel...l/brd/anto_brd but I added a few things based on my own gear and requirements that may have broken it... My staves change to the element of the spell instead of some of them using the Chanter's Staff, and if I change to other jobs (autoloading the next xml) I get strange errors about staves. I want to be able to take advantage of the Fast Cast from Marduk Body as well as the song casting time of Yigit Gomlek, which seem to be working but I am not certain.

    Code:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
        <config
            RequireVersion="2.11"
            showGearSwaps="false"
            Debug="false"
            ShowSpellInfo="false"
            AutoLoadXMLOnJobChange="true"
            />
        <variables clear="false">
            <var name="UtsuCount">0</var>
            <var name="SetStaff">"Chanter's Staff"</var>
            <var name="Light">"Apollo's Staff"</var>
            <var name="Dark">"Pluto's Staff"</var>
            <var name="Earth">"Terra's Staff"</var>
            <var name="Water">"Neptune's Staff"</var>
            <var name="Wind">"Auster's Staff"</var>
            <var name="Fire">"Vulcan's Staff"</var>
            <var name="Ice">"Aquillo's Staff"</var>
            <var name="Thunder">"Jupiter's Staff"</var>
            <var name="SleepMessages">1</var>
        </variables>
        <sets>
            <group default="yes" name="Brd">
                <set name="Standard">
                    <main>$SetStaff</main>
                    <sub>Bugard Strap +1</sub>
                    <range>Hellish Bugle +1</range>
                    <head>Bard's Roundlet</head>
                    <neck>Wind Torque</neck>
                    <lear>Musical Earring</lear>
                    <rear>Loquac. Earring</rear>
                    <body>Marduk's Jubbah</body>
                    <hands>Marduk's Dastanas</hands>
                    <lring>Omega Ring</lring>
                    <rring>Tamas Ring</rring>
                    <back>Jester's Cape +1</back>
                    <waist>Gleeman's Belt</waist>
                    <legs>Marduk's Shalwar</legs>
                    <feet>Oracle's Pigaches</feet>
                </set>
                <set name="Resting" BaseSet="Standard">
                    <main>Pluto's Staff</main>
                    <head>Goliard Chapeau</head>
                    <neck>Beak Necklace +1</neck>
                    <lear>Relaxing Earring</lear>
                    <rear>Magnetic Earring</rear>
                    <hands>Hydra Gloves</hands>
                    <body>Yigit Gomlek</body>
                    <waist>Hierarch Belt</waist>
                    <feet>Goliard Clogs</feet>
                </set>
                <set name="Haste" BaseSet="Standard">
                    <head>Walahra Turban</head>
    		<body>Goliard Saio</body>
                    <waist>Swift Belt</waist>
                    <legs>Byakko's Haidate</legs>
                    <feet>Rostrum Pumps</feet>
                    <rear>Loquac. Earring</rear>
                </set>
                <set name="Debuff" BaseSet="Standard">
                    <rear>Melody Earring +1</rear>
                    <body>Marduk's Jubbah</body>
                    <hands>Chl. Cuffs +1</hands>
                    <back>Jester's Cape +1</back>
                    <rring>Nereid Ring</rring>
    		<rear>Melody Earring +1</rear>
                </set>
                <set name="DmgRdc" BaseSet="Standard">
                    <head>Genbu's Kabuto</head>
                    <legs>Byakko's Haidate</legs>
                </set>
                <set name="Stoneskin" BaseSet="Standard">
                    <feet>Goliard Clogs</feet>
                    <sub>Raptor Strap +1</sub>
                    <main>Neptune's Staff</main>
                    <head>Goliard Chapeau</head>
                    <neck>Morgana's Choker</neck>
                    <hands>Marduk's Dastanas</hands>
                    <body>Marduk's Jubbah</body>
                    <legs>Mahatma Slops</legs>
                    <lring>Omega Ring</lring>
                    <rring>Tamas Ring</rring>
                    <waist>Penitent's Rope</waist>
                </set>
    			<set name="CastTime" BaseSet="Standard">
                    <body>Yigit Gomlek</body>
    				<feet>Rostrum Pumps</feet>
    			</set>
            </group>
        </sets>
        <rules>
    		<if spell="warp*|teleport*|escape|retrace|recall*">
      <!-- equip rules for fastcast/haste on pre/midcast if you choose to -->
    			<return />
    		</if>
            <if area="Dynamis*">
                <equip when="precast|midcast|aftercast|idle|resting|engaged">
                    <range lock="t">Millennium Horn</range>
                </equip>
            </if>
            <!--Autosets: Used to handle gear for and after resting-->
            <if spell="autoset">
                <equip when="Resting" set="Resting" />
                <equip when="Idle" set="Standard" />
            </if>
    		<!-- Changes cures if not enough mp -->
            <if Spell="Cure III" MPLT="46">
                <changespell Spell="Cure II" />
            </if>
            <if Spell="Cure II" MPLT="24">
                <cancelspell />
                <addtochat color="56">[ERROR] Not enough MP To cast Cure! ~</addtochat>
            </if>
            <if Spell="Curaga II" MPLT="120">
                <changespell Spell="Curaga" />
            </if>
            <if Spell="Curaga" MPLT="60">
                <cancelspell />
                <addtochat color="56">[ERROR] Not enough MP To cast Curaga! ~</addtochat>
            </if>
    		<!-- Sets up targeting -->
            <if CommandPrefix="/ra">
                <defaulttarget target="&lt;t&gt;" />
                <equip when="precast|midcast" set="Engaged" />
            </if>
            <elseif ValidTarget="Self">
                <defaulttarget target="&lt;me&gt;" />
            </elseif>
            <elseif ValidTarget="Enemy">
                <defaulttarget target="&lt;stnpc&gt;" />
            </elseif>
            <elseif ValidTarget="*Enemy*|Unknown">
                <defaulttarget target="&lt;st&gt;" />
            </elseif>
            <else>
                <defaulttarget target="&lt;stpc&gt;" />
            </else>
            <!-- Keep weapons equipped.  This keeps you from swapping weapons and losing your TP for those few times you melee -->
            <if TPGT="15">
                <!-- if we have at least 15 TP -->
                <disable slot="main|sub" />
                <!-- never allow any swaps on main/sub -->
            </if>
            <!-- note you can still swap ammo, because it doesn't lose TP.  -->
            <else>
                <!-- otherwise (less then 15 TP) -->
                <enable slot="main|sub" />
                <!-- allow those slots to have gear swaps -->
            </else>
            <!-- BEGIN Ninjutsu Rules -->
            <if Skill="Ninjutsu">
                <if Spell="Utsusemi*">
                    <equip when="precast" set="Haste" />
                    <var cmd="inc UtsuCount" />
                    <if spell="Utsusemi: Ichi" BuffActive="Copy Image">
                        <midcastdelay delay="3.0" />
                        <command when="midcast">cancel 66</command>
                    </if>
                </if>
            </if>
            <!-- END Ninjutsu Rules -->
            <!--- Change gear if HP is too low -->
            <if HPPLT="100">
                <equip when="precast" set="DmgRdc" />
            </if>
            <!--- Begin Spell Rules -->
            <if type="BardSong">
                <var cmd="set SetStaff $%SpellElement" when="precast" />
                <if spell="*Elegy">
                    <equip when="Precast" set="Standard">
                        <main>$EarthStaff</main>
                        <sub>Earth Grip</sub>
    					<range>Horn +1</range>
                    </equip>
                    <equip when="Midcast" set="Debuff" />
                </if>
                <elseif spell="*Threnody">
                    <equip when="Precast" set="Standard">
                        <main>$SpellElementStaff</main>
                        <sub>Bugard Strap +1</sub>
    					<range>Sorrowful Harp</range>
                    </equip>
                    <equip when="Midcast" set="Debuff" />
                </elseif>
                <elseif spell="*Finale">
                    <equip when="Precast" set="Standard">
                        <main>$LightStaff</main>
                        <sub>Bugard Strap +1</sub>
    					<range>Military Harp</range>
                    </equip>
                    <equip when="Midcast" set="Debuff" />
                </elseif>
                <elseif spell="*Requiem*">
                    <equip when="Precast" set="Standard">
                        <main>$SetStaff</main>
                        <sub>Bugard Strap +1</sub>
    					<range>Requiem Flute</range>
                    </equip>
                    <equip when="Midcast" set="Debuff" />
                </elseif>
                <elseif spell="*Lullaby">
                    <equip when="Precast" set="Debuff">
                        <main>$LightStaff</main>
                        <sub>Light Grip</sub>
    					<range>Mary's Horn</range>
    					<lear>Novia Earring</lear>
                    </equip>
                </elseif>
                <elseif spell="*March">
                    <equip when="Precast" set="Standard">
                        <main>$SetStaff</main>
                        <hands>Chl. Cuffs +1</hands>
    					<range>Iron Ram Horn</range>
                        <rring>Nereid Ring</rring>
                    </equip>
    				<equip when="Midcast" set="CastTime" />
                </elseif>
                <elseif spell="*Minuet*">
                    <equip when="Precast" set="Standard">
                        <main>$SetStaff</main>
                        <hands>Chl. Cuffs +1</hands>
    					<range>Cornette +1</range>
                        <rring>Nereid Ring</rring>
                    </equip>
    				<equip when="Midcast" set="CastTime" />
                </elseif>
    			<elseif spell="*Madrigal">
                    <equip when="Precast" set="Standard">
                        <main>$SetStaff</main>
                        <hands>Chl. Cuffs +1</hands>
    					<range>Traversiere +1</range>
                        <rring>Nereid Ring</rring>
                    </equip>
    				<equip when="Midcast" set="CastTime" />
                </elseif>
    			<elseif spell="*Mambo">
                    <equip when="Precast" set="Standard">
                        <main>$SetStaff</main>
                        <hands>Chl. Cuffs +1</hands>
    					<range>Hellish Bugle +1</range>
                    </equip>
    				<equip when="Midcast" set="CastTime" />
                </elseif>
    			<elseif spell="*Mazurka">
                    <equip when="Precast" set="Standard">
                        <main>$SetStaff</main>
                        <hands>Chl. Cuffs +1</hands>
    					<range>Harlequin's Horn</range>
                    </equip>
    				<equip when="Midcast" set="CastTime" />
                </elseif>
                <else>
                    <equip when="Precast" set="Haste">
                        <main>$SetStaff</main>
                        <sub>Bugard Strap +1</sub>
                    </equip>
    				<equip when="Midcast" set="CastTime" />
                </else>
            </if>
            <if Spell="Cure*|Cura*">
    			<var cmd="set SetStaff $%SpellElement" when="precast" />
                <equip when="Precast">
    				<main>$LightStaff</main>
                    <lear lock="true">Novia Earring</lear>
                </equip>
            </if>
            <!---Cancels Stoneskin midcast for you -->
            <if Spell="Stoneskin">
                <equip when="midcast" set="Stoneskin" />
                <if BuffActive="Stoneskin">
                    <command when="midcast">cancel 37</command>
                </if>
            </if>
            <!-- Cancels sneak midcast for you but doesn't cancel if you are sneaking someone else. -->
            <if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTargetName"="%PlayerName"'>
                <command when="midcast">cancel 71</command>
                <midcastdelay delay="2.3" />
            </if>
            <!-- Auto Pianissimo if we use //spell playername -->
            <if type="BardSong">
                <if SpellTargetType="PLAYER">
                    <castdelay delay="2" />
                    <command when="precast">input /raw /ja "Pianissimo" &lt;me&gt;</command>
                </if>
            </if>
            <!--- End Spell rules -->
            <if Spell="Soul Voice">
                <if Advanced='"$varSleepMessages"="1"'>
                    <command when="precast">wait 59;input /echo ==== Soul Voice off @ 2:00 ====</command>
                    <command when="precast">wait 119;input /echo ==== Soul Voice off @ 1:00 ====</command>
                    <command when="precast">wait 134;input /echo ==== Soul Voice off @ 0:45 ====</command>
                    <command when="precast">wait 149;input /echo ==== Soul Voice off @ 0:30 ====</command>
                    <command when="precast">wait 164;input /echo ==== Soul Voice off @ 0:15 ====</command>
                    <command when="precast">wait 174;input /echo ==== Soul Voice off @ 0:05 ====</command>
                </if>
            </if>
            <else Spell="*lullaby">
                <if Advanced='"$varSleepMessages"="1"'>
                    <command when="aftercast">wait 14;input /echo ==== %Spell off @ 0:15 ====</command>
                    <command when="aftercast">wait 24;input /echo ==== %Spell off @ 0:05 ====</command>
                </if>
            </else>
            <equip when="AfterCast" set="Standard" />
        </rules>
    </spellcast>

  7. #687
    Requiescat in pace.
    Join Date
    Dec 2008
    Posts
    1,341
    BG Level
    6
    FFXI Server
    Lakshmi

    Quote Originally Posted by Hanyoko View Post
    This is what I use to force melee sets. I use the Ninjitsu elemental spells cast on "self" to toggle variables (or reset, raise/lower acc, etc etc)

    SPELLCAST STUFF REMOVED

    So just bind a macro to have /ma "Katon: Ichi" <me> and hit it whenever you want to lock in melee stuff. Its not "perfect" but gets the job done and eliminates accidental locks on the TP based logic.

    My full logic has dynamic sets with variables that look at the current main/sub weapons and equip proper items related to it. Like rdm using sword will get fort torque and suppa; dagger would get love and ethereal unless /nin then it would get suppa; etc etc

    I use similar logic for other things as well : like an evasion set on thief, spell learning on blu, etc; that when set will override the normal logic. Since I couldn't find a better way to tell spellcast the specific situation I was in.

    I use a similar setup to toggle my DNC gear sets:

    Code:
    		<if spell="Breakga">
    			<if Advanced='"%Group"="ACC"'>
    				<action type="command">sc group HASTE</action>
    				<action type="AddToChat">HASTE SETUP</action>
    				<action type="command">input /ma Death PLAYERNAME</action>
    				<action type="CancelSpell" />
    				<action type="Return" />
    
    			</if>
    			<elseif Advanced='"%Group"="HASTE"'>
    				<action type="command">sc group EVA</action>
    				<action type="AddToChat">EVA SETUP</action>
    				<action type="command">input /ma Death PLAYERNAME</action>
    				<action type="CancelSpell" />
    				<action type="Return" />
    
    			</elseif>
    			<elseif Advanced='"%Group"="EVA"'>
    				<action type="command">sc group ACC</action>
    				<action type="AddToChat">ACC SETUP</action>
    				<action type="command">input /ma Death PLAYERNAME</action>
    				<action type="CancelSpell" />
    				<action type="Return" />
    
    			</elseif>
    		</if>
    
    		<if spell="Death">
    			<action type="equip" set="Main" />
    				<if BuffActive="Allied tags">
    					<action type="equip">
    						<back>Fourth Mantle</back>
    					</action>
    				</if>
    
    			<action type="CancelSpell" />
    		</if>
    I have a macro called 'toggle' which basically casts breakga on myself and toggles all my gear. Handy when you get a link and need to quickly switch to evasion gear.

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

    Hi, Im having trouble with aikars blm xml. I put in my gears and stuff but for some reason its not swapping staves when I rest or when I cast spells. Also is there a way to get the countdown to recasting sleepga spells to only show up as /echo? I thought I made it do so but it still shows up in p chat.


    Code:
    <?xml version="1.0" ?>
    <!-- 
    ===================================================
      ||
      ||       Aikar's BLM SpellCast Template
      ||
      || This file is designed to be easily used by others.
      || Simply editing in your own gear and modifying the variables up top
      || should be all that is needed to make use of this file.
      ||
      || Please be sure to configure the variables prior to use.
      ||
      || If you have any questions - Please post on the forums.
    ===================================================
     -->
    <spellcast>
    	<config RequireVersion="2.22" />
    	<variables>
    		<!-- Sleep timers, announces to chat when sleep is wearing off. Set to 0 to not use. -->
    		<!-- (note: this is sort of very obvious usage of 3rd party programs, so turn off when around people you dont trust -->
    		<var name="SleepTimers">0</var>
    		<!-- use BLM AF2 pants or not? Set to 0 if you do not have it -->
    		<var name="BLMAF2Pants">1</var>
    		<!-- use Sorc ring or not? set to 0 if you do not have it or dangerous location -->
    		<var name="Ring">0</var>
    		<!-- use Ugg Pendant or not? set to 0 if you do not have it. -->
    		<var name="UggPendant">1</var>
    		<!-- Set HP Variables for what the maximum amount of HP you can have to trigger sorc ring is for each subjob -->
    		<var name="RDMRingHP">597</var>
    		<var name="WHMRingHP">583</var>
    		<var name="NINRingHP">597</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">Ice Staff</var>
    		<var name="DarkStaff">Pluto's Staff</var>
    		<var name="ThunderStaff">Jupiter's Staff</var>
    		<var name="WindStaff">Wind Staff</var>
    		<var name="FireStaff">Vulcan's Staff</var>
    		<var name="EarthStaff">Terra's Staff</var>
    		<var name="LightStaff">Apollo's Staff</var>
    		<var name="WaterStaff">Water 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">1</var>
    		<var name="IceObi">1</var>
    		<var name="FireObi">0</var>
    		<var name="WindObi">1</var>
    		<var name="WaterObi">0</var>
    		<var name="EarthObi">0</var>
    	</variables>
    	<sets>
    		<group name="Main" default="yes">
    			<set name="Standard">
    				<main>$ThunderStaff</main>
    				<sub>Staff Strap</sub>
    				<ammo>Fortune Egg</ammo>
    				<neck>Elemental Torque</neck>
    				<lear>Moldavite Earring</lear>
    				<rear>Magnetic Earring</rear>
    				<body>Sorcerer's Coat</body>
    				<hands>Zenith Mitts</hands>
    				<lring>Balrahn's Ring</lring>
    				<rring>Diamond Ring</rring>
    				<back>Rainbow Cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>Errant Slops</legs>
    				<feet>Rostrum Pumps</feet>
    				<head>Wizard's Petasos</head>
    			</set>
    			<set name="FastCast">
    				<feet>Rostrum Pumps</feet>
    				<waist>Moblin Cest</waist>
    			</set>
    			<set name="Resting" BaseSet="Standard">
    				<body>Errant Hpl.</body>
    				<main>$DarkStaff</main>
    				<head>Zenith Crown</head>
    				<waist>Hierarch Belt</waist>
    				<hands>Zenith Mitts</hands>
    				<neck>Beak Necklace</neck>
    				<rear>Magnetic Earring</rear>
    				<legs>Sorcerer's </legs>
    				<back>Merciful Cape</back>
    			</set>
    			<set name="MinusHP">
    				
    			</set>
    			<set name="FullDamage" BaseSet="Standard">
    				<sub>Staff Strap</sub>
    				<ammo>Fortune Egg</ammo>
    				<neck>Elemental Torque</neck>
    				<lear>Moldavite Earring</lear>
    				<rear>Abyssal Earring</rear>
    				<head>Wzd. Petasos</head>
    				<body>Igqira Weskit</body>
    				<hands>Zenith Mitts</hands>
    				<lring>Balrahn's Ring</lring>
    				<rring>Blizzard Ring</rring>
    				<back>Rainbow Cape</back>
    				<legs>Errant Slops</legs>
    				<feet>Rostrum Pumps</feet>
    			</set>
    			<set name="HighResist" BaseSet="FullDamage">
    				<hands>Wizard's Gloves +1</hands>
    				<feet>Rostrum Pumps</feet>
    				<back>Merciful Cape</back>
    				<neck>Elemental Torque</neck>
    			</set>
    			<set name="MidResist" BaseSet="FullDamage">
    				<back>Merciful Cape</back>
    				<hands>Wizard's Gloves +1</hands>
    			</set>			
    			<set name="LightResist" BaseSet="FullDamage">
     
    			</set>					
    			<set name="DarkMagic">
    				<legs>Wizard's Tonban</legs>
    				<lear>Moldavite Earring</lear>
    				<rear>Abyssal Earring</rear>
    				<head>Walahra Turban</head>
    				<waist>Swift Belt</waist>
    				<body>Errant Hpl.</body>
    				<feet>Sorcerer's Sabots</feet>
    				<back>Merciful Cape</back>
    			</set>
    			<set name="EnfeeblingMagic">
    				<body>Wizard's Coat</body>
    				<head>Igqira Tiara</head>
    				<hands>Wizard Gloves +1</hands>
    				<legs>Igqira Lappa</legs>
    				<feet>Wizard's Sabots</feet>
    				<waist>Moblin Cest</waist>
    			</set>
    			<set name="HealingMagic" />
    			<set name="DivineMagic" />
    			<set name="EnhancingMagic">
    				<main lock="yes">$WaterStaff</main>
    				<body>Errant Hpl.</body>
    				<head>Zenith Crown</head>
    				<feet>Rostrum Pumps</feet>
    				<waist>Moblin Cest</waist>
    			</set>
    		</group>
    	</sets>
    	<rules>
     
    		<!-- utility: if targetting a monster, but casting a spell that can not be cast on monsters, then cast on self (buffs). -->
    		<if SpellTargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Self*">
    			<action type="changetarget" target="&lt;me&gt;" />
    		</if>	
    		<if SpellTargetType="NONE" ValidTarget="*Self*">
    			<action type="changetarget" target="&lt;me&gt;" />
    		</if>
    		<if Spell="Escape|Warp|Warp II|Retrace|Teleport-*|Reraise|Tractor"> <action type="return" /> </if>
    		<!-- set of gear to equip when finished casting a spell or coming back from resting mp (idle set) -->
    		<action type="equip" when="Idle|aftercast" set="Standard" />
    		<!-- set of gear to equip when resting -->
    		<action type="equip" when="Resting" set="Resting" />
     
    		<if Spell="Stun">
    			<!-- equip gear that helps stun, and nothing else -->
    			<action type="equip" set="DarkMagic|FastCast">
    				<main>$ThunderStaff</main>
    				<waist>Swift Belt</waist>
    				<head>Walahra Turban</head>
    				<feet>Rostrum Pumps</feet>
    			</action>
    			<!-- these codes just print Stun in auto translate into chat. -->
    			<action type="command">input /p \xFD\x07\x02\x12\xFC\xFD &gt;&gt; &lt;%SpellTarget&gt;</action>
    		</if>
    		<else>
    			<!-- equip fast cast gear -->
    			<action type="equip" Set="FastCast" />
    			<!-- Elemental Grip checks. Are we casting an enfeeble, or are we casting on a resistant mob? -->
    			<if mode="OR" NotSkill="ElementalMagic" 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 were handling spells -->
    			<if Skill="*Magic">
    				<!-- if this is elemental magic (nukes/dot's, then do special handling -->
    				<if Skill="ElementalMagic">
    					<if Spell="Frost|Drown|Rasp|Burn|Shock|Choke">
    						<!-- equip elemental/INT gear for DoT's -->
    						<action type="equip" when="precast|midcast" Set="HighResist" />	
    					</if>
    					<else>
    						<!-- this is an actual nuke. Check target to be a known high resist mob (and that ES is not active) -->
    						<if SpellTargetName="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Vrtra|Cerberus|Khimaira|Tyger|Jailer of Love|Sarameya" NotBuffActive="Elemental Seal">
    							<action type="equip" when="precast|midcast" Set="HighResist" />	
    						</if>
    						<else>
    							<!-- if mob is not high resist, is it a mid resist mob? -->
    							<if SpellTargetName="Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin|Ouryu" NotBuffActive="Elemental Seal">
    								<action type="equip" when="precast|midcast" Set="MidResist" />	
    							</if>
    							<else>
    								<!-- Normal mob, go full damage gear. -->
    								<if mode="or" Area="Dynamis *|Hazhalm*" SpellTargetName="Lambton Worm|Sandworm|Guivre|King Arthro|Serket">
    									<if NotBuffActive="Elemental Seal">
    										<action type="equip" when="precast|midcast" Set="LightResist" />
    									</if>
    									<else>
    										<action type="equip" when="precast|midcast" Set="FullDamage" />	
    									</else>
    								</if>
    								<else>
    									<action type="equip" when="precast|midcast" Set="FullDamage" />	
    								</else>
    								<!-- only equip pendant in situations you would equip full damage gear -->
    								<if MPPAfterCastLT="50" Advanced="$UggPendant==1">
    									<action type="equip" when="midcast">
    										<neck lock="yes">Uggalepih Pendant</neck>
    									</action>
    								</if>
    							</else>
    							<!-- check for Sorc Ring if mid or low resist mob. HP values to compare to are in variables above. -->
    							<if advanced='$Ring == 1'>
    								<!-- make sure we have an HP variable set for current subjob -->
    								<if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'>
    									<if Advanced='%HP &gt; $%SubJobRingHP'>
    										<!-- if you have too much HP at the time of casting, equip minus hp -->
    										<action type="equip" set="MinusHP" />
    									</if>
    								</if>
    								<else>
    									<!-- if no HP amount is specified for the current subjob, just always equip minushp as precast -->
    									<action type="equip" set="MinusHP" />
    								</else>
     
    								<action type="equip" when="midcast">
    										<lring>Sorcerer's Ring</lring>
    								</action>
    							</if>
    						</else>
    					</else>
    				</if>
    				<else>
    					<!-- for any other type of spell, just equip matching set name. -->
    					<action type="equip" when="precast|midcast" Set="Standard|%Skill" />	
    				</else>
    			</if>
    			<else>
    				<action type="equip" when="precast|midcast" Set="Standard" />
    			</else>				
    			<!-- so i can see in general how much my drain did. If Ring=0 then its a dangerous spot and shouldnt drop HP. -->
    			<if Spell="Drain" Advanced="$Ring==1">
    					<action type="equip" set="MinusHP" />
    			</if>
    			<!-- Handle Elemental Obi's -->
    			<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>
    			<!-- Handle AFv2 Pants, but do not equip pants if we already have Weather x2 and day bonuses from obi alone as obi alone hits the 35% damage cap. -->
    			<if Advanced='(!((regex)%Weather=^.* x2$(/regex) AND "%WeatherElement" = "%SpellElement" AND "$%SpellElementObi" = "1") OR !("%WeatherElement" = "%spellElement")) AND ("%SpellElement" = "%DayElement" AND "$BLMAF2Pants" = "1") AND ("%skill"="ElementalMagic")'>
    				<action type="equip" when="midcast">
    					<legs lock="yes">Sorcerer's Tonban</legs>
    				</action>
    			</if>
    			<!-- Timers for when sleep is wearing off. -->
    			<if advanced='"$SleepTimers"="1"'>
    				<if Spell="Sleep II|Sleepga II">
    					<action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /p [$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>
    			<!-- auto cancel sneak/utsu/stoneskin/blink when recasting them. Requires Cancel Plugin -->
    			<if Spell="Sneak" BuffActive="Sneak" SpellTargetType="Self">
    				<action type="command" when="midcast">cancel 71</action>
    				<action type="midcastdelay" delay="1.8" />
    			</if>
    			<if spell="Utsusemi: Ichi" BuffActive="Copy Image">
    				<action type="midcastdelay" delay="3.0" />
    				<action type="Command" when="midcast">cancel 66</action>
    			</if>
    			<elseif Spell="Stoneskin" BuffActive="Stoneskin">
    				<action type="command" when="midcast">cancel 37</action>
    				<action type="midcastdelay" delay="4.8" />
    			</elseif>
    			<elseif Spell="Blink" BuffActive="Blink">
    				<action type="command" when="midcast">cancel 36</action>
    				<action type="midcastdelay" delay="4.5" />
    			</elseif>
    			<!-- finally, equip our staff! -->
    			<action type="equip" when="midcast">
    				<main>$%SpellElementStaff</main>
    			</action>
    		</else>
    	</rules>
    </spellcast>

  9. #689
    MOOSE VOUCHER
    Join Date
    Dec 2009
    Posts
    1,271
    BG Level
    6
    FFXI Server
    Fenrir
    WoW Realm
    Tichondrius

    You just forgot to change the first /p to /echo in Sleep(ga) 2 rule.

    As to why your staves aren't changing, I looked over it and I haven't the slightest, I even copied and loaded it myself just now and the staves switch for me :s

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

    Quote Originally Posted by Snick View Post
    You just forgot to change the first /p to /echo in Sleep(ga) 2 rule.

    As to why your staves aren't changing, I looked over it and I haven't the slightest, I even copied and loaded it myself just now and the staves switch for me :s
    Thanks! I must have looked over that part 4 times and missed it lol. But wtf @ staves? I cant see anything wrong with it is there maybe another windower thing I have to download or something and have running simultaneously?

  11. #691
    Banned.

    Join Date
    Oct 2007
    Posts
    5,674
    BG Level
    8

    If you own NQ ice/wind/water staves and all the rest HQ, fix your priorities. If you don't, that's probably why your staves aren't switching.

  12. #692
    MOOSE VOUCHER
    Join Date
    Dec 2009
    Posts
    1,271
    BG Level
    6
    FFXI Server
    Fenrir
    WoW Realm
    Tichondrius

    Quote Originally Posted by Thorny View Post
    If you own NQ ice/wind/water staves and all the rest HQ, fix your priorities. If you don't, that's probably why your staves aren't switching.
    If you really wanted to be picky, the standard set should also have Terra's Staff at least. But I assume you just copied Aikar's and hadn't changed it yet.

    Is it just not switching, or is the game saying "Unable to changed equipped items" or whatever it says? Idk :s Also, is everything else not switching, or is it just staves?

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

    Quote Originally Posted by Snick View Post
    If you really wanted to be picky, the standard set should also have Terra's Staff at least. But I assume you just copied Aikar's and hadn't changed it yet.

    Is it just not switching, or is the game saying "Unable to changed equipped items" or whatever it says? Idk :s Also, is everything else not switching, or is it just staves?
    No I had it originally as terras, but when nothing was changing I thought maybe I messed that up and changed it back and it still didn't work. And I get no error message at all about equipment changing, and yes everything else changes, just not the staves.


    And wtf are you talking about thorny?

  14. #694
    MOOSE VOUCHER
    Join Date
    Dec 2009
    Posts
    1,271
    BG Level
    6
    FFXI Server
    Fenrir
    WoW Realm
    Tichondrius

    Ah, I was just saying to nitpick XP But you know better.

    I really dunno what to say. What other plugins do you have installed? What Version of Spellcast you using?

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

    Quote Originally Posted by Snick View Post
    Ah, I was just saying to nitpick XP But you know better.

    I really dunno what to say. What other plugins do you have installed? What Version of Spellcast you using?
    recast, distance, expwatch, thats mostly it.

    spellcast is 2.22

  16. #696
    Banned.

    Join Date
    Oct 2007
    Posts
    5,674
    BG Level
    8

    Quote Originally Posted by Suljin View Post
    No I had it originally as terras, but when nothing was changing I thought maybe I messed that up and changed it back and it still didn't work. And I get no error message at all about equipment changing, and yes everything else changes, just not the staves.


    And wtf are you talking about thorny?
    The stave variables are set to those 3 NQ and the rest HQ, if your staves don't match then obviously they won't be switched.

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

    Quote Originally Posted by Thorny View Post
    The stave variables are set to those 3 NQ and the rest HQ, if your staves don't match then obviously they won't be switched.
    Yes . . . I set them that way because those are the staves I have.

  18. #698
    MOOSE VOUCHER
    Join Date
    Dec 2009
    Posts
    1,271
    BG Level
    6
    FFXI Server
    Fenrir
    WoW Realm
    Tichondrius

    Well, Aikar's has all HQ staves in it, so some being NQ suggests he did change it to his own.

    Maybe enter "//sc enable" ingame then try again, maybe something is disabling your main slot?

    I really am stumped, the only other thing I would try doing is getting Cancel. Aikar's uses cancel, so maybe it's clashing somehow.

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

    Quote Originally Posted by Snick View Post
    Well, Aikar's has all HQ staves in it, so some being NQ suggests he did change it to his own.

    Maybe enter "//sc enable" ingame then try again, maybe something is disabling your main slot?

    I really am stumped, the only other thing I would try doing is getting Cancel. Aikar's uses cancel, so maybe it's clashing somehow.
    Thanks ill try that, what does enable do?

    Edit: ok so I just copied over from my smn spellcast to my blm spellcst this:
    <config
    Debug = "True"
    HideErrors = "False"
    ShowGearSwaps = "False"
    quickcommands = "True"
    showspellinfo = "False"/>

    and showed swaps and stuff, it says its changing staves for the spells, so why isn't it doing it? Hopefully this gives you some insight on what might be up.

  20. #700
    MOOSE VOUCHER
    Join Date
    Dec 2009
    Posts
    1,271
    BG Level
    6
    FFXI Server
    Fenrir
    WoW Realm
    Tichondrius

    Try PMing Aikar on here or Windower forum, I'm totally out of ideas Sorry, hope it gets working for you!

    Your sig is adorable too btw

Page 35 of 328 FirstFirst ... 25 33 34 35 36 37 45 85 ... 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