Looking for a rule to equip one set of gear on idle when I have an avatar out and to equip different set when no avatar. Thanks!
Looking for a rule to equip one set of gear on idle when I have an avatar out and to equip different set when no avatar. Thanks!
Change equip line to0
<if Status="Idle">
<equip when="Idle|Aftercast" set="%PetName-Idle" />
</if>
Change your set name from idle to Fenrir-Idle, Carbuncle-Idle, etc.
Thanks! Works perfect.
Found a mistake in an XML I've reworked a bit in the rules section.
So appearently you can't put 3 conditions into an <if> tag?
Like <if condition1 condition2 condition3>?
Because if I take one off (only 2 conditions) it works fine, if I put 3 it gives me the following error:
"SpellCast: XML Parsing Error: line 0 - Error reading Element value.
SpellCast: Your document fialed to load. Please view the error above, and onc eit is corrected type /sc reload"
You can use over three conditions. Tell us which conditions you used.
Code:<if skill="enhancingmagic" notspell="embrava" notspell="stoneskin"> <equip set="enhancing" /> </if>
If I take out the last stoneskin condition it works.
It just came to my mind as I'm writing this that maybe I should have used a single condition like
==> notspell="embrava|stoneskin"
right?
You can't use the same condition twice.
NotSpell="Stoneskin|Embrava"
Heh, thought about that a bit too late.
Thanks a lot Yugl![]()
Can someone post up a rng xml that utilizes snapshot gear appropriately?
Yugl, as an update, I got my enhancing magic script to work right before heading out on vacation, using suggestions both you and Motenten gave. here is the final product, which was close to earlier suggestions:
this does the following:Code:<!--- Enhancing Magic Skill-Up Segment ---> <elseif spell="Barfire" > <!--- Check if /Heal Break is active ---> <if advanced='"$SkillUp" == "1"'> <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it ---> <if advanced='"$SkillCycle" == "6|7|8|9"'> <action type="var" cmd="set SkillCycle 1" /> <action type="command" when="aftercast">wait 4;input /ma "Barfire"</action> <action type="cancelspell"/> </if> <!--- Check if your MP is low ---> <if Mode="OR" NOTMPGT="100" MP="100"> <if notspell="blink"> <action type="command" when="precast">input /heal on;wait $RestTime4Protect;input /heal off;wait 2;input /ma "Barfire"</action> <action type="cancelspell"/> </if> <else> <action type="command" when="aftercast">input /heal on;wait $RestTime4Protect;input /heal off;wait 2;input /ma "Barfire"</action> </else> </if> <if NotBuffActive="Food"> <cancelspell /> <command>input /item "Seafood Pitaru" <me>;wait 5;input /ma "Barfire"</command> <return /> </if> <if NotBuffActive="Refresh"> <changespell Spell="Refresh" /> <changetarget target="<me>" /> <command when="Aftercast">wait 6;input /ma "Barfire"</command> <return /> </if> <!--- Enhancing Skill Cycling --->
1. uses whatever food you want to use (i have Seafood Pitaru listed)
2. Casts refresh
3. Cycles through the barspells
4. reapplies food and refresh whenever they wear off.
this should work for any other magic type, like Healing or Elemental, just need to copy/paste it into the individual sections. I haven't tested this yet though.
<if buffactive="Migawari">
<equip when="all" lock="true">
<body>Iga Ningi +2</body>
</equip>
</if>
This does not work to lock body when Migawari is up. Any ideas?
<equip when="all"><body lock="true">Iga Ningi +2</body></equip>
Lock was in the wrong spot is all.
Thanks!
First time Spellcast user, using THF Basic xml from http://pastebin.com/uQ1M0FdY, I've edited all my gear into the spots, and the swaps work, but for some reason it only equips my TP set when I first engage, if I use an ability or ws it'll swap gear but then never swaps back to my TP set after, can anyone tell me what i need to add and where?
Edit: Figured it out, disregard
I can't use Shiva's Sleepga while spellcast is loaded. Checked my file, couldn't find anything. Downloaded an xml from this site and it still didn't work. Works fine when I unload spellcast.
Does anyone have an idea what might be the problem?
All that happens is "...A command error occurred."
Ah, thank you! :D
<if notArea="Provenance">
<if Area="Legion">
<var cmd="set TPFeet Usukance Sune-ate"/>
<var cmd="set TPRing Mars's ring"/>
<var cmd="set TPNeck Houyi's gorget"/>
<var cmd="set WSBelt Shadow Belt"/>
</if>
<if notArea="Legion">
<var cmd="set TPFeet Ace's leggings"/>
<var cmd="set TPRing Tyrant's Ring"/>
<var cmd="set TPNeck Ganesha's Mala"/>
<var cmd="set WSBelt Windbuffet belt"/>
</if>
Not working for in legion is legion not the zone name or something?
The zone name is blahblah-Legion, so you need to use Area="*Legion"