Code:
<if mode="OR" spell="Mana Wall" buffactive="Mana Wall">
<equip when="precast|midcast|aftercast|idle|resting"><feet lock="true">Goetia Sabots +?</feet></equip>
</if>
Been meaning to test if twi. cape allows you to exceed the 0.35 day/weather modifier, but the "simple" way to do it would be just add it to your obi rule.
Code:
<if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$Have%SpellElementObi" = "1"' NotSpell="Frost|Drown|Rasp|Burn|Shock|Choke|Regen*|*na|Raise*|Dia*|Protect*|Shell*|Phalanx|Erase">
<equip when="midcast" set="Obi"/>
<if skill="ElementalMagic">
<equip when="midcast"><back>Twilight Cape</back></equip>
</if>
</if>
Key part is lines 3, 4, 5 of that, obi rule itself will look similar though.