GENERAL NOTICE: Plugins > Plugins Manager > Show Plugins Manager > XML Tool (DL that); Plugins > XML Tools > Pretty Print with line breaks ftw

Originally Posted by
Suljin
Still wondering about this if anyone could help please
Attempting to add zenith ring, I've tried a few things and nothings working. Can someone please help me? Thanks
Also, I notice when I cure, it doesn't equip my chatoyant staff for some reason. It equips my genbus shield and leaves my main slot empty. Whats up with that? Also, just noticed when I try to weaponskill it changes from cthonic staff to chatoyant before the ws killing tp lol. Is there a way to have it lock the weapon in the main slot while engaged?
http://pastebin.com/2Fe5yLjg
Locking weapon:
Code:
<if status="engaged">
<main lock="true"/>
</if>
Needs to be
Code:
<if EquipMain="Teiwaz|Crook|Kubera*">
<equip when="all">
<main lock="t" />
</equip>
</if>
As for the staff actually changing gear:
Code:
<if Skill="*Magic">
<!-- if this is elemental magic (nukes/dot's, then do special handling -->
<if Skill="ElementalMagic">
<if Spell="Frost|Drown|Rasp|Burn|Shock|Choke">
<!-- equip elemental/INT gear for DoT's -->
<equip when="precast|midcast" Set="HighResist" />
</if>
<else>
<!-- this is an actual nuke. Check target to be a known high resist mob (and that ES is not active) -->
<if SpellTargetName="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Vrtra|Cerberus|Khimaira|Tyger|Jailer of Love|Sarameya" NotBuffActive="Elemental Seal">
<equip when="precast|midcast" Set="HighResist" />
</if>
<else>
<!-- if mob is not high resist, is it a mid resist mob? -->
<if SpellTargetName="Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin|Ouryu" NotBuffActive="Elemental Seal">
<equip when="precast|midcast" Set="MidResist" />
</if>
<else>
<!-- Normal mob, go full damage gear. -->
<if mode="or" Area="Dynamis *|Hazhalm*" SpellTargetName="Lambton Worm|Sandworm|Guivre|King Arthro|Serket">
<if NotBuffActive="Elemental Seal">
<equip when="precast|midcast" Set="LightResist" />
</if>
<else>
<equip when="precast|midcast" Set="FullDamage" />
</else>
</if>
<else>
<equip when="precast|midcast" Set="FullDamage" />
</else>
<!-- only equip pendant in situations you would equip full damage gear -->
<if MPPAfterCastLT="50" Advanced="$UggPendant==1">
<equip when="midcast">
<neck lock="yes">Uggalepih Pendant</neck>
</equip>
</if>
</else>
<!-- check for Sorc Ring if mid or low resist mob. HP values to compare to are in variables above. -->
<if advanced='$Ring == 1'>
<!-- make sure we have an HP variable set for current subjob -->
<if Advanced='"$%SubJobRingHP" !="$%SubJobRingHP"'>
<if Advanced='%HP > $%SubJobRingHP'>
<!-- if you have too much HP at the time of casting, equip minus hp -->
<equip set="MinusHP" />
</if>
</if>
<else>
<!-- if no HP amount is specified for the current subjob, just always equip minushp as precast -->
<equip set="MinusHP" />
</else>
<equip when="midcast">
<lring>Sorcerer's Ring</lring>
</equip>
</if>
</else>
</else>
</if>
<else>
<!-- for any other type of spell, just equip matching set name. -->
<equip when="precast|midcast" Set="Standard|%Skill" />
</else>
</if>
<else>
<equip when="precast|midcast" Set="Standard" />
</else>
The general layout of this says
If Magic
Else
That "else" is going to capture WS and during Precast/Midcast, that changes your set to Standard. Your standard set includes the staff, which is why that happens. Quite frankly, just remove the entire "else" rule since that's pointless.
General Notes:
Don't use spaces when you do stuff like <equip when="cast" set="blah" />; you have some pieces saying <equip when = "cast" name = "blah" />
Idk what the cure issue is though.