Byrth / Lua-Byrth

Lua Addons and Scripts
3 stars 2 forks source link

Gearswap - pet_status_change is occasionally not called #367

Closed Sygloon closed 8 years ago

Sygloon commented 9 years ago

User function pet_status_change(new,old) is not called. I define this function to pup.lua. In a state in which the automaton active and not invoked even after sitting and standing

Byrth commented 9 years ago

Okay, thank you. I will look into it tonight.

Byrth commented 9 years ago

Were you using the Sharpshot (ranged) Automaton? It appears that this automaton does not engage unless the first shot fails to kill the target.

Byrth commented 9 years ago

I believe I may have solved this problem. Now it does trigger pet status change events for /heal and /sit. I was unable to find any other problems related to battle.

Was this the problem that you had?

Sygloon commented 9 years ago

At the scene of me and automaton are attacking a different target, Automaton's target killed by area damage(i.e.Spinning Attack) Automaton is idled, then i expect trigger pet_status_change() i want to do JA Deploy in pet_status_change(), but called pet_status_change()

Byrth commented 9 years ago

Okay, I understand the problem now. I'll check it out when I get a chance.

Byrth commented 8 years ago

I think I finally figured out what causes this and fixed it. It should be live in v0.913