-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Gearswap] pet_midaction() #1596
Comments
The only action for pets is midaction. The reason for this is because gearswap does not process the precast action for pets and aftercast is only processed if there is also a precast action. Filtering out precast and aftercast is reasonable in the case of item use but there is no reason to exclude this from pet actions. There should be pet precast in my opinion so BST can use charmer's merlin without gimping a slot and there is no reason to not have pet aftercast other than deeming the benefits not worth the effort to rewrite I guess. Idk who maintains gearswap now that byrth is gone so I'm mentioning you @z16 The file that needs to be rewritten is triggers.lua |
There should be pet precast in my opinion so BST can use charmer's merlin without gimping a slot and there is no reason to not have pet aftercast other than deeming the benefits not worth the effort to rewrite I guess.` |
I seem to have got a little mixed up between triggers.lua and a couple other gearswap files at the time. I was a bit over tired working a double last night. I just want to clarify I said there was no use to exclude aftercast from pet actions. I'm aware of player and pet status. At the time I wrote that I misread some areas of gearswap and thought I found an instance of pet aftercast slipping through the cracks. I'm sure Caradog is onto something though. The other gearswap bug he brought up was spot on. So I'm confident this issue isn't a matter of some unknown filter, eventArgs, etc being in his job lua. This isn't the place for this discussion but on the subject of precast I'm pretty sure it is in fact a possibility to add to gearswap but it would be a annoying to say the least. To begin with unify_prefix would need to be redefined a little and some in depth triggers written. As far as I know BST is the only job that would be effected(unless autos get snap shot or something else) but now that I think of it even if precast was defined the recast reduction of charmer's merlin wouldnt even work if replaced by midcast anyways would it? Again I've never been into pet jobs. I know about the charmer's merlin thing because some of my friends got into it during the bandwagon and they had a big stink about whether or not to use it and some if only pet.precast existed commentary. |
The issue I'm encountering is trying to swap to aftercast gear after the pet action completes, my aftercast has a line that prevents further action in the case of the player (or pet) still being mid_action for a number of reasons - however the pet_midaction() (at least when I originally posted this, I haven't tested it in months) was flagging true at pet_aftercast, as pet_aftercast is supposed to proc when the action completes these are mutually exclusive events (either the pet is midaction or it has finished), but that doesn't seem to be the case - I'd kind of assumed it was an unfixable problem due to packets being received at the same time or some such, similar to how buff_active can fail for certain events if you act too quickly after the JA that gives said buff (think Sneak Attack) |
Does pet_aftercast work correctly without this? [edit] Do you use mote-include? |
No I don't use Mote's files Anyway, pet_aftercast procs correctly as expected |
pet precast is nearly impossible as the only this you get for it are chat messages which are extraordinarily hard to decode |
as I said...
statics.lua
[edit] I don't want to argue smd111, I'v known of your personal libs for gearswap before this conversation and I respect your work. We are derailing this issue. Would love to chat if you wish, you can reach me on discord Nekseus#5151 |
I lack the bandwidth (and the pet) to really understand what is being discussed here tonight, but I'm marking this with a comment so I remember to come back to it. |
@Byrth TLDR: just dont bother reading lol |
Okay. I think my original argument against Pet Precast was that Pet Precast is basically player aftercast/precast depending on the pet action. The flow is normally:
At this point, two things happen for every pet action, but how quickly and how they overlap can vary. For Player:
For Pet:
My issue with Pet Precast is just that there isn't another thing to hang my hat on for Pet actions. Rigorously defined, Player Precast is also Pet Precast and Player Midcast is also Pet Midcast, and people are free to use them that way, but it felt like I was throwing away an opportunity, particularly for the slower moves, if I didn't make a Pet Midcast. Regardless, if you feel it isn't a problem then I will close it. |
Having issues wherein pet_midaction() still seems to be true while processing pet_aftercast() - would of thought these to be mutually exclusive events as aftercast is processed after the action is flagged complete?
The text was updated successfully, but these errors were encountered: