I am having a very minor issue with my gearswap. It works great, but I have this function
Code:
windower.register_event('weather change', function(id, name)
windower.send_command('gs c update idle')
end)
function update_idle_set()
if world.weather_element == 'Earth' or buffactive.Sandstorm then
sets.Idle = set_combine(sets.Idle, sets.Kite)
else
sets.Idle = sets.Idle.Default
end
if buffactive['Sublimation: Activated'] then
sets.Idle = set_combine(sets.Idle, sets.Sublimation)
end
end
It works just find normally, but I get an error when I change zones in the helper_functions line 182? (I don't have the error in front of me). I am assuming that it just can't get the weather data while zoning so it is throwing a nil table error. Any way I can stop this from happening?
Also, for anyone doing this, I have discovered that windower does not recognize gaining storm spell buffs as a weather change event.