That's the correct syntax when you're not doing something that involves an actual closing tag (ie: <action type="equip"><body>Blah</body></action>). I'll edit this post if I see anything wrong with it though.
Edit: Okay, just looked at it. Change the <elseif spell="*Ichi"> to just <if spell="*Ichi">, that should make it work. That elseif isn't technically an "else" because you already satisified the condition of the spell being Utsusemi, so now you want to check to see if the spell is Utsusemi: Ichi.
~I fail at posting...
Works like a charm now, many thanks.
I'd still like to know if thatDoes it do like blinkmenot or does it lock every gears in placeCode:<if advanced='"$noblink"="1"' > <action type="equip" when="precast|midcast|aftercast|autoset"> <main lock="true" /> <sub lock="true" /> <ranged lock="true" /> <ammo lock="true" /> <head lock="true" /> <body lock="true" /> <hands lock="true" /> <legs lock="true" /> <feet lock="true" /> </action> </if>
Ok so I don't know exactly what I did wrong but I tried to remove/add some new gears and my enmity set/sentinel set/rampart set just don't work anymore and I have no idea how to fix it I don't know much about spellcast stuff someone made it for me =/ Can anyone fix it for me or better explain me how it works please.
EDIT: Just noticed that when I go into melee mode, WS gear swap doesn't happen either.
Code:<spellcast> <config /> <sets> <group name="shared" default="yes"> <set name="idle"> <head>Walahra Turban</head> <neck>Parade Gorget</neck> <lear>Ethereal Earring</lear> <rear>Loquac. Earring</rear> <body>Glt. Surcoat +1</body> <hands>Kng. Handschuhs</hands> <lring>Sattva Ring</lring> <rring>Bomb Queen Ring</rring> <waist>Ocean Sash</waist> <legs>Homam Cosciales</legs> <feet>Glt. Leggings +1</feet> </set> <set name="haste" baseset="idle"> <waist>Swift Belt</waist> <feet>Homam Gambieras</feet> <head>Walahra Turban</head> <legs>Homam Cosciales</legs> <hands>Dusk Gloves</hands> </set> <set name="rampart" baseset="idle"> <head>Valor Coronet</head> <neck>Parade Gorget</neck> <waist>Warwolf Belt</waist> <rring>Unyielding Ring</rring> </set> <set name="enmity" baseset="idle"> <head>Valor Coronet</head> <neck>Harmonia's Torque</neck> <hands>Vlr. Gauntlets +1</hands> <lring>Sattva Ring</lring> <rring>Hercules' Ring</rring> <waist>Trance Belt</waist> <legs>Valor Breeches</legs> <feet>Askar Gambieras</feet> </set> </group> <group name="kite" inherit="shared"> <set name="idle"> <head>Walahra Turban</head> <neck>Parade Gorget</neck> <lear>Ethereal Earring</lear> <rear>Loquac. Earring</rear> <body>Glt. Surcoat +1</body> <hands>Vlr. Gauntlets +1</hands> <lring>Sattva Ring</lring> <rring>Bomb Queen Ring</rring> <waist>Ocean Sash</waist> <legs>Homam Cosciales</legs> <feet>Askar Gambieras</feet> </set> </group> <group name="melee" inherit="shared"> <set name="idle"> <head>Walahra Turban</head> <neck>Chivalrous Chain</neck> <lear>Ethereal Earring</lear> <rear>Spike Earring</rear> <body>Haubergeon</body> <hands>Dusk Gloves</hands> <lring>Ecphoria Ring</lring> <rring>Sniper's Ring</rring> <back>Amemet Mantle +1</back> <waist>Swift Belt</waist> <legs>Valor Breeches</legs> <feet>Homam Gambieras</feet> </set> <set name="ws" baseset="idle"> <head>Optical Hat</head> <waist>Warwolf Belt</waist> <feet>Askar Gambieras</feet> <neck>Soil Gorget</neck> </set> </group> </sets> <rules> <if spell="provoke"> <action type="equip" when="precast" set="enmity" /> </if> <if Type="Ninjutsu"> <if spell="Utsusemi*"> <action type="equip" when="precast" set="haste" /> <if spell="*Ichi"> <action type="equip" when="precast"> <head>Koenig Schaller</head> <feet>Glt. Leggings +1</feet> <neck>Shield Torque</neck> <rear>Knight's Earring</rear> </action> </elseif> </if> </if> <elseif Type="JobAbility"> <if spell="Rampart"> <action type="defaulttarget" target="<me>" /> <action type="equip" when="precast" set="rampart" /> <action type="castdelay" delay="1" /> </if> <elseif spell="Shield Bash"> <action type="equip" when="precast"> <hands>Vlr. Gauntlets +1</hands> <lear>Knightly Earring</lear> <rring>Guardian's Ring</rring> </action> <action type="castdelay" delay="1" /> </elseif> <elseif spell="Sentinel"> <action type="equip" when="precast"> <feet>Valor Leggings</feet> </action> <action type="castdelay" delay="1" /> </elseif> </elseif> <elseif Type="WhiteMagic"> <action type="equip" when="precast" set="enmity" /> <if spell="Cure*"> <action type="equip"> <lear>Hospitaler Earring</lear> </action> </if> </elseif> <elseif Type="WeaponSkill" Group="Melee"> <if TPGT="99"> <if spell="Vorpal Blade|Savage Blade" group="melee"> <action type="equip" when="precast" set="ws" /> <action type="castdelay" delay="1" /> </if> </if> </elseif> <action type="equip" when="aftercast" set="idle" /> </rules> </spellcast>
Line 94 should be </if>, not </elseif> (Closing tag for Ichi part)
It's me again!
Could anyone seriously please teach me or give me a link to a page to teach how spellcast works because i'm tired of having to shout for help here everytime
because I have yet again a question for my PLD spellcast.
How can I switch to Loquacious earring in this to only when I cast cure flash or utsusemi please? I wanna replace it with Cassie earring.
Code:<spellcast> <config /> <sets> <group name="shared" default="yes"> <set name="idle"> <head>Walahra Turban</head> <neck>Parade Gorget</neck> <lear>Ethereal Earring</lear> <rear>Loquac. Earring</rear> <body>Glt. Surcoat +1</body> <hands>Kng. Handschuhs</hands> <lring>Sattva Ring</lring> <rring>Bomb Queen Ring</rring> <waist>Ocean Sash</waist> <legs>Homam Cosciales</legs> <feet>Glt. Leggings +1</feet> </set> <set name="haste" baseset="idle"> <waist>Swift Belt</waist> <feet>Homam Gambieras</feet> <head>Walahra Turban</head> <legs>Homam Cosciales</legs> <hands>Dusk Gloves</hands> </set> <set name="rampart" baseset="idle"> <head>Valor Coronet</head> <neck>Parade Gorget</neck> <waist>Warwolf Belt</waist> <rring>Unyielding Ring</rring> </set> <set name="enmity" baseset="idle"> <head>Valor Coronet</head> <neck>Harmonia's Torque</neck> <hands>Vlr. Gauntlets +1</hands> <lring>Sattva Ring</lring> <rring>Hercules' Ring</rring> <waist>Trance Belt</waist> <legs>Valor Breeches</legs> <feet>Askar Gambieras</feet> </set> </group> <group name="kite" inherit="shared"> <set name="idle"> <head>Walahra Turban</head> <neck>Parade Gorget</neck> <lear>Ethereal Earring</lear> <rear>Loquac. Earring</rear> <body>Glt. Surcoat +1</body> <hands>Vlr. Gauntlets +1</hands> <lring>Sattva Ring</lring> <rring>Bomb Queen Ring</rring> <waist>Ocean Sash</waist> <legs>Homam Cosciales</legs> <feet>Askar Gambieras</feet> </set> </group> <group name="melee" inherit="shared"> <set name="idle"> <head>Walahra Turban</head> <neck>Chivalrous Chain</neck> <lear>Ethereal Earring</lear> <rear>Spike Earring</rear> <body>Haubergeon</body> <hands>Dusk Gloves</hands> <lring>Ecphoria Ring</lring> <rring>Sniper's Ring</rring> <back>Amemet Mantle +1</back> <waist>Swift Belt</waist> <legs>Valor Breeches</legs> <feet>Homam Gambieras</feet> </set> <set name="ws" baseset="idle"> <head>Optical Hat</head> <waist>Warwolf Belt</waist> <feet>Askar Gambieras</feet> <neck>Soil Gorget</neck> </set> </group> </sets> <rules> <if spell="provoke"> <action type="equip" when="precast" set="enmity" /> </if> <if Type="Ninjutsu"> <if spell="Utsusemi*"> <action type="equip" when="precast" set="haste" /> <if spell="*Ichi"> <action type="equip" when="precast"> <head>Koenig Schaller</head> <feet>Glt. Leggings +1</feet> <neck>Shield Torque</neck> <rear>Knight's Earring</rear> </action> </if> </if> </if> <elseif Type="JobAbility"> <if spell="Rampart"> <action type="defaulttarget" target="<me>" /> <action type="equip" when="precast" set="rampart" /> <action type="castdelay" delay="1" /> </if> <elseif spell="Shield Bash"> <action type="equip" when="precast"> <hands>Vlr. Gauntlets +1</hands> <lear>Knightly Earring</lear> <rring>Guardian's Ring</rring> </action> <action type="castdelay" delay="1" /> </elseif> <elseif spell="Sentinel"> <action type="equip" when="precast"> <feet>Valor Leggings</feet> </action> <action type="castdelay" delay="1" /> </elseif> </elseif> <elseif Type="WhiteMagic"> <action type="equip" when="precast" set="enmity" /> <if spell="Cure*"> <action type="equip"> <lear>Hospitaler Earring</lear> </action> </if> </elseif> <elseif Type="WeaponSkill" Group="Melee"> <if TPGT="99"> <if spell="Vorpal Blade|Savage Blade" group="melee"> <action type="equip" when="precast" set="ws" /> <action type="castdelay" delay="1" /> </if> </if> </elseif> <action type="equip" when="aftercast" set="idle" /> </rules> </spellcast>
hi Sub,
forums.windower.net (like said before) is really the place to go for support on SC, best way to learn is to read other xml's, that's how i did it. Nowadays SC can be pretty complex with all the viabeles and what not.
to answer your question, 2 ways to handle the Loq. earring: either put the loq. in the haste set build, as you call this set upon when casting Utsusemi (see your rules) this however can potentially mess up a extra group for say pld_nin where this haste set is build upon and thus having per default your loq.earring active. (I hope you understand what i mean, re-reading it made me confused) or you make an extra rule for flash and adjust the Utsu rule:
**personally I would set the haste set active for flash, instead of full emnity**Code:<elseif Type="WhiteMagic"> <action type="equip" when="precast" set="enmity" /> <if spell="Cure*"> <action type="equip"> <lear>Hospitaler Earring</lear> </action> </if> <if spell="Flash"> <action type="equip" when="precast" set="haste"> <lear>Loq. Earring</lear> </action> </if> </elseif>
======================
Hope this helps you out a bitCode:<if Type="Ninjutsu"> <if spell="Utsusemi*"> <action type="equip" when="precast" set="haste" /> <if spell="*Ichi"> <action type="equip" when="precast"> <lear>Loq. Earring</lear> <head>Koenig Schaller</head> <feet>Glt. Leggings +1</feet> <neck>Shield Torque</neck> <rear>Knight's Earring</rear> </action> </if> </if> </if>
-Xav
PS if you go for the 'new' haste set option, then you no longer need the <lear>Loq. Earring</lear> to be put in the rules as the haste set will already be called upon.
I cannot thank you enough for the link. I have 0 knowledge in making that kind of stuff, but I need to learn so I hope your link will help me with that so I can stop asking everyone for help everytime I wanna change gears.
If you'd allow me to go out of topic, if I'd use haste set for flash that would include homam cosciales and Loquacious earring fast cast. Would spellcast be able to change gears and wait long enough for the effects to actually take place before the end of the cast?
Thank you again for your help![]()
that's the beauty of SC, precast and aftercast make sure this does.
PS very lagged situations (ie dyna, DA) precast can sometimes be too late, altho i wouldn't bother with utsu and flash spells, you can adjust rules to set a delay on precast to make sure everything is processed. see the link to look for answers more detailled on the subject.