<if mode="or" area="Provenance" buffactive="Voidwatcher">
..... normal swap rules for waist slot .....
</if>
<if mode="or" area="Provenance" buffactive="Voidwatcher">
..... normal swap rules for waist slot .....
</if>
Like this or?Code:<if mode="or" area="Provenance" buffactive="Voidwatcher"> <if notbuffactive="March|Embrava"> <var cmd="set TPShoes Iga kyahan +2" /> <var cmd="set TPBelt Twilight Belt" /> <var cmd="set TPLegs Kog. Hakama +2" /> </if> <elseif buffactive="March"> <var cmd="set TPShoes Thaumas Nails" /> <var cmd="set TPBelt Twilight Belt" /> <var cmd="set TPLegs Thaumas kecks" /> </elseif> <if buffactive="Embrava"> <var cmd="set TPShoes Thaumas Nails" /> <var cmd="set TPLegs Thaumas kecks" /> <if buffactive="Haste"> <var cmd="set TPBelt Windbuffet belt" /> </if> <else> <var cmd="set TPBelt Twilight Belt" /> </else> </if> </if>
hey hey its the spellcast beginner again
I wrote my first xml on my main job sch, everything is working fine (i think, at least its loading and doing the things I want)
However I would like to add an option with triggerspells. For Example I would like to swap the m.acc staff to chatoyant for Elemental magic/helix spells, when I activate that trigger spell (for the entire battle in case the m.acc is not needed), however I dont want them to change for debuffs/enfeebs etc. only for nukes.
Would also be nice if someone could check the xml and see if everything is correct and give maybe advices for the next xml I might do.
http://pastebin.com/cgUa19cY
thx in advanced alot!
Remove helix from this rule:Code:<var name="Helix_ACC">Damage</var> <set name="Helix:Damage"> <main>$%SpellElementStaff</main> </set> <set name="Helix:Accuracy" baseset="Helix:Damage"> <main>$%SpellElementStaff</main> </set> <if spell="Trigger0"> <if advanced='"$Helix_ACC"="Damage"'> <var cmd="set Helix_ACC Accuracy" /> </if> <else> <var cmd="set Helix_ACC Damage" /> </else> </if>
In general, using the variable within the set is better than using a rule imo.Code:<if Spell="*Helix|Kaustra"> <equip when="precast|midcast" set="Helix"> <main>$%SpellElementStaff</main> </equip> </if>
If you have March and Embrava, you'll use Twilight belt. Not sure if you want that.
Yes, Only when Haste is up with embrava Do i want to use windbuffet belt but I was doing VW today and I was still using Twilight and I want t use windbuffet
Need to see the entire XML then. If you change the variable, that doesn't change your gear. You need a way for the game to reequip gear.
Haven't found an issue; try adding an <addtochat>CHECK</addtochat> line after <if buffactive="Haste"> and see if that procs. If not, try <if buffactive="Haste|Flurry"> and see.
Is there a way to get a macro that will cast Aspir II, and, if that one is on CD, Aspir?
Do you care about spam? if not its easy just add a wait 1 between aspir II and aspir casts. If aspir II is not On cool down it will cast and aspir II and error on aspir 1 and if aspir II is on cool down it will cast aspir.
To be really pimp could use the following code in spell cast based on the recast time: http://forums.windower.net/topic/203...spell-recasts/ and changespell or use variables to track the casts that change after a wait X in the after cast only problem is if the spell didn't cast could easily lock you out of the spell until recast wait is up even tho the spell is ready to use.
There is no really neat solution to this honestly, stacking them in 1 macro will mess with gearswaps since the timing is different, and the wait looping on cast can be inaccurate - however, it's definitely a known issue, and http://forums.windower.net/topic/216...ll-recharging/ shows something to deal with this is in the works.
I want to write a rule for Counterstance and I think you do it with a trigger spell, however, I'm not understanding how it works, can anyone explain it to me so I can see if I can write it on my own?
Well, since you haven't really explained what it is you want to do, no, there's not really any way to give you an answer.
Being more specific, I want it to equip a set when counterstance is active. Currently I am using a macro in game for this as I wasn't sure of how to do it. I will use the macro (I have no rule for it in spellcast) and it will equip the set when I use counterstance, but will switch to TP set right after. As I am typing this, I am thinking that if use the rule <if BuffActive="Counterstance"> and <equip when="idle|engaged|resting|precast|midcast|afterca st"> will do the trick. Does this sound correct or is there a better way of doing this? Thanks again.
<if mode="or" buffactive="Counterstance" spell="Counterstance">
<equip when="engaged|aftercast" set="counterstance gear"/>
</if>
Note this is different than swapping in af2+2 feet for counterstance activation(That rule would use precast and no buffactive check), this is a set to use while counterstance is active.
Precast/midcast/idle/resting should be left to seperate rules, as you can't counter idle or resting, and pre/midcast should be related to the action taken at the time.
my game seems to be crashing alot, mostly when i logout to other chars (mules), when i log in, i get this in the console
Spellcast:ERROR: Could not find group INIT_LOAD or a default.... and then POL crash's.
Give us your XML. From what you said, you seem to have no default group for your XML.
<group name="blah" default="true">