Spellcast Help

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
Spellcast help
 Carbuncle.Riaka
Offline
サーバ: Carbuncle
Game: FFXI
user: Grimix88
Posts: 43
By Carbuncle.Riaka 2012-09-27 05:51:27  
Ok I've been attempting to learn and make a spellcast work for the past 5 hours to no avail. I'm using a template that I found on another site that I thought I could get to work for me but no luck, this is what I have now. Any help will be appreciated!
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-09-27 05:56:43  
What's the problem with it?

I assume it's not filled with "whem"'s (<action type="Command" whem="Precast">input /recast "%Spell"</action>)
 Carbuncle.Riaka
Offline
サーバ: Carbuncle
Game: FFXI
user: Grimix88
Posts: 43
By Carbuncle.Riaka 2012-09-27 05:57:45  
I'm not sure I keep getting errors when I try to load it. Btw I'm really new at this so not to sure where to make fixes><
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-09-27 06:00:30  
What errors? It will usually give you a line number, position or vague idea of where the error is. I occasionally get things like: if "false"="false" error, etc - it helps work out where you're looking for the problem


EDIT: From a quick glance, the only thing I can find is an unclosed <if> (for your Blue Magic check), try this:
Code xml
<?xml version="1.0" ?>
<spellcast>
        <config
                AutoLoadXML = "False"
                RequireVersion = "2.17"
                Debug = "True"
                ShowGearSwaps = "False" />
        <sets>
                <group name="Blue Mage" default="yes">
<!-- Set: Idle/TP -->
                        <set name="Idle" >
<neck>Wiglen Gorget</neck>
<lear>Suppanomimi</lear>
<rear>Brutal Earring</rear>
<head>Aias Bonnet</head>
<body>Mavi Mintan +2</body>
<hands>Serpentes Cuffs</hands>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
<back>Cheviot Cape</back>
<waist>$IdleWaist</waist>
<legs>Desultor Tassets</legs>
<feet>Serpentes Sabots</feet>
                        </set>
<!-- Set: Idle/TP -->
                        <set name="TP" >
<head>Mavi Kavuk +2</head>
<neck>Rancor Collar</neck>
<lear>Suppanomimi</lear>
<rear>Brutal Earring</rear>
<body>Mavi Mintan +2</body>
<hands>Ocelot Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Heed Ring</rring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Homam Gambieras</feet>
                        </set>
<!-- Set: Accuracy Gear -->
                        <set name="Acc" BaseSet="TP">
<head>Mavi Kavuk +2</head>
<body>Mavi Mintan +2</body>
                        </set>
<!-- Set: Strength Gear -->
                        <set name="PDT" BaseSet="Idle">
<head>Darksteel Cap +1</head>
<neck>Wiglen Gorget</neck>
<body>Darksteel Harness</body>
<rring>Dark Ring</rring>
<legs>Desultor Tassets</legs>
<lring>Dark Ring</lring>
                        </set>
                        <set name="Quadcont" BaseSet="TP">
<head>Aias Bonnet</head>
<neck>Ire Torque</neck>
<body>Magus Jubbah</body>
<hands>Alkyoneus's Bracelets</hands>
<rring>Rajas Ring</rring>
<lring>Spiral Ring</lring>
<waist>Cuchulain's Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Kacura Leggings</feet>
                        </set>
                        <set name="STR" BaseSet="TP"> 
<head>Aias Bonnet</head>
<neck>Ire Torque</neck>
<body>Magus Jubbah</body>
<hands>Alkyoneus's Bracelets</hands>
<rring>Spiral Ring</rring>
<lring>Rajas Ring</lring>
<back>Cuchulain's Mantle</back>
<waist>Cuchulain's Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Kacura Leggings</feet>
                        </set>
<!-- Set: Dex Gear -->
                        <set name="DEX" BaseSet="TP">
<ammo>Mavi Tathlum</ammo>
<head>Aias Bonnet</head>
<body>Magus Jubbah</body>
<hands>Ocelot Gloves</hands>
<rring>Thunder Ring</rring>
<lring>Rajas Ring</lring>
<back>Cuchulain's Mantle</back>
<waist>Cuchulain's Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Kacura Leggings</feet>
                        </set>
                        <set name="CDC" Baseset="DEX">
<head>Aias Bonnet</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<body>Loki's Kaftan</body>
<hands>Ocelot Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Thunder Ring</rring>
<back>Atheling Mantle</back>
<waist>Cuchulain's Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Kacura Leggings</feet>
                        </set>
<!-- Set: Cannonball -->
                        <set name="Cannonball" BaseSet="TP">
                        </set>
<!-- Set: dmg -->
                        <set name="MagicDMG" BaseSet="Idle">          
<ammo>Thunder Sachet</ammo>
<head>Teal Chapeau</head>
<neck>Artemis' Medal</neck>
<rear>Moldavite Earring</rear>
<body>Teal Saio</body>
<hands>Mavi Bazuband +2</hands>
<rring>Rajas Ring</rring>
<legs>Mavi Tayt +2</legs>
<feet>Mavi Basmak +1</feet>
<legs> Teal Slops</legs>
 
                        </set>
                        <set name="Benthic" BaseSet="DEX">
<ammo>Mavi Tathlum</ammo>
<head>Aias Bonnet</head>
<neck>Ire Torque</neck>
<body>Loki's Kaftan</body>
<hands>Ocelot Gloves</hands>
<legs>Mavi Tayt +2</legs>
<feet>Kacura Leggings</feet>
                        </set>
<!-- Set: heal -->
                        <set name="MagicHEALING" BaseSet="Idle">              
<body>Teal Saio</body>
<head>Teal Chapeau</head>
<legs>Teal Slops</legs>
                        </set>
<!-- Set: Uriel -->
                        <set name="Uriel" BaseSet="Idle">             
<neck>Artemis' Medal</neck>
<rear>Moldavite Earring</rear>
<legs> Teal Slops</legs>
<hands>Mavi Bazuband +2</hands>
<feet>Mavi Basmak +1</feet>
                        </set>
<!-- Set: Magic Acc -->
                        <set name="Macc" BaseSet="Idle">
<ammo>Mavi Tathlum</ammo>
<body>Mavi Mintan +2</body>
<legs>Mavi Tayt +2</legs>
<feet>Mavi Basmak +1</feet>
                        </set>
<!-- Set: Aspir/Drain -->
                        <set name="Draspir" BaseSet="Idle">
                        </set>
<!-- Set: Resting -->
                        <set name="Resting" BaseSet="Idle">           
                        </set>
                        <set name="CW" BaseSet="MagicDMG">
<head>Aias Bonnet</head>
<neck>Artemis' Medal</neck>
<rear>Moldavite Earring</rear>
<body>Loki's Kaftan</body>
<hands>Mavi Bazuband +2</hands>
<lring>Thunder Ring</lring>
<rring>Rajas Ring</rring>
<back>Cuchulain's Mantle</back>
<waist>Cuchulain's Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Mavi Basmak +1</feet>
                        </set>
<!-- Set: Haste -->
                        <set name="Haste">
<head>Mavi Kavuk +2</head>
<body>Mavi Mintan +2</body>
<waist>Twilight Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Homam Gambieras</feet>           
                        </set>
                </group>
        </sets>
        <variables clear="true">
        </variables>
        <rules>
<!-- Rule: Autosets -->
        <if spell="autoset">
                <action type="equip" when="resting" set="Resting" />
                <action type="equip" when="Idle" set="Idle"/>
                <action type="equip" when="afterCast" set="Idle" />
                <action type="equip" when="engaged" set="TP" />
        </if>
<!-- Rule: Automatic /recast for spells -->
        <if CommandPrefix="/magic|/ninjutsu">
                <action type="Command" when="Precast">input /recast "%Spell"</action>
        </if>
<!-- Rule: Utsusemi - Cancel -->      
                <if spell="Utsusemi: Ichi">
                        <action type="equip" when="PreCast">
                                <feet>Magus Charuqs</feet>
                        </action>
                        <action type="midcastdelay" delay="2.75" />
                        <action type="Command" when="midcast">cancel 66</action>
                        <action type="equip" when="midcast" set="Haste" />
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <if notStatus="Engaged">
                                <equip when="aftercast" set="idle" />
                        </if>
                </if>
                <if spell="Utsusemi: Ni">
                        <action type="equip" when="PreCast">
                                <rear>Loquac. Earring</rear>
                                <lear>Magnetic Earring</lear>
                        </action>
                        <action type="equip" when="midcast" set="Haste" />
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <if notStatus="Engaged">
                                <equip when="aftercast" set="idle" />
                        </if>
                </if>
<!-- Rule: Protect Smart Grenade -->
                <if CommandPrefix="/range">
                        <if EquipAmmo="Smart Grenade">
                                <action type="AddtoChat">Ranged Attack Canceled - Smart Grenade Equipped</action>
                                <action type="CancelSpell" />
                                <action type="Return" />
                        </if>
                </if>
<!-- Rule: Blue Magic -->
                <if skill="BlueMagic">
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <if notStatus="Engaged">
                                <equip when="aftercast" set="idle" />
                        </if>
        <!-- Rule: Primary STR > Secondary DEX > Tertiary Acc -->
                        <if spell="Foot Kick|Delta Thrust|Whirl of Rage|Goblin Rush|Power Attack|Bludgeon|Claw Cyclone|Screwdriver|Grand Slam|Smite of Rage|Jet Stream|Uppercut|Mandibular Bite|Death Schissors|Dimensional Death|Spiral Spin|Body Slam|Spinal Cleave|Frenetic Rip|Hydro Shot|Disseverment|Ram Charge|Vertical Cleave">
                                <action type="equip" set="ACC|DEX|STR" />
                                <if buffactive="Chain Affinity">
                                        <action type="Equip">
                                                <head>Mavi Kavuk +2</head>
                                        </action>
                                </if>
                        </if>
                        <elseif spell="Benthic Typhoon">
                                <action type="equip" set="Benthic" />
                                <if buffactive="Chain Affinity">
                                        <action type="Equip">
                                                <head>Mavi Kavuk +2</head>
                                        </action>
                                </if>
                        </elseif>
                        <elseif spell="Quad. Continuum">
                                <action type="equip" set="Quadcont" />
                                <if buffactive="Chain Affinity">
                                        <action type="Equip">
                                                <head>Mavi Kavuk +2</head>
                                        </action>
                                </if>
                        </elseif>
        <!-- Rule: Primary Acc -->
                        <elseif spell="Sprout Smack|Wild Oats|Queasyshroom|Battle Dance|Head Butt|Feather Storm|Helldive|Pinecone Bomb|Terror Touch|Frypan|Tail Slap|Asuran Claws">
                                <action type="equip" set="ACC" />
                        </elseif>
        <!-- Rule: Cannonball -->
                        <elseif spell="Cannonball">
                                <action type="equip" set="Cannonball" />
                        </elseif>
        <!-- Rule: Primary DEX > Secondary Acc-->
                        <elseif spell="Sickle Slash|Vanity Dive|Seedspray|Hysteric Barrage">
                                <action type="equip" set="ACC|DEX" />
                        </elseif>
        <!-- Rule: Magic Stats (MND/INT/CHA) -->
                        <elseif spell="Thermal Pulse|Evryone. Grudge">
                                <action type="equip" set="MagicDMG" />
                        </elseif>
                        <elseif spell="charged whisker">
                                <action type="equip" set="CW" />
                        </elseif>
        <!-- Rule: Magic Stats (MND/INT/CHA) -->
                        <elseif spell="Pollen|Healing Breeze|Magic Fruit|Plenilune Embrace">
                                <action type="equip" set="MagicHEALING" />
                        </elseif>
        <!-- Rule: Primary Skill > Secondary Magic Accuracy -->
                        <elseif spell="Acrid Stream|Bad Breath|Frost Breath|Heat Breath|Sandspin|Blazing Bound|Cursed Sphere|Blastbomb|Bomb Toss|Death Ray|Blitzstrahl|Ice Break|Maelstrom|Firespit|Mysterious Light|Eyes On Me|Corrosive Ooze|Regurgitation|Mind Blast|Magic Hammer|Sheep Song|Dream Flower|Auroral Drape|Cimicine Discharge|Blood Drain|Soporific|Sound Blast|Chaotic Eye|Digest|Blank Gaze|Venom Shell|MP Drainkiss|Stinking Gas|Magnetite Cloud|Geist Wall|Awful Eye|Blood Saber|Jettatura|Frightful Roar|Self-Destruct|Filamented Hold|Cold Wave|Hecatomb Wave|Radiant Breath|Flying Hip Press|Light of Penance|1000 Needles|Feather Tickle|Yawn|Voracious Trunk|Infrasonics|Sandspray|Enervation|Lowing|Temporal Shift|Actinic Burst|">
                                <action type="equip" set="Macc">
                                        <body>Mavi Mintan +2</body>
                                        <feet>Mavi Basmak +1</feet>
                                        <legs>Mavi Tayt +2</legs>
                                </action>
                        </elseif>
        <!-- Rule: Primary Skill -->
                        <elseif spell="Metallic Body|Occultation|Diamondhide">
                                <action type="equip" set="haste">
                                        <hands>Mavi Bazuband +2</hands>
                                        <body>Magus Jubbah</body>
                                </action>
                        </elseif>     
        <!-- Rule: Breath -->
                        <elseif spell="Poison Breath">
                                <action type="equip" set="Macc" />
                        </elseif>
					</if>
        <!-- Rule: None -->
                <if spell="Drain|Aspir">
                        <action type="equip" when="Precast" set="Draspir"/>
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <if notStatus="Engaged">
                                <equip when="aftercast" set="idle" />
                        </if>
                </if>
                <if spell="Sleep*">
                        <action type="equip" when="Precast" set="Macc" >
                                <head>Mirage Keffiyeh +1/head>
                        </action>
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <if notStatus="Engaged">
                                <equip when="aftercast" set="idle" />
                        </if>
                </if>
<!-- Rule: Weaponskills -->
<!-- Weaponskill Name   100%    200%    300%    Hits    Modifiers               TP Attribute                            -->
<!-- __________________________________________________________________________________________________________________ -->
<!-- Fast Blade         1.00    1.50    2.00    x2      STR_20%, DEX_20%        fTP Modifier                            -->
<!-- Flat Blade         1.00                    x1      STR_30%                 Stun Success Rate                       -->
<!-- Circle Blade       1.00                    x1      STR_35%                 Attack Radius                           -->
<!-- Spirits Within*    4/32    6/32    15/32   x1      N/A                     *Damage = Current HP * TP Modifier      -->
<!-- Vorpal Blade       1.00                    x4      STR_30%                 Critical Rate (Crits ?x Dam.)           -->
<!-- Swift Blade        1.50                    x3      STR_30%, MND_30%        Higher Accuracy                         -->
<!-- Savage Blade       1.00    1.75    3.50    x2      STR_30%, MND_50%        fTP Modifier                            -->
<!-- Expiacion          1.50    ?.??    ?.??    x2      STR_30%, INT_30%        fTP Modifier                            -->
                <if type="WeaponSkill">
                        <if spell="Vorpal Blade|Savage Blade|Red Lotus Blade|Expiacion">
                                <action type="equip" set="ACC|STR" />
                        </if>
                        <if spell="Uriel Blade|Sanguine Blade">
                                <action type="equip" set="Uriel" />
                        </if>
                        <if spell="Chant du cygne">
                                <action type="Equip" set="CDC" />
                        </if>
                        <action type="AftercastDelay" delay="3" />
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <if notStatus="Engaged">
                                <equip when="aftercast" set="idle" />
                        </if>
                </if>
        </rules>
</spellcast>
 Carbuncle.Riaka
Offline
サーバ: Carbuncle
Game: FFXI
user: Grimix88
Posts: 43
By Carbuncle.Riaka 2012-09-27 06:03:47  
error 168
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-09-27 06:05:23  
Find:
<set name="CW" BaseSet="MagicDMG">

Change:
<neck>Artemis' Medal/neck>

To:
<neck>Artemis' Medal</neck>

EDIT: I've changed that in the code above too, so that should be done.
 Carbuncle.Riaka
Offline
サーバ: Carbuncle
Game: FFXI
user: Grimix88
Posts: 43
By Carbuncle.Riaka 2012-09-27 06:10:37  
Now getting error 317..wait think I'm starting to figure out how to find errors at least

Nvm was completely wrong and still getting error><
did Fix another typo tho
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-09-27 06:13:02  
Just need to find the line it references (317) then look around it.

In case you don't want me to tell you:
 Carbuncle.Riaka
Offline
サーバ: Carbuncle
Game: FFXI
user: Grimix88
Posts: 43
By Carbuncle.Riaka 2012-09-27 06:13:57  
Yea that was the one I just fixed
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-09-27 06:18:44  
Try removing the extra space at the end of <action type="equip" when="Precast" set="Macc" >, I've never seen an XML with a space in there that wasn't closing, but I dunno if that'd actually do anything.

It's the only other thing around 317 that I can see a problem with.
 Carbuncle.Riaka
Offline
サーバ: Carbuncle
Game: FFXI
user: Grimix88
Posts: 43
By Carbuncle.Riaka 2012-09-27 06:22:22  
Now I'm getting a 353 error, which is my </rules> line...Tried removing that extra </if> and still went to my </rules> for some reason
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-09-27 06:27:00  
Try changing your last rule to:
Code xml
<elseif status="Idle">
       <equip when="aftercast" set="idle" />
 </elseif>


Instead of notstatus="Engaged", I doubt that'd make much difference (though I've never seen notstatus used before)
 Carbuncle.Riaka
Offline
サーバ: Carbuncle
Game: FFXI
user: Grimix88
Posts: 43
By Carbuncle.Riaka 2012-09-27 06:31:10  
Still 353><
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-09-27 06:32:55  
I'm out of ideas atm then >< It loads fine for me~

 Carbuncle.Riaka
Offline
サーバ: Carbuncle
Game: FFXI
user: Grimix88
Posts: 43
By Carbuncle.Riaka 2012-09-27 06:34:01  
This is weird...maybe I should try to re-download spellcast?
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-09-27 06:36:10  
I'd recommend it, I can't think of any other reason you wouldn't be able to load it.

Just in case it helps someone, here's the full XML I used.
Code xml
<?xml version="1.0" ?>
<spellcast>
        <config
                AutoLoadXML = "False"
                RequireVersion = "2.17"
                Debug = "True"
                ShowGearSwaps = "False" />
        <sets>
                <group name="Blue Mage" default="yes">
<!-- Set: Idle/TP -->
                        <set name="Idle" >
<neck>Wiglen Gorget</neck>
<lear>Suppanomimi</lear>
<rear>Brutal Earring</rear>
<head>Aias Bonnet</head>
<body>Mavi Mintan +2</body>
<hands>Serpentes Cuffs</hands>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
<back>Cheviot Cape</back>
<waist>$IdleWaist</waist>
<legs>Desultor Tassets</legs>
<feet>Serpentes Sabots</feet>
                        </set>
<!-- Set: Idle/TP -->
                        <set name="TP" >
<head>Mavi Kavuk +2</head>
<neck>Rancor Collar</neck>
<lear>Suppanomimi</lear>
<rear>Brutal Earring</rear>
<body>Mavi Mintan +2</body>
<hands>Ocelot Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Heed Ring</rring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Homam Gambieras</feet>
                        </set>
<!-- Set: Accuracy Gear -->
                        <set name="Acc" BaseSet="TP">
<head>Mavi Kavuk +2</head>
<body>Mavi Mintan +2</body>
                        </set>
<!-- Set: Strength Gear -->
                        <set name="PDT" BaseSet="Idle">
<head>Darksteel Cap +1</head>
<neck>Wiglen Gorget</neck>
<body>Darksteel Harness</body>
<rring>Dark Ring</rring>
<legs>Desultor Tassets</legs>
<lring>Dark Ring</lring>
                        </set>
                        <set name="Quadcont" BaseSet="TP">
<head>Aias Bonnet</head>
<neck>Ire Torque</neck>
<body>Magus Jubbah</body>
<hands>Alkyoneus's Bracelets</hands>
<rring>Rajas Ring</rring>
<lring>Spiral Ring</lring>
<waist>Cuchulain's Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Kacura Leggings</feet>
                        </set>
                        <set name="STR" BaseSet="TP"> 
<head>Aias Bonnet</head>
<neck>Ire Torque</neck>
<body>Magus Jubbah</body>
<hands>Alkyoneus's Bracelets</hands>
<rring>Spiral Ring</rring>
<lring>Rajas Ring</lring>
<back>Cuchulain's Mantle</back>
<waist>Cuchulain's Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Kacura Leggings</feet>
                        </set>
<!-- Set: Dex Gear -->
                        <set name="DEX" BaseSet="TP">
<ammo>Mavi Tathlum</ammo>
<head>Aias Bonnet</head>
<body>Magus Jubbah</body>
<hands>Ocelot Gloves</hands>
<rring>Thunder Ring</rring>
<lring>Rajas Ring</lring>
<back>Cuchulain's Mantle</back>
<waist>Cuchulain's Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Kacura Leggings</feet>
                        </set>
                        <set name="CDC" Baseset="DEX">
<head>Aias Bonnet</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<body>Loki's Kaftan</body>
<hands>Ocelot Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Thunder Ring</rring>
<back>Atheling Mantle</back>
<waist>Cuchulain's Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Kacura Leggings</feet>
                        </set>
<!-- Set: Cannonball -->
                        <set name="Cannonball" BaseSet="TP">
                        </set>
<!-- Set: dmg -->
                        <set name="MagicDMG" BaseSet="Idle">          
<ammo>Thunder Sachet</ammo>
<head>Teal Chapeau</head>
<neck>Artemis' Medal</neck>
<rear>Moldavite Earring</rear>
<body>Teal Saio</body>
<hands>Mavi Bazuband +2</hands>
<rring>Rajas Ring</rring>
<legs>Mavi Tayt +2</legs>
<feet>Mavi Basmak +1</feet>
<legs> Teal Slops</legs>
 
                        </set>
                        <set name="Benthic" BaseSet="DEX">
<ammo>Mavi Tathlum</ammo>
<head>Aias Bonnet</head>
<neck>Ire Torque</neck>
<body>Loki's Kaftan</body>
<hands>Ocelot Gloves</hands>
<legs>Mavi Tayt +2</legs>
<feet>Kacura Leggings</feet>
                        </set>
<!-- Set: heal -->
                        <set name="MagicHEALING" BaseSet="Idle">              
<body>Teal Saio</body>
<head>Teal Chapeau</head>
<legs>Teal Slops</legs>
                        </set>
<!-- Set: Uriel -->
                        <set name="Uriel" BaseSet="Idle">             
<neck>Artemis' Medal</neck>
<rear>Moldavite Earring</rear>
<legs> Teal Slops</legs>
<hands>Mavi Bazuband +2</hands>
<feet>Mavi Basmak +1</feet>
                        </set>
<!-- Set: Magic Acc -->
                        <set name="Macc" BaseSet="Idle">
<ammo>Mavi Tathlum</ammo>
<body>Mavi Mintan +2</body>
<legs>Mavi Tayt +2</legs>
<feet>Mavi Basmak +1</feet>
                        </set>
<!-- Set: Aspir/Drain -->
                        <set name="Draspir" BaseSet="Idle" />
<!-- Set: Resting -->
                        <set name="Resting" BaseSet="Idle" />
                        <set name="CW" BaseSet="MagicDMG">
<head>Aias Bonnet</head>
<neck>Artemis' Medal</neck>
<rear>Moldavite Earring</rear>
<body>Loki's Kaftan</body>
<hands>Mavi Bazuband +2</hands>
<lring>Thunder Ring</lring>
<rring>Rajas Ring</rring>
<back>Cuchulain's Mantle</back>
<waist>Cuchulain's Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Mavi Basmak +1</feet>
                        </set>
<!-- Set: Haste -->
                        <set name="Haste">
<head>Mavi Kavuk +2</head>
<body>Mavi Mintan +2</body>
<waist>Twilight Belt</waist>
<legs>Mavi Tayt +2</legs>
<feet>Homam Gambieras</feet>           
                        </set>
                </group>
        </sets>
        <variables clear="true">
        </variables>
        <rules>
<!-- Rule: Autosets -->
        <if spell="autoset">
                <action type="equip" when="resting" set="Resting" />
                <action type="equip" when="Idle" set="Idle"/>
                <action type="equip" when="afterCast" set="Idle" />
                <action type="equip" when="engaged" set="TP" />
        </if>
<!-- Rule: Automatic /recast for spells -->
        <if CommandPrefix="/magic|/ninjutsu">
                <action type="Command" when="Precast">input /recast "%Spell"</action>
        </if>
<!-- Rule: Utsusemi - Cancel -->      
                <if spell="Utsusemi: Ichi">
                        <action type="equip" when="PreCast">
                                <feet>Magus Charuqs</feet>
                        </action>
                        <action type="midcastdelay" delay="2.75" />
                        <action type="Command" when="midcast">cancel 66</action>
                        <action type="equip" when="midcast" set="Haste" />
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <if notStatus="Engaged">
                                <equip when="aftercast" set="idle" />
                        </if>
                </if>
                <if spell="Utsusemi: Ni">
                        <action type="equip" when="PreCast">
                                <rear>Loquac. Earring</rear>
                                <lear>Magnetic Earring</lear>
                        </action>
                        <action type="equip" when="midcast" set="Haste" />
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <if notStatus="Engaged">
                                <equip when="aftercast" set="idle" />
                        </if>
                </if>
<!-- Rule: Protect Smart Grenade -->
                <if CommandPrefix="/range">
                        <if EquipAmmo="Smart Grenade">
                                <action type="AddtoChat">Ranged Attack Canceled - Smart Grenade Equipped</action>
                                <action type="CancelSpell" />
                                <action type="Return" />
                        </if>
                </if>
<!-- Rule: Blue Magic -->
                <if skill="BlueMagic">
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <if notStatus="Engaged">
                                <equip when="aftercast" set="idle" />
                        </if>
        <!-- Rule: Primary STR > Secondary DEX > Tertiary Acc -->
                        <if spell="Foot Kick|Delta Thrust|Whirl of Rage|Goblin Rush|Power Attack|Bludgeon|Claw Cyclone|Screwdriver|Grand Slam|Smite of Rage|Jet Stream|Uppercut|Mandibular Bite|Death Schissors|Dimensional Death|Spiral Spin|Body Slam|Spinal Cleave|Frenetic Rip|Hydro Shot|Disseverment|Ram Charge|Vertical Cleave">
                                <action type="equip" set="ACC|DEX|STR" />
                                <if buffactive="Chain Affinity">
                                        <action type="Equip">
                                                <head>Mavi Kavuk +2</head>
                                        </action>
                                </if>
                        </if>
                        <elseif spell="Benthic Typhoon">
                                <action type="equip" set="Benthic" />
                                <if buffactive="Chain Affinity">
                                        <action type="Equip">
                                                <head>Mavi Kavuk +2</head>
                                        </action>
                                </if>
                        </elseif>
                        <elseif spell="Quad. Continuum">
                                <action type="equip" set="Quadcont" />
                                <if buffactive="Chain Affinity">
                                        <action type="Equip">
                                                <head>Mavi Kavuk +2</head>
                                        </action>
                                </if>
                        </elseif>
        <!-- Rule: Primary Acc -->
                        <elseif spell="Sprout Smack|Wild Oats|Queasyshroom|Battle Dance|Head Butt|Feather Storm|Helldive|Pinecone Bomb|Terror Touch|Frypan|Tail Slap|Asuran Claws">
                                <action type="equip" set="ACC" />
                        </elseif>
        <!-- Rule: Cannonball -->
                        <elseif spell="Cannonball">
                                <action type="equip" set="Cannonball" />
                        </elseif>
        <!-- Rule: Primary DEX > Secondary Acc-->
                        <elseif spell="Sickle Slash|Vanity Dive|Seedspray|Hysteric Barrage">
                                <action type="equip" set="ACC|DEX" />
                        </elseif>
        <!-- Rule: Magic Stats (MND/INT/CHA) -->
                        <elseif spell="Thermal Pulse|Evryone. Grudge">
                                <action type="equip" set="MagicDMG" />
                        </elseif>
                        <elseif spell="charged whisker">
                                <action type="equip" set="CW" />
                        </elseif>
        <!-- Rule: Magic Stats (MND/INT/CHA) -->
                        <elseif spell="Pollen|Healing Breeze|Magic Fruit|Plenilune Embrace">
                                <action type="equip" set="MagicHEALING" />
                        </elseif>
        <!-- Rule: Primary Skill > Secondary Magic Accuracy -->
                        <elseif spell="Acrid Stream|Bad Breath|Frost Breath|Heat Breath|Sandspin|Blazing Bound|Cursed Sphere|Blastbomb|Bomb Toss|Death Ray|Blitzstrahl|Ice Break|Maelstrom|Firespit|Mysterious Light|Eyes On Me|Corrosive Ooze|Regurgitation|Mind Blast|Magic Hammer|Sheep Song|Dream Flower|Auroral Drape|Cimicine Discharge|Blood Drain|Soporific|Sound Blast|Chaotic Eye|Digest|Blank Gaze|Venom Shell|MP Drainkiss|Stinking Gas|Magnetite Cloud|Geist Wall|Awful Eye|Blood Saber|Jettatura|Frightful Roar|Self-Destruct|Filamented Hold|Cold Wave|Hecatomb Wave|Radiant Breath|Flying Hip Press|Light of Penance|1000 Needles|Feather Tickle|Yawn|Voracious Trunk|Infrasonics|Sandspray|Enervation|Lowing|Temporal Shift|Actinic Burst|">
                                <action type="equip" set="Macc">
                                        <body>Mavi Mintan +2</body>
                                        <feet>Mavi Basmak +1</feet>
                                        <legs>Mavi Tayt +2</legs>
                                </action>
                        </elseif>
        <!-- Rule: Primary Skill -->
                        <elseif spell="Metallic Body|Occultation|Diamondhide">
                                <action type="equip" set="haste">
                                        <hands>Mavi Bazuband +2</hands>
                                        <body>Magus Jubbah</body>
                                </action>
                        </elseif>     
        <!-- Rule: Breath -->
                        <elseif spell="Poison Breath">
                                <action type="equip" set="Macc" />
                        </elseif>
					</if>
        <!-- Rule: None -->
                <if spell="Drain|Aspir">
                        <action type="equip" when="Precast" set="Draspir"/>
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <if notStatus="Engaged">
                                <equip when="aftercast" set="idle" />
                        </if>
                </if>
                <if spell="Sleep*">
                        <action type="equip" when="Precast" set="Macc" >
                                <head>Mirage Keffiyeh +1</head>
                        </action>
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <if notStatus="Engaged">
                                <equip when="aftercast" set="idle" />
                        </if>
                </if>
<!-- Rule: Weaponskills -->
<!-- Weaponskill Name   100%    200%    300%    Hits    Modifiers               TP Attribute                            -->
<!-- __________________________________________________________________________________________________________________ -->
<!-- Fast Blade         1.00    1.50    2.00    x2      STR_20%, DEX_20%        fTP Modifier                            -->
<!-- Flat Blade         1.00                    x1      STR_30%                 Stun Success Rate                       -->
<!-- Circle Blade       1.00                    x1      STR_35%                 Attack Radius                           -->
<!-- Spirits Within*    4/32    6/32    15/32   x1      N/A                     *Damage = Current HP * TP Modifier      -->
<!-- Vorpal Blade       1.00                    x4      STR_30%                 Critical Rate (Crits ?x Dam.)           -->
<!-- Swift Blade        1.50                    x3      STR_30%, MND_30%        Higher Accuracy                         -->
<!-- Savage Blade       1.00    1.75    3.50    x2      STR_30%, MND_50%        fTP Modifier                            -->
<!-- Expiacion          1.50    ?.??    ?.??    x2      STR_30%, INT_30%        fTP Modifier                            -->
                <if type="WeaponSkill">
                        <if spell="Vorpal Blade|Savage Blade|Red Lotus Blade|Expiacion">
                                <action type="equip" set="ACC|STR" />
                        </if>
                        <if spell="Uriel Blade|Sanguine Blade">
                                <action type="equip" set="Uriel" />
                        </if>
                        <if spell="Chant du cygne">
                                <action type="Equip" set="CDC" />
                        </if>
                        <action type="AftercastDelay" delay="3" />
                        <if Status="Engaged">
                                <equip when="aftercast" set="TP" />
                        </if>
                        <elseif status="Idle">
                                <equip when="aftercast" set="idle" />
                        </elseif>
                </if>
        </rules>
</spellcast>
 Carbuncle.Riaka
Offline
サーバ: Carbuncle
Game: FFXI
user: Grimix88
Posts: 43
By Carbuncle.Riaka 2012-09-27 06:40:35  
lmao I copied that in another notepad and got error line 0
 Carbuncle.Riaka
Offline
サーバ: Carbuncle
Game: FFXI
user: Grimix88
Posts: 43
By Carbuncle.Riaka 2012-09-27 06:42:19  
O.O Huzzah idk what I just did but now it loadedXD

Thx for all your help tho!:D
 Sylph.Peldin
Offline
サーバ: Sylph
Game: FFXI
user: Peldin
Posts: 837
By Sylph.Peldin 2012-10-20 05:34:08  
This may be a little late, and maybe you don't care, however I thought I'd point out that you could clean up your xml a little by making the following change:

FROM - <action type="equip" when=..... />

TO - <equip when=..... />

You can do this easily with the Replace function.

Replace: action type="equip"
With: equip

You can also do the same with <action type ="Command".... /action>
changing it to <command..... /command>