I post the rules incase someone is interested.
Code
<variables clear="true">
<var name="IceStaff">Aquilo's Staff</var>
<var name="WindStaff">Auster's Staff</var>
<var name="EarthStaff">Terra's Staff</var>
<var name="ThunderStaff">Jupiter's Staff</var>
<var name="WaterStaff">Neptune's Staff</var>
<var name="FireStaff">Vulcan's Staff</var>
<var name="DarkStaff">Pluto's Staff</var>
<var name="LightStaff">light Staff</var>
<var name="IceObi">Hyorin Obi</var>
<var name="WindObi">penitent's rope</var>
<var name="EarthObi">penitent's rope</var>
<var name="ThunderObi">Rairin Obi</var>
<var name="WaterObi">penitent's rope</var>
<var name="FireObi">Karin obi</var>
<var name="DarkObi">penitent's rope</var>
<var name="LightObi">Korin Obi</var>
<var name="varSleepMessages">1</var>
<var name="magicmode">0</var>
<var name="Main">Isador</var>
<var name="Sub">Genbu's shield</var>
</variables>Those are the variables, if you set magic mode to 1, it will use elemental staffs for magic and the weapons you set in main and sub for physical spells.
Code
<if spell="insert physical spells here">
<if Advanced='"$magicmode"="1"'>
<equip when="precast" set="physical">
<main>$Main</main>
<sub>$Sub</sub>
</equip>
<equip when="aftercast" set="walk" />
</if>
<elseif>
<equip when="precast" set="physical" />
<equip when="aftercast" set="walk" />
</elseif>
</if>This is for physicals, you can repeat this rule for STR+DEX spells, STR alone ones, etc.
Code
<if spell="insert magic spells here">
<if Advanced='"$magicmode"="1"'>
<equip when="precast" set="nuke">
<main>$%SpellElementStaff</main>
<sub>wise strap</sub>
</equip>
<equip when="aftercast" set="walk" />
</if>
<elseif>
<equip when="precast" set="nuke" />
<equip when="aftercast" set="walk" />
</elseif>
</if>This is for magic spells, you can use the same rule for nukes, macc, and heal sets too.
Now, my question is Is there a way to change variable conditions through windower console, ingame? (To set magic mode on or off ingame).
