Awesome, that will work for now. Thanks both!
It depends on how you use it. If you're only using it for weaponskills, then you can use else. If you have multiple sets that only apply to Abyssea (Like a TP set), you'll want to use <elseif>. I would use the <elseif> method so you don't have to change the current code and can add Abyssea-Specific sets. The way it will look is like this:
<if area="Abyssea*">
all rules here
</if>
<elseif notArea="Abyssea*">
all rules here but change the sets to non-abyssea sets
</elseif>
I'll keep this in mind if I make an outside TP set as well, thanks.![]()
Summoner spellcast please! I'm finally getting around to making macros for these jobs I've leveled and the gear I've gotten.
So I cleaned up my sch xml a bit and took out things I didn't need/never used (Such as a thing for equiping skulkers cape etc) butfor some reason I noticed that when I nuke, it doesnt equip hands and feet, I keep my serpentes on both, and I cant figure out why at all. Any suggestions? Ive also noticed when it reequips idle stuff after any cast, it doesn't equip a waist item. When I tried checking with the showgearswaps = true, it just shows waist: , r.ear: magnetic earring etc. Also not changing my waist equipment other than to an obi, but not out of it or to a pen. rope when not under obi conditions.
http://pastebin.com/vpMN8AQr
And Byrthnoth, heres my smn spellcast ive used, its long and cumbersome but it does pretty much everything I need it to.
http://pastebin.com/yRKJh68H
I dont understand what I'm fixing on the hands/feet . . . lol. Ok so I realized I had spelled hierarch belt wrong and when I fixed it I realized now it doesn't change any belt, even to obis during correct conditions, and when I remove the obi rule it doesn't change to anything. The only time the belt changes is when I cast cure it equips a pen rope.
Svnt. Loafers +2 and Svnt. Bracers +1.
Also, you have multiple advanced errors (I think). Most of your rules are written <if advanced="Variable==X"> rather than <if advanced='"Variable"=="X"'>. You also don't specify a gear set for elemental magic if you do have less than 50% MP; it only equips Uggy. You're also missing <if status="idle"> from your "changeback" sets like idle. Not sure if any of this will fix the waist bit, but they're stuff I would look at.
You're saying to put Svnt. instead of Savant? How would that change anything? I'll check it tonight after were done with some nms, but I didn't think stuff like that made any difference.
The only other thing I can think of is taking out all the rules except the elemental magic stuff and testing it. If it works, it means there is interference. If it doesn't work, then it's not picking up something.
All the inside/outside talk made me relook at my blm xml(based on aikars). how would one edit the sorc ring rule so that inside abyssea it doesnt use HP down gear? I went and retested all the rules and procing of sorc ring inside abyssea, and finally nailed down that sorc ring only procs at 75% BASE hp, not 75% hp with cruor buffs. And the Hp buff comes back too fast to simply cancel it midcast for proc. Soooooo, if area=abyssea, no hp down set. else, hp down set.
Here is the relevant code:
Code:<if advanced='$Ring == 1'> <if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'> <if Advanced='%HP > $%SubJobRingHP'> <action type="equip" set="MinusHP" /> </if> </if> <else> <action type="equip" set="MinusHP" /> </else> <action type="equip" when="midcast"> <lring>Sorcerer's Ring</lring> </action> </if>
Guessing its something like:
Code:<if advanced='$Ring == 1'> <If notArea="Abyssea*> <if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'> <if Advanced='%HP > $%SubJobRingHP'> <action type="equip" set="MinusHP" /> </if> </if> <else> <action type="equip" set="MinusHP" /> </else> <action type="equip" when="midcast"> <lring>Sorcerer's Ring</lring> </action> </if> </if> <elseif Area="Abyssea*"> <if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'> <if Advanced='%HP < $%SubJobRingHP'> <action type="equip" when="midcast"> <lring>Sorcerer's Ring</lring> </action> </if> </elseif>
Not sure if thats right tho. Basically want it to only use hp down gear outside, and if inside, it will only use sorc ring when hp is below threshold and not bother with hp down inside.
Something like this might work. I cleaned up the code a bit, you had your <if></if> tags out of order, and updated it to 2.3+ tags (changed <action type="equip" to <equip). Give this a shot. I left all the variables the way they were, so that should still work, the rules processing also should work, but can't test it from work. Also, where I commented in the code, I think you need to put a when statement in there, assuming when="precast", but if is working for you like that already, maybe not.
Spoiler: show
Going to assume the midcast for hp down is somewhere else in the xml, cause it has always worked (like i said, its just aikars, modified to keep up with the times, manawall rules etc). Guess ill try this code next abyssea party. Thanks!
<if Type = "WeaponSkill">
<if spell="Blade: Hi">
<if area="Abyssea - Konschtat|Abyssea - La Theine|Abyssea - Tahrongi|Abyssea - Attohwa|Abyssea - Vunkerl|Abyssea - Misareaux">
<castdelay delay = ".5" />
<equip when="precast" set="hi" />
</if>
<elseif area="Abyssea - Grauberg|Abyssea - Uleguerand|Abyssea - Altepa">
<castdelay delay = ".5" />
<equip when="precast" set="hiattack" />
</elseif>
<else>
<castdelay delay = ".5" />
<equip when="precast" set="outside" />
</else>
</if>
</if>
I couldn't figure out how to do the code box thing =/ But just wanted to double check that these rules will work correctly. Thanks!
{code}some code{/code}, but [] instead of {}
Rules look good, though.
Awesome, thanks x2!
You might want to put in the hiattack rule area |abyssea - emp* for shinryu. But yes, rules look good. I still don't know why people use castdelay. Do you really have so much lag that you need a .5 delay for every ws? I don't have the best connection, but I would assume anything better than dialup, or maybe satellite internet access would be good enough to not waste half a second every time you ws (and do anything else if you have that for all your gear change rules).