Well it's not even include that's the problem; the function for checking time and swapping feet is there, but it simply doesn't work in the sheet.
Only posted that excerpt as it's literally using his default files. It looks like all other swaps work, just this doesn't; looks like the sheet/addon doesn't actually check the time and do the swap.Code:function select_movement_feet() if world.time >= 17*60 or world.time < 7*60 then gear.MovementFeet.name = gear.NightFeet else gear.MovementFeet.name = gear.DayFeet end end
Anyone have any suggestions for mug not going into aftercast when the gil steal fails?
It'll take me forever to figure out something that should probably take 15 seconds.
I'm looking to add some lines into mote's SCH.lua to automatically use the Accession JA to aoe whenever I try to cast Regen V. I imagine it's something along these lines, but I'm probably missing a few things:
Help would be greatly appreciated.Code:if spell == "Regen V" then cancel_spell() send_command('input /ja "Accession" <me>') send_command('input /ma "Regen V" <me>') end
you also need to change the first line to something more like:Code:send_command('input /ja "Accession" <me>;wait 1.1;input /ma "Regen V" <me>')
You may still have problems because SE is slow to update the buff line for some reason, so you might have to set a flag in accession's aftercast that you remove when the buff wears off.Code:if spell == "Regen V" and not buffactive['Accession'] then
How do I handle healing breath?
For example, I use Restoring breath (JA) (so I equip BREATH set)
few seconds later my wyvern casts Healing breath
When is the healing breath amount calculated
also I cast stone (Premagic or midmagic?? to equip BREATH set)
few seconds later wyvern casts Healing breath
What do I do here? Do I manually make a command to equip a set for like 5 seconds in my macro?
you could possibly lock the peices for healin breath. and have them unlock when it goes off or whatevs.
Make sure select_idle_feet() is and gear.NightFeet/gear.DayFeet are defined in user_setup().
I ended up needing to add
in my sidecar file as well to get it working.Code:-- Called by the default 'update' self-command. function job_update(cmdParams, eventArgs) select_movement_feet() end
I ended up extending that for Serpentes sets on my BLU (as when I played it was mostly on that) and it ended up looking like:
Spoiler: show
How do I lock a specific gearslot while a certain buff is active?
This is how I modified Mote's NIN.lua, and mine works fine. You'll have to create two sets for day/night feet.
Change the select_movement_feet() function to look like this.Code:sets.DayMovement = {feet="Danzo sune-ate"} sets.NightMovement = {feet="Hachiya Kyahan +1"}
Code:function select_movement_feet() if world.time >= (17*60) or world.time <= (7*60) then return sets.NightMovement else return sets.DayMovement end end
Find customize_idle_sets() function, and make it look like this.
Code:function customize_idle_set(idleSet) if state.Buff.Migawari then idleSet = set_combine(idleSet, sets.buff.Migawari) end if state.Buff.Doom then idleSet = set_combine(idleSet, sets.buff.Doom) end idleSet = set_combine(idleSet, select_movement_feet()) return idleSet end
Gearswap won't automatically swap your boots when you're running around town, doing nothing, etc. You have to perform an action, gain/lose a buff, or change your status from engaged to idle. Alternatively, you can press F12 to force an update, and you don't need to add select_movement_feet() to the job_update() function in order for that to work.
HTH
IIRC, you used to be able to accomplish something like this with autoexec + spellcast together. I haven't messed with this in a while, and I'm not at home so I can't test, but this autoexec rule may work.
Code:<register event="time_6.00|time_7.00|time_17.00|time_18.00" silent="true">gs c update user</register>
Or you could use raw_register_event in gearswap with the time change function and not rely on autoexec. I didn't add that kind of functionality explicitly because it's so easy to add it yourself.
hear is my zone change codeCode:function reg_event.zone_change(new_id,old_id) --zone change event local zones = res.zones local new = zones[new_id].name local old = zones[old_id].name coroutine.sleep(4) --run code end windower.raw_register_event('zone change', .zone_change)
I'm running with an outdated (and modified) mote's smn script and the recent update has re-introduced the smn midcast set issue. it seems the midcast set is swapping out to idle before/as the pact lands. making most pacts land in the wrong outfit and cratering my damage output noticeably.
Any ETA on fixing this or anything specific i can do to correct it? i'm not the only one in my LS with this issue.