3 questions:
1. Is there a way to compare MP in gearswap? I haven't been able to find anything about it. I'm looking to be able to say "if mp is less than 1263 then use gearset.a, elseif use gearset.b"
2. Is there a way to set up multiple 'if's like in spellcast? In spellcast I'd use the following (roughly):
<if mpgt=1263>
<if $variable="dmg">
<equip set="dmgmp">
</if>
<elseif $variable="acc">
<equip set="accmp">
</elseif>
</if>
</elseif mplt=1264>
<if $variable="dmg">
<equip set="dmg">
</if>
<elseif $variable="acc">
<equip set="acc">
</elseif>
</elseif>
Using incorrect language for mp I understand in gearswap I could do:
If mp >1263 and variable = 'dmg' then equip(sets.dmg.mp)
elseIf mp >1263 and variable = 'acc' then equip(sets.acc.mp)
elseIf mp <1264 and variable = 'dmg' then equip(sets.dmg)
elseIf mp <1264 and variable = 'acc' then equip(sets.acc)
Just not sure if there's a way to do that using less repeating.
3. Is it possible to use variables as placeholders for gear sets? I've tried doing the following (assuming sets.dmg is a gearset)
cset = sets.dmg
if spell.skill == 'Elemental Magic'
equip(cset)
but I get the error message that gearswap is trying to combine non-gear sets
Any help would be appreciated.