Variables:
Quote:
<variables>
<!-- Sleep timers, announces to chat when sleep is wearing off. Set to 0 to not use. -->
<!-- (note: this is sort of very obvious usage of 3rd party programs, so turn off when around people you dont trust -->
<var name="SleepTimers">0</var>
<!-- use BLM AF2 pants or not? Set to 0 if you do not have it -->
<var name="BLMAF2Pants">0</var>
<!-- use Sorc ring or not? set to 0 if you do not have it or dangerous location -->
<var name="Ring">1</var>
<!-- use Ugg Pendant or not? set to 0 if you do not have it. -->
<var name="UggPendant">1</var>
<!-- Set HP Variables for what the maximum amount of HP you can have to trigger sorc ring is for each subjob -->
<var name="RDMRingHP">758</var>
<var name="WHMRingHP">735</var>
Sets:
Quote:
<set name="MinusHP">
</set>
Rules:
Quote:
<if Skill="*Magic">
<!-- if this is elemental magic (nukes/dot's, then do special handling -->
<if Skill="ElementalMagic">
<precastdelay delay="0.5"/>
<if Spell="Frost|Drown|Rasp|Burn|Shock|Choke">
<!-- equip elemental/INT gear for DoT's -->
<equip when="precast|midcast" Set="INT" />
</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|Ouryu" 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" 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>
Works perfectly fine for me, working off Aikar's XML. Those are the bits with ugga/sorc involved. Although, my XML has alot of custom ***added in, and it's nothing near the same to what Aikar's is as I've edited it in so many diff. ways over time, but feel free to go to the templates on the windower site and use his, it works great.