From another thread, without seeing the specifics of your lua, it should be something similar to this...
Code
function init_gear_sets()
sets.Obi = {waist="Hachirin-no-Obi"}
end
Code
function job_post_precast(spell, action, spellMap, eventArgs)
-- Equip obi if weather/day matches for WS.
if spell.type == 'WeaponSkill' then
if spell.english == 'Trueflight' then
if world.weather_element == 'Light' or world.day_element == 'Light' then
equip(sets.Obi)
end
elseif spell.english == 'Wildfire' and (world.weather_element == 'Fire' or world.day_element == 'Fire') then
equip(sets.Obi)
end
end
end
With the exception of it listing Korin Obi for Light-based only, and Karin Obi for Fire-based, in the top section