
Originally Posted by
Sontawila
Hi,
I've been missing with spellcast for some time but I can't figure out:
1- How to setup a rule that when I'm engage it disable switching weapons only or that it equip a certain weapon
after casting while engaged?
Code:
<if Status="Engaged">
<action type="Disable" slot="main|sub|ranged" />
</if>
<else>
<action type="enable" slot="main|sub|ranged" />
</else>

Originally Posted by
Sontawila
2- How can I disable equipment change during job ability while allowing equipment change for other spells?
Thanks a lot
Simple answer is write your rules correctly.
Spellcast only changes your gear when a rule tells it to. So if you right your rules for spells correctly then when you are using a JA there is nothing for it to change.
if you really need to actually do this then:
Code:
<if type="JobAbility">
<action type="Disable" slot="main|sub|ranged|ammo|head|body|neck|lear|rear|legs|waist|hands|lring|Rring|Back" />
</if>
<else>
<action type="enable" slot="main|sub|ranged|ammo|head|body|neck|lear|rear|legs|waist|hands|lring|Rring|Back" />
</else>
Not the neatest code ever but it should do what you want (although I still don't know why you would want this).
Also, check the windower website (which I think is currently working) for SC advice