Ok I'll give it a try both ways. That was just the syntax the original lua used for the melee set, so I wasn't sure if I should take it out or leave it. I guess it combines the melee set with whatever idle mode you're in?
Any idea why when casting some spells using the command '/console gs c nuke xxx', it gives me the error message
"/ma "spell i am trying to cast""
...a command error occurred
happens for nukes, helix, and storm spells that used the /console input. however JAs work with no issues
Hello!
Recently tried this lua and its amazing. I do get massive amounts of lag after loading the GS. Quite difficult to move around and to use macros properly from the lag. Does anyone know of a fix for this? Seems to only be with this lua specifically. Thanks!
The lua detects the skillchains and automatically toggles on the MB mode. Meaning for gearswap to equip the MB set, you'd have to wait for the skillchain to happen to start casting.
If you toggle the MB mode to on, you could cast your spell before the skillchain happens and still nuke with your MB set (maybe making it possible to MB 3 times instead of 2?).
Code
if mBurst.value == true then
equip(sets.midcast.MB[nukeModes.current])
else
equip(sets.midcast.nuking[nukeModes.current])
end
why would you lock magic burst mode, what is a mode?
To add on to gab's otherwise excellent answer:
Modes are logic in your lua that change the behavior of the code. While in one mode certain gear might be equipped for a spell but in a different mode, other gear would be chosen instead.
For example: if you're magic bursting a spell you want to prioritize gear with Magic Burst Damage, but if you're free nuking (not Magic bursting) then MBD doesn't do anything so locus ring is terrible.
You might have engaged modes like high DT vs low DT, depending on the content you're doing. High PDL vs no PDL, etc.
He explained why you might want to toggle MB mode, because you're bursting and may want to pre-cast your Magic burst spell, to get more in to the window.
You might also need/want to toggle it in a different lua if, for example, you had less automation. Many luas REQUIRE the user to handle all toggles between modes.
Is there a way to change Heralds to Iaso Boots for movement instead? It doesn't really need to show on the HUD. Also, is it possible to have them equip on movement like the RDM Gearswap does for the cuisses.
Is there a way to change Heralds to Iaso Boots for movement instead? It doesn't really need to show on the HUD. Also, is it possible to have them equip on movement like the RDM Gearswap does for the cuisses.
All possible, yes.
To change the equipped gear and HUD text, go into SCH_Lib.lua and CTRL+F "Herald". Replace each instance of Herald's Gaiters with what you want.
If changing to a different movespeed equipslot (e.g. Shneddick Ring -- highly recommend btw, best Adoulin ring), you'll need to change the enabled/disabled slot from feet to e.g. ring1.
Making it auto-equip like the RDM lua would take more effort. You'd have to bring over the mov.counter code, adjust the runspeed functions/naming. Doable, but I'd sooner recommend just grabbing Shneddick and putting it in your idle set. Especially if you're into soloing stuff on SCH via kiting and such, the auto-equip function has a tendency to screw up midcasts when making micro movements.
I'll throw it here, for those willing to maximize sch nukes dmg, i'd suggest using a specific set for low tier spells (tier 1 and 2, but also 3 is an option since it's close) favoring more magic dmg stat, using Culminus, maliquis ring instead of metamorph+1 etc.
I use a set for low tier nukes, a set for higher tier nukes (w ammurapi, max INT and MAB focused), a set for helixes and then the various variants for earth dmg with quanpur, dark dmg with pixie+1 etc, and so on.
You can get up to 9k+ tier ii free nukes, 5k+ tier 1 and like 12-13k tier iii freenukes, before ebullience, malaise, bursts etc.
Is there a way to move the hud in the lua? I looked in the lib file but didn't see any x y positions i could change. I have a new setup and it's appearing offscreen. Thanks in advance!
For some reason this isnt working perfectly for me. I can nuke, cast enhancement spells and it's fine.
But when i try to cast a regen or cure spell, it doesn't change to a midcast set, simply going from precast to aftercast.
I saw prople trying to solve it but their solutions didn't work for me.
I spent the last maybe 3 hours with this same issue, and after trying stuff that was recommended back on page 6 with using spell.english:contains() and spellmap=="" for both Cure and Regen with no luck.
After doing a //gs reload just to see, I noticed something: the reload threw an error at line 474 (attempt to index global 'Amal' (a nil value)).
The (I assume meant to be) placeholder on that line (head=Amal.Head.A,) is what prevents the Cure and Regen midcast sets from getting equipped. Deleted that, saved, reloaded, and the midcast sets swapped in like they should.