
Originally Posted by
Atoreis
2. Can you force to NOT change equip while using spellcast? ie: I want to cast cure on me but w/o switching to cure gear because there is a fire attack going off on me and I want to leave fire set on.
What I use for evasion/-DT sets is using a non-existant player spell as a trigger/switch. I've been told it's a brute force/not very elegant way to do it, but I can't think of anything better myself.
Code:
<action type="equip" when="engaged" set="engaged|$eva|$dmg" />
<if spell="Stonega IV">
<if advanced='"$dmg"=="Standard"'>
<action type="var" cmd="set dmg MDT" />
</if>
<elseif advanced='"$dmg"=="MDT"'>
<action type="var" cmd="set dmg PDT" />
</elseif>
<elseif advanced='"$dmg"=="PDT"'>
<action type="var" cmd="set dmg Standard" />
</elseif>
<action type="equip" when="precast" set="$dmg" />
</if>
<if spell="Waterga IV">
<if advanced='"$eva"=="standard"'>
<action type="var" cmd="set eva MixEva" />
</if>
<elseif advanced='"$eva"=="MixEva"'>
<action type="var" cmd="set eva FullEva" />
</elseif>
<elseif advanced='"$eva"=="FullEva"' >
<action type="var" cmd="set eva Standard" />
</elseif>
<action type="equip" when="precast" set="$eva" />
</if>
It's not exactly what you're asking for, but if you understand what's going on there, it should be easy enough to modify for your cure situation.