How do i get spellcast to equip gear while using ranged attack and not engaged. For example equiping my TH gear for ranged attack then requiping my idle set.
How do i get spellcast to equip gear while using ranged attack and not engaged. For example equiping my TH gear for ranged attack then requiping my idle set.
<if commandprefix="/range">
<afterdelay delay="put number of seconds here" />
<equip when="precast" set="TH" />
</if>
You would need a rule to equip aftercast sets based on status, but you should be using those already.
I've been using Motenten's WHM spellcast and Mote-Include_r3 for my WHM mule for a while now, and whenever I switch over to that character I notice that there are warning about the precast rules in the command window. Something about Syntax error at something something then it puts up the fast cast equation for cure casts or healing or just fast cast, so I think I'm doing something wrong in the includes with the way I have my fast cast values input.
What am I doing wrong? It hasn't killed me yet, but it's annoying knowing this is going on even when I'm not focused on my WHM.HTML Code:<include name="FastCastVars"> <var name="CureFastCast">45</var> <var name="HealFastCast">12</var> <var name="EnhanceFastCast">10</var> <var name="ElementalFastCast">3</var> <var name="GeneralFastCast">0</var> <!-- Internal variable --> <var name="FastCastAmt">0</var> <var name="FCCastTime">0</var> <var name="FastCastMode">Normal</var> </include>
1) I found an error in my code in the Mote-Include file. Fixed and new version uploaded.
2) You shouldn't be setting those in the include file itself. You should include them and then modify them per job. EG, for whm:
Code:<xi:include href="Mote-Include.xml" xpointer="/includes/include[@name='FastCastVars']/*" /> <!-- Override basic values --> <!-- Merits, Cure Clogs, Heka body --> <var name="CureFastCast">50</var> <!-- Orison +2 legs --> <var name="HealFastCast">12</var> <!-- Siegel Sash --> <var name="EnhanceFastCast">8</var> <!-- Stoichean Medal --> <var name="ElementalFastCast">3</var> <!--Loquacious Earring 2, Prolix Ring 2, Orison neck 5, Incantor Stone 2, Swith Cape 3, Witful Belt 3, Chelona Boots 4 --> <var name="GeneralFastCast">21</var>
Edit:
3) I'm changing the name of the EnhanceFastCast variable to EnhancingFastCast to maybe help prevent confusion on its use.
Alright, I downloaded your new includes, put the values into the WHM.xml itself, and fixed the part where I thought it said "EnhancesFastCast" instead of "EnhanceFastCast". Everything works perfect now, thank you.
edit - Hmm, maybe not. This is what it is saying:
SpellCast: Error in Expression: Syntax error at position 2 near +((100-$FastCast)*0.1)
Rules for Berkserker's torque for when slept? I don't think mine are working atm.
dupe post..
What would the code be for autoexec then?
<register silent="true" event="gainbuff_Sleep">input /equip neck "Berserker's Torque"</register>
Thanks
Hello, long time lurker, first time poster here.(maybe 2nd or 3rd idk, been ages since I actually log in). Just recently started to try out spellcast and can't figure out for the life of me how to figure this stuff out. I have a spellcast folder that a friend got working for me that works great for SMN magic, Enhancing magic, healing magic, and elemental magic skillups. What I've been trying to add to it is BRD skillups using the lvl 20'ish to 30ish Etudes. (enhancing etude, swift etude, etc. etc.) I tried a few times and nothing I do is working, on the last try I decided to just try copy/pasting the elemental magic section and replacing the Spikes spells with the BRD songs. Needless to say that did not work. I'm really not sure if I'm supposed to make a new folder for this or a new xml document or what but if anyone can help me out it would be greatly appreciated.
pastebincom/XnhxenuK This is the original spellcast file that's been working for me.
pastebincom/njK8XipE This is the one where I just tried copy/pasting a few of the songs. It still works for all the other skillups (took a few tries for even that to be accomplished).
Hopefully those links work ><, If anyone could help me out it would be very much appreciated.
edit: Umm edited the URL's to be able to post them. Pretty self-explanatory how to make those work. Hopefully that's not against the rules @.@
Variables:
<var name="SkillUp">0</var>
Rules
<if advanced='$SkillUp=1'>
<if Spell="Thundaja">
<cancelspell />
<if Buffactive="Enchanting Etude">
<command>SpiritedEtude</command>
</if>
<elseif Buffactive="Spirited Etude">
<command>LearnedEtude</command>
</elseif>
<elseif Buffactive="Learned Etude">
<command>QuickEtude</command>
</elseif>
<elseif Buffactive="Quick Etude">
<command>VivaciousEtude</command>
</elseif>
<elseif Buffactive="Vivacious Etude">
<command>DextrousEtude</command>
</elseif>
<elseif Buffactive="Dextrous Etude">
<command>SinewyEtude</command>
</elseif>
<else>
<command>EnchantingEtude</command>
</else>
</if>
<command when="aftercast">Thundaja</command>
</if>
Creating my first spellcast XML. So far everything is working, but I still have to implement many things.
Today I'm wondering how to solve something that's probably really simple for people like you.
The flow of gearswaps for my Scholar, without entering into too many details, is something like this:
Idle Gear > spell gear > idle gear
Spell gear is of course different according to the spell being currently cast and to precast/midcast. It's always going to be the same for the same spell, so it's a very simple rule.
Problem is the "idle gear" part, because it's not always the same, so I couldn't implement it inside the aftercast command.
Basically my Idle set is different according to my current Grimoire (Dark Arts or Light Arts) and according to wether or not I'm charging Sublimation.
More examples of how I would like it to work:
Dark Arts idle set > Blizzard V set > once spell is finished, returns to Dark Arts idle set.
Sublimation being charged > Blizzard V set > once spell is finished, returns to Subli set > once subli finished charging returns to Dark Arts set
What kind of rule would I need to automatize this?
I thought about something like <if buffactive="Sublimation: Activated" and status="idle"> condition, but I'm afraid that status="idle" won't be enough, right?
<if spell='Thunder V'>
<equip set='insert gear set name here' when='beforecast' /equip>
<equip set='idle' when='aftercast' /equip>
</if>
Hmm... Doing this to you, Sechs!
When I'm waiting for flight haha!
There might be some missing string or symbols or text.
Search Genexis Spellcast Guide. That is very good guide I learned from![]()
Hey Chichi :D
Yeah that's just the aftercast condition, I knew about that, I'm already using precast and midcast ones.
Problem is that unlike these two, the "idle" set is not a fixed one, but dynamic, it changes according to my current grimoir and to wether or not I'm charging Subli.
Like I said before, if Sublimation is being charged, I don't want to return to my "Dark arts idle" set after the spell has finished being cast, I want to return to the "sublimation" set.
I have no clue how to implement this honestly. I read Genesis' guide some time ago and I also read Iryoku commands guide, both are awesome and learned a lot from them, but I still have no clue how to handle such a situation. Maybe with a custom variable...
Well atm I just don't use the "aftercast" variable at all. I have some keybinds on my G19 keyboard, and some of those keys are bound to "/console sc set" commands.
So with my current setup Spellcast manages precast/midcast gear automatically (and it's already a fantastic improvement compared to before, where I handled everything manually) and I handle aftercast stuff manually.
But I was recently suggested to avoid as much as possible this kind of interaction between automatized/manual because it could potentially cause conflicts, so I was looking for ways to automatize this.
Guess I'll try to look for Kaeko's block, altough I'm confident I probably won't understand anything lolol