How can I make unkai kote stay on if sekkanoki is active?
How can I make unkai kote stay on if sekkanoki is active?
This is my WS section:Spoiler: show
Do <hands lock="true">Unkai Kote +2</hands> in case WS gear conflicts with it.
Does not work for my friend's XML.
Code:<!-- Enhancement Durations VAR --> <include name="Duration"> <var name="Haste_Duration">180</var> <var name="Phalanx_Duration">180</var> <var name="Refresh_Duration">150</var> <var name="Refresh II_Duration">150</var> <var name="Regen_Duration">75</var> <var name="Regen II_Duration">60</var> <var name="Regen III_Duration">60</var> <var name="Blink_Duration">300</var> <var name="Stoneskin_Duration">300</var> <var name="Shock Spikes_Duration">180</var> <var name="Blaze Spikes_Duration">180</var> <var name="Thunderstorm_Duration">180</var> <var name="Sandstorm_Duration">180</var> <var name="Firestorm_Duration">180</var> <var name="Rainstorm_Duration">180</var> <var name="Windstorm_Duration">180</var> <var name="Aurorastorm_Duration">180</var> <var name="Hailstorm_Duration">180</var> <var name="Voidstorm_Duration">180</var> <var name="Gain-VIT_Duration">300</var> <var name="Gain-CHR_Duration">300</var> <var name="Gain-MND_Duration">300</var> <var name="Gain-DEX_Duration">300</var> <var name="Gain-INT_Duration">300</var> <var name="Gain-STR_Duration">300</var> <var name="Enthunder_Duration">180</var> <var name="Enaero_Duration">180</var> <var name="Enfire_Duration">180</var> <var name="Enwater_Duration">180</var> <var name="Enstone_Duration">180</var> <var name="Enblizzard_Duration">180</var> <var name="Ice Spikes_Duration">180</var> <var name="Adloquium_Duration">180</var> <var name="Animus Minuo_Duration">180</var> <var name="Animus Augeo_Duration">180</var> </include> <!-- Enhanced Duration VAR --> <include name="DurationToggle"> <var name="SelfDuration">0</var> <var name="OtherDuration">0</var> <var name="BuffTimer">0</var> <var name="BuffTimer2">0</var> <var name="BuffTimer3">0</var> </include>Code:<!-- Composure Buff: Self --> <if advanced='"SelfDuration"=="0"' notStatus="Resting"> <if BuffActive="Composure" SpellTargetType="SELF" Spell="Haste|Phalanx|Refresh II|Refresh|Stoneskin|Blink|Regen II|Hailstorm"> <command>sc var setcalc BuffTimer (($%Spell_Duration * 3) * 1.3) - 5</command> <command>sc var setcalc BuffTimer2 (($%Spell_Duration * 3) * 1.3) - 15</command> <command>sc var setcalc BuffTimer3 (($%Spell_Duration * 3) * 1.3) - 35</command> <command when="aftercast">wait $BuffTimer3;input /echo [$buffid:%spell] <me> Wearing off in 35s</command> <command when="aftercast">wait $BuffTimer2;input /echo [$buffid:%spell] <me> Wearing off in 15s</command> <command when="aftercast">wait $BuffTimer;input /echo [$buffid:%spell] <me> Wearing off in 5s</command> </if> </if>
I tried this and it works fine, except it won't re-equip my idle boots when the effect wears off. Is there a way this can be done?Nyosan
I have this as the last of my rules:
Code:
<if advanced='("%Spell"=="Sandstorm")||("%WeatherEleme nt"=="Earth")'>
<equip when="AfterCast">
<feet>Desert Boots</feet>
</equip>
</if>
Works fine for me.
SC request:
For skill up purposes: If engaged I'd like to full time defender and use Aggressor whenever possible.
Thanks!
Spellcast alone won't swap when the buff wears, it parses the xml every time you take an action and follows the rules. So if sandstorm wears and you cure someone after it wears then it will equip your regular feet.
To swap as soon as the buff wears you need to use autoexec and a line like this in your autoexec.xml
Code:<register id="44441" silent="true" event="losebuff_Sandstorm"><command>input /equip feet "Your feet here";</command></register>
Where?
Ah, for some reason I kept thinking I didn't need $ for advanced. Good find!
Is there a way to write a rule to equip gear depending on what food I have active, or would I have to do that with a variable?
Since many of the windower scripts were created prior to 2.3, I was wondering if anyone would be interested in writing a public script. Basically, equipments and everything would be left blank for users to DL and fill in with their gear (If you've looked on the windower forum, someone made an Alpha version of spellcast).
How would this work on a forum? I think at the core of spellcasts are the sets. Without the sets, the rules typically deteriorate to niches and some even cease to exist. The first procedure would be to get people to define sets they want in the spellcast. The second step is to define "niches." Think of these as stuff like equipping elemental obis or even SAM meditate hands. Once these objectives are laid out, making the spellcast becomes simple. That said, should we make a new thread for that and save this one for bugs and new ideas?
I think you'll need a variable.
I'm having trouble getting my Sneak Attack and Trick Attack gear to equip on engage. I'd like to have the option to charge SA or TA on a pull or before engaging, but every time I engage it always puts me to TP gear.
pastebin.com/rjEBXJVY
Also, is there any way to test xmls w/o actually being in the game?
No, no way to test right now.
You commented out "<!--equip when="engaged" set="Standard" /-->" to force your sneak/trick code, yeah? None of what you have there should work because your status is Idle before you engage. Your status doesn't change to Engaged until after you engage. Just get rid of the entire "<if status="engaged">" container and it should work.
Spoiler: show
Spoilered the top stuff.. because now that i think about it you could just remove the engaged part from your 2nd if statement. Since you really dont need it.. so instead of
do this instead.. Having 2 <if status="engaged"> statements is unneccessary. So i combined the 2 into 1.Code:<if status="engaged"> <if advanced = '"$THFmode" == "1"'> <equip when="engaged" set="Standard|PDT|Evasion" /> </if> <else> <if buffactive="Sneak Attack"> <equip when="engaged|precast|midcast|aftercast" set="Standard|WS|SA" /> </if> <elseif buffactive="Trick Attack"> <equip when="engaged|precast|midcast|aftercast" set="Standard|WS|TA" /> </elseif> <else> <equip when="engaged" set="Standard" /> </else> </else> <!-- If we need our TH4 only need to equip thief's knife to trigger this --> <if mode="OR" equipMain="Thief's Knife" equipSub="Thief's Knife"> <equip when="idle|engaged|precast|midcast|aftercast"> <hands lock="yes">Assassin's Armlets</hands> <feet lock="yes">Raider's Poulaines +2</feet> </equip> </if> </if> </if> <if status="engaged"> <if advanced = '"$THFmode" == "1"'> <equip when="engaged|aftercast" set="Standard|PDT|Evasion" /> </if> <else> <equip when="engaged|aftercast" set="Standard" /> </else> </if> <else> <if advanced = '"$THFmode" == "1"'> <equip when="engaged|aftercast" set="Standard|PDT|Evasion|Running" /> </if> <else> <equip when="aftercast" set="Idle" /> </else> </else>
Edit: I don't really check this thread much. If this doesn't work PM me.Code:<if status="engaged"> <if advanced = '"$THFmode" == "1"'> <equip when="engaged|aftercast" set="Standard|PDT|Evasion" /> </if> <else> <if buffactive="Sneak Attack"> <equip when="engaged|precast|midcast|aftercast" set="Standard|WS|SA" /> </if> <elseif buffactive="Trick Attack"> <equip when="engaged|precast|midcast|aftercast" set="Standard|WS|TA" /> </elseif> <else> <equip when="engaged|aftercast" set="Standard" /> </else> </else> <!-- If we need our TH4 only need to equip thief's knife to trigger this --> <if mode="OR" equipMain="Thief's Knife" equipSub="Thief's Knife"> <equip when="idle|engaged|precast|midcast|aftercast"> <hands lock="yes">Assassin's Armlets</hands> <feet lock="yes">Raider's Poulaines +2</feet> </equip> </if> </if> <else> <if advanced = '"$THFmode" == "1"'> <equip when="aftercast" set="Standard|PDT|Evasion|Running" /> </if> <else> <equip when="aftercast" set="Idle" /> </else> </else>
Can anyone share a decent mage xml that has basic stuff setup like:
-proper usage of max mp gear in conjunction with current mp
-weapon lock when not using a staff and TP above x%
-day/weather variables
-midcast swap for spell int down/etc.
-cancels on utsu: ni -> ichi, sneak, etc.
Just started playing again and looking for something to work off of. The few that I checked on windower.net were pretty useless.
What kind of mage do you need? Or if you want I can post those individual (Except INT down and Max MP gear since I'm not sure what you mean).